Skip to content

Commit

Permalink
proton: Force disable AMD switchable graphics layer
Browse files Browse the repository at this point in the history
This crap layer is still horribly broken and enabled by default.

Signed-off-by: Joshua Ashton <[email protected]>
  • Loading branch information
misyltoad committed Jun 30, 2021
1 parent b5d5d89 commit 3f7872f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,9 @@ class Session:
self.check_environment("PROTON_HEAP_DELAY_FREE", "heapdelayfree")
self.check_environment("PROTON_ENABLE_NVAPI", "enablenvapi")

# This layer is horrifically broken.
self.env["DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1"] = "1"

if "noesync" in self.compat_config:
self.env.pop("WINEESYNC", "")
else:
Expand Down

0 comments on commit 3f7872f

Please sign in to comment.