GDLauncher icon indicating copy to clipboard operation
GDLauncher copied to clipboard

Launcher renders black screen while using discrete graphics (Nvidia optimus)

Open danielwitkowsk opened this issue 3 years ago • 3 comments

While using the exec commands (enviromental variables): DRI_PRIME=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 the launcher renders black screen. You can still "blindly" launch a modpack. It's the only workaround I found for the lack of wrapper command, otherwise launcher and java start on intel graphics. I'm on Manjaro KDE, my nvidia driver version is 460.73.01.

danielwitkowsk avatar May 16 '21 16:05 danielwitkowsk

I'm having the same issue. I think we should have an exec command or something as a wrapper that we can modify to the Minecraft launcher.

raphtlw avatar Aug 08 '21 06:08 raphtlw

If you are trying to launch minecraft using your dGPU, I suggest this post . That also works with GDLauncher. Try using the prime-run command instead of the environment variables in any case.

InfiniteLoopGameDev avatar Jun 22 '22 19:06 InfiniteLoopGameDev

That very much sounds like an electron issue to me

Eskaan avatar Jun 22 '22 19:06 Eskaan