Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356429 - x11-drivers/xf86-video-ati-6.14.0: horribly slow performance on HD57xx in some operations: OpenGL hardware acceleration broken?
Summary: x11-drivers/xf86-video-ati-6.14.0: horribly slow performance on HD57xx in som...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 15:46 UTC by Phil Stracchino (Unix Ronin)
Modified: 2011-03-27 18:39 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log (Xorg.0.log,32.84 KB, text/plain)
2011-02-27 03:45 UTC, Phil Stracchino (Unix Ronin)
Details
dmesg output (dmesg.out,72.08 KB, text/plain)
2011-02-27 03:45 UTC, Phil Stracchino (Unix Ronin)
Details
Xorg with xf86-video-ati-6.14.0 (Xorg.0.log,42.22 KB, text/plain)
2011-03-06 12:00 UTC, Homer
Details
Xorg with xf86-video-ati-6.13.2 (Xorg.0.log.old,42.09 KB, text/plain)
2011-03-06 12:01 UTC, Homer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2011-02-25 15:46:38 UTC
I'm using an XFX ATI Radeon HD5570 video card.  Since updating a few days ago to x11-drivers/xf86-video-ati-6.14.0, as part of the update to x11-base/xorg-server-1.9.4, certain video operations have been horribly slow.  Things like normal text display and image display are normally fast, but (for example) Google Image Search or xscreensaver modules run hundreds of times slower than normal.  I did some experimentation today and determined that only x11-drivers/xf86-video-ati-6.14.0 is involved; rolling back *only* x11-drivers/xf86-video-ati, to 6.23.2, eliminated the problem.

bonsaikitten on #gentoo speculates that that 6.14.0 may be breaking OpenGL hardware acceleration.  I'm about to test to see whether x11-drivers/xf86-video-ati-6.14.0 together with media-libs/mesa-7.10-r1 resolves the problem.
Comment 1 Phil Stracchino (Unix Ronin) 2011-02-25 16:00:26 UTC
Confirmed problem is still present with x11-drivers/xf86-video-ati-6.14.0 + media-libs/mesa-7.10-r1.


emerge --info:


Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5-babylon5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-1.12.14
Timestamp of tree: Fri, 25 Feb 2011 06:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo                 ftp://mirror.iawnet.sandia.gov/pub/gentoo                 http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.chem.wisc.edu/gentoo                 http://gentoo.osuosl.org                 http://www.gtlib.gatech.edu/pub/gentoo                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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="/var/lib/layman/perl-experimental /var/lib/layman/robbat2 /var/lib/alaric"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fltk fortran gdbm gdu gif gpm gtk iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session speex spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff tk tools truetype udev unicode usb utils vorbis x264 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-26 04:36:18 UTC
Can you check if upgrading to kernel 2.6.37 makes a difference? Also attach dmesg and Xorg.0.log please.
Comment 3 Phil Stracchino (Unix Ronin) 2011-02-27 03:45:35 UTC
Created attachment 264003 [details]
Xorg.0.log
Comment 4 Phil Stracchino (Unix Ronin) 2011-02-27 03:45:58 UTC
Created attachment 264005 [details]
dmesg output
Comment 5 Phil Stracchino (Unix Ronin) 2011-02-27 04:01:17 UTC
I just installed 2.6.37-r1 today actually.  I confirm that with xf86-video-ati-6.14.0 and gentoo-sources-2.6.37-r1, the problem does not occur.
Comment 6 Phil Stracchino (Unix Ronin) 2011-03-04 00:13:00 UTC
(In reply to comment #5)
> I just installed 2.6.37-r1 today actually.  I confirm that with
> xf86-video-ati-6.14.0 and gentoo-sources-2.6.37-r1, the problem does not occur.
> 

However...  I just discovered to day that even on 2.6.37-r1, it won't display Flash video.  (eg Youtube.)  Video does not play, Firefox becomes unresponsive for an indeterminate period, and X begins using 100% of one core and does not release it until killed.  I just backed out to 6.13.2 again, and again, with that single change, Flash video is working again.  6.13.2 even seems snappier than 6.14.0 at rendering ordinary windows.
Comment 7 Homer 2011-03-04 07:27:54 UTC
Confirmed here too.

xf86-video-ati-6.14.0 causes terminal (2D) rendering to become slow, and Icecat crashes playing YouTube videos, with the error:

   "ABORT: X_GLXSwapBuffers: BadMatch (invalid parameter attributes): file nsX11ErrorHandler.cpp"

Going back to xf86-video-ati-6.13.2 and mesa-7.9 solves both problems. I will try each separately to isolate further. I haven't yet upgraded to gentoo-sources-2.6.37-r1 (still on 2.6.37), so I could try that too.
Comment 8 Homer 2011-03-06 12:00:04 UTC
Created attachment 264911 [details]
Xorg with xf86-video-ati-6.14.0
Comment 9 Homer 2011-03-06 12:01:28 UTC
Created attachment 264913 [details]
Xorg with xf86-video-ati-6.13.2
Comment 10 Homer 2011-03-06 12:02:13 UTC
OK, I've updated to gentoo-sources-2.6.37-r1, and the 2D rendering problem persists (e.g. slow text rendering in terminals).

With trial and error I've determined the Icecat crash is unrelated (it's a bug in adobe-flash, solved by downgrading), and neither is mesa. This is definitely just a problem with xf86-video-ati-6.14.0.

I've attached Xorg logs for both 6.14.0 and 6.13.2, but I can't see anything obvious to account for this. Maybe somebody else can.

I'll also diff the sources to see what's changed.
Comment 11 Phil Stracchino (Unix Ronin) 2011-03-27 18:39:39 UTC
I have just updated to 6.14.1 and retested, and I confirm this bug is fixed in 6.14.1.