Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225525 - x11-drivers/ati-drivers-8.493 Font corruption renders all QT based Applications unreadable
Summary: x11-drivers/ati-drivers-8.493 Font corruption renders all QT based Applicatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 08:44 UTC by Christian Bayer
Modified: 2008-07-10 09:46 UTC (History)
2 users (show)

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


Attachments
Xorg Log file (xorg.log,81.66 KB, text/plain)
2008-06-09 08:45 UTC, Christian Bayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Bayer 2008-06-09 08:44:05 UTC
I am experiencing very strange screen corruption with the new Catalyst 8.5
driver on Gentoo with my Radeon X1950. I am using Bigdesktop with two Screens
of 1280x1024 each. Every application has weird looking fonts. The graphic parts
of any window seem to be fine but all spots having labels etc seem to mirror
the other screen's picture. You cannot read any written letter on the screen.
This is most fatal on konsole - there is no real letters but a mirror image of
my other screen. This has come with this driver release, never seen this before
with any driver. It applies from kernel 2.6.23 to 2.6.25 I am using at the
moment. As it seems this is not different with a single-screen setup. When
rmmod'ing fglrx the screen is fine, but no hardware acceleration.
If I set Option     "NoDRI"   "true" in xorg.conf, this applies, too. The
screen is fine again. I tried a lot of combinations in xorg.conf:

Option     "UseInternalAGPGART" 
        Option      "VideoOverlay"
        Option      "OpenGLOverlay" 
       Option      "mtrr"
       Option      "PseudoColorVisuals"
       Option      "Stereo"
       Option      "XAANoOffscreenPixmaps" 
       Option      "Textured2D" 
       Option      "TexturedXrender"
-> either of them on or off.
        Option      "UseFastTLS" "1"
0, 1, 2 -> changes nothing

This is specific to qt applications only. No corruption in
Java/Swing/AWT appilcations,GTK is fine, too. This could be the qt font
renderer. I will update my qt and its dependencies. But this looks a little bit
like a buffer overflow or something in the font renderer or the new ati-driver
as it copies information of other pixels into the background of fonts and only
occurs with the new ati-driver in DRI-Mode.

Screenshots are here:
http://ik4ru5.ath.cx/screen_corr_ati1.jpg
http://ik4ru5.ath.cx/screen_corr_ati2.jpg

See also http://ati.cchtml.com/show_bug.cgi?id=1159


Help would be appreciated.
Christian Bayer

Reproducible: Always
Comment 1 Christian Bayer 2008-06-09 08:44:25 UTC
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-gentoo-r4-h3lios x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4-h3lios x86_64 Intel(R) Core(TM)2 CPU 4400 @
2.00GHz
Timestamp of tree: Wed, 04 Jun 2008 22:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O4 -pipe -z combreloc -fprefetch-loop-arrays
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-mmmx -msse -mfpmath=sse"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-march=nocona -O4 -pipe -z combreloc -fprefetch-loop-arrays
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS=" http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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/hamsoftware"
SYNC="rsync://ikarus/gentoo-portage"
USE="X a52 acl alsa amd64 avi bash-completion berkdb cairo cli cracklib crypt
cups dbus divx4linux dri dvdread encode fame fortran gdbm gpm gtk hal iconv
ipv6 isdnlog kde lm_sensors midi mjpeg mmx mpeg mudflap ncurses nls nptl
nptlonly ogg opengl openmp pam pcre perl pppd python qt3 quicktime readline
reflection samba session slang spl sse sse2 ssl subtitles tcpd tiff unicode
vorbis xcomposite xinerama xorg xvid 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 asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter 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="de"
USERLAND="GNU" VIDEO_CARDS="mga mach64 r128 radeon nv vesa fglrx apm v4l fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christian Bayer 2008-06-09 08:45:21 UTC
Created attachment 156041 [details]
Xorg Log file
Comment 3 Christian Bayer 2008-06-09 12:36:11 UTC
This applies to Linux-2.6.23-r8, 2.6.24-r8 and 2.6.25-r4, too.
Comment 4 J 2008-06-10 04:40:30 UTC
I get video corruption with 8.493 as well, but I don't even have qt installed.  Window borders remain during window drags, various windows like firefox or xterm have their contents miniaturized and stuck in random places on the screen, or tiled across the bottom edge, etc.

Downgrading to 8.476 (hacked to compile with 2.6.25, see bug 218992) fixed it.  (obviously I didn't have these corruption problems with earlier versions of ati-drivers, either)

currently running vanilla 2.6.25.1 with a radeon 2600xt. (rv630)

This is ATI's problem, not gentoo's.  I'm just posting here for informational purposes.
Comment 5 Michael Siebert 2008-06-22 10:44:55 UTC
If you want to use the latest drivers without corruptions, you need to do the following:

- remove /etc/ati/amdpcsdb
- set a virtual resolution that is maximal, that means, which is never exeeded at runtime in /etc/X11/xorg.conf. Here an example for maximal resolution 1280x1024:

Section "Screen"
	Identifier "Builtin Default ati Screen 0"
	Device     "Builtin Default ati Device 0"
	Monitor    "Builtin Default Monitor"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Virtual   1280 1024
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

That fixed the bug on my system.
Comment 6 Christian Bayer 2008-06-25 13:28:37 UTC
------- Comment  #11 From Lukasz Goralczyk 2008-06-19 03:41:12  [reply] -------  
Looks like its fixed in 8.6 (8.501) version of the driver.