Minecraft not using the latest OpenGL that is installed on the Mac
I found that Minecraft is using the older OpenGL 2.1 on the Mac while OpenGL 4.1 is installed on the machine.
I saw another bug request that was closed down with the suggestion to put this in as a request but an application using the wrong outdated opengl on the Mac while it uses the latest on Windows strikes me as a bug.
Environment
Mac OSX 11.11.4
20GB HD
AMD Radeon HD 6750M GPU
Java 8, update 91
Linked Issues
Created Issue:
Minecraft not using the latest OpenGL that is installed on the Mac
I found that Minecraft is using the older OpenGL 2.1 on the Mac while OpenGL 4.1 is installed on the machine.
I saw another bug request that was closed down with the suggestion to put this in as a request but an application using the wrong outdated opengl on the Mac while it uses the latest on Windows strikes me as a bug.
Environment
Mac OSX 11.11.4
20GB HD
AMD Radeon HD 6750M GPU
Java 8, update 91
relates to
Current Behavior:
MC reports OpenGL 2.1 via F3, as do several third-party modifications and does not allow GL 4.1 rendering behaviors.
Expected behavior:
MC reports OpenGL 4.1, newer rendering options are available.
My guess: There is a need to request the OpenGL core context, or it will default to the compatibility context, resulting in the GL 2.1 shown in F3 (RX 580 OpenGL Engine 2.1 ATI-2.11.20 [see attachments for image]).
Note that this appears to affect ALL current and past MC versions.
Devs/Mods - Please do not shoot this issue down by saying "it still works." A game being consistently updated and modernized in 2021 should NOT be forced to run on a rendering library from 2006, not to mention the huge loss to performance and limitations to 3rd party graphics mods like Optifine.
As noted by Marty McFly, this issue appears to relate to MC-219170 as well as MC-101585,
MC-101585 was marked as ‘resolved’ and no solution was given, but appears to contain relevant information and suggests that this issue has been around since at least the 1.9 era.
edit 4/14/21 - clarity/word choice
edit 6/10/21 - Add related issues



Minecraft does not use features from the most recent OpenGL versions currently, as older hardware is still supported. In future releases the game may begin to use newer OpenGL features.
I'm confused, Minecraft for Windows uses OpenGL 4.5? The newer versions of OpenGL are not just about features but also about better performance eg framerate.
Minecraft does not use OpenGL 4.5. It has a minimum requirement of OpenGL 1.2. Newer OpenGL features are used when available by the graphics drivers, such as the following:
Simply slapping on a higher version number doesn't magically improve performance. You actually have to program for it, by using newer OpenGL features.
So you start out by saying "Newer OpenGL features are used when available by the graphics drivers" followed by "slapping on a higher version number doesn't magically improve performance".
The issue here is that Minecraft for macOS is stuck on opengl 2.1 while my machine can run opengl 4.5. This machine is triple booted with Mac, Linux and Windows. On both Windows and Linux I get opengl 4.5 yet on macOS its stuck on 2.1.
To me that makes this a bug, software that runs on 3 platforms but is lacking features on only 1 of them.
As I previously mentioned, the game uses features when they are made available through the installed graphics drivers. I comes to me as no surprise that the drivers installed on Linux and Windows provide newer OpenGL feature sets than macOS, seeing as Apple is responsible for providing drivers in that case. I am curious though, since you mention that your system (on macOS) has "OpenGL 4.1 installed", where this information is provided, leading to this discrepancy. I am in no way doubting that your system has the capabilities; I just want to be certain it is installed as you describe.
On a separate note, the game itself is not directly responsible for handling rendering, as this is achieved through the libraries it uses (such as LWJGL). It may be possible that the library version the game bundles has some sort of bug, preventing it from utilizing newer OpenGL features on macOS/OSX. It could equally be possible that the libraries are not able to properly interface with the GPU due to an issue with the driver implementation (though I doubt this). I am however no expert on LWJGL so this is entirely speculation. The developers have been working on updates to the backend, updating the minimum java version requirement and thus updating some libraries. Perhaps try with the latest snapshot (currently 17w15a), see if that makes a difference. The full release of 1.12 could also see more updates such as these once it's released.
If you look at the attached screenshots you will see that the macOS has 2 opengl modes, compatibility, which is 2.1 and core, which is 4.1. Won't be any higher as Apple is no longer updating it but 4.1 is sure a lot better than 2.1.
The driver is by Nvidia, not Apple. I have since spoken to a mac developer who told me you need to address opengl either as compatibility or core to get what you desire. This means that minecraft for osx is not addressing the system correctly. LWJGL supports opengl 4.5 as well.
I wasn't saying that Apple produced the driver, but rather they are responsible for distributing drivers. In any case, I've been informed that, despite what I assumed to be true, the game does not in fact utilize OpenGL features in versions newer than 2.1. The performance of the game should thus not differ as a result of variances in the version listed, in this case.
This needs to be fixed now. with the 1.14.3 snapshot there's a warning that the game will not work in the futrue. My GPU supports 4.1 but it stll starts the game on 2.1 mode.
Marf, you've commented on a 3 year old ticket, and in the future I would recommend creating new tickets instead. Also, I haven't seen OSX/MacOS support Nvidia graphics cards in many years, so it wouldn't come as a surprise to me if the operating system was messing with the supported version, or not correctly updating the drivers for it. That said, assuming the tool you are using is correctly reporting the installed GPU drivers, this may merit creating a new ticket, or a discussion on the Mojira subreddit.
Your issue is
MC-153714.It's crazy to see answers from CubeTheThird.
So problem stay the same since the opening of the ticket, why it's marked as solved?
In fact there is 2 profile in macOS core (include 4.1 opengl) and compat (include 2.1 opengl).
The problem is core profile isn't really fully backward compatibility with 2.1
the issue can be solved by forcing the usage of core profile in the startup script of the launcher.
Best regards.
biorn, if you have information to add, I recommend you provide it on
MC-153714. That being said, it seems the information you describe is already known to the developers.