Skip to contentSkip to conversation

Artifacts in CSGO

Bug 110575 [email protected] 2 participants 11 messages May 1, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110575

Bug ID: 110575
Summary: [R9 380X] Artifacts in CSGO
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 144123
--> https://bugs.freedesktop.org/attachment.cgi?id=144123&action=edit
example of artifacts

Distro: Manjaro
Kernel: 5.0.5
GPU: R9 380X

Reproducible with:
Mesa: git (07745f94948)
LLVM: 9 (359393)

Isn't reproducible with:
Mesa: 19.0.3
LLVM: 8

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110575

--- Comment #1 from Timothy Arceri <[email protected]> --- Bit of a stab in the dark but if its related to bug #100239

You could try running steam from the command line with:

R600_DEBUG=zerovram steam

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

Danylo <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Danylo <[email protected]> --- Created attachment 144152
--> https://bugs.freedesktop.org/attachment.cgi?id=144152&action=edit
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

--- Comment #3 from [email protected] ---
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:
https://bugs.freedesktop.org/show_bug.cgi?id=110635

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

--- Comment #4 from Danylo <[email protected]> ---
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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

--- Comment #6 from [email protected] ---
It seems R600_DEBUG=nodma helps as well and hardly costs any performance in CS:GO or Skyrim Gallium Nine.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
Quoted 1 line · On Tue, Jul 30, 2019 at 08:54:44PM +0000, [email protected] 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)

Signature · 5 lines
Sylvain
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

--- Comment #8 from Sylvain BERTRAND <[email protected]> ---

Quoted 1 line · On Tue, Jul 30, 2019 at 08:54:44PM +0000, [email protected] 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)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110575

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #9 from GitLab Migration User <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel