Revert "patches: add ntsync for wine and proton side"

This reverts commit 913ac38b21.
This commit is contained in:
GloriousEggroll committed 2024-02-25 23:15:30 -07:00
1 parent 7984a0de8e
commit 2e2c7b1e3d
3 files changed
+1 -5389

No files matched your search

+1 -6
View File
@@ -370,14 +370,9 @@
# https://github.com/ValveSoftware/Proton/issues/6717
# https://gitlab.winehq.org/wine/wine/-/merge_requests/4428
echo "WINE: -PENDING- Fix Farlight 84 crash"
echo "WINE: -GAME FIXES- Fix Farlight 84 crash"
patch -Np1 < ../patches/wine-hotfixes/pending/4428.patch
# kernel side: https://discord.com/channels/110175050006577152/1042846022596042792/1211503288596434994
# wine side: https://raw.githubusercontent.com/CachyOS/CachyOS-PKGBUILDS/master/proton-cachyos/fastsync.patch
# proton side: https://raw.githubusercontent.com/CachyOS/CachyOS-PKGBUILDS/master/proton-cachyos/disable-fastsync.patch
echo "WINE: -PENDING- Enable NTsync"
patch -Np1 < ../patches/wine-hotfixes/pending/ntsync.patch
### END WINE PENDING UPSTREAM SECTION ###
File diff suppressed because it is too large. Load diff
-13
View File
@@ -1326,10 +1326,6 @@ class Session:
if not "noforcelgadd" in self.compat_config:
self.compat_config.add("forcelgadd")
#turn off fastsync by default unless it is enabled via env
if not "winesync" in self.compat_config:
self.compat_config.add("nowinesync")
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
@@ -1461,7 +1457,6 @@ class Session:
self.check_environment("PROTON_NO_D9VK", "nod3d9")
self.check_environment("PROTON_NO_ESYNC", "noesync")
self.check_environment("PROTON_NO_FSYNC", "nofsync")
self.check_environment("PROTON_USE_WINESYNC", "winesync")
self.check_environment("PROTON_FORCE_LARGE_ADDRESS_AWARE", "forcelgadd")
self.check_environment("PROTON_OLD_GL_STRING", "oldglstr")
self.check_environment("PROTON_NO_WRITE_WATCH", "nowritewatch")
@@ -1490,12 +1485,6 @@ class Session:
else:
self.env["WINEFSYNC"] = "1"
if "winesync" in self.compat_config:
self.env.pop("WINE_DISABLE_FAST_SYNC", "")
else:
if "nowinesync" in self.compat_config:
self.env["WINE_DISABLE_FAST_SYNC"] = "1"
if "nowritewatch" in self.compat_config:
self.env["WINE_DISABLE_WRITE_WATCH"] = "1"
@@ -1650,8 +1639,6 @@ class Session:
f.write("\tWINEESYNC=\"" + self.env["WINEESYNC"] + "\" \\\n")
if "WINEFSYNC" in self.env:
f.write("\tWINEFSYNC=\"" + self.env["WINEFSYNC"] + "\" \\\n")
if "WINE_DISABLE_FAST_SYNC" in self.env:
f.write("\tWINE_DISABLE_FAST_SYNC=\"" + self.env["WINE_DISABLE_FAST_SYNC"] + "\" \\\n")
if "SteamGameId" in self.env:
f.write("\tSteamGameId=\"" + self.env["SteamGameId"] + "\" \\\n")
if "SteamAppId" in self.env: