2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-22 02:08:36 +00:00

proton: Hide AMD GPU for Crysis 3.

CW-Bug-Id: #25745
This commit is contained in:
Paul Gofman 2025-08-01 10:17:06 -06:00
parent 92d0993704
commit 29548fa724

5
proton
View File

@ -1455,6 +1455,11 @@ class Session:
elif appid in default_cpu_limit:
self.env["WINE_CPU_TOPOLOGY"] = str(default_cpu_limit[appid])
if "WINE_HIDE_AMD_GPU" not in self.env and appid in [
"1282690",
]:
self.env["WINE_HIDE_AMD_GPU"] = "1"
def init_wine(self):
if "HOST_LC_ALL" in self.env and len(self.env["HOST_LC_ALL"]) > 0:
#steam sets LC_ALL=C to help some games, but Wine requires the real value