Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259991 - Random freezes since installing =x11-drivers/xf86-video-ati-6.10.0
Summary: Random freezes since installing =x11-drivers/xf86-video-ati-6.10.0
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 10:26 UTC by Arne Babenhauserheide
Modified: 2009-03-24 10:36 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 Arne Babenhauserheide 2009-02-23 10:26:51 UTC
Since I installed =x11-drivers/xf86-video-ati-6.10.0 (along with all dependencies - see additional info) I experience random freezes which can only be resolved by abusing my computers power button (kernel keys don't work (ctrl-alt-f13-b)). 

I didn't yet try to reproduce it, since I fear that my disk/filesystem might suffer some serious damage if my computer freezes too often. I already had unaccessible and undeletable (but luckily movable) files two times after a freeze. 

Reproducible: Didn't try




### package.keywords/X: 
# Wacom tablett
=x11-drivers/linuxwacom-0.8*

# "Backup" framebuffer
=x11-drivers/xf86-video-fbdev-0.4*


=x11-base/xorg-server-1.5*
=x11-libs/pixman-0.12*
=x11-libs/libpciaccess-0.10*
=x11-apps/xauth-1.0*
=x11-libs/libXrender-0.9*
=x11-proto/renderproto-0.9*
=x11-proto/xextproto-7.0*
=x11-libs/libXau-1.0*
=x11-proto/xproto-7.0*
=media-libs/mesa-7.2*


# All packages which get pulled in by an emerge -pu xorg-xserver (1.5.3-r1)
=sys-devel/m4-1.4.12
=sys-devel/binutils-2.19
=sys-devel/flex-2.5.35
=x11-misc/util-macros-1.2.1
=x11-proto/inputproto-1.5*
=x11-proto/randrproto-1.2*
=x11-libs/xtrans-1.2*
=x11-libs/libdrm-2.4*
=x11-proto/xf86driproto-2.0*
=x11-libs/libXau-1.0*
=x11-apps/rgb-1.0*
=x11-libs/libX11-1.1*
=x11-libs/libXext-1.0*
=media-libs/freetype-2.3*
=x11-libs/libxkbfile-1.0*
=x11-libs/libXmu-1.0*
=x11-libs/libXi-1.2*
=x11-libs/libXxf86vm-1.0*
=x11-libs/libXfont-1.3*
=x11-libs/libXaw-1.0*
=x11-misc/xkeyboard-config-1.5*
=app-misc/hal-info-20081219
=sys-apps/hal-0.5.11*
=x11-drivers/xf86-video-vesa-2.1*
=x11-drivers/xf86-video-ati-6.10*
=x11-drivers/xf86-input-mouse-1.4*
=x11-drivers/xf86-input-evdev-2.1*
=x11-drivers/xf86-input-keyboard-1.3*


### emerge --info 
                                                                    
 * Overlay eclasses override eclasses from PORTDIR:                                         
 *                                                                                          
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-base.eclass'                        
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-functions.eclass'                   
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-meta.eclass'                        
 *   '/usr/local/portage/eclass/mercurial.eclass'                                           
 *                                                                                          
 * It is best to avoid overriding eclasses from PORTDIR because it will                     
 * trigger invalidation of cached ebuild metadata that is distributed with                  
 * the portage tree. If you must override eclasses from PORTDIR then you                    
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to                 
 * run `emerge --regen` after each time that you run `emerge --sync`. Set                   
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to                 
 * disable this warning.                                                                    
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)                                                                       
=================================================================                           
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5                                                                                           
Timestamp of tree: Fri, 20 Feb 2009 09:45:01 +0000                                          
ccache version 2.4 [enabled]                                                                
app-shells/bash:     3.2_p39                                                                
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                    
dev-lang/python:     2.5.4-r2                                                               
dev-python/pycrypto: 2.0.1-r6                                                               
dev-util/ccache:     2.4-r7                                                                 
dev-util/cmake:      2.6.2                                                                  
sys-apps/baselayout: 1.12.11.1                                                              
sys-apps/sandbox:    1.3.6                                                                  
sys-devel/autoconf:  2.13, 2.63                                                             
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                      
sys-devel/binutils:  2.19                                                                   
sys-devel/gcc-config: 1.4.0-r4                                                              
sys-devel/libtool:   2.2.6a                                                                 
virtual/os-headers:  2.6.27-r2                                                              
ACCEPT_KEYWORDS="amd64"                                                                     
CBUILD="x86_64-pc-linux-gnu"                                                                
CFLAGS="-O2 -pipe -march=k8"                                                                
CHOST="x86_64-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"                                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                  
CXXFLAGS="-O2 -pipe -march=k8"                                                              
DISTDIR="/var/distfiles"                                                                    
EMERGE_DEFAULT_OPTS="--nospinner"                                                           
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"                 
GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"                                
LANG="de_DE.utf8@euro"                                                                      
LC_ALL="de_DE.utf8"                                                                         
LDFLAGS="-Wl,-O1"                                                                           
LINGUAS="eo de es en"                                                                       
MAKEOPTS="-j2"                                                                              
PKGDIR="/var/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/portage/local/layman/berkano /usr/portage/local/layman/gentopia /usr/portage/local/layman/pythonhead /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/portage/local/layman/mpd /usr/portage/local/layman/kde-testing /usr/portage/local/layman/oomadness /usr/portage/local/g-pypi /usr/local/portage /usr/portage/local/layman/tove/repo"                                                  
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                       
USE="3ds X a52 aac accessibility acl acpi addbookmarks akode alias alsa amarok amd64 amuled autoreplace avi bash-completion berkdb bittorrent blas bluetooth branding bugzilla bzip2 cairo cal3d cdaudio cdr cegui clamav cli clucene cmake connectionstatus contactnotes cracklib crypt css cups cupsddk curl cvs darcs dbus decibel devil divx4linux djvu dri dv dvd dvdr dvdread dvdrip eds elisp emacs emboss encode epydoc esd evo examples fam fame ffmpeg flac foomatic fortran gadu gd gdbm gif git glib gnutls gpg gpgme gphoto2 gpm groupwise gstreamer hal highlight history htmlhandbook hybrid-auth iconv idn ieee1394 ifp imagemagick imlib ipod ipv6 irc isdnlog jabber jack jce jingle jpeg jpeg2k kde kig-scripting kqemu lapack latex ldap libcaca libnotify libwww live lm_sensors mad matroska mbrola mdnsresponder-compat metalink midi mikmod mmx mng mod mp2 mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz nas ncurses netmeeting njb nls npp nptl nptlonly nsplugin ocaml ogg oggvorbis openal openbabel opengl openmp openxr oscar pam pcre pdf perl png portaudio ppds pppd pulseaudio pymacs python qca qmake qt3 qt3support qt4 quicktime readline reflection regex sametime sasl scanner sdl sensord session shorten slp snmp spamassassin speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification statistics strigi subtitles subversion svg symlink sysfs taglib tcl tcpd theora threads tiff timidity tk tls translator truetype tunepimp twolame unicode unity-lobbyusb vamp vhook videos visualization vnc vorbis wavpack x264 xcomposite xemacs xine xml xorgxscreensaver xulrunner xv xvid yahoo 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 asymcopy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_defaultauthz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdirusertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev input_devices_wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="eo de es en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd ati vesa mesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-02-24 16:24:22 UTC
No idea what could be causing this. I do suggest however you took a look at the stabilization list in bug 251832. It'll fetch the latest ~arch ebuilds, maybe that'll help a bit, who knows.

That's all I can say right now. If you keep getting more crashes, you might want to file a bug over at FreeDesktop.org.

If you do, please paste the url here so we can track it.

Thanks
Comment 2 Arne Babenhauserheide 2009-02-25 10:41:39 UTC
I'll do that. 

Thanks! 
Comment 3 Janos Zsitvai 2009-02-26 14:59:10 UTC
Do you have "EXAVSync" "on" in your device options? I had the same problem with an x700 mobility and removing that line seems to have solved it. I run full ~x86.
Comment 4 Arne Babenhauserheide 2009-02-26 16:35:35 UTC
I run completely without xorg.conf at the moment, so I'm not sure what is set. 
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-02-26 23:36:24 UTC
Could you update your driver to 6.11.0 and let us know if you have any improvements with this one?

Thanks
Comment 6 Janos Zsitvai 2009-02-27 00:11:58 UTC
(In reply to comment #5)
> Could you update your driver to 6.11.0 and let us know if you have any
> improvements with this one?
> 
> Thanks
> 

Not sure who you're replying to, but the problem persists with 6.11.0 as well for me. Removing "EXAVSync" "on" from xorg.conf seems to help, as I haven't had a lockup since, but that may well be temporary. 

For me, if I run KDE 3.5 with >=xf86-video-ati-6.9.0 (with EXAVSync), with the 2.6.28 kernel modules 'drm' and 'radeon', I get a soft lockup after running either konsole or konqueror almost immediately (and probably other things), but I can still issue ssh commands and sysrq+k. If I try it without the kernel modules, the lockup does not allow sysrq commands or an existing ssh session to do anything. In the first case, the mouse still moves sluggishly accross the screen, and not at all in the second case. None of these cases output anything to any log (messages, dmesg or Xorg.0.log) I tried. 

At the moment, I'm running ~x86 with the x11 overlay, without the  EXAVSync option but with EXA. 

The entirety of my xorg.conf is this (and only the EXAVSync option seems to have made any difference):

Section "Monitor"
        Identifier   "Monitor0"
        DisplaySize  370 278
EndSection


Section "Device"
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility X700 (PCIE)"
        BusID       "PCI:1:0:0"
        Option      "DynamicClocks" "off"
        Option      "AccelMethod" "EXA"
        Option      "MigrationHeuristic" "greedy"
        Option      "AccelDFS" "on"
        Option      "ColorTiling" "on"
        Option      "EnablePageFlip" "on"
#        Option      "EXAVSync" "on"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     24
                Virtual 2800 2100
        EndSubSection
EndSection

Section "DRI"
        Mode    0666
EndSection
Comment 7 Janos Zsitvai 2009-02-27 00:14:35 UTC
(In reply to comment #6)
>=xf86-video-ati-6.9.0

that's >=xf86-video-ati-6.10.0, sorry
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 08:07:41 UTC
As I'm not familiar with the ati driver (I only just started looking at it) and don't really intend to be more, I strongly urge you to read this document [1] and file a bug in FreeDesktop's bugzilla. Of course, this is an Intel document so you'll have to change a few things, but the procedure is the same.

If you do open a bug, please paste the url here so that we can keep track of it.

Thanks
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 08:10:02 UTC
[1] http://intellinuxgraphics.org/how_to_report_bug.html

...
Comment 10 Janos Zsitvai 2009-02-27 10:30:44 UTC
Thanks for the link, using git-bisect as it suggested revealed that the offending commit is http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=4d98acbca2e630056bf56cdcd0e23007fded2ced .

I'll file a bugreport in a while at the freedesktop tracker.
Comment 11 Janos Zsitvai 2009-02-27 11:47:24 UTC
Reported: http://bugs.freedesktop.org/show_bug.cgi?id=20351
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-02-27 12:25:28 UTC
Let's track this upstream then.

Thanks
Comment 13 Arne Babenhauserheide 2009-02-27 13:32:21 UTC
Many thanks for getting deep into the issue! 
Comment 14 Janos Zsitvai 2009-02-27 14:28:28 UTC
Well, that was resolved quick.. seems that our issues aren't related after all.

Watching http://bugs.freedesktop.org/show_bug.cgi?id=18664 for changes instead might be better. 

I'll upgrade to latest and see if I can reproduce this with any reliability.
Comment 15 Arne Babenhauserheide 2009-03-24 10:33:34 UTC
I now use x11-drivers/xf86-video-ati-0.12.1 and I still get random freezes. 
Comment 16 Arne Babenhauserheide 2009-03-24 10:35:28 UTC
I now disabled VSync in KDE4 systemsettings as hinted at by http://bugs.freedesktop.org/show_bug.cgi?id=20351
Comment 17 Arne Babenhauserheide 2009-03-24 10:36:28 UTC
(sorry for teh fragment posts - I'll report back, if I get another crash. If you don't hear from me in at most a week, disabling VSync can be used as workaround)