https://bugs.freedesktop.org/show_bug.cgi?id=37075
Summary: objview demo has messed up geometry with r300g Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
See the attached screenshot of the poor bunny. The buddha object is also quite wrong, bobcat is OK, and the right half of the biplane is wrong.
r300g of 7.10.2 and 7.11-dev both produce the same error.
swrast of 7.10.2 shows no rendering errors, but llvmpipe of 7.11-dev doesn't even open a window (it does print ~5fps to the console though).
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #1 from almos aaalmosss@gmail.com 2011-05-10 08:48:40 PDT --- Created an attachment (id=46555) --> (https://bugs.freedesktop.org/attachment.cgi?id=46555) bunny.png
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #2 from almos aaalmosss@gmail.com 2011-05-27 08:02:01 PDT --- Created an attachment (id=47231) --> (https://bugs.freedesktop.org/attachment.cgi?id=47231) ut2004.jpg
I now spotted this phenomenon in ut2004 on the ONS-ArcticStronghold level. Normally this is not visible due to the fog (<Tab>show fog<Enter> turns it off).
It is interesting that only the remote objects have incorrect geometry, never the close ones.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #3 from Tom Stellard tstellar@gmail.com 2011-05-31 02:27:09 PDT --- Could you run the program with RADEON_DEBUG=fp,vp and post the output.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #4 from almos aaalmosss@gmail.com 2011-05-31 05:04:53 PDT --- Created an attachment (id=47359) --> (https://bugs.freedesktop.org/attachment.cgi?id=47359) objview debug output.txt
The output of RADEON_DEBUG=fp,vp ./objview with mesa 7.11-dev.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #5 from Marek Olšák maraeo@gmail.com 2011-06-07 16:25:27 PDT --- I can't reproduce this on r580. The bunny looks alright here.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
--- Comment #6 from almos aaalmosss@gmail.com 2011-06-08 13:45:53 PDT --- Maybe it's a hw limitation on r3xx? Perhaps large vertex buffers should be broken down into smaller ones.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Marek Olšák maraeo@gmail.com 2011-06-08 16:31:35 PDT --- Good point. We do split rendering commands with too many vertices into smaller ones, but the splitting was broken.
Fixed by 578d4539ba72a9f52e0cb3f615bb04bf9407b574. Closing.
https://bugs.freedesktop.org/show_bug.cgi?id=37075
almos aaalmosss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
--- Comment #8 from almos aaalmosss@gmail.com 2011-06-09 01:53:24 PDT --- Fix confirmed. Thanks.
dri-devel@lists.freedesktop.org