Skip to contentSkip to conversation

18.0.1 introduced glitches in Dying Light

Bug 106287 [email protected] 1 participant 15 messages Apr 28, 2018 – Nov 29, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 106287
Summary: 18.0.1 introduced glitches in Dying Light
Product: Mesa
Version: 18.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Upgrading from 18.0.0 to 18.0.1 introduced graphical glitches in Dying Light. There is usually a black box in the center of the screen where the sight should be and if one is looking at areas with water the entire screen glitches like crazy.

Tried to rebuild the shader cache by removing .cache/mesa_shader_cache but that didn't help.

Some info from glxinfo:

OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.19.0 / 4.14.37, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.1 - padoka PPA OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.1 - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.1 - padoka PPA OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions:

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=106287

--- Comment #1 from Henrik Holst <[email protected]> --- I've just reverted back to the 18.0.0 files from the Padoka PPA and now Dying Light works fine without any glitches so there is definitely something in the 18.0.1 release that creates problems with Dying Light.

Also found another amdgpu user on Steam that experienced the same problem with a Fury X so this is not just me.

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=106287

--- Comment #2 from [email protected] ---
I have this same issue, although I'm running 18.0.2.

stupot@sabayon ~ $ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.16.0-sabayon, LLVM 5.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.2 OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions:

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=106287

--- Comment #4 from [email protected] ---
Well, I finally got back to the game. I'm on mesa 18.1 and I see the problem again. Maybe it was never fully fixed.

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

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from [email protected] ---
Adding more, barely useful information.

Sometimes, I can start the game and the issues aren't there. Sometimes I
start the game and they are there. It's apparent at the start (the menu screen actually). Seems like there's some luck as to initialization/threading involved to me.

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=106287

--- Comment #6 from Henrik Holst <[email protected]> --- Sounds almost like a locking issue / racing condition then. Almost looks like we have to try and compile mesa ourselves to figure out which patch to 18.0.1 that broke it and why 18.0.3 fixed it while 18.1.0 broke it again even though 18.1.0 contains all the patches from 18.0.3...

Currently I'm using the Padoka PPA but the stable one seams to be stuck at 18.0.1 for 16.04LTS and the unstable one seams to have dropped support for 16.04 altogether.

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

#7 lore raw
In reply to [email protected]

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

--- Comment #7 from Henrik Holst <[email protected]> --- BTW if there are any mesa devs out there with a Radeon RX and that is willing to try and find how to fix this I'm willing to gift a copy of Dying Light.

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
In reply to [email protected]

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

--- Comment #8 from [email protected] ---
I've done a bit more playing around and it is a race condition, but it's one that happens on initialization. If I let the loading screen/movie play for a few minutes before actually attempting to play, the issues (water/black box for sight) don't happen. If I skip it as quickly as possible, they screw up.

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

#9 lore raw
In reply to [email protected]

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

--- Comment #9 from Henrik Holst <[email protected]> --- Just tried that and the black box around the sight vanished but the water effect is still there for me, this is on 18.0.1 however so perhaps 18.1.x works differently there. Wouldn't be surprised either if this is an actual game bug considering how unstable Dying Light is (cannot currently go past the granary since the game crashes there every time).

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=106287

--- Comment #10 from Henrik Holst <[email protected]> --- Managed to switch from the Padoka PPA to xenial-proposed and thus upgraded to mesa 18.0.5 and now I don't know if this is just one of the random things with this game but the problem with water seams to have disappeared for me. I still get a black (which on some runs are semi-transparant yellow) box where the sight is and getting hit by the spitter garbles the whole screen but I can now look at water and swim in it without any problems.

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

#11 lore raw
In reply to [email protected]

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

Gregor Münch <[email protected]> changed:

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

             Blocks|                            |77449

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles

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

#12 lore raw
In reply to [email protected]

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

--- Comment #11 from Timothy Arceri <[email protected]> --- Getting an apitrace [1] of the issues would help with debugging.

[1] https://github.com/apitrace/apitrace/wiki/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

#13 lore raw
In reply to [email protected]

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

--- Comment #12 from Henrik Holst <[email protected]> ---
I upgraded to Ubuntu 18.04LTS a while back in order to test newer versions of Mesa since Padoka PPA stopped supporting 14.04LTS and that broker the game completely just as it previously had done for people on Arch and Manjaro.

However the recent discovery from
https://www.reddit.com/r/linux_gaming/comments/9jd2y0/how_to_play_dying_light_in_arch_linux/
that turned out that if you recompiled libgl.so.1.2.0 (this is in fact the single lib that have to be replaced) without support for glvnd and then either DL_PRELOAD:ing it or renaming it to libgl.so.1 and putting it in the game folder of Dying Light makes it work again.

So now that I'm on both 18.2.4 and with the fix above the problem is completely gone. Hard to tell if it's the mesa version or if it's the omission of glvnd that fixed this very issue but considering that the game bugs out completely without the glvnd-workaround I would guess that this was also the culprit behind the original problem of mine.

So the problem lies probably in DL itself and not in mesa, just that 18.0.1 somehow exposed the problem.

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

#14 lore raw
In reply to [email protected]

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

Timothy Arceri <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #13 from Timothy Arceri <[email protected]> ---

*** This bug has been marked as a duplicate of bug 107990 ***

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