https://bugs.freedesktop.org/show_bug.cgi?id=93936
Bug ID: 93936 Summary: Snail shadertoy displays black quad Product: Mesa Version: 11.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: pavol@klacansky.com QA Contact: dri-devel@lists.freedesktop.org
The following shader displays black quad on AMD 3650 Mobility. I used Firefox 44.
https://www.shadertoy.com/view/ld3Gz2h
https://bugs.freedesktop.org/show_bug.cgi?id=93936
--- Comment #1 from pavol@klacansky.com --- Correct link
https://www.shadertoy.com/view/ld3Gz2
https://bugs.freedesktop.org/show_bug.cgi?id=93936
--- Comment #2 from Michel Dänzer michel@daenzer.net --- Seems to work fine with radeonsi FWIW. Is there anything interesting in Firefox's stderr output? Maybe the r600 driver is failing to compile a shader.
https://bugs.freedesktop.org/show_bug.cgi?id=93936
--- Comment #3 from pavol@klacansky.com --- This prints forever:
EE /var/tmp/portage/media-libs/mesa-11.1.1/work/mesa-11.1.1/src/gallium/drivers/r600/r600_state_common.c:815 r600_shader_select - Failed to build shader variant (type=1) -1 EE /var/tmp/portage/media-libs/mesa-11.1.1/work/mesa-11.1.1/src/gallium/drivers/r600/r600_shader.c:161 r600_pipe_shader_create - translation from TGSI failed !
https://bugs.freedesktop.org/show_bug.cgi?id=93936
--- Comment #4 from cyberkm@gmail.com --- Same problem here, i see in logs -> also i saw that the hardcoded value for registers is 124, any reason for such small number?
r600_shader.c:3662 r600_shader_from_tgsi - GPR limit exceeded - shader requires 230 registers
https://bugs.freedesktop.org/show_bug.cgi?id=93936
--- Comment #5 from Gert Wollny gw.fossdev@gmail.com --- Some new register allocation in TGSI landed in v17.3 and was later further improved. Could you recheck with version 17.3+ or, if that doesn't work, with the current git?
On AMD 5450 and 6870 it works (the register limit is the same).
https://bugs.freedesktop.org/show_bug.cgi?id=93936
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #6 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/573.
dri-devel@lists.freedesktop.org