A recent update broke proper screen refreshing in KDE. Often large areas of the screen are not updated (I can see the previous window through large holes in the current window), and text fields are problematic because hitting enter can result in apparent duplicate lines, or missing lines. Reproducible: Always Steps to Reproduce: 1. On machines running an ATI Radeon Mobility M7 (Thinkpad T40, for example) emerge -uavND world && revdep-rebuild && emerge --oneshot xf86-video-ati 2. Restart X and KDE Actual Results: Screen refresh is slow. Often large portions of the screen are not updated, particularly in OpenOffice, Thunderbird, and Firefox. I have to close and open windows or scroll to force redraws. Expected Results: This system is running with compositing and OpenGL hardware direct rendering. It worked fine until my last emerge -uavND world on January 15th. glxgears gives the following peculiar (new) message: Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. Previously, I didn't see this message and framerates were around 400 fps. glxinfo: glxinfo | grep render direct rendering: Yes OpenGL renderer string: Mesa DRI R100 (RV200 4C57) 20090101 x86/MMX/SSE2 TCL DRI2 lspci -k 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500] Subsystem: IBM ThinkPad T42 2373-4WU Kernel driver in use: radeon When I create a new user, it uses the software rasterizer renderer by default. There are no errors in dmesg, nor in Xorg.0.log. Here is emerge --info: Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-1.12.14 Timestamp of tree: Tue, 01 Feb 2011 22:25:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 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.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en fr nb en_GB en_CA" 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/lisp /var/lib/layman/dottout /var/lib/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi aim alsa ao apm arts audiofile bash-completion berkdb branding bzip2 cairo calendar cdda cddb cdinstall cdparanoia cdr clamav cli cracklib crypt css cups curl curlwrappers cxx dbus dga dri dv dvb dvd dvdr encode exif expat fbcon festival ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp ginac glut gnuplot gphoto2 gpm gsm gtk hal handbook hddtemp iconv icq icu idn imagemagick imap imlib ipv6 jabber java jingle joystick jpeg jpeg2k kde kontact lame latex lcms libnotify lm_sensors mad mbrola mmx mng modules mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin odbc offensive ofx ogg opengl openmp oscar oss pam pcmcia pcre pda pdf perl plasma plotutils png posix ppds pppd python qt3support qt4 raw rdesktop readline samba scanner sdl session sql sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis webkit wifi win32codecs wmf wxwidgets x264 x86 xine xinerama xinetd xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr nb en_GB en_CA" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
That would be =x11-drivers/xf86-video-ati-6.13.2 since that is stable for you?
Please attach dmesg and Xorg.0.log
(In reply to comment #1) > That would be =x11-drivers/xf86-video-ati-6.13.2 since that is stable for you? That is correct, yes.
Created attachment 261419 [details] Xorg log
Created attachment 261426 [details] dmesg
Try forcing a different AGP mode via radeon.agpmode=... kernel parameter, or -1 to disable AGP.
(In reply to comment #6) > Try forcing a different AGP mode via radeon.agpmode=... kernel parameter, or -1 > to disable AGP. Disabling AGP didn't work. My kernel settings were the same before the update, and everything worked fine. I wanted to look at the allowed AGP modes, but modinfo radeon doesn't work because the driver is built into the kernel.
(In reply to comment #6) > Try forcing a different AGP mode via radeon.agpmode=... kernel parameter, or -1 > to disable AGP. Have also tried AGP modes (radeon.agpmode=...) 1, 2, 4 and 8. No effect. Does that parameter even work if KMS is enabled?
(In reply to comment #6) > Try forcing a different AGP mode via radeon.agpmode=... kernel parameter, or -1 > to disable AGP. I have also tested with EXANoDownloadFromScreen as an X option, and it had no effect on the problem.
Using radeon.agpmode also breaks power management (suspend to RAM fails and the system has to hard rebooted).
radeon.agpmode as a kernel option does not work, *and* it also breaks suspend-to-ram (this happens regardless of whether it is set to -1, 1, 2, 4, or 8). Setting Option "EXANoDownloadFromScreen" "true" in xorg.conf does not work either, in fact the artifacting is notably worse AND now I get font tearing. Once again -- this worked fine without any of these options needing to be set, with KMS, with direct rendering, before January 15th, when I did the last emerge -uavND world.
What happens now? Is there anything else I need to do? Has anybody been able to reproduce this? I had to disable compositing to make the system usable. Screen refreshes are still excruciatingly slow, but with compositing switched off they don't hang.
Hooray! Updating to keyworded xf86-video-ati-6.14.0 seems to have resolved this problem.
Resolved as per latest comment. 6.14.0 is stable on all archs.