mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
proton: Disable hardwarescheduling for some games.
This commit is contained in:
parent
cb98f5216b
commit
6d92d31fa9
9
proton
9
proton
@ -1272,6 +1272,12 @@ def default_compat_config():
|
||||
]:
|
||||
ret.add("gamedrive")
|
||||
|
||||
if appid in [
|
||||
"275850", #No Man's Sky
|
||||
"2012840", #Portal with RTX
|
||||
]:
|
||||
ret.add("nohardwarescheduling")
|
||||
|
||||
return ret
|
||||
|
||||
default_cpu_limit = {
|
||||
@ -1547,6 +1553,9 @@ class Session:
|
||||
if "xalia" in self.compat_config and "PROTON_USE_XALIA" not in self.env:
|
||||
self.env["PROTON_USE_XALIA"] = "1"
|
||||
|
||||
if "nohardwarescheduling" in self.compat_config and "WINE_DISABLE_HARDWARE_SCHEDULING" not in self.env:
|
||||
self.env["WINE_DISABLE_HARDWARE_SCHEDULING"] = "1"
|
||||
|
||||
if "PROTON_CRASH_REPORT_DIR" in self.env:
|
||||
self.env["WINE_CRASH_REPORT_DIR"] = self.env["PROTON_CRASH_REPORT_DIR"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user