SetGPU
SetGPU copied to clipboard
[Feature Request] Global Support
Is there a way to make this globally applicable, like run Windows and everything off the AMD GPU and have a few exceptions you can manually make to use the NVIDIA GPU like Blender, Maya, Games? I know that some games aren't supported with this workaround so just using the AMD GPU for those could be a workaround for a workaround...
This is more-or-less how MSI Afterburner etc works. Lurk in the background, listen for new processes, inject into them. There are a few issues that would need to be addressed:
- Injection looks bad to antivirus etc, so at the very least a codesigning cert would be needed ($$$)
- Not all games work correctly with setgpu right now (anticheat and other issues), and this way the user couldn't pick and choose (could maybe be fixed with a whitelist approach)
- Afterburner/RTSS can inject at any time and installer their hooks while the game runs. SetGPU would need to be injected at the very start, before D3D11CreateDevice and friends can be called. Need to handle freezing the process, games that start other processes (launcher EXEs), and so on. More complexity and looks even more suspicious to antivirus.
Having said that, I would like to move to this approach eventually. Juggling DLLs around is pretty inconvenient for the user.
Can you give me a beta build? @pinumbernumber I don’t run any AV (stupid right) so I could test it. Also most AV have a exception rule so you could add SetGPU to it