Request dedicated GPU from GPU drivers#850
Request dedicated GPU from GPU drivers#850TorutheRedFox wants to merge 1 commit intosmartcmd:mainfrom
Conversation
|
Could you provide a demonstration video of this being effective? |
not quite sure how to show it in a video aside from file handles to shader caches in processexplorer pointing to the nvidia folder rather than the intel one |
|
You could show a video of the app running on the correct GPU index in task manager |
|
about that, my task manager doesn't show that |
i can pull it into a test environment and see if it does |
|
Maybe add a F3 menu piece that shows what GPU is in use? |
Description
Makes the game use the dedicated GPU rather than the integrated GPU if it's available.
Changes
Previous Behavior
Previously, the integrated GPU would be used unless an override was set in Windows' or the GPU driver's settings for the executable.
Root Cause
Missing exports for AMD PowerXpress and Nvidia Optimus requesting the use of the dedicated GPU for the process if available.
New Behavior
The dedicated GPU (if available) is used for the game instead of the integrated GPU.
Fix Implementation
Exports were added to Windows64_Minecraft.cpp to flag the executable as preferring the dedicated GPU.
AI Use Disclosure
No AI has been used in this PR.