xv broken - X server crashes when I start mplayer or xine. This behaviour starts after upgrade x11-drivers/ati-drivers from 8.471.3 to 8.501 (stable branch). Kernels linux-2.6.24-gentoo-r8 and linux-2.6.25-gentoo-r6 are affected. This happens very often BUT not every boot. Say 20 reboots give once xv works correct. Reproducible: Always Steps to Reproduce: 1.Boot the box. 2.Run every player using xv video output. Actual Results: X server restarts. Expected Results: Plays movie. $ dmesg | tail -n 30 Pid: 15287, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9323dcd>] [<c041bc49>] [<c011abe7>] [<f933a4a4>] [<f93e0ea4>] [<c041a309>] [<f9323d6c>] [<f93ed590>] [<f9339708>] [<f93ed590>] [<f93e964e>] [<f93ed590>] [<c030e130>] [<f93e8eae>] [<f93e952b>] [<f93ed590>] [<c0153c38>] [<f93deded>] [<c014c507>] [<f933d3ec>] [<f933ce38>] [<c01551b6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c0114c86>] [<c016f064>] [<c010481e>] [<c0410000>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15287 Pid: 15287, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f93e8ee8>] [<c030e130>] [<f93e951e>] [<c0153c38>] [<f93deded>] [<c014c507>] [<f933d3ec>] [<f933ce38>] [<c01551b6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c0114c86>] [<c016f064>] [<c010481e>] [<c0410000>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933b918>] [<f933a511>] [<f93e0bf8>] [<c0123dc0>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= BUG: using smp_processor_id() in preemptible [00000000] code: X/15531 Pid: 15531, comm: X Tainted: P 2.6.25-gentoo-r6 #2 [<c0312bc1>] [<f9323b3a>] [<f9323b50>] [<f9326040>] [<f933a511>] [<f93e0bf8>] [<f933a595>] [<c010fd1e>] [<f9335165>] [<f933507a>] [<f93e8c68>] [<f933950f>] [<f93e99b2>] [<f93e1161>] [<f93eb5cc>] [<f93df516>] [<f933d1d4>] [<f933ce61>] [<f9332dd6>] [<f933cce0>] [<f933010e>] [<f932593f>] [<c016edd7>] [<c016f025>] [<c016f064>] [<c010481e>] ======================= [fglrx] Reserved FB block: Shared offset:0, size:1000000 [fglrx] Reserved FB block: Unshared offset:1000000, size:5000 [fglrx] Reserved FB block: Unshared offset:ffbf000, size:40000 [fglrx] Reserved FB block: Unshared offset:ffff000, size:1000 $ cat /etc/X11/xorg.conf # /.../ # SaX generated XFree86 config file # Created on: 2003-09-04. # # Version: 4.7 # Contact: Marcus Schaefer <sax@suse.de>, 2002 # # Automatically generated by [SaX2] (4.7) # PLEASE DO NOT EDIT THIS FILE! # Section "ServerLayout" # Option "AIGLX" "false" Identifier "Layout[all]" Screen 0 "aticonfig-Screen[0]" 0 0 InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[2]" "SendCoreEvents" EndSection Section "Files" # FontPath "/usr/X11R6/lib/X11/fonts/local" # FontPath "/usr/X11R6/lib/X11/fonts/Speedo" # FontPath "/usr/X11R6/lib/X11/fonts/CID" # FontPath "/usr/X11R6/lib/X11/fonts/Type1" # FontPath "/usr/share/fonts/100dpi/" # FontPath "/usr/share/fonts/75dpi/" InputDevices "/dev/ttyS0" InputDevices "/dev/ttyS1" InputDevices "/dev/ttyS2" InputDevices "/dev/ttyS3" InputDevices "/dev/ttyS4" InputDevices "/dev/ttyS5" InputDevices "/dev/ttyS6" InputDevices "/dev/ttyS7" InputDevices "/dev/ttyS8" InputDevices "/dev/psaux" InputDevices "/dev/logibm" InputDevices "/dev/sunmouse" InputDevices "/dev/atibm" InputDevices "/dev/amigamouse" InputDevices "/dev/atarimouse" InputDevices "/dev/inportbm" InputDevices "/dev/gpmdata" InputDevices "/dev/mouse" InputDevices "/dev/usbmouse" InputDevices "/dev/adbmouse" InputDevices "/dev/input/mice" InputDevices "/dev/input/event0" InputDevices "/dev/pointer0" InputDevices "/dev/pointer1" InputDevices "/dev/pointer2" InputDevices "/dev/pointer3" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/MacOS/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/CID/" EndSection Section "Module" # Load "speedo" # Load "type1" Load "freetype" Load "extmod" Load "dri" Load "glx" # Load "v4l" EndSection Section "InputDevice" Identifier "Keyboard[0]" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbLayout" "us,ru" Option "XkbVariant" ",winkeys" Option "XkbOptions" "grp:toggle" EndSection Section "InputDevice" Identifier "Mouse[1]" Driver "synaptics" Option "SHMConfig" "on" Option "Device" "/dev/psaux" # Option "Edges" "1200 8000 1200 4400" Option "LeftEdge" "1200" Option "RightEdge" "5900" Option "TopEdge" "1200" Option "BottomEdge" "4400" Option "Finger" "25 30" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "VertScrollDelta" "100" Option "MinSpeed" "0.02" Option "MaxSpeed" "0.18" Option "AccelFactor" "0.0010" # Option "Repeater" "/dev/ps2mouse" EndSection Section "InputDevice" Identifier "Mouse[2]" Driver "mouse" Option "Device" "/dev/input/mice" Option "Name" "Autodetection" Option "Protocol" "imps/2" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" # 1280x800 @ 75.00 Hz (GTF) hsync: 62.63 kHz; pclk: 107.21 MHz Identifier "aticonfig-Monitor[0]" HorizSync 50.0 - 75.0 VertRefresh 50.0 - 130.0 ModeLine "1280x800_75.00" 107.2 1280 1360 1496 1712 800 801 804 835 -hsync +vsync Option "VendorName" "ATI Proprietary Driver" Option "ModelName" "Generic Autodetecting Monitor" Option "DPMS" "true" EndSection Section "Device" # === Center Mode (Laptops only) === # Option "backingstore" "true" Identifier "aticonfig-Device[0]" Driver "fglrx" Option "XAANoOffscreenPixmaps" "true" Option "Centermode" "on" # Option "OpenGLOverlay" "on" Option "AGPFastWrite" "yes" #requires dri modules Option "EnablePageFlip" "True" # Option "VideoOverlay" "on" # BusID "PCI:1:0:0" Option "TexturedVideo" "on" Option "TexturedVideoSync" "True" Option "Textured2D" "on" Option "TexturedXrender" "on" Option "UseFastTLS" "on" Option "MaxGARTSize" "512" Option "PowerState" "1" # Option "DesktopSetup" "clone" Option "EnableMonitor" "lvds" # Option "TVHPosAdj" "5" # Option "TVVPosAdj" "0" # Option "TVHSizeAdj" "88" # Option "TVVSizeAdj" "60" # Option "TVFormat" "PAL-D" # Option "TVOverscan" "on" # Option "Mode2" "1024x768" # Option "OpenGLOverlay" "off" EndSection Section "Screen" # Device "Rhd" Identifier "aticonfig-Screen[0]" Device "aticonfig-Device[0]" Monitor "aticonfig-Monitor[0]" DefaultDepth 24 SubSection "Display" # Modes "1024x768" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection Section "DRI" Group "video" Mode 0660 EndSection Section "Extensions" Option "Composite" "Enable" Option "ReducedBlanking" "Enable" Option "XVideo" "Enable" EndSection $ emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 i686) ================================================================= System uname: 2.6.25-gentoo-r6 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Thu, 24 Jul 2008 00:00:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -g" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs distlocks metadata-transfer sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j 4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/soor-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion bashlogger bluetooth bzip2 cairo cdr crypt cups dbus dlloader dmi dri dvdr enca encode exif fbsplash firefox flac foomaticdb gif gimp glibc-omitfp gnutls gstreamer guile hal iconv javascript jpeg jpg kde lcms libnotify libsexy logrotate mad mikmod mmx mono mp3 ncurses newspr nolvm1 nptl nptlonly ogg opengl pam pcmcia pdf png ppds qt3 qt4 readline samba slang ssl svg syslog tiff truetype udev unicode urandom usb vorbis wifi win32codecs wma wmf x86 xattr xine xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="dmix empty multi plug softvol adpcm alaw asym copy dshare dsnoop extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw null rate route share shm" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018 hp1020" INPUT_DEVICES="evdev mouse synaptics keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
$ lsmod Module Size Used by fuse 38044 2 ipv6 194948 10 rfcomm 31376 8 l2cap 21632 5 rfcomm snd_pcm_oss 32800 0 snd_mixer_oss 15744 1 snd_pcm_oss snd_seq_oss 25216 0 snd_seq_midi_event 7552 1 snd_seq_oss snd_seq 35184 4 snd_seq_oss,snd_seq_midi_event snd_seq_device 8332 2 snd_seq_oss,snd_seq sha256_generic 14464 0 aes_i586 11136 3 aes_generic 31272 1 aes_i586 cbc 6784 2 dm_crypt 15108 1 mmc_block 13060 0 stk11xx 88068 0 arc4 5248 2 ecb 6144 2 thermal 17564 1 hci_usb 13980 6 sdhci 16780 0 snd_hda_intel 253588 1 ac 7940 0 mmc_core 31388 2 mmc_block,sdhci snd_pcm 44804 2 snd_pcm_oss,snd_hda_intel battery 13444 0 crypto_blkcipher 15108 5 cbc,dm_crypt,ecb asus_acpi 16540 0 button 9488 0 processor 32492 1 thermal snd_timer 18440 2 snd_seq,snd_pcm fglrx 1453140 25 videodev 29440 1 stk11xx bluetooth 41188 15 rfcomm,l2cap,hci_usb backlight 6916 1 asus_acpi r8169 24708 0 intel_agp 22468 0 snd 34084 10 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer i2c_i801 11152 0 iwl3945 71412 0 mac80211 97036 1 iwl3945 cfg80211 16136 1 mac80211 snd_page_alloc 10376 2 snd_hda_intel,snd_pcm v4l1_compat 15108 1 videodev agpgart 22740 2 fglrx,intel_agp i2c_core 16532 1 i2c_i801 rtc 13864 0 pcspkr 5888 0 tg3 96516 0 e1000 92864 0 nfs 100972 0 lockd 49544 1 nfs sunrpc 124576 4 nfs,lockd jfs 143980 0 raid10 23168 0 raid456 117788 0 async_tx 5248 1 raid456 async_memcpy 4992 1 raid456 async_xor 5504 1 raid456 xor 17292 2 raid456,async_xor raid1 22656 0 raid0 10368 0 dm_bbr 13600 0 dm_snapshot 17188 0 dm_mirror 24068 0 dm_mod 41700 8 dm_crypt,dm_bbr,dm_snapshot,dm_mirror sbp2 20364 0 ohci1394 27696 0 ieee1394 55480 2 sbp2,ohci1394 sl811_hcd 13184 0 usbhid 25472 0 ohci_hcd 21252 0 uhci_hcd 21516 0 usb_storage 61760 0 ehci_hcd 29580 0 usbcore 90096 9 stk11xx,hci_usb,sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd lpfc 183636 0 qla2xxx 138348 0 firmware_class 9984 2 iwl3945,qla2xxx megaraid_sas 27952 0 megaraid_mbox 27408 0 megaraid_mm 11164 1 megaraid_mbox megaraid 34120 0 aacraid 52492 0 sx8 16780 0 DAC960 58440 0 cciss 32260 0 cpqarray 18276 0 3w_9xxx 29956 0 3w_xxxx 24992 0 mptsas 26504 0 scsi_transport_sas 19712 1 mptsas mptfc 15364 0 scsi_transport_fc 29828 3 lpfc,qla2xxx,mptfc mptspi 16648 0 mptscsih 19968 3 mptsas,mptfc,mptspi mptbase 47716 4 mptsas,mptfc,mptspi,mptscsih atp870u 28416 0 dc395x 29068 0 qla1280 115340 0 dmx3191d 13440 0 sym53c8xx 61848 0 qlogicfas408 7808 0 advansys 71936 0 initio 17476 0 BusLogic 62068 0 arcmsr 20480 0 aic7xxx 131128 0 aic79xx 165848 0 scsi_transport_spi 17792 5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx sg 26804 0 pdc_adma 10500 0 sata_mv 21516 0 ata_piix 18948 3 ahci 22536 0 sata_qstor 10500 0 sata_vsc 9860 0 sata_uli 8836 0 sata_sis 9860 0 sata_sx4 13188 0 sata_nv 22152 0 sata_via 11780 0 sata_svw 9092 0 sata_sil24 15620 0 sata_sil 11528 0 sata_promise 12804 0 scsi_wait_scan 4736 0 pata_sis 13060 1 sata_sis libata 100680 16 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise,pata_sis dock 10256 1 libata
Me too on amd64. This doesnt happen in latest stable version 8.471.3
I am having the same issue. Mine seems to be somewhat random where if the mplayer or xine plays long enough it kills X.
does it happen with the latest driver?
(In reply to comment #4) > does it happen with the latest driver? > I am currently running 8.501 just like the above post. Most of my settings looking at his are the same. Steps to reproduce. Boot box Run player for more then 3-5 mins or switch videos in the middle X will crash
i'm not sure, whether this is the same issue, but i can remember having X crashes with mplayer after upgrading ati-drivers, too. my problem could be solved setting the xv port. e.g. with mplayer: mplayer -vo xv:port=133 ... before 133 worked, it was 132, so maybe you have to figure out the right value. i used: pille@pitti ~ % xvinfo |fgrep ' port' number of ports: 4 port base: 131 only one port value seems to work. the new problem is that i cannot use multiple mplayers now at the same time.
version removed from tree