mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-25 08:44:32 +01:00
proton: Disable hidenvgpu if nvapi is enabled.
Link: https://github.com/ValveSoftware/Proton/pull/6227
This commit is contained in:
parent
3a7327e575
commit
ba944ca71f
1 changed files with 2 additions and 1 deletions
3
proton
3
proton
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue