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: «2/3»
  Go to:

m0nt3 21 May 2017 at 8:10 am UTC
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.
wojtek88 21 May 2017 at 10:30 am UTC
razing32
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 ?
Nope, I haven't. Honestly very often I skip DLC's. The only DLC's I enjoy are those that provide story extension, like White March part I and II in Pillars of Eternity, or Hearts of Stone and Blood and Wine in Witcher 3.
Is the Following similar to those extensions? I own it, but didn't manage to give it a try yet.
razing32 21 May 2017 at 11:05 am UTC
wojtek88
razing32
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 ?
Nope, I haven't. Honestly very often I skip DLC's. The only DLC's I enjoy are those that provide story extension, like White March part I and II in Pillars of Eternity, or Hearts of Stone and Blood and Wine in Witcher 3.
Is the Following similar to those extensions? I own it, but didn't manage to give it a try yet.

I have the "Following" expansion but did not try it out yet.
From what I read it does add new story , weapons and gameplay.
So this might be your cup of tea.
lejimster 21 May 2017 at 6:04 pm UTC
This is really good. I hope once all the native titles are working they will show some love for Rage and Doom and basically any other game using idtech through wine. I managed to hack the shaders on Rage with a guide from the now defunct website gearsongallium.com. But I was getting weird tiled corruption that I never managed to find a fix for.

I know there is a branch of mesa for testing Doom on radv but that doesn't look like its ever going to be merged. :-(
m0nt3 21 May 2017 at 6:17 pm UTC
What is the performance like for those that have tried it? I seem to get around 15-30FPS on low settings at 1080.
double_facepalm 21 May 2017 at 11:11 pm UTC
It seems to work with the latest Padoka PPA MESA 17.2.
Used "MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 %command%" in Steam startup options and managed to get into the game. The performance on kernel 4.11, Ryzen 5 1600, Radon RX 480 4GB:

Performance profile (low): around 20 fps in open areas
Balanced profile (medium): around 15 fps in open areas

It's a pity this latest fix wasn't discovered sooner - the developers could have focused on optimizing the drivers for this game a bit.
double_facepalm 22 May 2017 at 7:31 am UTC
double_facepalmIt seems to work with the latest Padoka PPA MESA 17.2.
Used "MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 %command%" in Steam startup options and managed to get into the game. The performance on kernel 4.11, Ryzen 5 1600, Radon RX 480 4GB:

Performance profile (low): around 20 fps in open areas
Balanced profile (medium): around 15 fps in open areas

It's a pity this latest fix wasn't discovered sooner - the developers could have focused on optimizing the drivers for this game a bit.

Actually, during another session with CPU switched to performance profile:

Best Performance (low quality): around 25 fps in open areas (on the roofs)
Balanced (medium quality): around 18-20 fps in open areas (on the roofs)

So this is the first time for me when it's smooth on Performance and nearly playable on Balanced graphics profile.
hakzsam 22 May 2017 at 7:55 am UTC
liamdawe
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.

Yes, I try to make this Wiki page up-to-date.
Zuul 23 May 2017 at 3:11 pm UTC
OK 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.


Last edited by Zuul at 23 May 2017 at 3:24 pm UTC
hakzsam 23 May 2017 at 9:58 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?
  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
  • Friday Livestream with Samsai
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts