https://bugs.freedesktop.org/show_bug.cgi?id=102581
Bug ID: 102581 Summary: 3D texture mipmapping broken Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: mail@felix-potthast.de QA Contact: dri-devel@lists.freedesktop.org
Created attachment 134041 --> https://bugs.freedesktop.org/attachment.cgi?id=134041&action=edit Screenshot comparison
When trying to display https://www.shadertoy.com/view/4llcR4 i get artifacts near horizon due to mipmapping (artifacts are absent with mipmapping disabled). It works as expected with the proprietary driver (under Windows) on the same machine. See attached image for Screenshot comparison.
So either mipmap generation or display seems to be erroneous for 3D textures.
My card is AMD Radeon HD 7870.
https://bugs.freedesktop.org/show_bug.cgi?id=102581
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Please attach the corresponding glxinfo output.
FWIW, not seeing the problem on Kaveri with recent Git master.
https://bugs.freedesktop.org/show_bug.cgi?id=102581
--- Comment #2 from Felix Potthast mail@felix-potthast.de --- Created attachment 134096 --> https://bugs.freedesktop.org/attachment.cgi?id=134096&action=edit Glxinfo output
https://bugs.freedesktop.org/show_bug.cgi?id=102581
Felix Potthast mail@felix-potthast.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|17.1 |17.2
https://bugs.freedesktop.org/show_bug.cgi?id=102581
--- Comment #3 from Felix Potthast mail@felix-potthast.de --- Added glxinfo attachment. Also upgraded to Mesa 17.2, but the problem still exists, glxinfo log is from new version.
https://bugs.freedesktop.org/show_bug.cgi?id=102581
--- Comment #4 from Nicolai Hähnle nhaehnle@gmail.com --- Maybe an SI-specific bug? Looks like the bottom part of the screenshot comparison for me on both Carrizo and Tonga (VI) with Git master.
https://bugs.freedesktop.org/show_bug.cgi?id=102581
--- Comment #5 from Felix Potthast mail@felix-potthast.de --- Created attachment 143426 --> https://bugs.freedesktop.org/attachment.cgi?id=143426&action=edit Test program
The bug is still present for me with mesa 18.3.4-1 I wrote a little test program which compares an uploaded 3dtexture mipmap with the corresponding output of glGetTexImage.
It should output nothing, but on my desktop pc it outputs:
Error in level 2 Error in level 3 Error in level 4
Compile with "gcc test.c -o test -lglfw -lepoxy"
https://bugs.freedesktop.org/show_bug.cgi?id=102581
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- 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/1280.
dri-devel@lists.freedesktop.org