Bug 19494 - [Q45] background gets invalidated with short regular line corruption unless Composite is disabled
Summary: [Q45] background gets invalidated with short regular line corruption unless C...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 7.2
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: haihao
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-10 01:00 UTC by Bryce Harrington
Modified: 2009-07-13 11:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
plasma_b0rkage.png (193.18 KB, image/png)
2009-01-10 01:00 UTC, Bryce Harrington
Details
Xorg.0.log (19.58 KB, text/x-log)
2009-01-10 01:03 UTC, Bryce Harrington
Details

Description Bryce Harrington 2009-01-10 01:00:04 UTC
Created attachment 21856 [details]
plasma_b0rkage.png

Forwarding this bug from a Ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/272699

[Problem]
With many windows open, sometimes KDE Plasma desktop shows corruption such as shown in the attached image (or available at http://www.hot.ee/hvc/plasma_b0rkage.png)

[Original Report]
Sometimes when I have lots of windows open and close or move them the Plasma desktop doesn't update correctly and usually the area directly behind the closed window doesn't get repainted but instead shows random data (sometimes data from other windows, not interactable of course).

This is a pretty extreme example when I closed windows covering the whole desktop and it all got corrupt. It didn't return to being normal when I switched virtual desktops, only when I right clicked on the desktop.

http://www.hot.ee/hvc/plasma_b0rkage.png

I'm running a Intel Core 2 Duo on a laptop. The chipset is Intel's GM965 with the X3100 graphics. I'm running Intrepid with all the newest Xorg and KDE stuff installed (7.4, xserver 1.5 etc).

As you can see, the background of the Kopete icon in the system tray is corrupt as well. This also happens from time to time.

Adding the following to my xorg.conf seems to "fix" this bug.

Section "Extensions"
        Option "Composite" "Disable"
EndSection
Comment 1 Bryce Harrington 2009-01-10 01:03:05 UTC
Created attachment 21857 [details]
Xorg.0.log
Comment 2 Bryce Harrington 2009-01-10 01:03:29 UTC
00:00.0 Host bridge [0600]: Intel Corporation 4 Series Chipset DRAM Controller [8086:2e10] (rev 03)
	Subsystem: Intel Corporation Device [8086:1003]

00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e12] (rev 03)
	Subsystem: Intel Corporation Device [8086:1003]

Comment 3 Gordon Jin 2009-01-10 04:49:29 UTC
The original Ubuntu reporter uses GM965, and the later reporter (with log provided) uses Q45.

Bryce, when you forward the bug report, could you please elaborate the driver versions? And are you able to reproduce with the upstream driver?
Comment 4 Bryce Harrington 2009-01-12 22:56:24 UTC
Focus on the Q45 issue please.  The original reporter did not provide all required info so we are focusing on the Q45 reporter who said he had the same issue.
Comment 5 C Snover 2009-01-13 10:40:03 UTC
Hi,

I am the reporter of the Q45 issue. The driver versions tested were the current Ubuntu release driver (2.4.1-0ubuntu7~intrepid), and a driver 2.5.1-1ubuntu5~intrepid which was provided by the Ubuntu Intel Graphics Driver Testing Team. I do not have a build environment in place currently to pull in the latest upstream driver for testing, but I will try to cobble something together and let you know what happens with it.

To also make sure my experience is properly echoed here, I am using kwin (4.1.3-0ubuntu1~intrepid1) as my window manager, and the desktop corruption occurs for pretty much any window that gets drawn over the desktop and then removed. Unlike with the original reporter, there do not need to be very many of them; simply opening and closing the KDE Menu, for example, will show graphics corruption (of the type illustrated in the original screenshot) in the area where the KDE Menu window used to be.

This problem does *not* occur when Desktop Effects are enabled within KDE. Additionally, clicking on the desktop seems to force a redraw which removes any graphical corruption that is present.

Regards,
Comment 6 Eric Anholt 2009-02-28 11:37:32 UTC
Does this go away with UXA?  The zero-copy texture-from-pixmap code in EXA is flawed and will fail when the rendering for a single frame is too large.
Comment 7 Eric Anholt 2009-07-13 11:55:30 UTC
Feedback timeout (4 months).


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.