Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
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 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. Find me on Mastodon.
See more from me
The comments on this article are closed.
25 comments
Page: «3/3
  Go to:

skyrrd May 24, 2017
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 May 25, 2017
edit: nevermind.


Last edited by Zuul on 25 May 2017 at 4:16 pm UTC
skyrrd May 30, 2017
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 Aug 27, 2017
Quoting: 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 Aug 28, 2017
I can't help you fix the game. Maybe I can help you gather more information.


https://www.gamingonlinux.com/forum/topic/2766
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.