View previous topic :: View next topic |
Author |
Message |
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Mon May 03, 2010 11:27 pm Post subject: radeon + KDE effects = hard lockup after upgrade |
|
|
I have an older laptop with a Radeon Mobility 7500 card. I'm using the "radeon" driver because this card is too old to work with ATI's binary driver. Until now, it's been working fine. However, after the most recent xorg upgrade (xorg-server, mesa, the drivers, etc.) the system freezes completely as soon as KDE tries to enable desktop effects. This is a really hard lockup - I can't log in remotely, and the system doesn't even respond to the ACPI power button event. I have to hard power it off. If I leave desktop effects off, glxgears works and glxinfo reports that direct rendering is enabled.
I have nothing useful to post from log files, because they don't get written when the system freezes. I don't really need desktop effects, but they worked fine until now so I'd like to get them fixed. Any help would be appreciated.
Some info that might be useful:
Code: | # qlist -Iv xorg-server mesa x11-drivers
media-libs/mesa-7.7.1
x11-apps/mesa-progs-7.7
x11-base/xorg-server-1.7.6
x11-drivers/xf86-input-evdev-2.3.2
x11-drivers/xf86-input-joystick-1.5.0
x11-drivers/xf86-input-keyboard-1.4.0
x11-drivers/xf86-input-mouse-1.5.0
x11-drivers/xf86-input-synaptics-1.2.1
x11-drivers/xf86-video-ati-6.12.6
x11-drivers/xf86-video-v4l-0.2.0
x11-drivers/xf86-video-vesa-2.3.0
# cat /etc/X11/xorg.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 1280 1024
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "ServerFlags"
Option "DontZap" "false"
EndSection
# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
07:00.0 USB Controller: NEC Corporation USB (rev 43)
07:00.1 USB Controller: NEC Corporation USB (rev 43)
07:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-tuxonice-r11 i686)
=================================================================
System uname: Linux-2.6.31-tuxonice-r11-i686-Intel-R-_Pentium-R-_4_Mobile_CPU_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 02 May 2010 20:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.4-r1
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc: 3.3.6-r1, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=pentium4 -pipe -momit-leaf-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LANG="en_CA"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en_CA en en_GB en_US de_DE fr_CA fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS=""
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/Cadenza-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi addbookmarks aio akode alias alsa amr amrnb amrwb ao apache2 asf aspell async audiofile autoreplace avahi bash-completion bcmath berkdb bitmap-fonts bjam blas bzip2 cairo cblas cdda cddb cdparanoia cdr cgi cgraph cleartype cli connectionstatus contactnotes cpudetection cracklib crypt css ctype cups curl curlwrappers cvs cxx dbus deflate desktopglobe device-mapper dia dirac discard-path disk-partition djbfft djvu dmi dmraid dri dts dv dvb dvd dvdr dvdread edl effects emf encode exif extraengine fam fame fat fax ffmpeg fftw flac font-server foomaticdb fortran fpx ftp fuse gd gdbm geoip gif gimp ginac glitz glut gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 hal handbook hash hdri hfs history hotpixels hpijs hpn i8x0 iconv icu id3tag idn ieee1394 imagemagick imlib inkjar inotify irc ithreads java java6 javascript jbig jfs joystick jpeg jpeg2k kde kdehiddenvisibility kipi konqueror kpathsea kqemu ladspa lame lapack largeterminal latex lcms lensfun libnotify libsamplerate libssh2 live loop-aes lpr lzma lzo mad mbrola mdnsresponder-compat memlimit mhash midi mikmod mjpeg mmap mmx mng modplug modules motif mozbranding mp3 mp4 mpeg mpi mplayer mudflap multimedia musepack musicbrainz mysql mysqli nas ncurses nemesi network nfs nls nptl nptlonly nsplugin ntfs ntp nut nuv oav octave odbc ogg oggvorbis openal opencore-amr openexr opengl openmp openvpn oss pam parport pch pcmcia pcre pda pdf perl phonon php plotutils plugin png pnm portaudio posix postproc postscript povray ppds pppd python qhull qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs rle rtc samba sasl scanner schroedinger sdl session slp sndfile snmp sockets socks5 soundtouch sourceview sox speex spell spl sql srt sse sse2 ssh ssl startup-notification statistics subtitles subversion svg svn swat sysfs szip taglib tcl tcltk tcpd texteffect tga theora threads threadsafe thumbnail tiff timidity tk translator truetype truetype-fonts type1-fonts unicode urandom usb userlocales utempter uuid v4l v4l2 vamp vcd vorbis vorbis-psy wavpack webkit win32codecs winbind wmf wxwidgets wxwindows x264 x86 xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy 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 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" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_CA en en_GB en_US de_DE fr_CA fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon v4l vga vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
|
I don't know if this is relevant: After the same xorg upgrade, I had similar symptoms on a desktop with an Intel graphics card graphics card. Upgrading to the 2.6.31 kernel fixed it in that case, but didn't help with this ATI card. |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2266 Location: $TERM
|
Posted: Wed May 05, 2010 4:46 am Post subject: |
|
|
Upgrade to the latest masked version of xf86-video-ati. _________________ My blog |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Wed May 05, 2010 3:09 pm Post subject: |
|
|
I tried xf86-video-ati-6.13.0 but it didn't help. I get exactly the same lockup. |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2266 Location: $TERM
|
Posted: Thu May 06, 2010 4:28 am Post subject: |
|
|
Do you have KMS enabled in your kernel? _________________ My blog |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Thu May 06, 2010 6:03 pm Post subject: |
|
|
I don't see any KMS option for the Radeon DRI driver in the kernel's "menuconfig".
I just noticed: The only direct rendering manager I have installed is "ATI Radeon". I thought that was correct since I have a Radeon graphics card. However, my AGP chipset seems to be "PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)". Does that mean I should be using the "Intel 830M, 845G, 852GM, 855GM, 865G" direct rendering manager? But direct rendering "works" as it is - at least, it is reported to be enabled by glxinfo. I won't have physical access to this machine until Monday, so I'll have to wait until then to try. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Thu May 06, 2010 10:36 pm Post subject: |
|
|
Very often for users which upgrade from old kernels, there are still options like radeonfb enabled which cause trouble with current drm. |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Thu May 06, 2010 11:35 pm Post subject: |
|
|
I do have ATI framebuffer support compiled in (FB_RADEON=y). I didn't notice that. (I don't use the framebuffer for graphics, just to get a higher resolution in the console.) I'll try taking that out on Monday and see if it helps. |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2266 Location: $TERM
|
Posted: Fri May 07, 2010 1:14 pm Post subject: |
|
|
I really don't think that'll help.
I think this is a bug. With the latest mesa performance is real low on my x1270. The 6th version of mesa worked the best, but after that, it's all bad.
More interesting will be your xorg.conf... if you do not have, generate one and show. _________________ My blog |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Fri May 07, 2010 1:48 pm Post subject: |
|
|
I've already posted my xorg.conf at the top. There's very little in it other than the modes. What do you mean by "generate one"? Can I get Xorg to generate a complete xorg.conf with all of the options that it normally auto-detects? |
|
Back to top |
|
|
wfahren n00b
Joined: 04 Aug 2007 Posts: 32
|
Posted: Fri May 07, 2010 4:58 pm Post subject: |
|
|
I had the same problem....if I ssh in from another machine I saw X was at 100% cpu. Could kill and would work for a while. Tried several things but this seems to have fixed it.
Code: | emerge -1 $(qlist -IC x11-drivers) |
|
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2266 Location: $TERM
|
Posted: Sun May 09, 2010 4:51 am Post subject: |
|
|
To generate and xorg.conf, switch to the login shell and -
Xorg -configure...check the messages it gives and post the new xorg.conf. _________________ My blog |
|
Back to top |
|
|
|