Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 113123
Alias:
Product:
Component:
Status: RESOLVED
Resolution: UPSTREAM
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Geoff Holden <gholden@ieee.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gvim-text-corrupt.png Screenshot image/png Geoff Holden 2005-11-20 15:27 0000 19.13 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 113123 depends on: Show dependency tree
Bug 113123 blocks: 112951
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-20 15:26 0000
After I upgrade to gtk+ 2.8.x, the fonts get corrupted in some applications.
Most notably in gvim and in gimp's menus.
I'm attaching a screenshot of gvim. The same corruption occurs in the menus and
in the gimp menus and dialogs.
It's also worth noting that by moving another window over the window clears up
the fonts, as does highlighting the menu items.
Downgrading to 2.6.x fixes the problem.

This issue has also been mentioned on usenet at
http://groups.google.ca/group/linux.gentoo.user/browse_thread/thread/15019e5acb611797/0cfaa53905598571


Reproducible: Always
Steps to Reproduce:
1. Launch gvim or gimp

Actual Results:  
Corrupted fonts

Expected Results:  
Clear fonts

Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14 x86_64)
=================================================================
System uname: 2.6.14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.cs.mun.ca/pub/mirror/gentoo/
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="amd64 X X509 aac alsa amd arts audiofile avi berkdb bitmap-fonts bzip2 cddb
cdparanoia cdr crypt cups curl dvd dvdr eds emboss emul-linux-x86 encode esd
exif expat fam ffmpeg flac foomaticdb fortran gcj gd gdbm gif gimp glut gmp
gnome gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib innodb ipv6
java jpeg junit kde lcms ldap libwww lirc lm_sensors lzw lzw-tiff mad mikmod mng
mozcalendar mozilla mp3 mpeg musicbrainz mysql ncurses nls noxalan nptl
offensive ogg opengl pam pcre pda pdf pdfkit pdflib perl png python qt quicktime
rdesktop readline samba sdl spell ssl tcltk tcpd tetex tidy tiff timidity
transcode truetype truetype-fonts type1-fonts udev unicode usb userlocales
vorbis wxgtk1 xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #1 From Geoff Holden 2005-11-20 15:27:20 0000 -------
Created an attachment (id=73273) [details]
Screenshot

------- Comment #2 From Aldo "xoen" Giambelluca 2005-11-21 11:44:57 0000 -------
Hi, we are talking about GTK+ 2.8.7, right? If no, have also tried the last
version into the portage tree?

------- Comment #3 From Geoff Holden 2005-11-21 11:52:35 0000 -------
(In reply to comment #2)
> Hi, we are talking about GTK+ 2.8.7, right? If no, have also tried the last
> version into the portage tree?

I've seen it on both gtk+-2.8.6 and gtk+-2.8.7

------- Comment #4 From Daniel Gryniewicz 2005-11-21 13:37:48 0000 -------
What else are you running?  I only get this when I have a full-screen Xv app
(such as mplayer) running, and switch desktops.  And, even then, only on modular
X.  Do you have composite running (I do)?

When I exit the Xv app, the problem goes away entirely.

------- Comment #5 From Geoff Holden 2005-11-21 14:01:49 0000 -------
(In reply to comment #4)
> What else are you running?  I only get this when I have a full-screen Xv app
> (such as mplayer) running, and switch desktops.  And, even then, only on modular
> X.  Do you have composite running (I do)?
> 
> When I exit the Xv app, the problem goes away entirely.

I do have Composite enabled, but I'm not running any Xv apps. It might also be
worth mentioning that I'm running KDE, not GNOME.

------- Comment #6 From Eike Hein 2005-11-25 12:54:04 0000 -------
I'm experiencing the same corruption, and so do many others: 
http://forums.gentoo.org/viewtopic-t-393284-highlight-gtk+fonts.html
http://forums.gentoo.org/viewtopic-t-393804-start-0-postdays-0-postorder-asc-highlight-.html

I'm running KDE and GTK+ 2.8.7, although I experienced the same problem with
GTK+ 2.8.6. 

Someone suggested disabling the XRENDER acceleration provided by the nVidia
binary drivers, but I'm actually using the nv drivers. 

------- Comment #7 From Eike Hein 2005-11-25 12:55:12 0000 -------
Addendum: I am not using the Composite extension. X.org X11 6.8.2-r6.

------- Comment #8 From Ashley Bostock 2005-12-01 11:21:21 0000 -------
I'm having the same problem as well, more annoying is that fact that firefox
1.5
requires gtk+ 2.8.7 when its emerged.

Is this only happening for ppl running gtk apps from with in kde?

------- Comment #9 From Eike Hein 2005-12-02 07:00:10 0000 -------
Bug persists with GTK+ 2.8.8.

------- Comment #10 From foser (RETIRED) 2005-12-02 07:54:03 0000 -------
could those reporting this problem state the versions of their freetype, Xorg &
pango installs. Also mention if you have composite loaded in your xorg config
(isn't the same thing as using it).

------- Comment #11 From Eike Hein 2005-12-02 08:26:49 0000 -------
Package versions:
media-libs/freetype: 2.1.10
x11-base/xorg-x11: 6.8.2-r6
x11-libs/pango: 1.10.1

X11:
- No composite extension loaded.
- Using the 'nv' driver.

Notes:
- revdep-rebuild and emerge --newuse have nothing to do; everything is up to date.
- CFLAGS: -O2 -march=athlon-xp -pipe.

------- Comment #12 From David Schoen 2005-12-02 17:13:38 0000 -------
Package versions:
[ebuild   R   ] media-libs/freetype-2.1.9-r1  -bindist -doc +zlib 0 kB
[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts -cjk
-debug -dlloader -dmx -doc +font-server -insecure-drivers -ipv6 -minimal +mmx
+nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts
(-uclibc) -xprint +xv 0 kB
[ebuild   R   ] x11-libs/pango-1.10.1  -debug -doc 0 kB

X11:
no composite enabled
Option      "RenderAccel" "True" <-- changing this to false fixes my problem,
but as i understand shouldn't have this effect
i'm using nvidia drivers

CFLAGS: "-march=pentium4 -Os -pipe -fomit-frame-pointer"

------- Comment #13 From Ashley Bostock 2005-12-03 03:04:43 0000 -------
media-libs/freetype-2.1.9-r1  -bindist -doc +zlib
x11-libs/pango-1.10.1  -debug -doc
x11-base/xorg-x11-7.0.0_rc2-r1  -xprint

Composite enabled and in use
RenderAccel set to True

Using nvidia driver:
media-video/nvidia-kernel-1.0.7676-r1

------- Comment #14 From Eike Hein 2005-12-12 18:51:43 0000 -------
No change with pango 1.10.2 and gtk+ 2.8.9 (using the 2.8.8 ebuild with a
changed version number).

------- Comment #15 From Aldo "xoen" Giambelluca 2005-12-13 22:51:14 0000 -------
Are you all on amd64?
All of you have a Nvidia video card?
All of you have Option   "RenderAccel" "True"?

------- Comment #16 From Geoff Holden 2005-12-14 06:52:42 0000 -------
(In reply to comment #15)
> Are you all on amd64?
> All of you have a Nvidia video card?
> All of you have Option   "RenderAccel" "True"?

I'm all of those things.

------- Comment #17 From Daniel Gryniewicz 2005-12-14 10:21:05 0000 -------
*** Bug 115341 has been marked as a duplicate of this bug. ***

------- Comment #18 From Philip Lafleur 2005-12-14 21:28:04 0000 -------
I'm using IA32 and nvidia card with proprietary drivers. The problem does go
away when I set RenderAccel to false.

------- Comment #19 From Eike Hein 2005-12-15 02:41:27 0000 -------
> Are you all on amd64?
No, Athlon XP -> IA-32.

> All of you have a Nvidia video card?
nVidia GeForce 6800 Ultra.

> All of you have Option   "RenderAccel" "True"?
No, since the open source "nv" driver does not recognize that option.

------- Comment #20 From Jure Repinc 2005-12-17 10:07:11 0000 -------
Same problem here with apps like Firefox and Azureus.

Xorg 6.8.2-r6
FreeType 2.1.10
Pango 1.10.2
nvidia-kernel 1.0.8174-r1

RenderAccel enabled
Composite disabled

This is on AMD Athlon 64 machine - 64 bit mode.

------- Comment #21 From John N. Laliberte (RETIRED) 2005-12-18 09:09:30 0000 -------
here is the upstream bug:
http://bugzilla.gnome.org/show_bug.cgi?id=313646

------- Comment #22 From Ashley Bostock 2005-12-18 09:57:40 0000 -------
Not quite the same bug (as reported upstream) as I have antialiasing on in
firefox and it still does it.

> Are you all on amd64?
No - Pentium 4

> All of you have a Nvidia video card?
nvidia 6800GT

> All of you have Option   "RenderAccel" "True"?
I have it set to true - using lastest nvidia drivers (1.0.8174-r1)

------- Comment #23 From Daniel Gryniewicz 2005-12-20 09:18:54 0000 -------
The upstream bug has boiled down to broken binary nvidia drivers with
RenderAccel set to true, if I read it correctly.

------- Comment #24 From Ashley Bostock 2005-12-20 10:08:42 0000 -------
Well if you look at the forum posts listed above then you'll see at least one
user who is running the nv driver and still has the problem.

------- Comment #25 From Eike Hein 2005-12-21 03:57:32 0000 -------
Actually, I was mistaken - I do in fact use the nVidia binary driver with
RenderAccel enabled. Disabling it solves the problem.

To explain how I made this mistake: The GTK+ apps that exhibited the broken
font rendering are actually running on a remote machine, which I control from
afar using the terminal server technology NX (www.nomachine.com). Now, the X
server on that remote box does use the "nv" driver, however unlike VNC which
essentially transmits screen captures of the remote desktop, NX transmits X11
protocol primitives (as I know only now). The local client application is an X
server instance running in some kind of Xnest-like setup - and my local X
server uses the "nvidia" driver.

We've nailed the issue, then.

------- Comment #26 From Aldo "xoen" Giambelluca 2005-12-21 12:29:59 0000 -------
OK so the problem is related to :
*  NVidia card
*  NVidia driver (Sure with 1.0.7676-r1 and 1.0.8174-r1 versions)
*  Option "RenderAccel" "True"

------- Comment #27 From John N. Laliberte (RETIRED) 2005-12-21 16:09:10 0000 -------
*** Bug 114644 has been marked as a duplicate of this bug. ***

------- Comment #28 From Eike Hein 2005-12-22 04:02:32 0000 -------
In this web forum thread, an nVidia engineer has responded to a description of
the problem: http://www.nvnews.net/vbulletin/showthread.php?t=61763

Full quote:

"There are currently known issues with RenderAccel. We hope to address most, if
not all of the known issues in the first driver release of 2006.

Thanks,
Lonni"

------- Comment #29 From Aldo "xoen" Giambelluca 2005-12-23 12:38:57 0000 -------
NVidia driver 1.0.8178 was released and are in the portage tree.
Here the bug #116400 for the bump, in the changelog there is this entry "Fixed
a corruption bug with RenderAccel and the Composite X extension
when using wide desktops." ...

Is this problem? please try with this newer version and see if this bug is
fixed.
If yes ... probably GTK+ 2.8 can be marked stable...is this a christmas present
;)?

------- Comment #30 From Geoff Holden 2005-12-23 13:04:24 0000 -------
Nope, still broken here with the new NVidia drivers.

------- Comment #31 From Eike Hein 2005-12-23 18:25:05 0000 -------
Nope, bug persists.

------- Comment #32 From Joe McCann (RETIRED) 2006-01-06 11:11:14 0000 -------
We can't fix bugs with binary drivers. GTK upstream won't deal with it either.
Please contact nvidia for bugfixes.

------- Comment #33 From Xavier Maillard 2006-03-24 23:51:30 0000 -------
Same problem here. Deactivating RenderAccel solved it.

------- Comment #34 From Eike Hein 2006-04-07 19:41:34 0000 -------
This problem has disappeared for me after upgrading to the new nVidia driver
version 1.0-8756: http://www.nvidia.com/object/linux_display_ia32_1.0-8756.html

------- Comment #35 From David Philippi 2006-07-31 06:29:03 0000 -------
I'm not sure wheter this bug is really solved upstream. I've got the same
problems and I'm not using the binary drivers, removed them completely months
ago. I'm using nv on AMD64 no composite or other X extensions.
media-libs/freetype-2.1.10-r2
x11-base/xorg-x11-7.1
x11-libs/pango-1.12.3
x11-libs/gtk+-2.8.20-r1

If this is another kind of bug I'd like to know where to search for more
information. For firefox export MOZ_DISABLE_PANGO=1 is an usable workaround but
for other apps like Gimp it's really annoying.

------- Comment #36 From Rui Vilão 2006-10-30 04:11:11 0000 -------
For me: firefox (compiled) bad fonts at page area, firefox (bin) is like using
MOZ_DISABLE_PANGO=1. I'm using fglrx, I've tried with RenderAccel true and
false. I'm using x11-libs/gtk+-2.10.6, Thunderbird works fine, although firefox
2 is all messed up. I'm getting desperate!

(In reply to comment #35)
> I'm not sure wheter this bug is really solved upstream. I've got the same
> problems and I'm not using the binary drivers, removed them completely months
> ago. I'm using nv on AMD64 no composite or other X extensions.
> media-libs/freetype-2.1.10-r2
> x11-base/xorg-x11-7.1
> x11-libs/pango-1.12.3
> x11-libs/gtk+-2.8.20-r1
> 
> If this is another kind of bug I'd like to know where to search for more
> information. For firefox export MOZ_DISABLE_PANGO=1 is an usable workaround but
> for other apps like Gimp it's really annoying.
> 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug