Skip to content

Commit

Permalink
proton: Disable hidenvgpu if nvapi is enabled.
Browse files Browse the repository at this point in the history
Link: #6227
  • Loading branch information
ivyl committed Oct 31, 2022
1 parent a1524f7 commit 774f192
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proton
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,8 @@ class Session:
if not "VKD3D_FEATURE_LEVEL" in self.env:
self.env["VKD3D_FEATURE_LEVEL"] = "12_0"

if "hidenvgpu" in self.compat_config:
# enablenvapi beats hidenvgpu
if "hidenvgpu" in self.compat_config and "enablenvapi" not in self.compat_config:
self.env["WINE_HIDE_NVIDIA_GPU"] = "1"

if "usenativexinput13" in self.compat_config:
Expand Down

0 comments on commit 774f192

Please sign in to comment.