mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
parent
d32f73f550
commit
0b1b644ceb
7
proton
7
proton
@ -1165,6 +1165,10 @@ def default_compat_config():
|
||||
"257420", #Serious Sam 4
|
||||
]:
|
||||
ret.add("hidevggpu")
|
||||
if appid in [
|
||||
"2217000", #Rivals of Aether II
|
||||
]:
|
||||
ret.add("hideintelgpu")
|
||||
|
||||
if appid in [
|
||||
"1341820", #As Dusk falls
|
||||
@ -1481,6 +1485,7 @@ class Session:
|
||||
self.check_environment("PROTON_OLD_GL_STRING", "oldglstr")
|
||||
self.check_environment("PROTON_HIDE_NVIDIA_GPU", "hidenvgpu")
|
||||
self.check_environment("PROTON_HIDE_VANGOGH_GPU", "hidevggpu")
|
||||
self.check_environment("PROTON_HIDE_INTEL_GPU", "hideintelgpu")
|
||||
self.check_environment("PROTON_SET_GAME_DRIVE", "gamedrive")
|
||||
self.check_environment("PROTON_SET_STEAM_DRIVE", "steamdrive")
|
||||
self.check_environment("PROTON_NO_XIM", "noxim")
|
||||
@ -1539,6 +1544,8 @@ class Session:
|
||||
|
||||
if "hidevggpu" in self.compat_config:
|
||||
self.env["WINE_HIDE_VANGOGH_GPU"] = "1"
|
||||
if "hideintelgpu" in self.compat_config:
|
||||
self.env["WINE_HIDE_INTEL_GPU"] = "1"
|
||||
|
||||
if "hidenvgpu" in self.compat_config and "forcenvapi" not in self.compat_config:
|
||||
self.env["WINE_HIDE_NVIDIA_GPU"] = "1"
|
||||
|
Loading…
Reference in New Issue
Block a user