Skip to content

fix(windows): prefer discrete GPU on hybrid graphics systems#218

Open
VIKASKENDRE wants to merge 1 commit intoAcademySoftwareFoundation:developfrom
VIKASKENDRE:fix/windows-discrete-gpu
Open

fix(windows): prefer discrete GPU on hybrid graphics systems#218
VIKASKENDRE wants to merge 1 commit intoAcademySoftwareFoundation:developfrom
VIKASKENDRE:fix/windows-discrete-gpu

Conversation

@VIKASKENDRE
Copy link

Add NvOptimusEnablement and AmdPowerXpressRequestHighPerformance exports to hint the NVIDIA/AMD driver to select the discrete GPU on Windows hybrid graphics system

Problem:

On Windows laptops with hybrid graphics, xSTUDIO defaults to the integrated GPU. Adding NvOptimusEnablement and AmdPowerXpressRequestHighPerformance exports forces the NVIDIA/AMD driver to use the discrete GPU instead.

Testing Environment:

Tested on Windows 11 built from source with Visual Studio 2022 and Qt 6.5.3 MSVC. xSTUDIO launches correctly on the discrete GPU.

Changes:

  • src/launch/xstudio/src/xstudio.cpp: Added #ifdef _WIN32 block exporting NvOptimusEnablement and AmdPowerXpressRequestHighPerformance. No effect on Linux/macOS.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 2, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: VIKASKENDRE / name: Vikas Kendre (9837d22)

…ptimusEnablement and AmdPowerXpressRequestHighPerformance exports to hint the NVIDIA/AMD driver to select the discrete GPU on Windows hybrid graphics system

Signed-off-by: Vikas Kendre <vikaskendre1989@gmail.com>
@VIKASKENDRE VIKASKENDRE force-pushed the fix/windows-discrete-gpu branch from 884384c to 9837d22 Compare March 2, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant