Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]latest totem with xine-lib backend problems...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat Dec 11, 2004 9:38 am    Post subject: [solved]latest totem with xine-lib backend problems... Reply with quote


Edit:

- Eric.20041225:
Please read this post for the solution :D (and this bug report about the xvid problem, the latest xine-lib fixed this bug, just upgrade)


OK, to tell the truth, I've been working on these problems since Dec 9.

I found that it's impossible to get xine-lib-1_rc6/rc7's original ebuilds to be installed due to Bug#73342. Which will produce the follwoing error:

Code:

mmx.h:74: error: PIC register `ebx' clobbered in `asm'


There's a work around as the comment of that bug suggest, just change the line in the ebuild:

Code:

use pic && epatch ${FILESDIR}/${P}-mmx.patch


to

Code:

epatch ${FILESDIR}/${P}-mmx.patch


and add the "pic" to IUSE.

With this change, both of rc6 & rc7 built fine *yesterday*. After I did a emerge sync today. rc7 failed with the following error as mentioned in this post which is not answered yet:

Code:

collect2: ld returned 1 exit status
libtool-nofpic: install: error: relink `xineplug_ao_out_esd.la' with the above c
ommand before installing it


So finally I got rc7 masked and emerged rc6 (with the work around methioned above), and, there was yet another problem with both rc6/rc7, totem could never start with the following error as in Bug#70281:

Code:

Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid: Assertion `result <= _rtld_local._dl_tls_max_dtv_idx' failed!


The work around for this is to move the /usr/lib/xine/plugins/1.0.0/xineplug_vo_out_opengl.so file out of that directory (just change it's name to xineplug_vo_out_opengl.so.bak won't work, it seems that totem could still detects it).

Finally, I got totem-0.99.22-r1 & xine-lib-1_rc6 compiled & worked. However, the final problem I could never stand is:

totem just refuses to play real/xvid videos!

It keeps complaining that I need to install add-on codecs to play such files.
I do have had divx4linux, xvid installed! And the win32codec has been emerged with "real" useflag, my mplayer plays all format of media files happily.

I've compiled rc6/rc7 for several time, and double checked to make sure that the xine-lib has the following lines during configuration:

Code:

 * demultiplexer plugins:
   - yuv4mpeg2     - real/realaudio
 * video decoder plugins:
   - ffmpeg (internal library):
     - MPEG-4 (ISO, Microsoft, DivX*, XviD)


Doesn't that mean xine-lib already have real/xvid codecs support include and totem should not complain at all?!

Fine, I finally came up with yet another work around to get real audio/video plays in totem:

Code:

ln -s /usr/lib/real/* /usr/lib/win32/


Then I tried to get totem to play xvid with:

Code:

ln -s /usr/lib/libxvidcore.* /usr/lib/win32/


Didn't work!

Totem used to be working very well, after I re-installed my gentoo, now it has such problems, I WANT it back :cry:

Now I only asking for one thing: I want my totem to play xvid!

Could anybody please help me, it almost drives me crazy now...
TIA!!
_________________
- http://nkbit.com
- http://twitter.com/xuyihua


Last edited by EricHsu on Sat Dec 25, 2004 12:12 pm; edited 2 times in total
Back to top
View user's profile Send private message
LukeLemmings
n00b
n00b


Joined: 25 Feb 2004
Posts: 25

PostPosted: Tue Dec 14, 2004 11:52 pm    Post subject: Reply with quote

Eric,

I had the same problem, and I fixed it by doing, as described here: https://forums.gentoo.org/viewtopic.php?t=252436&highlight=totem+xine+emerge

I.e.: Unmerge linux-headers, Emerge linux26-headers and emerge Totem.

I did some reading on this procedure, and replacing the kernel-headers aparantly isn't as insane as it sounds.

L.
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Wed Dec 15, 2004 12:57 pm    Post subject: Reply with quote

LukeLemmings wrote:
Eric,

I had the same problem, and I fixed it by doing, as described here: https://forums.gentoo.org/viewtopic.php?t=252436&highlight=totem+xine+emerge

I.e.: Unmerge linux-headers, Emerge linux26-headers and emerge Totem.

I did some reading on this procedure, and replacing the kernel-headers aparantly isn't as insane as it sounds.

L.


Hi LukeLemmings!
Finally someone has noticed my post ;)

I think it's the problem of the linux-headers, I have only linux26-header installed since bootstrap. I'm using the gcc34-x86-2004.2 profile, may this be the problem? I've bootstrap & compiled everything from scratch with gcc 3.4.3...

Anyway, with those workarounds I mentioned, I got totem & xine-lib compiled & run fine. My final problem is: how could I get my totem play xvid again...

I guess it's a problem relates to codecs, but, as what I've tried in my previous post, I still can't get it work..

Thank you all the same!
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
cold_flame
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2003
Posts: 88
Location: Australia

PostPosted: Mon Dec 20, 2004 1:46 am    Post subject: Reply with quote

hey EricHsu

just to check, did you try commenting out the lin

Code:
# use pic && epatch ${FILESDIR}/${P}-mmx.patch


not just editing it?

from what i read in bugzilla, the whole patch is causing problems, so totally disabling works, where as just blindly applying it (ie without reference to the pic use flag) doesn't.

good luck
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sat Dec 25, 2004 11:51 am    Post subject: Reply with quote

I had the same problem as you. I posted it in the forums and someone pointed me to https://bugs.gentoo.org/show_bug.cgi?id=52374.

So Totem could start, but I have exactly the same problem as you with divx and so movies. I also use the linux26-headers since stage2 so that's not the problem. Someone help?
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat Dec 25, 2004 12:03 pm    Post subject: Reply with quote

Hi MaxDamage!

I've solved the problem, sorry for not updating this post...

Please read this post for the solution ;)

Edit:

Sorry, that post doesn't enough, here is the bug report of the xvid problem.
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sat Dec 25, 2004 12:59 pm    Post subject: Reply with quote

Wow! at last! Thanx for the xmas present ;)

I added the line that filters the pic USE flag, commented out the mmx
patch, and compiled totem with that line added. Now I can play Divx, Xvid and such videos. Thanx a lot! :twisted:
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Dec 26, 2004 12:53 pm    Post subject: Reply with quote

MaxDamage wrote:
Wow! at last! Thanx for the xmas present ;)

I added the line that filters the pic USE flag, commented out the mmx
patch, and compiled totem with that line added. Now I can play Divx, Xvid and such videos. Thanx a lot! :twisted:


Actually, you don't have to comment out that line with mmx patch any more, it seems that the xine-lib rc8 had fixed this problem. Just compile it with the fpic flag filtered, and everything should work like a charm! And,

Merry Christmas & Happy New Year! :D
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
MaxDamage
l33t
l33t


Joined: 03 Jan 2004
Posts: 650
Location: Oviedo, Spain

PostPosted: Sun Dec 26, 2004 1:01 pm    Post subject: Reply with quote

Merry Christmas && Happy New Year
for you too, and for all the Gentoo community!


:wink: :wink: :wink:
_________________
La PDA de tungsteno
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum