Intel 3D artifacts when desktop-effects / compiz enabled

Bug #147359 reported by Jason Kraftcheck
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xf86-video-intel
Fix Released
Unknown
xserver-xorg-video-intel (Ubuntu)
In Progress
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Flickering black regions in 3D apps when window underneath draws.

To reproduce:

Place glxgears window over some application with a progress bar that is being updated (e.g. update-manager downloading packages.)

Tags: iso-testing
Revision history for this message
Bryce Harrington (bryce) wrote :

Could attach your /var/log/Xorg.0.log and the output of lspci -vvnn?

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Jason Kraftcheck (kraftche) wrote : Re: [Bug 147359] Re: intel 3D artifacts
Download full text (10.7 KiB)

00:00.0 Host bridge [0600]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3580] (rev 02)
 Subsystem: Sony Corporation Unknown device [104d:8191]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 Latency: 0
 Region 0: Memory at <unassigned> (32-bit, prefetchable)
 Capabilities: <access denied>

00:00.1 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3584] (rev 02)
 Subsystem: Sony Corporation Unknown device [104d:8191]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0

00:00.3 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3585] (rev 02)
 Subsystem: Sony Corporation Unknown device [104d:8191]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0

00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02) (prog-if 00 [VGA])
 Subsystem: Sony Corporation Unknown device [104d:8192]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin A routed to IRQ 9
 Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
 Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=512K]
 Region 2: I/O ports at 1800 [size=8]
 Capabilities: <access denied>

00:02.1 Display controller [0380]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
 Subsystem: Sony Corporation Unknown device [104d:8192]
 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
 Region 1: Memory at e0080000 (32-bit, non-prefetchable) [size=512K]
 Capabilities: <access denied>

00:1d.0 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 03) (prog-if 00 [UHCI])
 Subsystem: Sony Corporation Unknown device [104d:8188]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin A routed to IRQ 9
 Region 4: I/O ports at 1820 [size=32]

00:1d.1 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 03) (prog-if 00 [UHCI])
 Subsystem: Sony Corporation Unknown device [104d:8188]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66...

Revision history for this message
Jason Kraftcheck (kraftche) wrote : Re: intel 3D artifacts
Revision history for this message
Peter Clifton (pcjc2) wrote :

Can you post the /var/log/Xorg.0.log file please

Revision history for this message
Jason Kraftcheck (kraftche) wrote :
Revision history for this message
marsteegh (m-versteegh) wrote :
Download full text (72.1 KiB)

a similar thing happens on my laptop. OpenGl output is overlayed on top of all other windows, even if windows should really cover the opengl area. When I move glxgears, it leaves droppings of the gears rendering at the original window position. Similar stuff happens with other opengl apps. GoogleEarth for instance has flickering black blocks while drawing and overlays over other windows.

xorg.conf:
--
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ImPS/2"
 Option "ZAxisMapping" "4 5"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
 Driver "wacom"
 Identifier "stylus"
 Option "Device" "/dev/input/wacom"
 Option "Type" "stylus"
 Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver "wacom"
 Identifier "eraser"
 Option "Device" "/dev/input/wacom"
 Option "Type" "eraser"
 Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver "wacom"
 Identifier "cursor"
 Option "Device" "/dev/input/wacom"
 Option "Type" "cursor"
 Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
 Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
 Driver "intel"
 BusID "PCI:0:2:0"
EndSection

Section "Monitor"
 Identifier "Generic Monitor"
 Option "DPMS"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Modes "1280x800"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
 InputDevice "Synaptics Touchpad"
EndSection

-----------------------

Xorg.0.log:
---------------------

X Window System Version 1.3.0
Release Da...

Peter Clifton (pcjc2)
Changed in xserver-xorg-video-intel:
status: Incomplete → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
importance: Undecided → Low
Revision history for this message
Bryce Harrington (bryce) wrote :

Attached is a photo showing the glxgears "droppings". I also notice the black area flickering even when the glxgears windows is in front of a scrolling terminal window.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

That's because we don't have redirected direct rendering yet, that's what upstream is working on with all the new fancy stuff that won't make it in hardy :)

Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like this will be a challenge for upstream to fix:
http://dri.freedesktop.org/wiki/DirectRenderingToRedirectedWindows

From July: "There is work going on here, but the scope of this is a lot bigger than your average bug fix. We need to rework the interaction and interface between the kernel drm, the X server and the 3D DRI drivers. We're probably talking man-years of work here"

From Dec: "there's been lots of progress on this front, but the final bits haven't been released yet afaik, though Kristian may have more details on what's available for testing etc."

"> Isn't there any kind of workaround for this?

Unfortunately not - the only way to get correct compositing is to properly redirect the rendering."

Revision history for this message
Bryce Harrington (bryce) wrote :

Marking to milestone Later, as it sounds unlikely that we'll have a fix in time for Hardy. Maybe Hardy+1 or +2.

Changed in xserver-xorg-video-intel:
milestone: none → later
Revision history for this message
Bryce Harrington (bryce) wrote :

Changing status to In Progress, since upstream is working on it, and bumping up priority to Medium since the issue is fairly noticeable now that compiz is turned on by default.

Changed in xserver-xorg-video-intel:
importance: Low → Medium
status: Confirmed → In Progress
Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Changed in xserver-xorg-video-intel:
status: Confirmed → 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.