gorilla-devs / GDLauncher

GDLauncher is a simple, yet powerful Minecraft custom launcher with a strong focus on the user experience
https://gdevs.io
GNU General Public License v3.0
1.22k stars 247 forks source link

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

Open danielwitkowsk opened 3 years ago

danielwitkowsk commented 3 years ago

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.

raphtlw commented 3 years ago

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.

InfiniteLoopGameDev commented 2 years ago

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.

Eskaan commented 2 years ago

That very much sounds like an electron issue to me