Skip to content

Commit 512d7d8

Browse files
import upstream changes
1 parent 6364b27 commit 512d7d8

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

proton

+9-4
Original file line numberDiff line numberDiff line change
@@ -952,10 +952,13 @@ class CompatData:
952952
g_session.dlloverrides[f] = "n"
953953

954954
for f in vkd3d_protonfiles:
955+
optional = False
956+
if f == "d3d12core":
957+
optional = True
955958
try_copy(g_proton.lib64_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/system32",
956-
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
959+
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional)
957960
try_copy(g_proton.lib_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/syswow64",
958-
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
961+
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional)
959962
g_session.dlloverrides[f] = "n"
960963

961964
# If the user requested the NVAPI be available, copy it into place.
@@ -1074,7 +1077,10 @@ def default_compat_config():
10741077
]:
10751078
ret.add("noopwr")
10761079

1077-
if appid == "1621680":
1080+
if appid in [
1081+
"1621680",
1082+
"359870",
1083+
]:
10781084
ret.add("noforcelgadd")
10791085

10801086
if appid in [
@@ -1295,7 +1301,6 @@ class Session:
12951301
if "PROTON_LOG" in self.env and nonzero(self.env["PROTON_LOG"]):
12961302
self.env.setdefault("WINEDEBUG", "+timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree")
12971303
self.env.setdefault("DXVK_LOG_LEVEL", "info")
1298-
self.env.setdefault("DXVK_NVAPI_LOG_LEVEL", "info")
12991304
self.env.setdefault("VKD3D_DEBUG", "warn")
13001305
self.env.setdefault("VKD3D_SHADER_DEBUG", "fixme")
13011306
self.env.setdefault("WINE_MONO_TRACE", "E:System.NotImplementedException")

0 commit comments

Comments
 (0)