Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 172224

Summary: Kernel locks up when trying to play video via mplayer using xv driver and ati-drivers (software rendering)
Product: Gentoo Linux Reporter: Garrett Cooper <yanegomi>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: major    
Priority: Normal    
Version: 2006.1   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Garrett Cooper 2007-03-25 19:40:07 UTC
Mplayer consistently locks up whenever I compile in xv and try to play a video (screen blinks, does something weird with the refresh, then locks up completely).

This occurs regardless of whether or not I compile custom-flags into mplayer.

This is also occurring on a (relatively) newly compiled system (1 day old). 

The issue was most likely fixed in the latest version of their driver. From <>:

Users with X Server 7.1 can now play video using XV. The ATI AVIVO Video adaptor is now present. Further details and the workaround can be found in topic number 737-22852

More important info listed below:

gcooper@optimus ~ $ emerge --info
Portage (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 24 Mar 2007 21:29:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
CFLAGS="-march=nocona -O2 -pipe -fno-strict-aliasing -funroll-loops -msse -msse2 -msse3"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fno-strict-aliasing -funroll-loops -msse -msse2 -msse3"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
LINGUAS="en ja"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="aac alsa amd64 berkdb bitmap-fonts cli cracklib crypt directfb dri faad2 fortran gdbm gpm iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly oss pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="ati"

optimus gcooper # emerge -pv ati-drivers mplayer xorg-server 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] virtual/libstdc++-3.3  0 kB 
[ebuild   R   ] media-video/mplayer-1.0_rc1-r2  USE="X aac alsa custom-cflags directfb dvd dvdread iconv ipv6 mad mmx mmxext opengl oss real sse sse2 unicode vorbis x264 (-3dfx) -3dnow -3dnowext -aalib (-altivec) -amr -arts -bidi -bindist -bl -cdparanoia -cpudetection -debug -dga -doc -dts -dv -dvb -enca -encode -esd -fbcon -ggi -gif -gtk -jack -joystick -jpeg -libcaca -lirc -live -livecd -lzo -matrox -musepack -nas -openal -png -rtc -samba -sdl -speex (-svga) -tga -theora -truetype -v4l -v4l2 (-win32codecs) -xanim -xinerama -xv -xvid -xvmc" LINGUAS="en ja -bg -cs -da -de -el -es -fr -hu -ko -mk -nl -no -pl -pt_BR -ro -ru -sk -tr -uk -zh_CN -zh_TW" 0 kB 
[ebuild   R   ] x11-base/xorg-server-1.1.1-r4  USE="dri ipv6 nptl xorg (-3dfx) -aiglx -debug -dmx -kdrive -minimal -sdl -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 (-i740) -i810 (-impact) (-imstt) -mach64 -mga -neomagic (-newport) (-nsc) -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB 
[ebuild     U ] x11-drivers/ati-drivers-8.32.5 USE="-acpi -qt3% (-doc%) (-opengl%)" 48,541 kB
Comment 1 Garrett Cooper 2007-03-25 19:47:36 UTC
Don't mind the libstdc++ virtual ref and the ati-drivers ref. I am in the process of unmasking the latest version of the drivers and their extras to see if the issue is resolved.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-25 20:15:03 UTC
Kernel developers don't support proprietary drivers; if you still have issues with latest ati-drivers version, then you should complain to ATI. 
Comment 3 Garrett Cooper 2007-03-25 20:54:23 UTC
Drivers "work" with xv + latest ati-drivers. Just noting this so that someone could update portage (possibly) a little sooner to note this fix.

Now if only someone could update ati-drivers-extra :).

Closing bug because this "fix" works.