Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Flattr, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.
Dying Light and Dead Island Definitive Edition were previously broken on Mesa, but as of today a patch has landed in Mesa-git to fix them both ready for Mesa 17.2.

I wrote about the patches almost a week ago, but as of today they have been accepted into Mesa-git. From the commit message:
QuoteThis fixes the long-standing problem with Dying Light where the game would produce a black screen when running under Mesa. This happened because the game's vertex shaders redeclare gl_VertexID, which is a GLSL builtin. Mesa's GLSL compiler is a little more strict than others, and would not compile them:

error: `gl_VertexID' redeclared

The allow_glsl_builtin_variable_redeclaration directive allows the shaders to compile and the game to render. The game also requires OpenGL 4.4+ (GLSL 440), but does not request it explicitly. It must be forced with an override, such as MESA_GL_VERSION_OVERRIDE=4.5 and MESA_GLSL_VERSION_OVERRIDE=450. A compatibility context is *not* required and forcing one with 4.5COMPAT or allow_higher_compat_version results in graphical artifacts.

This is fantastic news, as it will allow more Linux gamers using Mesa drivers to enjoy Dying Light and Dead Island Definitive Edition.

I'm a big fan of Dying Light myself and since I am considering switching to an AMD GPU when it comes to upgrade time, I am pleased that I won't have to miss out.

This should be in Mesa 17.2 which will be available in August. Article taken from
11 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more information here.
About the author -
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
Page: «3/3
  Go to:

Zuul 24 May 2017 at 2:16 pm UTC
ZuulOK I just tried Dying Light and, well, it starts and runs but if I try to change video settings and then hit enter, it crashes to desktop. At UHD medium settings it runs at 30-34 fps and is a stuttery mess. Back to waiting I guess. MESA 17.2-dev, kernel 4.12

edit. Tried it again with cpu at performance mode, it's not stuttery....more like jerkiness, don't know how to describe it... it's like pulsating movement. Whatever. The low fps and tearing puts me off anyways.

Which GPU are you using?
Fury X
skyrrd 24 May 2017 at 8:19 pm UTC
I'm sadly unable to test since i cant get into the game. Adter starting it flashes a corrupted/artifectrd box (in the size of former driver warning) and fails to load (but is listed as running in steam)

Tried on gentoo with mesa-9999 as well as fresh install of fedora with latest mesa-git (che repo)

Even redownloaded game files, didnt help either.
Zuul 25 May 2017 at 4:14 pm UTC
edit: nevermind.

Last edited by Zuul on 25 May 2017 at 4:16 pm UTC
skyrrd 30 May 2017 at 3:34 pm UTC
So today i even got to the loading screen but crashes right after.

Mesa git, amdgpu, kernel 4.11, game moved to an ext4 partition, no runtime errors... I think i give up for now and try again when i have a bit more time.
3qET7rL9Bd 27 August 2017 at 9:01 pm UTC
skyrrdSo today i even got to the loading screen but crashes right after.

Mesa git, amdgpu, kernel 4.11, game moved to an ext4 partition, no runtime errors... I think i give up for now and try again when i have a bit more time.

Were you ever able to solve this problem? I think I am experiencing the same problem on Fedora 26 using Mesa 17.2-rc5 and kernel 4.12 with an RX 480. Any help would be greatly appreciated.
sr_ls_boy 28 August 2017 at 2:14 pm UTC
I can't help you fix the game. Maybe I can help you gather more information.
  Go to:
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Livestreams & Videos
Community Livestreams
Popular this week
View by Category
Latest Comments
Latest Forum Posts