Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289905 - x11-drivers/xf86-video-radeonhd-1.3.0 causes runaway X process
Summary: x11-drivers/xf86-video-radeonhd-1.3.0 causes runaway X process
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Jeffrey Gardner (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-10-20 19:23 UTC by Frank Goubert
Modified: 2010-09-21 21:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Xorg.0.log (Xorg.0.log.old,243.28 KB, text/plain)
2009-10-20 19:27 UTC, Frank Goubert
Details
system log (log-2009-10-19-19:10:31,296.42 KB, text/plain)
2009-10-20 19:28 UTC, Frank Goubert
Details
Radeon HD4850 lspci output (HD4850.lspci,2.05 KB, text/plain)
2009-10-20 19:29 UTC, Frank Goubert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Goubert 2009-10-20 19:23:37 UTC
After emerging x11-drivers/xf86-video-radeonhd-1.3.0 X hangs at startup right before starting the display manager (kdm). X process is not killable, keeps taking 100% CPU.
- recompiling did not help
- revdep-rebuild did not help
- emerging x11-drivers/xf86-video-radeonhd-1.2.5 did solve the problem.

Hardware: Radeon HD4850

Reproducible: Always

Steps to Reproduce:
1. emerge x11-drivers/xf86-video-radeonhd-1.2.5
2. /etc/init.d/xdm start

Actual Results:  
I get to see the clock, then X hangs without displaying kdm. Lots of messages in Xorg log and system log.

Expected Results:  
Display KDM login screen.

Portage 2.1.7.1 (default/linux/amd64/2008.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r1-energon x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r1-energon-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 19 Oct 2009 18:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -pipe"
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/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -pipe"
DISTDIR="/usr/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.free.fr/mirrors/ftp.gentoo.org/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_BE@euro"
LC_ALL="nl_BE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 asf berkdb bluetooth bzip2 cairo cdparanoia cli cracklib crypt cups curl dbus dri dts dvd dvdread encode exif expat fam ffmpeg flac foomaticdb fortran gdbm gif gimp gstreamer gtk hal iconv icu idn imagemagick imlib ipod ipv6 irmc isdnlog jack java jpeg kde kdexdeltas kpathsea lcms lm_sensors mad mikmod mmx mng modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pda pdf perl pic png ppds pppd python qt3support qt4 quicktime raw readline reflection sdl session sms spell spl sqlite sse sse2 ssl subversion svg sysfs tcpd tetex threads tiff truetype unicode usb vim-syntax vorbis webkit xcomposite xine xml xorg xv xvid yv12 zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 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 userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS="radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Frank Goubert 2009-10-20 19:27:37 UTC
Created attachment 207719 [details]
Xorg.0.log
Comment 2 Frank Goubert 2009-10-20 19:28:23 UTC
Created attachment 207720 [details]
system log
Comment 3 Frank Goubert 2009-10-20 19:29:15 UTC
Created attachment 207722 [details]
Radeon HD4850 lspci output
Comment 4 Yang Zhao 2009-10-25 08:07:09 UTC
Does the problem occur with a plain X session, without kdm and KDE?

As a workaround, try disabling EXA by setting
  Option "AccelMethod" "ShadowFB"

in your Device section
Comment 5 Frank Goubert 2009-10-27 20:50:57 UTC
(In reply to comment #4)
> Does the problem occur with a plain X session, without kdm and KDE?

No, does not occur when I run X -config /etc/X11/xorg.conf

> As a workaround, try disabling EXA by setting
>   Option "AccelMethod" "ShadowFB"
> 
> in your Device section

No problem with Option "AccelMethod" "ShadowFB"

Runaway X with Option "AccelMethod" "EXA" and Option "AccelMethod" "XAA"

Comment 6 Yang Zhao 2009-10-29 02:46:31 UTC
Is the latest xf86-video-ati also affected, or is this radeonhd only?
Comment 7 Marcus Becker 2009-11-15 19:11:36 UTC
(In reply to comment #6)
> Is the latest xf86-video-ati also affected, or is this radeonhd only?
> 

I use gnome and tested both the radeon and radeonhd on HD4770 and with EXA radeonhd is terrible slow and doesn't work with composite properly.
*  x11-drivers/xf86-video-radeonhd
      Latest version available: 1.3.0
      Latest version installed: 1.3.0

radeon has problems with scaled images look weird and screenshots give weird results: http://omploader.org/vMnJ6cg
*  x11-drivers/xf86-video-ati
      Latest version available: 6.12.4
      Latest version installed: 6.12.4
Comment 8 Helmut Eberharter 2010-01-14 08:38:28 UTC
you can't use kernel >2.6.30 with radeonhd-1.3.0
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-14 08:40:48 UTC
(In reply to comment #6)
> Is the latest xf86-video-ati also affected, or is this radeonhd only?
> 
xf86-video-ati is just fine.
Just note that upstream guys recommend xf86-video-ati too, so just migrate to it from radeonhd.

Edit make.conf to contain VIDEO_CARDS="ati" instead of VIDEO_CARDS="radeonhd" and have fun.
Comment 10 Yang Zhao 2010-01-14 09:09:16 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Is the latest xf86-video-ati also affected, or is this radeonhd only?
> > 
> 
> I use gnome and tested both the radeon and radeonhd on HD4770 and with EXA
> radeonhd is terrible slow and doesn't work with composite properly.

Please don't hijack bugs. That's unrelated and frankly just noise.


(In reply to comment #7)
> you can't use kernel >2.6.30 with radeonhd-1.3.0

Not true.


If xf86-video-ati works better for you, feel free to just switch instead.  We don't really have the manpower to deal with some of the more obscure bugs for radeonhd at the moment.
Comment 11 Helmut Eberharter 2010-01-14 12:53:00 UTC
(In reply to comment #10)
> (In reply to comment #7)
> > you can't use kernel >2.6.30 with radeonhd-1.3.0
> 
> Not true.
At least i haven't managed it utilizing only stable packages. I'll be happy to get any information on this.
Comment 12 Yang Zhao 2010-01-14 18:33:11 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #7)
> > > you can't use kernel >2.6.30 with radeonhd-1.3.0
> > 
> > Not true.
> At least i haven't managed it utilizing only stable packages. I'll be happy to
> get any information on this.

Open a new bug for this (attach your Xorg.0.log and dmesg output) or come find us on the #radeonhd IRC channel.  I can try and help you there.
Comment 13 Joël 2010-04-23 12:01:38 UTC
I just upgraded from xf86-video-radeonhd-1.2.5, which worked great, and indeed this 1.3.0 version is totally unusable on my Radeon Mobility X1400.

I am forced to switch to xf86-video-ati, which is OK but slower.

Damned, the worst thing now is that I can't build xf86-video-radeonhd-1.2.5 successfully anymore: even with the oldest xorg-server (1.6.5-r1) the build fails. Has anyone succeeded in building this older radeonhd driver again ?
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 21:26:54 UTC
Package is officially dead, please move on to xf86-video-ati.

Thanks