mojira.dev
MC-155942

I can't use the dGPU using the Windows 10 built-in switchable graphics settings.

I was trying to play Minecraft using my NVidia GTX 1060 using the "Advanced graphics settings" menu/options (Windows 10 1803+ only), adding a new entries (java.exe, javaw.exe and MinecraftLauncher.exe) and choosing the NVidia card, because my display is connected to the Intel UHD 630 HDMI port.
 
What I expected to happen was...:
When I press "Play", it should have opened Minecraft. Same all other games.
 
What actually happened was...:
Instead, minecraft ignored that policy and gets opened using the Intel UHD 630.

Also, in old versions like 1.12.2, Im getting this nice crash:

The game crashed whilst initializing game
Error: net.minecraft.client.renderer.StitcherException: Unable to fit: minecraft:blocks/lava_flow, size: 32x32, atlas: 0x0, atlasMax: -1x-1 - Maybe try a lower resolution resourcepack?
 
Steps to Reproduce:
1. Disconnect all monitors from the dGPU card.
2. Plug your display to the Intel iGPU, go to "Display settings" > "Advanced graphics settings" and add java.exe, javaw.exe and MinecraftLauncher.exe to the "Classic applications" list, and choose the dGPU card.
3. Open the MinecraftLauncher (Launcher will get loaded into dGPU, check it with GPU-Z) and press the "Play" button. Minecraft doesnt care about that policy. Also, you will get a crash using 1.12.2 or earlier versions.

Linked issues

Attachments

Comments 6

same thing here

using a laptop w a GTX 1050

but minecraft keeps using Intel Hd Graphics 630

changed it on nvidia control panel but nothing 

Found any solution for it?

 

I have the same problem, my report is in spanish. I left evidence of the steps to follow and all the proven solutions.

MC-158815

SOLUTION

I think I solved it, the way to force the game to use the GPU is configured from the operating system. You just have to go to config -> games -> game mode -> graphic settings (something like that, I have the computer in Spanish) -> browse Then you have to find the javaw file and configure it to run in high performance

This does not solve it. I think I read something about it only switching DirectX applications and MC being OpenGL means it doesn't work, can anyone confirm that?

I HAVE THE SOLUTION

You have to go to Windows Control Panel> Power Options >Choose or Customize a power plan (High Performance power  plan >  Change plan settings >  Change  advanced power settings  > Switchable Graphics  > all  options set  to maximize.

That will make you graphics run on every app, even MC. Worked for me on my Laptop Acer Nitro 5 with Radeon RX 560X graphics

Hey, i dont have a switchable graphics option in the powerplan settings, im using rx470.

Samuel J.M.

(Unassigned)

Community Consensus

(Unassigned)

crash, rendering

Minecraft 1.14.3

Retrieved