diff --git a/proton b/proton index 8ce7b143f7..daadaad3be 100755 --- a/proton +++ b/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"]