Bug 22187 - [i845G] glxgears output is corrupted until tiling is explicitly disabled in xorg.conf (UXA bug)
Summary: [i845G] glxgears output is corrupted until tiling is explicitly disabled in x...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Eric Anholt
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-06-09 16:37 UTC by Bryce Harrington
Modified: 2009-10-09 14:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing problem (10.80 KB, image/png)
2009-06-09 16:37 UTC, Bryce Harrington
no flags Details
Xorg.0.log (56.73 KB, text/x-log)
2009-06-09 16:46 UTC, Bryce Harrington
no flags Details

Description Bryce Harrington 2009-06-09 16:37:28 UTC
Created attachment 26604 [details]
Screenshot showing problem

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

[Problem]
glxgears produces corrupted output with UXA enabled on this chip, unless tiling is turned off.

[Original Report]
Tiling should be turned off automatically by X when tiling has an error initializing, but instead it remains on. Thus, glxgears output is corrupted.

This xorg.conf produces valid output for me:

Section "Device"
	Identifier  "Configured Device"
	Option      "AccelMethod" "UXA"
	Option      "Tiling" "false"
EndSection


The attached screenshot shows what glxgears looks like when the "Tiling" line is commented out.

The artifacts are actually lines of pixels from the Firefox window I have open. Sometimes I can see entire portions of a web page in there. (I have no other windows open.)


This only occurs when using UXA.

ProblemType: Bug
Architecture: i386
Date: Mon May 25 09:10:55 2009
DistroRelease: Ubuntu 9.10
Package: xserver-xorg-video-intel 2:2.7.1-1ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-5.6-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4~5ubuntu20
 libgl1-mesa-glx 7.4.1-1ubuntu1
 libdrm2 2.4.9-2ubuntu1
 xserver-xorg-video-intel 2:2.7.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.2-1ubuntu1
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.30-5-generic i686
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.30-5-generic

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 01)
 Subsystem: Dell Device [1028:0127]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 01)
 Subsystem: Dell Device [1028:0127]
Comment 1 Bryce Harrington 2009-06-09 16:46:53 UTC
Created attachment 26605 [details]
Xorg.0.log

Here's what X logs into Xorg.0.log when the "Tiling" line is commented out. The highlights of this file are here:

(II) intel(0): Attempting memory allocation with tiled buffers.
(EE) intel(0): Failed to set tiling on front buffer: Invalid argument
(II) intel(0): Tiled allocation successful.
Comment 2 Gordon Jin 2009-06-09 17:26:07 UTC
I guess Eric fixed a similar 8xx bugs after 2.7.1?
Comment 3 Jacob Godserv 2009-06-09 18:34:27 UTC
CC'ing myself, since I am affected by this bug.
Comment 4 Bryce Harrington 2009-06-27 12:34:10 UTC
Jacob, please test against a newer version of the -intel driver.  Jaunty debs of recent git snapshots can be found here:

https://edge.launchpad.net/%7Exorg-edgers/+archive/ppa/+sourcepub/658947/+listing-archive-extra

Alternatively, you could try booting a karmic live cd, which you can find at:

http://cdimage.ubuntu.com/releases/karmic/
Comment 5 Jacob Godserv 2009-07-06 22:25:39 UTC
Hey, I want you guys to know I live, and testing that package is high in my TODO. I've just come home from a vacation so I'm still catching up with a lot of things.

Sorry for the delay.
Comment 6 Wang Zhenyu 2009-08-06 01:18:54 UTC
I can confirm this problem is fixed in 2.6.31-rc5 KMS with xf86-video-intel git master, and mesa-7.5.
Comment 7 Jacob Godserv 2009-08-07 08:11:45 UTC
I can also (belatedly) confirm that glxgears is happy.
Comment 8 Eric Anholt 2009-10-09 14:34:08 UTC
feedback timeout, other reporters say it's 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.