u/Initial-Resident5585

[java]1.21.11 Minecraft crashing whenever unfocused with vulkan mod. i'm on cachy os with hyprland(wayland)

The game crashes with like a 20% chance when i move my cursor to an app on the second screen(in hyprland when you move your mouse away the window autmatically unfocuses). I tried using wrapper commands and the only thing that helped me is using gamescope in the wrapper commands but it introduced even more different problems. Error:

java.lang.RuntimeException: Cannot acquire next swap chain image: -1000000000

at knot//net.vulkanmod.vulkan.Renderer.beginFrame(Renderer.java:291)

at knot//net.minecraft.class\_310.handler$fic000$vulkanmod$preFrameOps(class\_310.java:23129)

at knot//net.minecraft.class\_310.method\_1523(class\_310.java)

at knot//net.minecraft.class\_310.method\_1514(class\_310.java:966)

at java.base/java.lang.Thread.run(Thread.java:1474)
reddit.com
u/Initial-Resident5585 — 6 days ago