https://bugs.freedesktop.org/show_bug.cgi?id=55510
Priority: medium Bug ID: 55510 Assignee: dri-devel@lists.freedesktop.org Summary: Incorrect rendering with unigine tropics Severity: normal Classification: Unclassified OS: All Reporter: maxijac@free.fr Hardware: All Status: NEW Version: unspecified Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 67942 --> https://bugs.freedesktop.org/attachment.cgi?id=67942&action=edit output of tropics
Tropics has bad rendering, screenshot and output will be posted.
using mesa git 8d9778589f4b3a174e884338adb0fe1bdeca5eb7 and ddx e8cb0b721e6ea251f85c799ca0563bfa59a2d37c linux 3.5.
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #1 from maxijac@free.fr --- Created attachment 67943 --> https://bugs.freedesktop.org/attachment.cgi?id=67943&action=edit screenshot bad rendering
https://bugs.freedesktop.org/show_bug.cgi?id=55510
maxijac@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #67943|0 |1 is obsolete| |
--- Comment #2 from maxijac@free.fr --- Created attachment 67944 --> https://bugs.freedesktop.org/attachment.cgi?id=67944&action=edit rendering
reattaching because it failed
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #3 from Alex Deucher agd5f@yahoo.com --- Make sure you install libtxc_dxtn and you may need to build mesa with the --enable-texture-float configure option.
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #4 from maxijac@free.fr --- I had no x86 libtxc_dxtn, so I compiled it for x86 but no change, shaders still seem to fail at compiling.
I tried installing lib32-libtxc_dxtn from AUR (I use Arch) and still bad rendering. How can I test libtxc is installed properly for x86 ?
And I do have the --enable-texture-float configure option.
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #5 from Bruno Jacquet (Xaapyks) maxijac@free.fr --- Still happening with 32 bit mesa 9.1.3 and libtxc_dxtn 1.0.1. Output is the same, shaders fail to compile
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #6 from Vadim Girlin ptpzz@yandex.ru --- Unigine has some known problems, so you need to set the following environment variable to activate workarounds in mesa:
force_glsl_extensions_warn=true
This should be enough for Tropics and Sanctuary IIRC, Heaven additionally requires
MESA_EXTENSION_OVERRIDE=-GL_ARB_shader_bit_encoding
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #7 from Bruno Jacquet (Xaapyks) maxijac@free.fr --- Thanks, exporting force_glsl_extensions_warn=true does fix the rendering of tropics! Should I close the report or is it considered a temporary workaround?
As a side note, exporting MESA_EXTENSION_OVERRIDE=-GL_ARB_shader_bit_encoding does not change anything for me in heaven 3.0. It has always been rendering correctly, so the override does not fix anything, or maybe I never stumbled upon the missing parts I am supposed to see...
https://bugs.freedesktop.org/show_bug.cgi?id=55510
--- Comment #8 from Andy Furniss adf.lists@gmail.com --- (In reply to comment #7)
Thanks, exporting force_glsl_extensions_warn=true does fix the rendering of tropics! Should I close the report or is it considered a temporary workaround?
As a side note, exporting MESA_EXTENSION_OVERRIDE=-GL_ARB_shader_bit_encoding does not change anything for me in heaven 3.0. It has always been rendering correctly, so the override does not fix anything, or maybe I never stumbled upon the missing parts I am supposed to see...
Maybe it depends on h/w and or settings (defaults I suppose may be set according to what heaven detects - untested).
I just tried on my HD4890 and without that I don't get any lighting/nice effects so it looks very plain/matt.
https://bugs.freedesktop.org/show_bug.cgi?id=55510
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #9 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/421.
dri-devel@lists.freedesktop.org