I encountered this issue while setting up Minecraft on a new PC running Gentoo Linux (not Debian-based, so using the deb file as a workaround is not an option), using the new linux launcher v2.1.3676. No version of the game prior to 1.13 would start, citing the same "Initializing gamejava.lang.ExceptionInInitializerError" caused by opengl context errors others have listed above.
I found the actual fix under MCL-9378 which is marked as a duplicate of this bug, it was provided in a comment by @urielsalis: fix is to install xrandr.
Commenting here so the information is available in the currently open bug.
I encountered this issue while setting up Minecraft on a new PC running Gentoo Linux (not Debian-based, so using the deb file as a workaround is not an option), using the new linux launcher v2.1.3676. No version of the game prior to 1.13 would start, citing the same "Initializing gamejava.lang.ExceptionInInitializerError" caused by opengl context errors others have listed above.
I found the actual fix under MCL-9378 which is marked as a duplicate of this bug, it was provided in a comment by @urielsalis: fix is to install xrandr.
Commenting here so the information is available in the currently open bug.