Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159 - smpeg plugin for xmms makes it crash
Summary: smpeg plugin for xmms makes it crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Lowest normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-14 08:30 UTC by Laurent Sinitambirivoutin
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Sinitambirivoutin 2002-01-14 08:30:41 UTC
When I emerge media-video/smpeg-xmms
xmms just segfaults. I don't have a clue about why it's happening.
I don't know if I'm the only one, so I'm mailing this just so you know about 
it. Thus as far as I can tell, don't use the smpeg plugin for xmms, it'll 
make it hang.
Comment 1 Martin Aspeli 2002-01-26 22:28:26 UTC
I believe I've found the cause. The problem appears to lie in libsdl and smpeg
not smpeg-xmms itself. 

When SDL is compiled, --enable-video-x11-xv is set to "yes" by default. However,
when smpeg is compiled using a version of SDL that has video-x11-xv enabled,
MPEG output is does not work properly (at least not on my machine). In
particular, any program that uses smpeg to play MPEG clips (such as plaympeg, a
command line utility that comes with smpeg) will play the audio of the clip (if
any) fine, but video output appears as a blue square (taking a lesson or two
from Windows, perhaps?). Whatever is causing this behaviour also seems to cause
smpeg-xmms to cause xmms to segfault when started. When video-x11-xv is not
enabled in SDL, plaympeg (and presumably also other programs, such as xmps)
display the movie properly (no blue square of death), and xmms loads without
trouble when smpeg-xmms is installed.

To disable video-x11-xv, I added the following line below the USE tests in
libsdl-1.2.3.ebuild:

myconf="${myconf} --disable-video-x11-xv"

Ideally though, this should depend on a USE variable.

I don't know what exactly video-x11-xv is and why it would be useful, so it may
be that a better solution would be to get video-x11-xv in SDL to work instead of
simply disabling it.

Lastly, I found that both plaympeg and smpeg-xmms would segfault if smpeg was
installed with the "mmx" USE variable set, on a PIII mobile 700. Removing mmx
from my USE variable in /etc/make.conf seems to have solved the problem.

After installing SDL without video-x11-xv and smpeg without mmx, I reinstalled
smpeg-xmms (to be on the safe side) and ran xmms, which seems to work fine,
playing movies without problems.
Comment 2 Doug Nordwall 2002-01-27 13:47:48 UTC
I experienced this same problem. Digging into the SDL tar, I ./configure --help
and see

--enable-video-x11-xv   use X11 XvImage extension for video [default=yes]

Now I don't know what the XvImage stuff is :)

In case it becomes important, i have an athlon and an nvidia card, running
nvidia drivers.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-07 00:33:54 UTC
Laurent and Martin:

What video card/drivers do you happen to be using?
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-02-07 00:52:49 UTC
ok, added "xv" USE variable.
Comment 5 Laurent Sinitambirivoutin 2002-02-07 04:57:22 UTC
I'm using a Rage Pro Mobility 1 on my dell laptop (PIII 650)
and a GeForce 3 Ti500 on my Duron 900. I don't know about xv, but using it 
with mplayer is fine... Same for mmx.