Created attachment 144123 [details]
example of artifacts
GPU: R9 380X
Mesa: git (07745f94948)
LLVM: 9 (359393)
Isn't reproducible with:
Parts of the screen randomly become corrupted for 1 or 2 frames. It's not a rare event.
Doesn't happen when capturing and/or replaying with apitrace.
Doesn't happen when running OBS.
Happens on new Sirocco map, didn't test on other.
Sorry for the image quality - it was taken from video recorded with old phone, the grey squares on a tree branch are the artifacts in question but they could be completely different.
I'm using https://pkgbuild.com/~lcarlier/mesa-git/x86_64/ for mesa and llvm builds.
Bit of a stab in the dark but if its related to bug #100239
You could try running steam from the command line with:
Created attachment 144152 [details]
Artifacts captured with OBS
No luck with it unfortunately. Also I got one small artifact when captured the game with OBS but it happened only ones.
I'm somehow unable to launch CSGO with non system mesa:
LIBGL_DEBUG=verbose LIBGL_DRIVERS_PATH=path_to_mesa_bin/lib/dri/ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path_to_mesa_bin/lib/ %command% &> ~/csgo.log
CSGO launches and screen remains black forever without any errors in log. However other games work fine e.g. Rocket League. I don't know what I'm missing.
Can you try R600_DEBUG=nohyperz? I have this kind of glitches in almost every game with OpenGL/Gallium Nine on Polaris and this variable seems to help at least in Skyrim with Gallium Nine (haven't tested anything else so far).
My bug report:
I'll try it later when will come home, thanks. It also happens in Minecraft but much rarer (so I wasn't patient enough to bisect with it).
It helps, unfortunately it also reduces fps by around 15 - 20%
It seems R600_DEBUG=nodma helps as well and hardly costs any performance in CS:GO or Skyrim Gallium Nine.
I plan to disable SDMA image copies by default on dGPUs.
On Tue, Jul 30, 2019 at 08:54:44PM +0000, email@example.com wrote:
> I plan to disable SDMA image copies by default on dGPUs.
Is there a plan to "standardize" tiling format of frame buffer?
(to dma the right format properly from one brand of gpus to another)
-- 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/1393.