Bug 16815

Summary: losing fonts in gnome-terminal and other font weirdnesses
Product: xorg Reporter: Hervé Cauwelier <debian>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
my xorg.conf
none
the idle window is supposed to show some brief information and the python prompt
none
The terminal started to misbehave after a dozen of minutes
none
screen corruption while preparing the previous capture
none
a screenshot of idle
none
glyph corruption in a terminal
none
Example in OOo none

Description Hervé Cauwelier 2008-07-23 03:07:03 UTC
Created attachment 17832 [details]
my xorg.conf

losing fonts in gnome-terminal and other font weirdnesses

Using a NV86, nouveau/master, nouveau/drm/gallium and xserver 1.4.2.
losing fonts in gnome-terminal and firefox adress bar after a while
I used to have problem with fonts, but it was fixed with commit 022a9ed5c2657466dd2471a1b29d5e8bc92ca57a "nv50: no more sync in composite() :)".

Now I'm observing that gnome-terminal is slightly loosing fonts over the time. Let me explain.

At first, the display is all correct, but after a few hours, text is beginning to disappear. I noticed that the colored text is the more likely to disappear first. Selecting the text may help to see the characters. A new gnome-terminal opened (window not tab) does not have this problem, while the other remains "ill".

I'm using gnome and the option "Composite" is enable in xorg.conf.

I found out that running "xcompmgr" is 90% of the time fixing the problem.

Another symptom: the Python TK interpreter, "idle" is all scrambled (screenshot to attach).

In metacity windows, the titlebar sometimes goes like bold. It seems like the same text is written twice with a slight shift. I attach a screenshot as soon as it appears.

In firefox, the text of the address bar is disappearing (or turning white?) when firefox is open for a while. Sometimes the text of the user interface (which is more or less a Gnome application thanks to integration) is turning white. It generally comes back by itself after a moment (or when redrawing the screen?).
Comment 1 Hervé Cauwelier 2008-07-23 03:08:41 UTC
Created attachment 17833 [details]
the idle window is supposed to show some brief information and the python prompt
Comment 2 Hervé Cauwelier 2008-07-23 03:33:55 UTC
Created attachment 17834 [details]
The terminal started to misbehave after a dozen of minutes
Comment 3 Hervé Cauwelier 2008-07-23 03:35:32 UTC
Created attachment 17835 [details]
screen corruption while preparing the previous capture

Notice the yellow and black stripes.
Comment 4 Maarten Maathuis 2008-07-23 03:51:12 UTC
idle looks ok for me, but looks different than yours (i'll include a screenshot). What card do you have exactly?
Comment 5 Maarten Maathuis 2008-07-23 03:51:45 UTC
Created attachment 17836 [details]
a screenshot of idle
Comment 6 Hervé Cauwelier 2008-07-23 03:58:52 UTC
The commercial name is "8400M GS".

"lspci -n" gives "01:00.0 0300: 10de:0427 (rev a1)".
Comment 7 Hervé Cauwelier 2008-07-23 04:06:32 UTC
$ sudo nvclock -i
Xlib:  extension "NV-CONTROL" missing on display ":0.0".
-- General info --
Card: 		nVidia Geforce 8400M GS
Architecture: 	G86 A2
PCI id: 	0x427
GPU clock: 	216.000 MHz
Bustype: 	PCI-Express

-- Shader info --
Clock: 432.000 MHz
Stream units: 16 (1b)
ROP units: 4 (1b)
-- Memory info --
Amount: 	128 MB
Type: 		128 bit DDR3
Clock: 		351.000 MHz

-- PCI-Express info --
Current Rate: 	16X
Maximum rate: 	16X

-- Sensor info --
Sensor: GPU Internal Sensor
GPU temperature: 67C
Comment 8 Hervé Cauwelier 2008-07-23 04:08:17 UTC
herve@xiong:~ $ x11perf -aa10text
x11perf - X11 performance program, version 1.2
The X.Org Foundation server version 10402000 on :0.0
from xiong
Wed Jul 23 13:07:02 2008

Sync time adjustment is 0.0435 msecs.

 320000 reps @   0.0173 msec ( 57700.0/sec): Char in 80-char aa line (Charter 10)
 320000 reps @   0.0174 msec ( 57600.0/sec): Char in 80-char aa line (Charter 10)
 320000 reps @   0.0177 msec ( 56400.0/sec): Char in 80-char aa line (Charter 10)
 320000 reps @   0.0175 msec ( 57300.0/sec): Char in 80-char aa line (Charter 10)
 320000 reps @   0.0174 msec ( 57600.0/sec): Char in 80-char aa line (Charter 10)
1600000 trep @   0.0175 msec ( 57300.0/sec): Char in 80-char aa line (Charter 10)

Comment 9 Hervé Cauwelier 2008-07-24 00:47:00 UTC
Comment on attachment 17833 [details]
the idle window is supposed to show some brief information and the python prompt

Idle is fixed!

I know have the same output as yours.
Comment 10 Hervé Cauwelier 2008-07-24 00:49:14 UTC
Comment on attachment 17835 [details]
screen corruption while preparing the previous capture

I've been playing with the gimp but couldn't be able to reproduce theses glitches.
Comment 11 Hervé Cauwelier 2008-07-25 02:00:41 UTC
Comment on attachment 17834 [details]
The terminal started to misbehave after a dozen of minutes

I think I don't experience these anymore. Though I'll reopen it in any case.
Comment 12 Hervé Cauwelier 2008-07-25 02:03:36 UTC
Created attachment 17881 [details]
glyph corruption in a terminal

Now the glyphs are affected. Generally a single one. Not always the same, in different applications like gnome-terminal or openoffice.org.
Comment 13 Hervé Cauwelier 2008-07-25 02:05:06 UTC
Created attachment 17882 [details]
Example in OOo

After reducing and restoring the window, the screen was repainted and the letter N was correct.
Comment 14 Hervé Cauwelier 2008-12-04 13:40:09 UTC
I close this bug fixed since this summer.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.