Bug 51144

Summary: significant pixel corruption in text ; driver nouveau - GF116 [GeForce GTS 450]
Product: xorg Reporter: Basile Starynkevitch <basile>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: basile, freedesktop, klaasdc, rootatwc, tfheen
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
photo of screen portion with corrupted text pixels
none
/var/log/Xorg.0.log
none
dmesg output none

Description Basile Starynkevitch 2012-06-15 23:26:27 UTC
Created attachment 63099 [details]
photo of screen portion with corrupted text pixels

(perhaps bug similar to 20363)

with latest git of xf86-video-nouveau:

commit 36d3f8c28c55c05ccf4efa985831d2d249bad2fe
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Wed Jun 13 22:41:58 2012 +1000

    dri2: kill debug spam
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>


with latest git of drm
 % git log    
commit d1fcfb17b9642ae351b03056a27b328f314ca80a
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Tue Jun 12 18:09:55 2012 -0400

    radeon: force 1D array mode for z/stencil surface
    
    On r6xx or evergreen z/stencil surface don't support linear or
    linear aligned surface, force 1D tiled mode for those.
    
    Signed-off-by: Jerome Glisse <jglisse@redhat.com>

=======================================
hardware (bought last week, june 2012):
   motherboard ASUS P8Z77-V
   Intel(R) Core(TM) i7-3770K CPU
   one graphic card Gigabyte GTS 450
   16Gb RAM, SSD disk + Sata disks
=========================
kernel: Linux 3.4.2 AMD64 (downloaded from kernel.org, compiled thru make-kpkg)

% lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTS 450] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1)
03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
Comment 1 Basile Starynkevitch 2012-06-15 23:28:39 UTC
Created attachment 63100 [details]
/var/log/Xorg.0.log

the Xorg.0.log
Comment 2 Basile Starynkevitch 2012-06-15 23:32:45 UTC
Created attachment 63101 [details]
dmesg output

output of dmesg command
Comment 3 Basile Starynkevitch 2012-06-15 23:37:13 UTC
Text appear corrupted in Iceaweasel (firefox), roxterm..

But xterm showing ok

(perhaps some fonts are ok and other are not)
Comment 4 Basile Starynkevitch 2012-06-15 23:41:19 UTC
dual screen, dual head, both screens are samsung !sync!laster 206BW
Comment 5 Basile Starynkevitch 2012-06-16 05:51:03 UTC
Some pixels are also corrupted perhaps unrelated to text, e.g. in iceweasel/firefox tab titles.
Comment 6 Basile Starynkevitch 2012-06-17 22:52:26 UTC
Seems to be much better with latest git commits on xf86-video-nouveau:
 % git log     
commit 6dbf4ea12600275775123f9f564469454415da55
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 13:28:07 2012 +1000

    bump version to 1.0.0
    
    Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

commit 5e74cee90eeb4e8e638b371a5f1a2c6737be70ff
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Jun 18 15:36:47 2012 +1000

    distcheck fixes
Comment 7 Basile Starynkevitch 2012-06-17 22:55:43 UTC
But the issue still appears sometimes...., probably much less frequently...
Comment 8 Tollef Fog Heen 2012-06-28 10:51:24 UTC
I'm seeing this as well on a GF116 [GeForce GTX 550 Ti] in single-head setup.  (The card has two connectors, but I'm only using one).  I've managed to grab screen dumps of the corruption and the corruption is present also in the screen grab.

The corruption is typically resolved on a unfocus/focus on the window.

Like the original submitter, I'm only seeing this in certain apps.  gnome-terminal is heavily affected, emacs not at all, chromium to a very small degree (and then just in the location bar for me), hotot quite a bit.

Happy to test any fixes you might have for this.
Comment 9 Xavier 2012-06-28 11:00:23 UTC
I also had this problem with a GeForce 8400 GS (dual head setup), using 3.5.0-rc3 and earlier kernel. It happens a lot in gvim, only with bold/italic fonts.
Also in chrome tabs, and that's it.

I just updated xf86-video-nouveau to 1.0.0 after finding this bug report, so let's see.
Comment 10 Klaas De Craemer 2012-07-03 07:47:52 UTC
*** Bug 51645 has been marked as a duplicate of this bug. ***
Comment 11 Klaas De Craemer 2012-07-03 08:00:46 UTC
I installed xserver-xorg-video-nouveau 1:1.0.1-1 from Debian Unstable and so far no more issues with pixel corruption.
Comment 12 Tollef Fog Heen 2012-07-03 08:19:32 UTC
I'm still occasionally seeing it with 1:1.0.1-1 for Debian.
Comment 13 Klaas De Craemer 2012-07-03 08:51:52 UTC
It is remarkable that I haven't seen these artifacts in KDE/Qt, but only in GTK-based applications
Comment 14 Klaas De Craemer 2012-07-05 04:52:54 UTC
(In reply to comment #12)
> I'm still occasionally seeing it with 1:1.0.1-1 for Debian.

Okay, I can confirm there are still issues. Now mostly menus that don't appear at all or incompletely until the mouse is moved over it to highlight items. Additionally, borders of floating windows do not appear (mouse-over tips in Eclipse in my case). Again GTK-apps only.
Comment 15 Str8bs 2012-07-11 18:29:24 UTC
(In reply to comment #14)
> (In reply to comment #12)
> > I'm still occasionally seeing it with 1:1.0.1-1 for Debian.
> 
> Okay, I can confirm there are still issues. Now mostly menus that don't appear
> at all or incompletely until the mouse is moved over it to highlight items.
> Additionally, borders of floating windows do not appear (mouse-over tips in
> Eclipse in my case). Again GTK-apps only.

This sounds like what I see on PPC Nvidia FX5200 with the addition of half the screen being corrupt or black. An oversize image as desktop seems to replicate/exaggerate the problem. Increasing ydim of Virtual is one workaround that works for PPC nouveau users with this card. Moves corruption off screen?

Not sure, but I thought it may be same as: https://bugs.freedesktop.org/show_bug.cgi?id=47266

References: 
http://ubuntuforums.org/showthread.php?t=1937940&page=2
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668828
Comment 16 Ilia Mirkin 2013-08-26 02:52:58 UTC
Does this still happen with the latest software (kernel, xf86-video-nouveau, xorg 1.14)
Comment 17 Ilia Mirkin 2013-09-27 02:00:58 UTC
No response to re-test request in a month. Closing as invalid.
Comment 18 Tollef Fog Heen 2013-09-27 05:32:44 UTC
FWIW, I've not seen this in quite a while, so yeah, presumed fixed.

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.