Bug 36371

Summary: r200: piglit readPixSanity failure
Product: Mesa Reporter: Nicolas Kaiser <nikai>
Component: Drivers/DRI/r200Assignee: Default DRI bug account <dri-devel>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: ansla80
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: readPixSanity 7.9.2 #1
readPixSanity 7.9.2 #2
readPixSanity 7.9.2 #3
readPixSanity git-699ecec #1
readPixSanity git-699ecec #2
readPixSanity git-699ecec #3

Description Nicolas Kaiser 2011-04-18 15:41:22 UTC
Created attachment 45785 [details]
readPixSanity 7.9.2 #1

For presumably quite some time the piglit readPixSanity test fails here.
I'll attach tests with mesa-7.9.2 as well as git-699ecec. I did three runs each, because I noticed that the readbacks differ from run to run.

System environment:
-- system architecture: i686
-- Linux distribution: Gentoo
-- GPU: R200 514D
-- Model: ATI Radeon 9100 QM (AGP)
-- Display connector: VGA
-- xf86-video-ati: 982c22f16c8eeee9be81779fbfe17d8d3f9b6897
-- xserver: 1.9.4
-- mesa: 699ecec58c6925fb174ecf925158df6cce59be59
and
-- mesa: 7.9.2
-- drm: 2.4.25
-- kernel: 2.6.38.2
Comment 1 Nicolas Kaiser 2011-04-18 15:42:20 UTC
Created attachment 45786 [details]
readPixSanity 7.9.2 #2
Comment 2 Nicolas Kaiser 2011-04-18 15:43:08 UTC
Created attachment 45787 [details]
readPixSanity 7.9.2 #3
Comment 3 Nicolas Kaiser 2011-04-18 15:44:31 UTC
Created attachment 45788 [details]
readPixSanity git-699ecec #1
Comment 4 Nicolas Kaiser 2011-04-18 15:45:28 UTC
Created attachment 45789 [details]
readPixSanity git-699ecec #2
Comment 5 Nicolas Kaiser 2011-04-18 15:46:14 UTC
Created attachment 45790 [details]
readPixSanity git-699ecec #3
Comment 6 Andrei Slavoiu 2011-04-20 12:02:41 UTC
I get the same error with r600g, so it's probably not driver specific:

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  137 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x560000b
  Serial number of failed request:  1281
  Current serial number in output stream:  1281

My version of mesa:

OpenGL renderer string: Gallium 0.4 on AMD RV635
OpenGL version string: 2.1 Mesa 7.11-devel (git-bb78f6a)
Comment 7 Kurt Roeckx 2011-08-31 15:39:05 UTC
It works for me with mesa 7.11 and linux kernel 2.6.38 on an rv280.

Kurt
Comment 8 Michel Dänzer 2011-09-14 10:45:24 UTC
The DRI2SwapBuffers failure should be fixed in Mesa Git, but the others might still be there.

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.