[Bug 37028] Amnesia/HPL2 Demo: Strange graphical bugs on r600g
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 7 10:19:00 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=37028
--- Comment #14 from Pierre-Eric Pelloux-Prayer <pelloux at gmail.com> 2011-06-07 10:19:00 PDT ---
Remote debugging is hard :-/
Anyway, your modified app is wrong I think (not only the != / == inversion) :
The app is supposed to :
- draw a cube to a random position
- use query to count how many pixels were drawn (so this number change every
time the cube position changes)
- then it compares the result of all queries : if not equal it fails
Now I have no idea why it crashes on your system, did you try to debug it ?
maybe there's an obvious mistake in it ? or maybe you could try to reduce the
num_queries param ?
The issue you've seen with values obviously wrong in 'r600_query_result' is the
problem the patch is supposed to address. Without the patch, the 'size'
variable is wrong (too big) and the 'results' buffer is read too far.
Last, if you have piglit installed, I found a test case in it probably more
robust than my simple app : occlusion_query.
This test sometimes fails when using non-patched git mesa like this :
$ ./bin/occlusion_query -auto
samples passed = 400, expected = 400
samples passed = 0, expected = 0
samples passed = 2600, expected = 2600
samples passed = 2147483647, expected = 0 [<- ERROR]
samples passed = 400, expected = 400
[...]
PIGLIT: {'result': 'fail' }
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the dri-devel
mailing list