Screen corruption in menus and titlebars

Bug #750964 reported by Scott Kitterman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
X.Org X server
Fix Released
Medium
xserver-xorg-video-intel (Ubuntu)
Fix Released
High
Robert Hooker

Bug Description

Binary package hint: xorg

This is, of course, intermittent (doesn't affect all menus/titlebars), but the ones it affects, it appears to affect consistently. Screen shot attached.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic-pae 2.6.38
Uname: Linux 2.6.38-7-generic-pae i686
Architecture: i386
Date: Mon Apr 4 23:09:08 2011
DistroCodename: natty
DistroVariant: kubuntu
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu1
---
Architecture: i386
DistroRelease: Ubuntu 11.04
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
Package: xorg 1:7.6+4ubuntu2
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic-pae 2.6.38
Tags: natty
Uname: Linux 2.6.38-7-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
---
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.DP.2:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.DP.3:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.2:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.3:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768 1366x768
 edid-base64: AP///////wAGrywxAAAAAAAUAQSQHRB4AhWFl1hTiiYlUFQAAAABAQEBAQEBAQEBAQEBAQEBihtWZlAAIDAwIDYAJaQQAAAaihtWbFEA+jAwIDYAJaQQAAAaAAAA/gBXSkgyUoBCMTMzWFczAAAAAAAAQSGWAREAAAEBCiAgAG4=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DistUpgraded: Fresh install
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: kubuntu
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:0492]
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
MachineType: Dell Inc. Latitude E6320
Package: xorg 1:7.6+4ubuntu3
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic-pae root=UUID=10b6d215-8885-4d35-bd14-ad581ad031b0 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic-pae 2.6.38.2
Renderer: Unknown
Tags: natty kubuntu
Uname: Linux 2.6.38-8-generic-pae i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 03/02/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 0GJF11
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd03/02/2011:svnDellInc.:pnLatitudeE6320:pvr01:rvnDellInc.:rn0GJF11:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6320
dmi.product.version: 01
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

Revision history for this message
Scott Kitterman (kitterman) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
PaulN (paulne) wrote :

See also bug #753027 "Menus are partially unreadable in kubuntu 11.04 Beta 1"

Affects Dolphin menus seriously.

2nd Generation Core Processor Family Integrated Graphics Controller
2.1 Mesa 7.10.1

Revision history for this message
Curtis Gedak (gedakc) wrote :

I am experiencing the same problem.

I am running Kubuntu 11.04 Beta1 amd_64 on an Asus P8H67-M PRO/CSM motherboard with a Sandy Bridge Intel i7-2600K CPU using the on CPU Intel HD Graphics.

Of particular note is that menus in non-KDE applications do display correctly (e.g., Firefox, Open Office, etc.)

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 750964] Re: Screen corruption in menus and titlebars

It's not tied to kwin compositing either. I tried with it disabled and it was no better.

Revision history for this message
Scott Kitterman (kitterman) wrote : BootDmesg.txt

apport information

description: updated
Revision history for this message
Scott Kitterman (kitterman) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : Dependencies.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : Lspci.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : Lsusb.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : ProcModules.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : UdevDb.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : UdevLog.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : XorgLog.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : XorgLogOld.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : Xrandr.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : locale.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : setxkbmap.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : xdpyinfo.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : xinput.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote : xkbcomp.txt

apport information

Revision history for this message
Scott Kitterman (kitterman) wrote :

Adding an xorg.conf with Option "DebugFlushBatches" "True" as described in the linked bug makes things much better.

Changed in xorg (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in xorg-server:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Curtis Gedak (gedakc) wrote :

Scott, would you be able to describe in detail how to work around this problem by creating the xorg.conf file?

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 750964] Re: Screen corruption in menus and titlebars

Add /etc/X11/xorg.conf containing (or add this to an existing on if it's
present):

Section "Device"
    Identifier "Sandybridge"
    Driver "intel"
    Option "DebugFlushBatches" "True"
EndSection

Revision history for this message
Curtis Gedak (gedakc) wrote :

Thank you for the work around Scott.

It does appears to address the incorrectly displayed kde menus. :-)

A side effect I have noticed is that typing appears to be slower to respond. For instance while typing this message in Firefox, I can see some temporary artifacts around each letter when I type quickly. These artifacts disappear when I move onto the next letter or pause for a short while.

Revision history for this message
Curtis Gedak (gedakc) wrote :

Of note regarding the work around is that the temporary artifacting problem (when typing quickly) appears to be more pronounced in GNU Emacs.

Revision history for this message
Robert Hooker (sarvatt) wrote :

I just uploaded what should be the fix according to the upstream bug report to this PPA, can you please test it without the DebugFlushBatches workaround in place?

https://launchpad.net/~sarvatt/+archive/purple

Robert Hooker (sarvatt)
Changed in xorg (Ubuntu):
assignee: nobody → Robert Hooker (sarvatt)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
tags: added: hwe-blocker
Revision history for this message
Curtis Gedak (gedakc) wrote :

Great work Robert!!!

I added the PPA and performed a "sudo apt-get upgrade", and then rebooted. After booting up natty, the problem with screen corruption in menus and title bars was gone! For my testing, the DebugFlushBatches workaround was not in place.

Also of note is the missing "slow typing artifacting" that was inherent in the DebugFlushBatches workaround.

I am very pleased with this fix. :-)

Revision history for this message
Robert Hooker (sarvatt) wrote :

Thanks for testing, I have been running it in a gnome environment all day today as well and haven't noticed any regressions.

Attaching a debdiff containing the fix, full packages are here if anyone can help out sponsoring them

http://sarvatt.com/downloads/merges/intel-natty/

Robert Hooker (sarvatt)
Changed in xserver-xorg-video-intel (Ubuntu):
milestone: none → ubuntu-11.04
Changed in xorg-server:
status: Confirmed → Fix Released
Robert Hooker (sarvatt)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Scott Kitterman (kitterman) wrote :

I can confirm this works as well. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-intel - 2:2.14.0-4ubuntu7

---------------
xserver-xorg-video-intel (2:2.14.0-4ubuntu7) natty; urgency=low

  * Add 102_gen6_invalidate_texture_cache.patch: Fix corruption in KDE
    menus on sandybridge GPUs. (LP: #750964)
 -- Robert Hooker <email address hidden> Mon, 11 Apr 2011 14:00:58 -0400

Changed in xserver-xorg-video-intel (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.