Toggling Fullscreen can crash the game
christopher317 opened this issue ยท 4 comments
Bug description
Toggling Fullscreen often crashes the game.
demonstration video:
crash.webm
Game/System info
system config:
OS: Linux Mint 21.3 ( providing this as this could be a linux exclusive bug )
CPU: i5-9600k ( under-clocked because thermals )
GPU: GTX 1660 Super ( 550 drivers )
RAM: 32GB
minecraft info:
version: 1.21
mod version: 0.4.5.1
FabricAPI version: 0.102.0
Fabric Loader version: 0.16.0
Java version: GraalVM 21.0.3+7.1 ( skip compatibility checks enabled, probably doesn't do anything as 1.21 requires Java 21 )
Java args: -XX:+UseZGC
allocated memory: min-512MiB, max-8192MiB
Steps to reproduce
- open Minecraft ( doesn't even need to be in a word )
- toggle Fullscreen with F11 ( may take a few tries, sometimes its immediate )
- game crash!
Log files
This is a known cross-platform driver bug on Nvidia, where resizing the window too quickly crashes the game
(I have this problem on my GTX 1080 Ti as well)
I believe this is an actual driver bug and not a VulkanMod bug, as it effects all VulkanMod versions back to 2022, and didn't happen on older Nvidia drivers
The easiest way to produce it ime is to drag a corner of the window to resize it constantly, which crashes the client instantly on my machine (Linux)
After thinking about this, decided I will try to get a patch PR open in the next few days or so.
Might have an idea on at least stabilising the driver instability on fullscreen
@christopher317 Has been fixed as of upstream, the Nvidia swapchain crash should be done for good now.