Hi all,
I ran Minecraft with shaders on Win7 with generic Intel drivers and shaders worked perfectly. Netherless I switched to Ubuntu Mint for better driver support (trackpad, touchscreen, etc didnt work in Win7)
My issue is, now on Linux, shaders fail big time. They display a mostly black screen (the world renders fine, it’s just black) And these error messages come up :
[Shaders] Error: Invalid program “shadow”
[Shaders] Error: Invalid program “gbuffers_weather”
[Shaders] Error: Invalid program “gbuffers_water”
[Shaders] Error: Invalid program “composite”
[Shaders] Error: Invalid program “final”
Google searches tell me this happens because drivers are not supporting it (old drivers) or the hardware does not support it…
But I am using the latest official Intel drivers for Linux. My graphics card is Opengl 4.5 compatible (Iris 540 on i7)
Had to remove openjdk-11 to get Minecraft to start though, so it runs on openjdk-8. Don’t know if that’s relevant.
Graphics seem capped at 60 fps though, I set it to uncapped frames but it doesn’t go over 60. Don’t know where to go to find a configuration tool.
Interestingly in-game the OpenGL version it thinks I’m running in the Minecraft shader window states :
Opengl 3.0 Mesa 18.0.5, Intel Open Source Technology Center, Mesa DRI Iris Graphics 540 (Skylake GT3e)
Shouldn’t it be 4.5? Opengl 3.0 was released 10 years ago.
glxinfo
string: 4.5 (Core Profile) Mesa 18.0.5
So I do in fact have OpenGL 4.5 installed. It’s not the driver. -> Intel Mesa driver for Linux is now OpenGL 4.6 conformant as of FEBRUARY 1, 2018
My hardware supports OpenGL 4.6 - from Khronos site - listing each card’s conformant Linux OpenGL status ;
2018-01-25 OpenGL_4_6
Intel® Iris™ Graphics 540
CPU: Intel® 6th Generation Core™ processor
OS: Linux 4.14.6
API: OpenGL 4.6
Ok, check my kernel is that version at least… uname -r
4.15.0-29-generic
Running Ubuntu Mint Tara which JUST released, so it’s pretty new.
inxi -Gx
Graphics: Card: Intel Iris Graphics 540 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1360x768@59.80hz
OpenGL: renderer: Mesa DRI Intel Iris Graphics 540 (Skylake GT3e)
version: 4.5 Mesa 18.0.5 Direct Render: Yes
Check Intel driver…
xserver-xorg-video-intel is already the newest version (2:2.99.917+git20171229-1)
I do not know where to go to even start fixing this. I also would like some sort of way to configure the graphics settings (like priorities, or that 60fps cap for example)
EDIT : I removed all openjdk and installed Oracle java 8 instead. Minecraft runs great, but the same issue with shaders displaying errors and rendering very dark persists. Also Minecraft stated in their download page that Java 8 must be installed, so it has to be this version.