I wasn’t able to reproduce the crash just making the window fullscreen, but I did run into a similar-looking crash when exiting the game. For reference, I filed internal bug number 4764568.
I’m having the same issue, but for me, I don’t need to enter fullscreen; it crashes as soon as I launch 1.8.9 Minecraft (lwjgl 2). Any Minecraft version running lwjgl 3 starts and runs fine but also crashes for me on exit (as mentioned here).
OS: Arch Linux x86_64
Kernel: 6.10.6-arch1-1
DE: KDE Plasma 6.1.4
WM: Wayland sddm 0.21.0
CPU: AMD Ryzen 9 3900X (24) @ 3.800GHz
GPU: NVIDIA GeForce RTX 2060 SUPER
Manufacturer: Micro-Star International Co., Ltd
Product Name: MS-7C02
I just discovered that setting the environment variable __GL_THREADED_OPTIMIZATIONS=0 (on the application level, not globally) fixes both the lwjgl2 startup crash and the lwjgl3 shutdown crash.
Hi, @amrits . Sorry for disturbing you. Maybe this clue may speed up resolving the issue?
__GL_THREADED_OPTIMIZATIONS makes the issue. Without it no crash.
@xericl Great find. This fixes the crashes that occur when toggling full-screen and when quitting the game for me. I use PrismLauncher an I’ve added the environment variable to my instance settings for a seamless experience. Thanks again. This is a perfect band-aid until this issue receives a proper fix.