I have a laptop which has 2 GPUs, integrated (Intel HD Graphics 630) and dedicated (Nvidia Geforce GTX 1050). Whenever i play with the default profile, my laptop automatically uses the dedicated GPU, but when i play with optifine, it uses the integrated one. How do i set optifine to use my dedicated GPU? I've tried setting Minecraft to use dedicated GPU in the Nvidia Control Panel, and my laptop is plugged in (idk if that makes a difference). I want to try using shaders and obviously i don't want to use the integrated GPU. Is there a way to make optifine use my dedicated GPU? Suggestions are appreciated.
[EDIT: I fixed this by setting dedicated GPU to render all 3D applications]
Open the Minecraft Launcher > menu button > Launch options > select any unmodded profile > click <Use bundled Java runtime> and write down the path of the Java Executable,
Open the Nvidia Control Panel > Manage 3D Settings > Program Settings,
Click Add > Browse to the Java executable using the path the first step and click Open then Add Selected Program,
Once found and selected, change the Preferred graphics processor to High-performance NVIDIA processor. Click Apply to finish.
I have a laptop which has 2 GPUs, integrated (Intel HD Graphics 630) and dedicated (Nvidia Geforce GTX 1050). Whenever i play with the default profile, my laptop automatically uses the dedicated GPU, but when i play with optifine, it uses the integrated one. How do i set optifine to use my dedicated GPU? I've tried setting Minecraft to use dedicated GPU in the Nvidia Control Panel, and my laptop is plugged in (idk if that makes a difference). I want to try using shaders and obviously i don't want to use the integrated GPU. Is there a way to make optifine use my dedicated GPU? Suggestions are appreciated.
[EDIT: I fixed this by setting dedicated GPU to render all 3D applications]
Your Optifine profile probably uses a different Java installation path. Add all Java paths to Nvidia control panel.
How?
The same way you did with MC.
Thanks
I found a way easier way to do this,
1. Open Nvidia Control Panel
2. Go to Manage 3D Settings
3. Click Program Settings
4. Click On The List Under "Select a program to customize"
5. Find Minecraft(minecraft.exe) or Minecraft(minecraftlauncher.exe)
6. Now Look Under "Select the preffered graphics processor for this program"
7. You'll See Another List, Now Click On The List And Click "Integrated Graphics"
8. Now Launch Your Optifine Version And Press F3, And You'll See In The Corner It Shows Your GPU