
Linux on Geforce 310M crashes with shading language 1.50 is not supported or uses llvmpipe instead of GPU if using opengl 3.3/3.2
ArtNlk opened this issue ยท 1 comments
I found this mod when i noticed that 1.21 version of minecraft uses llvmpipe 4.5 core context on my system instead of the GPU, which was not the case for previous versions. Since new version of minecraft require opengl 4.4 and my gpu supported only 3.3 i installed this mod. For some reason when using default mod version, minecraft crashes on launch with opengl error that shading language 1.50 is not supported.
I built a custom version of this mod with opengl version set to 3.3 or 3.2, and various combinations of version and core/compat and forward compat profiles, but it still used llvmpipe which hints that it still tries to use newer opengl version than my driver supports
My other project that uses GLFW uses opengl 3.3 just fine getting my GPU as a renderer
It seems like minecraft ignores or overrides glfw window hints when creating opengl context
Do you have any ideas on what may be going on? And can you please point to any good docs on fabric modding so i could take a look at it too?
Let me know what logs you need for analysis
After way too deep debugging of what is going on when minecraft loads GLFW, i found that for some reason while LWJGL 3.3.2 from 1.20.4 and before picks up libGLX from my nvidia driver, LWJGL 3.3.3 from 1.20.5 and after picks up some other library for some weird reason, and path overrides do not seem to work. If anyone else encounters something similar, check that your ./x86_64-linux-gnu/libGLX.so (which is usually a symlink) points to your nvidia driver