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 11:46:30 -0700 (PDT) [thread overview]
Message-ID: <20110607184630.77AC413004F@annarchy.freedesktop.org> (raw)
In-Reply-To: <bug-37028-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=37028
--- Comment #15 from Maggioni Marcello <hayarms@gmail.com> 2011-06-07 11:46:29 PDT ---
Yes, you are perfectly right, I looked better to the application and you are
right, but considering that you don't set the "random seed" value with srand
the random sequence is always the same, so the first execution of the of the
"while" cycle should always have the same 68698 samples drawn. So at least in
the first cycle my test app should report
Correct: 50
Non correct: 0
right?
This is an example of a sequence of values reported in the first cycle:
Param is: 68698
Param is: 2147483647
Param is: 2147483647
Param is: 2147483647
Param is: 2147483647
Param is: 68698
Param is: 2147483647
Param is: 68698
Param is: 68698
Param is: 2147483647
Param is: 68698
Param is: 68698
Param is: 68698
Param is: 2147483647
Param is: 2147483647
Param is: 2147483647
Param is: 2147483647
Param is: 68698
Param is: 68698
Param is: 68698
Param is: 68698
The patch is applied, of this I'm sure.
I tried reducing the value of the "size" variable (as you suggested) to 16
(instead of the value that usually is set by num_results that is 32), and the
result is :
Param is: 34594
Param is: 2147483647
Param is: 34594
Param is: 34594
Param is: 34594
Param is: 2147483647
Param is: 34594
Param is: 34594
Param is: 34594
Param is: 34594
Param is: 2147483647
Param is: 34594
Param is: 34594
Param is: 2147483647
Param is: 34594
The correct values are almost half of the ones with "size = query->num_results"
and the non correct ones are the same ...
It seems like the memory gets corrupted or not correctly initialized sometimes.
Any idea?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next prev parent reply other threads:[~2011-06-07 18:46 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
2011-06-07 18:46 ` bugzilla-daemon [this message]
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=20110607184630.77AC413004F@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