Unofficial AMD Bugzilla – Bug 337
XVideo: mplayer -vo xv; X server crash (Fedora 16)
Last modified: 2013-08-14 11:42:19 CDT
Created attachment 286 [details]
Description of problem:
after installing Fedora 16 and Catalyst 11.11 I cannot play video file using xv output, not mplayer, nor vlc or else.
X server crashes after launched the player and I am back to login screen
fallback mode or gnome3 shell
(xv is fine with xorg-radeon)
Steps to reproduce:
1. install an updated Fedora16,
2. install catalyst 11.11
3. play a video with command: mplayer -vo xv
Actual result: the Xorg server crashes
Expected result: the player plays the video
on a amd64 box with fc16 i just tried
mplayer -vo xvmc ...
and it worked fine until i started secondlife (GL):
vo_xvmc: Found matching surface with id=3231564E on 143 port at 0 adapter
vo_xvmc: Using Xv Adaptor #0 (AMD Radeon AVIVO Video)
vo_xvmc: Port 143 grabed
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=1 unsigned_intra=0
vo_xvmc: looking for OSD support
vo_xvmc: No OSD support for this mode
[VD_FFMPEG] XVMC-accelerated MPEG-2.
*** glibc detected *** mplayer: munmap_chunk(): invalid pointer: 0x00007f7103b4dac8 ***
======= Backtrace: =========
furthermore the whole box crashes when i play secondlife while i watch a movie with "-vo gl"...
is there any workaround?
with calalyst 11.12
`mplayer -vo xv ...` still crashes the Xserver... -arne
Is it be possible to test with -vo xv to see if you've got the same backtrace than in 350 bug (ati.cchtml.com/show_bug.cgi?id=350) ?
To see the backtrace of the xserver, you can open the file :
on my box Xorg.0.log.old says:
[ 377.429] 0: /usr/bin/Xorg (xorg_backtrace+0x2f) [0x462dff]
[ 377.429] 1: /usr/bin/Xorg (0x400000+0x67de6) [0x467de6]
[ 377.429] 2: /lib64/libpthread.so.0 (0x3dc4e00000+0xf4f0) [0x3dc4e0f4f0]
[ 377.429] 3: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xs111LookupPrivate+0x22) [0x7fe559b14fb2]
[ 377.430] 4: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xclLookupPrivate+0xd) [0x7fe5594e301d]
[ 377.430] 5: /usr/lib64/xorg/modules/amdxmm.so (X740XvPutImage+0x12e) [0x7fe555c498de]
[ 377.430] 6: /usr/bin/Xorg (0x400000+0x9abf0) [0x49abf0]
[ 377.430] 7: /usr/lib64/xorg/modules/extensions/libextmod.so (0x7fe55ae37000+0x12750) [0x7fe55ae49750]
[ 377.430] 8: /usr/bin/Xorg (0x400000+0x33ae1) [0x433ae1]
[ 377.430] 9: /usr/bin/Xorg (0x400000+0x22e15) [0x422e15]
[ 377.430] 10: /lib64/libc.so.6 (__libc_start_main+0xed) [0x3dc462169d]
[ 377.430] 11: /usr/bin/Xorg (0x400000+0x23101) [0x423101]
[ 377.430] Segmentation fault at address 0x20
[ 377.430] Fatal server error:
[ 377.430] Caught signal 11 (Segmentation fault). Server aborting
Is there any Solution?
I've the same Problem with Kernel 3.1.6-1
you can try using -vo gl (or gl_nosw , ...), but some have trouble running mplayer with -vo gl with others software using gl at the same time.
(In reply to comment #5)
> Is there any Solution?
> I've the same Problem with Kernel 3.1.6-1
Not a solution but a workaround; add the following snippet to your /etc/X11/xorg.conf, that way the crashy code won't be executed:
Option "XVideo" "Disable"
(In reply to comment #7)
> (In reply to comment #5)
> > Is there any Solution?
> > I've the same Problem with Kernel 3.1.6-1
> Not a solution but a workaround; add the following snippet to your
> /etc/X11/xorg.conf, that way the crashy code won't be executed:
> Section "Extensions"
> Option "XVideo" "Disable"
Thx for this workaround. It's working with all "video" application... (VLC etc...)
(In reply to comment #0)
> Created attachment 286 [details]
> Description of problem:
> after installing Fedora 16 and Catalyst 11.11 I cannot play video file using xv
> output, not mplayer, nor vlc or else.
> X server crashes after launched the player and I am back to login screen
> fallback mode or gnome3 shell
> (xv is fine with xorg-radeon)
> Steps to reproduce:
> 1. install an updated Fedora16,
> 2. install catalyst 11.11
> 3. play a video with command: mplayer -vo xv
> Actual result: the Xorg server crashes
> Expected result: the player plays the video
I did some tests ...
fresh install from fedora 16.DVD.x86_64+updates+catalyst 11.12 = Xv crashes the Xorg
fresh install from fedora 16.LiveCD.i686+updates+catalyst 11.12 = Xv WORKS !!!
it works even mplayer-vaapi (Xvba) (and it's nice!!)
please note that LiveCD is 32 bit <-----
so bug may depend from x86_64 system or some package from full DVD installation
That should be fixed in Catalyst 12.2. Do you try it?
https://bugs.gentoo.org/show_bug.cgi?id=391193 is closed fixed,
works for me with hd6470m: no segfault when playing xv video.
This message is a reminder that your bug is marked as Catalyst 11.12.
The current Catalyst version is 12.8.
Approximately 7 days from now the Bugzilla administrator will be removing the
11.12 version. At that time your bug will be CLOSED as WONTFIX.
Bug Reporter: Thank you for reporting this issue. However, the Bugzilla
administrator provides this as a unofficial, free service to AMD customers, and
I like to keep my systems neat and tidy. If you would like to keep your bug
from being closed, please try a new Catalyst version and update the 'version'
field if the issue still occurs.
If you are unable to update the version, please make a comment and someone will
change it for you.
(In reply to comment #13)
> Approximately 7 days from now the Bugzilla administrator will be removing the
> 11.12 version. At that time your bug will be CLOSED as WONTFIX.
This has been fixed and is working well with the 12.6 version, so it should be closed as fixed.