OpenGL 3+ not supported on macOS Catalina
Ai-Ya-Ya opened this issue ยท 5 comments
Expected Behavior
My version of OpenGL is 4.1 so I should be able to switch the chunk renderer between Oneshot 2.0 and 3.0.
Actual Behavior
The chunk renderer is stuck on OpenGL 2.0.
Reproduction Steps
- macOS Catalina, MultiMC 0.6.11-1370, Minecraft 1.16.1 (mods installed: ModMenu, Fabric API, Lithium, Phosphor, Sodium, CarpetMod)
- Go to settings and click on Chunk Renderer
- Nothing happens, stays on Oneshot (GL 2.0)
System Information
- Java Version: 1.8.0_265
- CPU: Intel Core I5, dual-core, 2.5GHz
- GPU: Intel HD Graphics 4000
macOS has some technical limitations that do not allow for it to use anything higher than openGL 2. This is a known bug that I don't believe can be solved inside Sodium.
If it isn't a sodium issue, the bug label should be switched for something else.
macOS only supports up to gl 2.1 when using legacy opengl features, which minecraft does
Closing as an external issue, Jelly explained this here far better than I ever can.
Minecraft still uses parts of the fixed-function pipeline in rendering, which means that in order to use modern OpenGL features, it needs to use a compatibility profile. macOS does not support these compatibility profiles, and generally it also doesn't support any extensions which would otherwise allow us to use these newer features in older versions of OpenGL.