Sorry if I am in the wrong section here.
There is an old case that effects an old OpenGl Application, Minecraft to be precise with Shadermods that use an newer GLSL version. Unlike other OpenGL Stacks, Mesa seems to only report an GLSL to the application that matches the OpenGL version on release date. In this special case, overwriting the GLSL seems to do nothing, probably due to the new electron launcher as it seem to have worked with the older java based one.
Here in a thread about this issue on the shadermods bugtracker: https://github.com/sp614x/optifine/issues/420https://github.com/sp614x/optifine/issues/420
*** This bug has been marked as a duplicate of bug 110431 ***