You can sign up to get a daily email of our articles, see the Mailing List page!
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, 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.
26 comments
Page: 1/3»
  Go to:

wojtek88 20 May 2017 at 4:19 pm UTC
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 20 May 2017 at 5:45 pm UTC
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 ?
mirv 20 May 2017 at 6:13 pm UTC
View PC info
  • Supporter
  • Top Supporter
gl_VertexID redeclared....I'm actually surprised that any driver allowed this. Honestly, they all should have failed on that one.
chimpy 20 May 2017 at 6:27 pm UTC
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 20 May 2017 at 7:32 pm UTC
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 20 May 2017 at 7:48 pm UTC
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 20 May 2017 at 8:44 pm UTC
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 at 21 May 2017 at 9:31 am UTC
sr_ls_boy 20 May 2017 at 10:32 pm UTC
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 21 May 2017 at 12:56 am UTC
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 at 21 May 2017 at 6:04 am UTC
skyrrd 21 May 2017 at 7:10 am UTC
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
  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
  • Saturday Caves of Qud Livestream with Samsai
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts