Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve nVidia Optimus and AMD PowerXpress compatibility #767
Fix for #659 - signal to the nVidia drivers that, if it is an "Optimus"-enabled computer, that the high-performance graphics card should be used with PCSX2. This export must be added to the main executable not to the graphics plugin(s) - the nVidia drivers only look at the main executable.
Sorry this simple change is spread over multiple commits!
referenced this pull request
Aug 15, 2015
If it works for optimus then it's fine then.
I would have used _WIN32 which is a builtin instead of _WINDOWS which is a relic from the 16-bit era. Also I would have put the file somewhere else (not sure where maybe one directory down) other than the VSprojects folder. To be fair _WINDOWS is used in other files and IopSif.cpp is also in that same folder so I'm probably being picky.
I'll make those changes quickly if you like - shouldn't take me long.
On 24 August 2015 at 12:30, micove email@example.com wrote:
Nice. Just tested this patch with AMD 8850m in "Enduro" configuration, with Catalyst 15.7, and it seems to work well!
(had to first "restore defaults" for the pcsx2 executable at Catalyst -> power -> switchable graphics application settings, and then, without this patch it would use the Intel iGPU by default, and after the patch it uses the AMD GPU automatically).