Created attachment 124320 [details]
Screenshot showing the artifacts
Playing a game on wine (NekoPara on steam), and got texture artifacts. I don't really know what causes it since I can't reproduce it on my own, but I created an apitrace to help with testing.
Some things I found out, artifacts disappear when:
1) LIBGL_ALWAYS_SOFTWARE=1 is set, or
2) glTexStorage2D is forced use no mipmaps, or
3) glTexImage2D is used instead of glTexStorage2D
Tested on OpenSuse Tumbleweed 64bit with latest mesa (11.2 and git 12.0), with amdgpu and a Radeon R9 285.
Issue is not present when tested on another system, apitrace works on another PC.
(35MB, 197MB unpacked)
Renders fine on nvc0 and nv50, both 11.2 and master. Sounds like a radeonsi issue, not mesa core.
apitrace is has corruption without parameters and is correct with R600_DEBUG=nodcc on a R9 285 here, so definitely seems like a radeonsi issue.
This seems to fixed. The output here looks the same on Tonga, Bonaire, and llvmpipe.
Can confirm that the issue isn't present anymore with a recent version of mesa.
on Feb 28, 2017 at 05:27:56.
(provided by the Example extension).