We do often include affiliate links to earn us some pennies. See more here.
tagline-image
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 GamingOnLinux.com.
11 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked 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.
25 comments
Page: 1/3»
  Go to:

wojtek88 May 20, 2017
I have finished the game in about 90%, from main plot I haven't finished only the last mission.
I haven't finished it because...
I don't have much time to play recently and whenever I start the Dying Light to finish last mission, the scenario is the same:
I start the mission and play it like any other mission. On the map there is a suggestion, that always points me to wrong place and I get mad and turn off the game...

However the game is golden and I can recommend it to everyone.
razing32 May 20, 2017
Quoting: wojtek88I have finished the game in about 90%, from main plot I haven't finished only the last mission.
I haven't finished it because...
I don't have much time to play recently and whenever I start the Dying Light to finish last mission, the scenario is the same:
I start the mission and play it like any other mission. On the map there is a suggestion, that always points me to wrong place and I get mad and turn off the game...

However the game is golden and I can recommend it to everyone.

The game is good and the night sections really make you afraid of the super zombies.

As for the final mission , sorry to say but it is a mess. You're not missing out on that one.

Did you play the DLC yet ?
chimpy May 20, 2017
Quoting: liamI'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.

Switched to AMD myself​; Gallium9 + wine makes a huge difference. I really doubt I'd ever go back to nVidia. Plus it's all opensource so that's awesome :)
Guest May 20, 2017
Does anyone have any idea how fast this game will run on something like a RX480 on medium settings with High textures ? Are we talking 20fps or 40fps + ?
niarbeht May 20, 2017
Is there a list of games out there known to be incompatible with Mesa/Radeon at this time?

I've got an RX480 that I pass through to Windows and a GTX960 that I use in Linux, and it'd be interesting to see if I can pare that down to just the 480.
Liam Dawe May 20, 2017
Quoting: niarbehtIs there a list of games out there known to be incompatible with Mesa/Radeon at this time?
We have our Wiki page: https://www.gamingonlinux.com/wiki/Games_broken_on_Mesa

Which I know Valve has looked over before. It likely needs updating, but it seems pretty active.


Last edited by Liam Dawe on 21 May 2017 at 9:31 am UTC
sr_ls_boy May 20, 2017
I tried to add the following into the steam launch options but I got a red box saying
it wants 3.3 compat OGL.
MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 %command%

Am I doing it wrong?
TheRiddick May 21, 2017
you can try MESA_GL_VERSION_OVERRIDE=4.5COMPAT or 3.3COMPAT also. or 4.1COMPAT,

I also put env at the beginning of each, not sure if it matters.

I actually can't get mesa-git working on my Antergos install, the login screen for KDEPlasma fails to load correctly and I end up with just black-screen with moveable cursor. Shrug.


Last edited by TheRiddick on 21 May 2017 at 6:04 am UTC
skyrrd May 21, 2017
I guess it should be "MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 %command%" in launch options. Didnt have time to test myself yet

Btw do NOT force compat profile. It's not needed and will only harm rendering
m0nt3 May 21, 2017
I am so excited this is working! Hopefully performance will improve quickly. I will be picking up a second copy when it performs well, so the wife and I can play.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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!
The comments on this article are closed.
Buy Games
Buy games with our affiliate / partner links: