Check out our Monthly Survey Page to see what our users are running.
There's some activity on the Mesa-dev mailing list with patches that will enable both Dying Light & Dead Island Definitive Edition (and it seems Dead Island Riptide Definite Edition too) to work on Mesa.

You can see the initial Mesa-dev mailing list entry here. From the entry:
QuoteWith this change, both games work on Mesa and render correctly. Note that the games require OpenGL 4.4+, and so it is necessary to launch them with MESA_GL_VERSION_OVERRIDE and MESA_GLSL_VERSION_OVERRIDE set to OpenGL 4.4 (GLSL 440) or higher.

Contrary to popular belief, this problem actually had nothing whatsoever to do with compatibility profiles. Forcing Mesa to create a higher version compatibility profile with MESA_GL_VERSION_OVERRIDE=4.5COMPAT or allow_higher_compat_version results in graphical glitches, so don't use that.

There's been a bit of back and forth between the author and a few other Mesa developers, but another developer has confirmed it does indeed fix Dying Light.

Going by the replies, it seems the games do something with SDL that causes the issues, from this reply:
QuoteIn any case, it's clear that the game functions best with a core profile and there's no obvious intent to use a compat profile, just some silliness with the SDL context creation where they didn't set a couple of variables to tell SDL to get them a specific version. The game's API calls are clearly those of a modern OpenGL application.

It hasn't yet been accepted into Mesa-git, but hopefully it will be so Mesa users can enjoy these games. If you're interested, I do suggest reading the replies to the original post. There's also this patch which is also needed, which sets the 'allow_glsl_builtin_redeclaration' option for the games. Article taken from GamingOnLinux.com.
Tags: Mesa, OpenGL
15 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 here.
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.
See more from me
The comments on this article are closed.
12 comments
Page: «2/2
  Go to:

The_Aquabat 15 May, 2017
for what's worth Dead Island works on my rx460 not the definitive edition though.


Last edited by The_Aquabat on 15 May 2017 at 6:24 pm UTC
Shmerl 15 May, 2017
Good, and note that original developers (porters?) completely ignored this issue. They could clarify all these questions a long time ago.


Last edited by Shmerl on 15 May 2017 at 7:54 pm UTC
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
Latest Forum Posts