-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run Minecraft on discrete GPU #223
Comments
im having the same error when attempting to run the game with nvidia gpu. with intel it will run but not nvidia: `16:30:15 Info [Launcher] Version: client 4432ade / manifest b4136d7 Process exited with unexpected exit code: 1` |
@MrWael I've had identical issue, here is how i managed it to fix it. |
This fix worked perfectly for me too. @kanafutile maybe submit a pull request? I have no idea if your patch would stop it working for anyone else though. Thanks :D Edit: Scratch that, for some reason the game launches fine, but then there's no textures appearing once I get into a world :( |
@dylanparry i had this textures issue when i had .mcpack shaders on my guess is that prime render offload is a little broken, and that's why non-zero EGL_ALPHA_SIZE breaks |
I disabled all my texture packs and shaders to see if that would make a difference, but it still wouldn't work for me. I've switched back to Prime Sync instead, as that works perfectly. |
Interesting. I could not get ANY shaders to work running on intel hd (without that patch), nvidia-only (without that patch) or hybrid (with that patch), meaning in all of these cases block textures were invisible |
I am unable to get Minecraft to run on my nvidia GPU (other games/apps work fine on it), and it'll only run on the Intel one.
I'm using Fedora 31 with the latest nvidia drivers (proprietary from RPMFusion) and Prime Offloading enabled (the new default on Fedora).
Here's what I get when I attempt to launch it using
__NV_PRIME_RENDER_OFFLOAD=1 mcpelauncher-client -dg /home/dylanparry/.local/share/mcpelauncher/versions/1.14.1.5/
:Without the
__NV_PRIME_RENDER_OFFLOAD=1
env variable, it runs just fine, but using the Intel GPU instead. That means crappy frame rates, and the CPU fan going nuts :(Has anyone else come across this issue? Any ideas how to fix it?
The text was updated successfully, but these errors were encountered: