mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-07 06:58:03 +01:00
proton: Introduce seccomp runtime option.
This then sets the WINESECCOMP environment variable to enable seccomp filter for DOOM Eternal DRM (and others) without impacting other games.
This commit is contained in:
parent
c0421aacce
commit
75ed8f6469
2 changed files with 5 additions and 0 deletions
4
proton
4
proton
|
|
@ -482,6 +482,7 @@ class Session:
|
|||
self.check_environment("PROTON_NO_FSYNC", "nofsync")
|
||||
self.check_environment("PROTON_FORCE_LARGE_ADDRESS_AWARE", "forcelgadd")
|
||||
self.check_environment("PROTON_OLD_GL_STRING", "oldglstr")
|
||||
self.check_environment("PROTON_USE_SECCOMP", "seccomp")
|
||||
|
||||
if not "noesync" in self.compat_config:
|
||||
self.env["WINEESYNC"] = "1"
|
||||
|
|
@ -489,6 +490,9 @@ class Session:
|
|||
if not "nofsync" in self.compat_config:
|
||||
self.env["WINEFSYNC"] = "1"
|
||||
|
||||
if "seccomp" in self.compat_config:
|
||||
self.env["WINESECCOMP"] = "1"
|
||||
|
||||
if "oldglstr" in self.compat_config:
|
||||
#mesa override
|
||||
self.env["MESA_EXTENSION_MAX_YEAR"] = "2003"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue