FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-08-2012, 12:01 PM
Helmut Jarausch
 
Default (s)mplayer problems

Hi,

I need some advice.

Since a short time I have tremendous problems with mplayer / smplayer
and I don't know why.

First, vlc works just fine, i.e. video and audio

Second, mplayer produces a segment fault within fglrx (ati-
drivers-12.1-r1 with gentoo-sources-3.2.x)

Third, smplayer does show the video (without a segment fault) but
doesn't play audio.

How can I isolate the problem?

Many thanks for a hint,
Helmut.
 
Old 02-08-2012, 12:07 PM
Nilesh Govindrajan
 
Default (s)mplayer problems

On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
> Hi,
>
> I need some advice.
>
> Since a short time I have tremendous problems with mplayer / smplayer
> and I don't know why.
>
> First, vlc works just fine, i.e. video and audio
>
> Second, mplayer produces a segment fault within fglrx (ati-
> drivers-12.1-r1 with gentoo-sources-3.2.x)
>
> Third, smplayer does show the video (without a segment fault) but
> doesn't play audio.
>
> How can I isolate the problem?
>
> Many thanks for a hint,
> Helmut.
>
>

Run mplayer on the command line and see what error it throws. Paste it
here.

--
Nilesh Govindarajan
http://nileshgr.com
 
Old 02-08-2012, 12:40 PM
Helmut Jarausch
 
Default (s)mplayer problems

On 02/08/2012 02:07:55 PM, Nilesh Govindrajan wrote:
> On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
> > Hi,
> >
> > I need some advice.
> >
> > Since a short time I have tremendous problems with mplayer /
> smplayer
> > and I don't know why.
> >
> > First, vlc works just fine, i.e. video and audio
> >
> > Second, mplayer produces a segment fault within fglrx (ati-
> > drivers-12.1-r1 with gentoo-sources-3.2.x)
> >
> > Third, smplayer does show the video (without a segment fault) but
> > doesn't play audio.
> >
> > How can I isolate the problem?
> >
> > Many thanks for a hint,
> > Helmut.
> >
> >
>
> Run mplayer on the command line and see what error it throws. Paste
> it
>
> here.

Unfortunately, that's impossible.

mplayer starts, opens a window and then segfaults, i.e. kills Xorg and
forces me to reboot the machine.

Xorg.0.log.old shows


Backtrace:
[ 1669.886] 0: /usr/bin/X (xorg_backtrace+0x26) [0x564f86]
[ 1669.886] 1: /usr/bin/X (0x400000+0x168bc9) [0x568bc9]
[ 1669.886] 2: /lib64/libpthread.so.0 (0x7fa7aa5f4000+0x10ff0)
[0x7fa7aa604ff0]
[ 1669.887] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
(xs111LookupPrivate+0x22) [0x7fa7a778c372]
[ 1669.887] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
(xclLookupPrivate+0xd) [0x7fa7a7167cdd]
[ 1669.887] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage
+0x12e) [0x7fa7a441f81e]
[ 1669.887] 6: /usr/bin/X (0x400000+0x8a84e) [0x48a84e]
[ 1669.888] 7: /usr/lib64/xorg/modules/extensions/libextmod.so
(0x7fa7a83f8000+0xf53e) [0x7fa7a840753e]
[ 1669.888] 8: /usr/bin/X (0x400000+0x36979) [0x436979]
[ 1669.888] 9: /usr/bin/X (0x400000+0x2613a) [0x42613a]
[ 1669.888] 10: /lib64/libc.so.6 (__libc_start_main+0xed)
[0x7fa7a952b3cd]
[ 1669.888] 11: /usr/bin/X (0x400000+0x2645d) [0x42645d]
[ 1669.888] Segmentation fault at address 0x20

Thanks,
Helmut.
 
Old 02-08-2012, 12:59 PM
Michael Mol
 
Default (s)mplayer problems

On Wed, Feb 8, 2012 at 8:40 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> On 02/08/2012 02:07:55 PM, Nilesh Govindrajan wrote:
>> On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
>> > Hi,
>> >
>> > I need some advice.
>> >
>> > Since a short time I have tremendous problems with mplayer /
>> smplayer
>> > and I don't know why.
>> >
>> > First, vlc works just fine, i.e. video and audio
>> >
>> > Second, mplayer produces a segment fault within fglrx (ati-
>> > drivers-12.1-r1 with gentoo-sources-3.2.x)
>> >
>> > Third, smplayer does show the video (without a segment fault) but
>> > doesn't play audio.
>> >
>> > How can I isolate the problem?
>> >
>> > Many thanks for a hint,
>> > Helmut.
>> >
>> >
>>
>> Run mplayer on the command line and see what error it throws. Paste
>> it
>>
>> here.
>
> Unfortunately, that's impossible.

mplayer $somefile 2>&1 > mplayerlog.txt


>
> mplayer starts, opens a window and then segfaults, i.e. kills Xorg and
> forces me to reboot the machine.
>
> Xorg.0.log.old shows
>
>
> Backtrace:
> [ *1669.886] 0: /usr/bin/X (xorg_backtrace+0x26) [0x564f86]
> [ *1669.886] 1: /usr/bin/X (0x400000+0x168bc9) [0x568bc9]
> [ *1669.886] 2: /lib64/libpthread.so.0 (0x7fa7aa5f4000+0x10ff0)
> [0x7fa7aa604ff0]
> [ *1669.887] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> (xs111LookupPrivate+0x22) [0x7fa7a778c372]
> [ *1669.887] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> (xclLookupPrivate+0xd) [0x7fa7a7167cdd]
> [ *1669.887] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage
> +0x12e) [0x7fa7a441f81e]
> [ *1669.887] 6: /usr/bin/X (0x400000+0x8a84e) [0x48a84e]
> [ *1669.888] 7: /usr/lib64/xorg/modules/extensions/libextmod.so
> (0x7fa7a83f8000+0xf53e) [0x7fa7a840753e]
> [ *1669.888] 8: /usr/bin/X (0x400000+0x36979) [0x436979]
> [ *1669.888] 9: /usr/bin/X (0x400000+0x2613a) [0x42613a]
> [ *1669.888] 10: /lib64/libc.so.6 (__libc_start_main+0xed)
> [0x7fa7a952b3cd]
> [ *1669.888] 11: /usr/bin/X (0x400000+0x2645d) [0x42645d]
> [ *1669.888] Segmentation fault at address 0x20
>
> Thanks,
> Helmut.
>

Does rebuilding mplayer fix it?


--
:wq
 
Old 02-08-2012, 01:04 PM
Carlos Hendson
 
Default (s)mplayer problems

On Wed, 2012-02-08 at 14:40 +0100, Helmut Jarausch wrote:
> On 02/08/2012 02:07:55 PM, Nilesh Govindrajan wrote:
> > On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
> > > Hi,
> > >
> > > I need some advice.
> > >
> > > Since a short time I have tremendous problems with mplayer /
> > smplayer
> > > and I don't know why.
> > >
> > > First, vlc works just fine, i.e. video and audio
> > >
> > > Second, mplayer produces a segment fault within fglrx (ati-
> > > drivers-12.1-r1 with gentoo-sources-3.2.x)
> > >
> > > Third, smplayer does show the video (without a segment fault) but
> > > doesn't play audio.
> > >
> > > How can I isolate the problem?
> > >
> > > Many thanks for a hint,
> > > Helmut.
> > >
> > >
> >
> > Run mplayer on the command line and see what error it throws. Paste
> > it
> >
> > here.
>
> Unfortunately, that's impossible.
>
> mplayer starts, opens a window and then segfaults, i.e. kills Xorg and
> forces me to reboot the machine.
>
> Xorg.0.log.old shows
>
>
> Backtrace:
> [ 1669.886] 0: /usr/bin/X (xorg_backtrace+0x26) [0x564f86]
> [ 1669.886] 1: /usr/bin/X (0x400000+0x168bc9) [0x568bc9]
> [ 1669.886] 2: /lib64/libpthread.so.0 (0x7fa7aa5f4000+0x10ff0)
> [0x7fa7aa604ff0]
> [ 1669.887] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> (xs111LookupPrivate+0x22) [0x7fa7a778c372]
> [ 1669.887] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> (xclLookupPrivate+0xd) [0x7fa7a7167cdd]
> [ 1669.887] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage
> +0x12e) [0x7fa7a441f81e]
> [ 1669.887] 6: /usr/bin/X (0x400000+0x8a84e) [0x48a84e]
> [ 1669.888] 7: /usr/lib64/xorg/modules/extensions/libextmod.so
> (0x7fa7a83f8000+0xf53e) [0x7fa7a840753e]
> [ 1669.888] 8: /usr/bin/X (0x400000+0x36979) [0x436979]
> [ 1669.888] 9: /usr/bin/X (0x400000+0x2613a) [0x42613a]
> [ 1669.888] 10: /lib64/libc.so.6 (__libc_start_main+0xed)
> [0x7fa7a952b3cd]
> [ 1669.888] 11: /usr/bin/X (0x400000+0x2645d) [0x42645d]
> [ 1669.888] Segmentation fault at address 0x20
>
> Thanks,
> Helmut.
>
Did you read this and follow the advice to work around Xv as mentioned
in the elog?

This release of ati-drivers has a crashing bug when using Xv video.
To avoid this problem, configure your video playback software for
OpenGL output. See https://bugs.gentoo.org/show_bug.cgi?id=391193
 
Old 02-08-2012, 02:01 PM
Stroller
 
Default (s)mplayer problems

On 8 February 2012, at 13:40, Helmut Jarausch wrote:
>> ...
>> Run mplayer on the command line and see what error it throws. Paste
>> it here.
>
> Unfortunately, that's impossible.
>
> mplayer starts, opens a window and then segfaults, i.e. kills Xorg and
> forces me to reboot the machine.

Just to be clear: does it segfault when you use "-ao null"?
What about the framebuffer?

Stroller.
 
Old 02-08-2012, 02:54 PM
Helmut Jarausch
 
Default (s)mplayer problems

On 02/08/2012 03:04:50 PM, Carlos Hendson wrote:
> On Wed, 2012-02-08 at 14:40 +0100, Helmut Jarausch wrote:
> > On 02/08/2012 02:07:55 PM, Nilesh Govindrajan wrote:
> > > On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
> > > > Hi,
> > > >
> > > > I need some advice.
> > > >
> > > > Since a short time I have tremendous problems with mplayer /
> > > smplayer
> > > > and I don't know why.
> > > >
> > > > First, vlc works just fine, i.e. video and audio
> > > >
> > > > Second, mplayer produces a segment fault within fglrx (ati-
> > > > drivers-12.1-r1 with gentoo-sources-3.2.x)
> > > >
> > > > Third, smplayer does show the video (without a segment fault)
> but
> > > > doesn't play audio.
> > > >
> > > > How can I isolate the problem?
> > > >
> > > > Many thanks for a hint,
> > > > Helmut.
> > > >
> > > >
> > >
> > > Run mplayer on the command line and see what error it throws.
> Paste
> > > it
> > >
> > > here.
> >
> > Unfortunately, that's impossible.
> >
> > mplayer starts, opens a window and then segfaults, i.e. kills Xorg
> and
> > forces me to reboot the machine.
> >
> > Xorg.0.log.old shows
> >
> >
> > Backtrace:
> > [ 1669.886] 0: /usr/bin/X (xorg_backtrace+0x26) [0x564f86]
> > [ 1669.886] 1: /usr/bin/X (0x400000+0x168bc9) [0x568bc9]
> > [ 1669.886] 2: /lib64/libpthread.so.0 (0x7fa7aa5f4000+0x10ff0)
> > [0x7fa7aa604ff0]
> > [ 1669.887] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> > (xs111LookupPrivate+0x22) [0x7fa7a778c372]
> > [ 1669.887] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> > (xclLookupPrivate+0xd) [0x7fa7a7167cdd]
> > [ 1669.887] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage
> > +0x12e) [0x7fa7a441f81e]
> > [ 1669.887] 6: /usr/bin/X (0x400000+0x8a84e) [0x48a84e]
> > [ 1669.888] 7: /usr/lib64/xorg/modules/extensions/libextmod.so
> > (0x7fa7a83f8000+0xf53e) [0x7fa7a840753e]
> > [ 1669.888] 8: /usr/bin/X (0x400000+0x36979) [0x436979]
> > [ 1669.888] 9: /usr/bin/X (0x400000+0x2613a) [0x42613a]
> > [ 1669.888] 10: /lib64/libc.so.6 (__libc_start_main+0xed)
> > [0x7fa7a952b3cd]
> > [ 1669.888] 11: /usr/bin/X (0x400000+0x2645d) [0x42645d]
> > [ 1669.888] Segmentation fault at address 0x20
> >
> > Thanks,
> > Helmut.
> >
> Did you read this and follow the advice to work around Xv as
> mentioned
> in the elog?
>
> This release of ati-drivers has a crashing bug when using Xv video.
> To avoid this problem, configure your video playback software for
> OpenGL output. See https://bugs.gentoo.org/show_bug.cgi?id=391193
>


Yes, thanks.
I disabled XVideo in my xorg.conf and now mplayer doesn't segfault
anymore. (It looks like all ati-drivers up to and including 12.1-r1 are
broken).

Still, I have no sound.

I have re-emerged ffmpeg but still

mplayer displays

Xlib: extension "NV-GLX" missing on display ":0".
[vdpau] Error when calling vdp_device_create_x11: 1
Xlib: extension "XVideo" missing on display ":0".
[VO_XV] Sorry, Xv not supported by this X11 version/driver
[VO_XV] ******** Try with -vo x11 or -vo sdl *********
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Requested video codec family [wmv9dmo] (vfm=dmo) not available.
Enable it at compilation.
Requested video codec family [wmvdmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.60.100 (external)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[wmv3 @ 0x7fbbb162cc00]Extra data: 8 bits left, value: 0
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[NULL @ 0x7fbbb162cc00]Value 165600.000000 for parameter 'drc_scale'
out of range
[NULL @ 0x7fbbb162cc00]Error setting option drc_scale to value 165600.
Could not open codec.
ADecoder init failed
ADecoder init failed
Requested audio codec family [wmadmo] (afm=dmo) not available.
Enable it at compilation.
Requested audio codec family [divx] (afm=acm) not available.
Enable it at compilation.
Cannot find codec for audio format 0x161.
Audio: no sound
 
Old 02-08-2012, 05:22 PM
Stroller
 
Default (s)mplayer problems

On 8 February 2012, at 15:01, Stroller wrote:
> On 8 February 2012, at 13:40, Helmut Jarausch wrote:
>>> ...
>>> Run mplayer on the command line and see what error it throws. Paste
>>> it here.
>>
>> Unfortunately, that's impossible.
>>
>> mplayer starts, opens a window and then segfaults, i.e. kills Xorg and
>> forces me to reboot the machine.
>
> Just to be clear: does it segfault when you use "-ao null"?

Ooops. For the record, that should have been "-vo null".

ao = audio out
vo = video out

Stroller.
 
Old 02-08-2012, 05:25 PM
Michael Hampicke
 
Default (s)mplayer problems

> Still, I have no sound.
>
> I have re-emerged ffmpeg but still
>
> mplayer displays
>
> Xlib: extension "NV-GLX" missing on display ":0".
> [vdpau] Error when calling vdp_device_create_x11: 1
> Xlib: extension "XVideo" missing on display ":0".
> [VO_XV] Sorry, Xv not supported by this X11 version/driver
> [VO_XV] ******** Try with -vo x11 or -vo sdl *********
> [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
> ================================================== ========================
> Requested video codec family [wmv9dmo] (vfm=dmo) not available.
> Enable it at compilation.
> Requested video codec family [wmvdmo] (vfm=dmo) not available.
> Enable it at compilation.
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 53.60.100 (external)
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Unsupported PixelFormat 81
> [wmv3 @ 0x7fbbb162cc00]Extra data: 8 bits left, value: 0
> Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
> ================================================== ========================
> ================================================== ========================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> [NULL @ 0x7fbbb162cc00]Value 165600.000000 for parameter 'drc_scale'
> out of range
> [NULL @ 0x7fbbb162cc00]Error setting option drc_scale to value 165600.
> Could not open codec.
> ADecoder init failed
> ADecoder init failed
> Requested audio codec family [wmadmo] (afm=dmo) not available.
> Enable it at compilation.
> Requested audio codec family [divx] (afm=acm) not available.
> Enable it at compilation.
> Cannot find codec for audio format 0x161.
> Audio: no sound
>
>

Have you tried another video file? Or maybe just try a plain and simple
mp3 file. At first glance I would say, the video you are trying to play
uses an dio codec which mplayer does not understand (Enable it at
compilation./Cannot find codec for audio format 0x161.)
 
Old 02-10-2012, 07:31 AM
Helmut Jarausch
 
Default (s)mplayer problems

On 02/08/2012 03:04:50 PM, Carlos Hendson wrote:
> On Wed, 2012-02-08 at 14:40 +0100, Helmut Jarausch wrote:
> > On 02/08/2012 02:07:55 PM, Nilesh Govindrajan wrote:
> > > On Wed 08 Feb 2012 06:31:19 PM IST, Helmut Jarausch wrote:
> > > > Hi,
> > > >
> > > > I need some advice.
> > > >
> > > > Since a short time I have tremendous problems with mplayer /
> > > smplayer
> > > > and I don't know why.
> > > >
> > > > First, vlc works just fine, i.e. video and audio
> > > >
> > > > Second, mplayer produces a segment fault within fglrx (ati-
> > > > drivers-12.1-r1 with gentoo-sources-3.2.x)
> > > >
> > > > Third, smplayer does show the video (without a segment fault)
> but
> > > > doesn't play audio.
> > > >
> > > > How can I isolate the problem?
> > > >
> > > > Many thanks for a hint,
> > > > Helmut.
> > > >
> > > >
> > >
> > > Run mplayer on the command line and see what error it throws.
> Paste
> > > it
> > >
> > > here.
> >
> > Unfortunately, that's impossible.
> >
> > mplayer starts, opens a window and then segfaults, i.e. kills Xorg
> and
> > forces me to reboot the machine.
> >
> > Xorg.0.log.old shows
> >
> >
> > Backtrace:
> > [ 1669.886] 0: /usr/bin/X (xorg_backtrace+0x26) [0x564f86]
> > [ 1669.886] 1: /usr/bin/X (0x400000+0x168bc9) [0x568bc9]
> > [ 1669.886] 2: /lib64/libpthread.so.0 (0x7fa7aa5f4000+0x10ff0)
> > [0x7fa7aa604ff0]
> > [ 1669.887] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> > (xs111LookupPrivate+0x22) [0x7fa7a778c372]
> > [ 1669.887] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so
> > (xclLookupPrivate+0xd) [0x7fa7a7167cdd]
> > [ 1669.887] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage
> > +0x12e) [0x7fa7a441f81e]
> > [ 1669.887] 6: /usr/bin/X (0x400000+0x8a84e) [0x48a84e]
> > [ 1669.888] 7: /usr/lib64/xorg/modules/extensions/libextmod.so
> > (0x7fa7a83f8000+0xf53e) [0x7fa7a840753e]
> > [ 1669.888] 8: /usr/bin/X (0x400000+0x36979) [0x436979]
> > [ 1669.888] 9: /usr/bin/X (0x400000+0x2613a) [0x42613a]
> > [ 1669.888] 10: /lib64/libc.so.6 (__libc_start_main+0xed)
> > [0x7fa7a952b3cd]
> > [ 1669.888] 11: /usr/bin/X (0x400000+0x2645d) [0x42645d]
> > [ 1669.888] Segmentation fault at address 0x20
> >
> > Thanks,
> > Helmut.
> >
> Did you read this and follow the advice to work around Xv as
> mentioned
> in the elog?
>
> This release of ati-drivers has a crashing bug when using Xv video.
> To avoid this problem, configure your video playback software for
> OpenGL output. See https://bugs.gentoo.org/show_bug.cgi?id=391193
>

Many thanks, the workaround mentioned in this link fixes the segment
fault.
Still, audio doesn't work, yet.

Helmut.
 

Thread Tools




All times are GMT. The time now is 09:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org