Bug 24076 - [i965GM] corrupt texture in phoronix-test-suite qgears2
Summary: [i965GM] corrupt texture in phoronix-test-suite qgears2
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 22:58 UTC by Geir Ove Myhr
Modified: 2010-01-30 15:28 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing corruption (545.51 KB, image/png)
2009-09-21 23:02 UTC, Geir Ove Myhr
Details
The result of running in xrender mode. (278.38 KB, image/png)
2009-09-21 23:03 UTC, Geir Ove Myhr
Details
lspci -vvnn (12.82 KB, text/plain)
2009-09-21 23:04 UTC, Geir Ove Myhr
Details
Xorg.0.log (74.63 KB, text/x-log)
2009-09-21 23:05 UTC, Geir Ove Myhr
Details
dmesg (53.10 KB, text/plain)
2009-09-21 23:05 UTC, Geir Ove Myhr
Details
glxinfo (16.49 KB, text/plain)
2009-09-21 23:06 UTC, Geir Ove Myhr
Details

Description Geir Ove Myhr 2009-09-21 22:58:16 UTC
Forwarding a bug from ubuntu user Jonathan Wheare:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/433974

[Problem]
Corrupt textures while running "qgears2" within phoronix test suite when running in opengl mode

[Original report]
Release: Ubuntu karmic (development branch) x86_64

package installed: 2:2.8.1-1ubuntu1 - xserver-xorg-video-5

issue: Corrupt textures while running "qgears2" within phoronix test suite when running in opengl mode. demo runs normally in xrender and software rendering modes. this test runs normally on my Nvidia based desktop also running karmic.

steps to reproduce:
1.Install phoronix-test-suite
2.phoronix-test-suite benchmark qgears2
3.pick option 3. opengl
4.pick option 3. image scaling

Architecture: amd64
DistroRelease: Ubuntu 9.10
MachineType: Acer Aspire 5720Z
Package: xserver-xorg-video-intel 2:2.8.1-1ubuntu1
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=68a3128f-f61f-4994-9314-d717846b87f4 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_AU.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu5
 libdrm2 2.4.13-1ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu1
Uname: Linux 2.6.31-10-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 08/09/2007
dmi.bios.vendor: Acer
dmi.bios.version: V1.14
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Nettiling
dmi.board.vendor: Acer
dmi.board.version: V1.14
dmi.chassis.type: 1
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.14
dmi.modalias: dmi:bvnAcer:bvrV1.14:bd08/09/2007:svnAcer:pnAspire5720Z:pvrV1.14:rvnAcer:rnNettiling:rvrV1.14:cvnAcer:ct1:cvrV1.14:
dmi.product.name: Aspire 5720Z
dmi.product.version: V1.14
dmi.sys.vendor: Acer
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-10-generic
Comment 1 Geir Ove Myhr 2009-09-21 23:02:28 UTC
Created attachment 29745 [details]
Screenshot showing corruption
Comment 2 Geir Ove Myhr 2009-09-21 23:03:22 UTC
Created attachment 29746 [details]
The result of running in xrender mode.
Comment 3 Geir Ove Myhr 2009-09-21 23:04:28 UTC
Created attachment 29747 [details]
lspci -vvnn
Comment 4 Geir Ove Myhr 2009-09-21 23:05:11 UTC
Created attachment 29748 [details]
Xorg.0.log
Comment 5 Geir Ove Myhr 2009-09-21 23:05:43 UTC
Created attachment 29749 [details]
dmesg
Comment 6 Geir Ove Myhr 2009-09-21 23:06:09 UTC
Created attachment 29750 [details]
glxinfo
Comment 7 Gordon Jin 2009-09-22 01:05:10 UTC
Is this a regression?
Comment 8 Geir Ove Myhr 2009-09-22 23:40:19 UTC
(In reply to comment #7)
> Is this a regression?

No, Jonathan didn't run this test on any earlier version, so probably not. He tried with UMS instead of KMS, though, and that didn't change anything.
Comment 9 Geir Ove Myhr 2009-10-09 05:50:22 UTC
Even though I forwarded this bug from Jonathan Wheare, I can also reproduce it on my Thinkpad X61 Tablet with 965GM. I have checked that it is also present with the latest ubuntu xorg-edgers repository, https://launchpad.net/~xorg-edgers/+archive/ppa . This currently has 
* mesa 7.7.0~git20091008.f49d5359-0ubuntu0tormod 
* libdrm 2.4.14+git20091007.3a7dfcdf-0ubuntu0tormod2 
* intel driver 2:2.9.0~git20091007.03e8e64f-0ubuntu0tormod3
* xorg-server 2:1.6.4.901+git20091005+server-1.6-branch.c07b2368-0ubuntu0sarvatt
Comment 10 Eric Anholt 2010-01-30 15:28:12 UTC
This fixed other issues in QT GL backend rendering like this (qtdemo), so I'm assuming it fixed this one.

commit 22bbc979944084ddffbb2c42a8178e172beaece0
Author: Eric Anholt <eric@anholt.net>
Date:   Sat Jan 30 15:11:09 2010 -0800

    intel: Respect texture tiling when doing a PBO blit teximage upload.
    
    Bug #26008.  Fixes piglit pbo-teximage-tiling-2.


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.