neoforged / FancyModLoader

The fancy mod loader for NeoForged
Other
62 stars 31 forks source link

Handing off the window fails occasionally on wayland #213

Open DerCommander323 opened 2 days ago

DerCommander323 commented 2 days ago

Currently, when running Minecraft on (I assume most wayland compositors, but I only tried) Hyprland and having the window on a workspace (think of workspaces like virtual desktops) that is in the background (not being displayed on any monitor) while the game is launching, the window hand off fails: Image

I assume this is because wayland usually limits background windows' FPS to 1, which causes the hand off to take too long and therefore fail. I think just increasing the deadline length would fix this problem.

DerCommander323 commented 2 days ago

Supporting my theory, setting Hyprland to not reduce Minecraft's FPS in the background makes the problem not occur