Dying Light requires OpenGL 3.3 found 3.0 | Please upgrade OpenGL
SkaMan Nov 22, 2017
Fair warning, I'm a gaming on Linux noob.

So, as the title suggests, when I try to launch Dying Light through Steam, I get a warning about my OpenGL version. The game then launches, but all I get is a black screen and some sound. I tried finding some articles about upgrading OpenGL on Ubuntu, though most of them were for 14 LTS or earlier.

System:
Xubuntu 17.10
AMD R9 270

I installed Mesa running:
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt update && sudo apt dist-upgrade


OpenGL version (short)
:~$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 17.2.4


OpenGL version (long)
:~$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD PITCAIRN (DRM 2.50.0 / 4.13.0-17-generic, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


Is there anything I can do? Is it worth trying to uninstall the Mesa drivers by removing the mesa ppa and do another dist-upgrade? Can I upgrade OpenGL desperately from Mesa?

Thanks in advance for any help :D
crt0mega Nov 23, 2017
Dying Light has some issues with Mesa, especially for detecting the right Open GL Version which is 4.5 with GLSL 4.50 in your case:

Quoting: SkaManOpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.4
OpenGL core profile shading language version string: 4.50
According to the wiki Dying Light might run with some version overrides:

Quoting: wikiWith OpenGL core profile 4.5 and OpenGL version string 3.0, game opens a pop up saying OpenGL has to be 3.3 at least and it detects 3.0. Launching with MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 fixes it. I tried with override 3.3 and 330 but it didn't work.
To get Dying Light running you just need to put this to Dying Light's launch options in steam:
MESA_GL_VERSION_OVERRIDE=4.5 MESA_GLSL_VERSION_OVERRIDE=450 %command%

Quoting: SkaManIs there anything I can do? Is it worth trying to uninstall the Mesa drivers by removing the mesa ppa and do another dist-upgrade? Can I upgrade OpenGL desperately from Mesa?
There are some PPAs with newer and/or development versions of Mesa. 17.2.4 is just slightly outdated, current stable Version is 17.2.5.

Quoting: SkaManFair warning, I'm a gaming on Linux noob.
We've all been Linux gaming noobs in the past :D Don't worry. It may take some time, but you'll get used to it. It's not as hard as it has been a decade ago.
pete910 Nov 23, 2017
Unfortunate it only works on *buntu/Mint on AMD :'(

No clue why it refuses on other distros even with same mesa version ect :><:
crt0mega Nov 23, 2017
Quoting: pete910Unfortunate it only works on *buntu/Mint on AMD :'(

No clue why it refuses on other distros even with same mesa version ect :><:
Hmmm, that's weird O.o These environment variables should be distro-agnostic ...
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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: