mojira.dev

Samuel J.M.

Assigned

No issues.

Reported

MC-230019 NVIDIA Optimus - Cannot enter into exclusive fullscreen or get DWM's vsync disabled. Awaiting Response MC-155942 I can't use the dGPU using the Windows 10 built-in switchable graphics settings. Community Consensus

Comments

Still buggy on 1.19+ and Windows 10 / 11.

JUST FIX THE "DISABLE DWM VSYNC" REQUEST WITH NVIDIA OPTIMUS. Just fix it...

For sure it still is. Now tested with Windows 11 also + latest drivers, but Windows 10 21H1 too. Please dont mark it has "resolved".

Attachment:

[media]

Just see it. I uploaded it to youtube because the video exceeds the 10MB size limit : https://youtu.be/iZzO14CYnuQ

Stuttering, input lag etc. DWM doesnt apply the "Borderless window fullscreen optimizations" (DWMs vsync off) and Minecraft doesnt enter into exclusive fullscreen mode. You can see eventual stuttering after ~4 seconds cause the game engine timeframe doesnt match with display refresh rate and dwm vsync's gets a buffer underrun, a persistent input lag delay due the DWM vsync buffer with the game engine's vsync disabled and the volume overlay which probes Minecraft isnt in exclusive fullscreen mode.

Please scale it as "important". It causes an horrible experience on Nvidia Optimus (MSHybrid/muxless) systems. At least the most majority of the latest laptops with nvidia dGPU around the world.

+info about different nvidia optimus architectures (MSHybrid/Muxless is the most common NVidia Optimus architecture on most earlier and latest laptops): https://nvidia.custhelp.com/app/answers/detail/a_id/5097/~/nvidia-advanced-optimus-overview

Add this into the 1.12 server's .bat file:

set javafor112=C:\Program Files\Java\jre1.8.0_281\bin

...and replace the "java" word (or "java.exe") in the launch line for %javafor112%\java.exe

But you can simply put the full route like:

"C:\Program Files\Java\jre1.8.0_281\bin\java.exe" -jar minecraftserver.jar blablablabla

("" are necesary because there are a space in the route/dir)