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 09:16:00 -0700 (PDT)	[thread overview]
Message-ID: <20110607161600.4457B13004F@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-37028-502@http.bugs.freedesktop.org/>

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

--- Comment #12 from Maggioni Marcello <hayarms@gmail.com> 2011-06-07 09:15:59 PDT ---
Created an attachment (id=47666)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47666)
Further tests

Hi, your test application crashes on my system with and without the patch.

I determined that the result that the query should return is 68698 samples each
execution.

So I modified your test application to see how many times that value is
returned instead of some other random values (the modded app is attached) and
the output is this:

[hades@artemis ~]$ ./query 
Correct values: 17
Not correct values: 33
Correct values: 50
Not correct values: 0
Correct values: 50
Not correct values: 0
Correct values: 50
Not correct values: 0
Correct values: 50
Not correct values: 0
Correct values: 50

.....

As you can see at the beginning the probability of wrong queries is high and
then it corrects itself out. All the subsequent queries seem to be correct.
This happens both with your patch and without it.

I tried to step inside the gallium code (r600_query_result) to see what values
are returned.
When the value is correct I get values like:

(gdb) n
1641                            query->result += end - start;
2: /x end = 0x80000001824291f0
1: /x start = 0x8000000182424e0c
...

when I get an error I get values for start and end like :
(gdb) n
1641                            query->result += end - start;
2: /x end = 0xffffffffffff0000
1: /x start = 0xffff0000ffffffff
(gdb) n
1636            for (i = 0; i < size; i += 4) {
2: /x end = 0xffffffffffff0000
1: /x start = 0xffff0000ffffffff
(gdb) 


That are obviously wrong.

The very first r600_query_result execution gives correct results, then from the
second r600_query_result execution on the results are incorrect and then ,
after some runs, the values become correct again.

I don't know how to interpret this. Maybe a drm bug? I use kernel 2.6.39

-- 
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 16:16 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 [this message]
2011-06-07 17:12 ` bugzilla-daemon
2011-06-07 17:12 ` bugzilla-daemon
2011-06-07 17:19 ` bugzilla-daemon
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=20110607161600.4457B13004F@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