mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 21:48:31 +03:00
proton: Add hidevggpu option and enable it for Serious Sam 4.
CW-Bug-Id: #20527
This commit is contained in:
parent
d8f44fe58e
commit
b9040886de
9
proton
9
proton
@ -1070,6 +1070,11 @@ def default_compat_config():
|
||||
]:
|
||||
ret.add("noforcelgadd")
|
||||
|
||||
if appid in [
|
||||
"257420", #Serious Sam 4
|
||||
]:
|
||||
ret.add("hidevggpu")
|
||||
|
||||
if appid in [
|
||||
"1341820", #As Dusk falls
|
||||
"280790", #Creativerse
|
||||
@ -1271,6 +1276,7 @@ class Session:
|
||||
self.check_environment("PROTON_OLD_GL_STRING", "oldglstr")
|
||||
self.check_environment("PROTON_NO_WRITE_WATCH", "nowritewatch")
|
||||
self.check_environment("PROTON_HIDE_NVIDIA_GPU", "hidenvgpu")
|
||||
self.check_environment("PROTON_HIDE_VANGOGH_GPU", "hidevggpu")
|
||||
self.check_environment("PROTON_SET_GAME_DRIVE", "gamedrive")
|
||||
self.check_environment("PROTON_SET_STEAM_DRIVE", "steamdrive")
|
||||
self.check_environment("PROTON_NO_XIM", "noxim")
|
||||
@ -1315,6 +1321,9 @@ class Session:
|
||||
if not "VKD3D_FEATURE_LEVEL" in self.env:
|
||||
self.env["VKD3D_FEATURE_LEVEL"] = "12_0"
|
||||
|
||||
if "hidevggpu" in self.compat_config:
|
||||
self.env["WINE_HIDE_VANGOGH_GPU"] = "1"
|
||||
|
||||
if "hidenvgpu" in self.compat_config:
|
||||
self.env["WINE_HIDE_NVIDIA_GPU"] = "1"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user