Summary: | 18.0.1 introduced glitches in Dying Light | ||
---|---|---|---|
Product: | Mesa | Reporter: | Henrik Holst <henrik.holst2> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED DUPLICATE | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | ||
Version: | 18.0 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 77449 |
Description
Henrik Holst
2018-04-28 00:41:33 UTC
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. 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: This is fixed in 15.0.3 on my machine. 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. 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. 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. 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. 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. 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). 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. Getting an apitrace [1] of the issues would help with debugging. [1] https://github.com/apitrace/apitrace/wiki/Steam 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. *** This bug has been marked as a duplicate of bug 107990 *** |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.