https://bugs.freedesktop.org/show_bug.cgi?id=50149
Bug #: 50149 Summary: Faulty shaders on RS600 Classification: Unclassified Product: Mesa Version: 8.0 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: schmakerisko@gmail.com
Good day, im owner of Dell Latitude XT laptop and have issues with any version of Mesa drivers. To specify problem correctly - i do have problems with shaders and textures on this laptop. On Lightsmark i do have some artifacts on screen, no (or better to say) faulty reflection. With oibaf PPA repository (git-based repository) i do have pretty much all textures black. So no luck at all. On Penumbra Black Plague GPU even causes laptop lockup - game will stop and after a moment the colors will disappear to strange white-ish recoloring and computer no longer works (hard reset required). Im upgrading to PPA drivers ATM, so if i can submit some logs or try some variables, tell me and im up to try it. Thank you for good job at the drivers.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #3 from Roman Šmakal schmakerisko@gmail.com 2012-05-21 13:51:09 UTC --- Created attachment 61931 --> https://bugs.freedesktop.org/attachment.cgi?id=61931 glxinfo logfile
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2012-05-21 09:15:09 PDT --- Please attach your xorg log, dmesg output, and glxinfo output.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #2 from Roman Šmakal schmakerisko@gmail.com 2012-05-21 13:50:51 PDT --- Created attachment 61930 --> https://bugs.freedesktop.org/attachment.cgi?id=61930 dmesg logfile
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #4 from Roman Šmakal schmakerisko@gmail.com 2012-05-21 13:51:29 PDT --- Created attachment 61932 --> https://bugs.freedesktop.org/attachment.cgi?id=61932 xorg logfile
https://bugs.freedesktop.org/show_bug.cgi?id=50149
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #61932|application/octet-stream |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #8 from Roman Šmakal schmakerisko@gmail.com 2012-05-26 04:47:02 UTC --- http://s000.tinyupload.com/?file_id=42612426716764011418 < video of Penumra bug. First character looks around then game freezes. I wait around minute for unfreezing, but its not gonna happen. So i decide to try going to tty and back (Ctrl + Alt + F1 >> Alt + F7) and then hang happens.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
Roman Šmakal schmakerisko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.0 |git
--- Comment #5 from Roman Šmakal schmakerisko@gmail.com 2012-05-26 04:13:01 PDT --- compiler/r300_fragprog_emit.c::begin_tex(): Too many texture indirections Using a dummy shader instead.
This is an error reported by Lightsmark when using Mesa version git1205111237.c2f1fb. In LIBGL_ALWAYS_SOFTWARE textures are rendered correctly though. Tried the Lightsmark on other r300-series GPU and it worked perfectly (not sure which version of Mesa stack though, its my GFs PC).
Any more things i can debug to make a report more usefull?
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #6 from Roman Šmakal schmakerisko@gmail.com 2012-05-26 04:37:39 PDT --- Created attachment 62124 --> https://bugs.freedesktop.org/attachment.cgi?id=62124 Video of HoN bug
Heroes of Newerth flickering textures. Notice the flickering tree on the right. Sorry for poor quality, its taken with cell phone
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #7 from Roman Šmakal schmakerisko@gmail.com 2012-05-26 04:39:25 PDT --- Created attachment 62125 --> https://bugs.freedesktop.org/attachment.cgi?id=62125 "Screen shot" of the HoN bug
Notice the lines on UI elements.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #9 from Tom Stellard tstellar@gmail.com 2012-05-28 17:14:51 PDT --- (In reply to comment #5)
compiler/r300_fragprog_emit.c::begin_tex(): Too many texture indirections Using a dummy shader instead.
This is an error reported by Lightsmark when using Mesa version git1205111237.c2f1fb. In LIBGL_ALWAYS_SOFTWARE textures are rendered correctly though. Tried the Lightsmark on other r300-series GPU and it worked perfectly (not sure which version of Mesa stack though, its my GFs PC).
Any more things i can debug to make a report more usefull?
Can you set the environment variable RADEON_DEBUG=fp and post the output from lightsmark?
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #10 from Roman Šmakal schmakerisko@gmail.com 2012-05-28 21:53:21 PDT --- Created attachment 62189 --> https://bugs.freedesktop.org/attachment.cgi?id=62189 Lightsmark rant with RADEON_DEBUG=fp
There we go. I hope it will be usefull
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #11 from Tom Stellard tstellar@gmail.com 2012-05-29 16:39:47 PDT --- (In reply to comment #10)
Created attachment 62189 [details] Lightsmark rant with RADEON_DEBUG=fp
There we go. I hope it will be usefull
I think I see the bug. Do you still get errors in Lightsmark if you set the env variable RADEON_TEX_GROUP=32
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #12 from Roman Šmakal schmakerisko@gmail.com 2012-05-29 21:35:06 PDT --- With this settings textures are rendered, but they are red-shaded instead, so its not a fix for the issue
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #13 from Tom Stellard tstellar@gmail.com 2012-06-25 19:10:56 PDT --- Created attachment 63471 --> https://bugs.freedesktop.org/attachment.cgi?id=63471 Possible fix patch 1
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #14 from Tom Stellard tstellar@gmail.com 2012-06-25 19:13:09 PDT --- Created attachment 63472 --> https://bugs.freedesktop.org/attachment.cgi?id=63472 Possible fix patch 2
Can you apply these two patches and try again. Lightsmark looks a lot better to me with these patches. Do they help with any of your other games?
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #15 from Roman Šmakal schmakerisko@gmail.com 2012-06-25 19:30:13 PDT --- Actually i cant. My laptop cooling broken 2 weeks ago so i have to buy new fan for it. Will try these patches as soon as i fix it
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #16 from Roman Šmakal schmakerisko@gmail.com 2012-06-28 11:47:19 PDT --- For me Lightsmark is slightly better in first scene, textures at least appears (but colors and shade are flickering) but its not really okayish. Reflections not working and so on. Anyway, maybe i just did bad job at compiling mesa stack, im not really good at patching&compiling things. Heroes of Newerth UI is still looking same and i cant try Penumbra, because i would need to recompile mesa stack for 32bit.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #17 from Tom Stellard tstellar@gmail.com 2012-08-27 01:15:34 UTC --- I've pushed the first patch, and you can get the same behavior as the second patch by setting RADEON_TEX_GROUP=128. There is still a bug somewhere, though, and if you play around with the RADEON_TEX_GROUP variable you'll notice there is a value that causes the rendering to look very different I think it's around 30. So less than that value will render one way and greater than that value will render another. I'm not sure what is happening here.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #63471|0 |1 is obsolete| | Attachment #63472|0 |1 is obsolete| |
--- Comment #18 from Tom Stellard tstellar@gmail.com 2012-09-19 03:16:18 UTC --- Created attachment 67361 --> https://bugs.freedesktop.org/attachment.cgi?id=67361 Fix patch #1
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #19 from Tom Stellard tstellar@gmail.com 2012-09-19 03:17:56 UTC --- Created attachment 67362 --> https://bugs.freedesktop.org/attachment.cgi?id=67362 Fix patch #2
If you apply these two patches and run Lightsmark with RADEON_TEX_GROUP=32, does it render correctly? How about with lower values of RADEON_TEX_GROUP, like 16 or 24?
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #20 from Roman Šmakal schmakerisko@gmail.com --- I cant apply patch #2, 3 hunks rejected. Version of mesa i tried to patch was mesa_9.1~git20120929.9549e55f from xorg-edgers ppa. Im not really into programming and stuff and i dont like to apply it incorrect way, so any tips are welcome.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67361|0 |1 is obsolete| | Attachment #67362|0 |1 is obsolete| |
--- Comment #21 from Tom Stellard tstellar@gmail.com --- Created attachment 67899 --> https://bugs.freedesktop.org/attachment.cgi?id=67899&action=edit Possible fix
Try this patch, it should apply correctly.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #22 from Roman Šmakal schmakerisko@gmail.com --- Compiled it (hope that -glx and -dri packages are enough to install) and here are my impressions. Lightsmark works 90% okay. Still there remains some minor issues with texturing (first scene - some texturing artifacts on the window). As a bonus - reflections now partially works too (not reflecting correctly though) so i guess we are on the right way to fix this issue. Im not at home right now so i cant test much more.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #23 from Roman Šmakal schmakerisko@gmail.com --- Created attachment 67926 --> https://bugs.freedesktop.org/attachment.cgi?id=67926&action=edit Frets on Fire font bug
Just noticed that frets on fire are bugged too. Not sure if its related to faulty shaders though.
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #24 from Roman Šmakal schmakerisko@gmail.com --- Torchlight seems to have same rendering issues as seen on HoN video. Time after time textures and models flickers. Playable though ..
https://bugs.freedesktop.org/show_bug.cgi?id=50149
--- Comment #25 from Roman Šmakal schmakerisko@gmail.com --- I have tried Enemy Territory this week. Menu and stuff works well. When loading map, all textures on screen are just noise - nothing really looking like it should and game crashes at textures loading. Not sure if its related, but it may help solving this issue
https://bugs.freedesktop.org/show_bug.cgi?id=50149
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #26 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/342.
dri-devel@lists.freedesktop.org