Skip to content
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

Game uses integrated GPU instead of the dedicated GPU. #969

Closed
arjuns500 opened this issue Jun 27, 2021 · 8 comments
Closed

Game uses integrated GPU instead of the dedicated GPU. #969

arjuns500 opened this issue Jun 27, 2021 · 8 comments

Comments

@arjuns500
Copy link

arjuns500 commented Jun 27, 2021

Describe the bug
When Minecraft starts with NVIDIA Optimus enabled, the laptop uses the integrated GPU instead of the NVIDIA
GPU..

To Reproduce
Steps to reproduce the behavior:

  1. Start any instance

Expected behavior
Game runs with the dedicated graphics unit.

Actual behavior
Game uses the integrated GPU, leading to less performance.

Operating System:

  • OS: Windows
  • Version 10

Additional context
Laptop has NVIDIA GTX 1650.
NVIDIA Optimus can be toggled, but without it, laptop has worse battery

@AshtakaOOf
Copy link

My laptop has dedicated gpu used for everything but you can make use of nvidia control panel to choose which graphics card you want to use

@randomguyingithub
Copy link

My laptop has dedicated gpu used for everything but you can make use of nvidia control panel to choose which graphics card you want to use

The problem is if you manual switch as Original Poster said it would has worse battery if you forgot to switch back.

NVIDIA Optimus can be toggled, but without it, laptop has worse battery

@arjuns500
Copy link
Author

arjuns500 commented Jun 27, 2021

@randomguyingithub I belive that @AshtakaOOf is talking about the fact that you can configure executables to run with a specific gpu.

However, I have not been able to find the correct executable.
Executables I have tried: GDLauncher.exe javaw.exe

@randomguyingithub
Copy link

randomguyingithub commented Jun 27, 2021

@randomguyingithub I belive that @AshtakaOOf is talking about the fact that you can configure executables to run with a specific gpu.

However, I have not been able to find the correct executable.
Executables I have tried: GDLauncher.exe javaw.exe

just in case, do you point to right java.exe? since it seems gdlauncher use the java.exe (not javaw.exe) inside the gdlauncher folder
you can check by toggle custom java path in instance.
in my case:
{gd launcher path}\java\8u242-b08\bin\java.exe

@arjuns500
Copy link
Author

Yes, I have just tried it, and it does not work.

@AshtakaOOf
Copy link

AshtakaOOf commented Jun 27, 2021

i also tried but the only way i can use my dedicated gpu with minecraft is to activate the dedicated gpu in nvidia control panel and deactivate it after playing

@TOLoneWolf
Copy link
Contributor

TOLoneWolf commented Jun 27, 2021

From discord.
gdl on windows creates its temp path on launch of mc and the removes it after it closes.
If using a different java not installed by gdl the path should be the normal file path and not this messed up symlinked one.
image

@arjuns500
Copy link
Author

From discord.
gdl on windows creates its temp path on launch of mc and the removes it after it closes.
If using a different java not installed by gdl the path should be the normal file path and not this messed up symlinked one.
image

Thanks, it worked!
Could this be clarified in any documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants