All object in the 3.0 Heaven version are completely black... this seems to be the cause: r300 FP: Compiler Error: Rewrite of inst 4 failed Can't allocate source for Inst 36 src_type=1 new_index=1 new_mask=4 Using a dummy shader instead. Full RADEON_DEBUG=fp log attached. This may be a hardware limitation, however Heaven 2.1 version works fine, so maybe just a bug in the shader compiler. GPU: RV530 Mesa: b681ed6ac970e061e9dbe7309bb69b3a947ae62d Kernel: 3.6.11-1.fc17.i686
Created attachment 74476 [details] RADEON_DEBUG=fp log I actually forgot to attach the log.
Created attachment 74515 [details] [review] Possible fix Does this patch fix the issue?
BTW this works fine with RADEON_DEBUG=noopt.
(In reply to comment #2) > Created attachment 74515 [details] [review] [review] > Possible fix > > Does this patch fix the issue? No it doesn't.
(In reply to comment #4) > (In reply to comment #2) > > Created attachment 74515 [details] [review] [review] [review] > > Possible fix > > > > Does this patch fix the issue? > > No it doesn't. Can you post the RADEON_DEBUG=fp dump with the patch applied?
Created attachment 74516 [details] RADEON_DEBUG=fp log with patch applied
Created attachment 74520 [details] Fix v2 This should fix the problem, can you verify?
Created attachment 74525 [details] RADEON_DEBUG=fp log with patch v2 applied (In reply to comment #7) > Created attachment 74520 [details] > Fix v2 > > This should fix the problem, can you verify? Sorry, it still isn't fixed. New log attached.
(In reply to comment #8) > Created attachment 74525 [details] > RADEON_DEBUG=fp log with patch v2 applied > > (In reply to comment #7) > > Created attachment 74520 [details] > > Fix v2 > > > > This should fix the problem, can you verify? > > Sorry, it still isn't fixed. New log attached. Ok, maybe I made a mistake posting the patch: Can you apply all six patches from:http://lists.freedesktop.org/archives/mesa-dev/2013-February/034357.html After you apply the patches, run make check from src/gallium/drivers/r300 and make sure it passes and then re-test Heaven.
(In reply to comment #9) > (In reply to comment #8) > > Created attachment 74525 [details] > > RADEON_DEBUG=fp log with patch v2 applied > > > > (In reply to comment #7) > > > Created attachment 74520 [details] > > > Fix v2 > > > > > > This should fix the problem, can you verify? > > > > Sorry, it still isn't fixed. New log attached. > > Ok, maybe I made a mistake posting the patch: Can you apply all six patches > from:http://lists.freedesktop.org/archives/mesa-dev/2013-February/034357.html > > After you apply the patches, run make check from src/gallium/drivers/r300 > and make sure it passes and then re-test Heaven. OK, with whole patch series applied the tests passes, however Heaven is still black.
Created attachment 76797 [details] [review] Possible fix v3 Does this patch help?
(In reply to comment #11) > Created attachment 76797 [details] [review] [review] > Possible fix v3 > > Does this patch help? Yes, this one fixes it.
BTW i did a quick tests piglit run with your patch on my RV530 with no regressions (no fixes either except 2 tests in EXT_framebuffer_multisample group, however those seems to be fairly random... )
Fixed in commit c6a86fb5639977f37a1403012669cdee86bbd89f Thanks for your help with testing!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.