dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 37028] Amnesia/HPL2 Demo: Strange graphical bugs on r600g
Date: Tue,  7 Jun 2011 10:19:00 -0700 (PDT)	[thread overview]
Message-ID: <20110607171900.DAA0A13004F@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-37028-502@http.bugs.freedesktop.org/>

https://bugs.freedesktop.org/show_bug.cgi?id=37028

--- Comment #14 from Pierre-Eric Pelloux-Prayer <pelloux@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.

  parent reply	other threads:[~2011-06-07 17:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 17:39 [Bug 37028] New: Amnesia/HPL2 Demo: Strange graphical bugs on r600g bugzilla-daemon
2011-05-09 17:40 ` [Bug 37028] " bugzilla-daemon
2011-05-09 17:41 ` bugzilla-daemon
2011-05-09 17:44 ` bugzilla-daemon
2011-05-09 17:45 ` bugzilla-daemon
2011-05-09 19:52 ` bugzilla-daemon
2011-05-25  9:45 ` bugzilla-daemon
2011-05-25  9:46 ` bugzilla-daemon
2011-05-25  9:48 ` bugzilla-daemon
2011-05-25 10:46 ` bugzilla-daemon
2011-06-06 20:28 ` bugzilla-daemon
2011-06-07  0:10 ` bugzilla-daemon
2011-06-07 12:18 ` bugzilla-daemon
2011-06-07 16:16 ` bugzilla-daemon
2011-06-07 17:12 ` bugzilla-daemon
2011-06-07 17:12 ` bugzilla-daemon
2011-06-07 17:19 ` bugzilla-daemon [this message]
2011-06-07 18:46 ` bugzilla-daemon
2011-06-07 19:29 ` bugzilla-daemon
2011-06-07 19:46 ` bugzilla-daemon
2011-06-07 19:52 ` bugzilla-daemon
2011-06-07 20:08 ` bugzilla-daemon
2011-06-07 20:56 ` bugzilla-daemon
2011-06-07 21:14 ` bugzilla-daemon
2011-06-07 21:31 ` bugzilla-daemon
2011-06-07 21:45 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110607171900.DAA0A13004F@annarchy.freedesktop.org \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox