Skip to content

Commit

Permalink
Remove Optimus block for modern Nvidia drivers
Browse files Browse the repository at this point in the history
Now that we use D3D11 and don't fall back to D3D9, it should be safe to allow Optimus again.

This will re-enable Optimus for D3D9 on Windows 8.1, but all of the reported problems were on Windows 10 so it will hopefully be a non-issue.

Fixes moonlight-stream#1241
  • Loading branch information
cgutman committed Mar 29, 2024
1 parent f2535f1 commit 0e1190a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions AntiHooking/antihookingprotection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,6 @@ class AntiHookingProtection
L"EZFRD32.dll",
L"EZFRD64.dll",

// These are the newer dList DLLs for Optimus hybrid graphics DDI.
// https://docs.microsoft.com/en-us/windows-hardware/drivers/display/hybrid-system-ddi
//
// We forcefully block them from loading because Optimus has a bug that
// deadlocks DXVA2 when we present with D3DPRESENT_DONOTWAIT. This will prevent
// Optimus from ever using the dGPU even if the user has requested it.
// https://github.com/moonlight-stream/moonlight-qt/issues/240
// https://github.com/moonlight-stream/moonlight-qt/issues/235
L"nvdlist.dll",
L"nvdlistx.dll",

// These are the older dList/AppInit DLLs for Optimus hybrid graphics DDI.
// https://docs.microsoft.com/en-us/windows-hardware/drivers/display/hybrid-system-ddi
//
Expand Down

0 comments on commit 0e1190a

Please sign in to comment.