Open gardotd426 opened 7 months ago
I didn't test with current but since we had a gstreamer issue (fixed with https://github.com/Frogging-Family/wine-tkg-git/commit/62ef06b03210017ae6e84e09b00171f2716a621e), I tested against that and game works on my end.
That's, of course, with a valve bleeding-edge based build.
Doesn't work on mainline due to video decoding, which is upstream.
Can also confirm this exact issue occurs with mainline (against wine-staging 9.3.r16.gec3dd19d), but not with valve-based builds. Is there an Issue or PR about this on the upstream WineHQ repo?
The issue is tracked internally (CW-Bug-Id: #22045) and there is a hack in Proton to workaround it for the time being (https://github.com/ValveSoftware/wine/commit/68e03e86e112c1d76b0c9704a254f82939f25090). It might apply to upstream trees as userpatch, possibly.
Edit: Also, this: https://github.com/ValveSoftware/wine/commit/e0981e129041084d1727b73a2757044f0c17bcc1
It might apply to upstream trees as userpatch, possibly.
Anyway I can add this as a userpatch to proton-tkg (built against mainline wine) myself in the meantime?
It might apply to upstream trees as userpatch, possibly.
Anyway I can add this as a userpatch to proton-tkg (built against mainline wine) myself in the meantime?
Absolutely. You can grab both patches: https://github.com/ValveSoftware/wine/commit/68e03e86e112c1d76b0c9704a254f82939f25090.patch https://github.com/ValveSoftware/wine/commit/e0981e129041084d1727b73a2757044f0c17bcc1.patch
Then drop them in your wine-tkg-git/wine-tkg-git/wine-tkg-userpatches
dir (with a .mypatch extension). See https://github.com/Frogging-Family/wine-tkg-git/blob/master/wine-tkg-git/wine-tkg-userpatches/README.md
They may not apply against current upstream trees, but worth a try nonetheless.
Just tried proton-tkg against wine-staging 9.6.r0.g506d9500
, both with and without the patch on the wayland driver, and now the game just opens to an infinite black screen, doesn't even get to the part where it crashes. Sometimes the game even crashes my entire GNOME session when I close it.
proton debug log: sf6.log
stdout
and stderr
don't output anything useful.
This part of the log:
0170:err:sync:RtlpWaitForCriticalSection section 000002000440C848 "?" wait timed out in thread 0170, blocked by 0224, retrying (60 sec)
0228:err:sync:RtlpWaitForCriticalSection section 000002000440C848 "?" wait timed out in thread 0228, blocked by 0224, retrying (60 sec)
loops infinitely once the game is open and while it's at the black screen.
This may be a regression, because IIRC the wayland driver on older versions of proton-tkg would reach the same place as the x11 driver and crash from video decoding.
On X11 either with or without the patch, just crashes exactly the same as before. In other words, the patch doesn't seem to work.
Retried against 9.7.r16.g0f06925b
.
The patches successfully apply, but wine itself fails to build with them applied due to this error:
../wine-git/dlls/ntdll/unix/loader.c: In function ‘check_vmsplit’:
../wine-git/dlls/ntdll/unix/loader.c:2251:9: error: ‘sgi’ undeclared (first use in this function)
2251 | if (sgi && (0
| ^~~
../wine-git/dlls/ntdll/unix/loader.c:2251:9: note: each undeclared identifier is reported only once for each function it appears in
It looks like upstream wine doesn't even have a way to check for steam game IDs, and there's no hacks_init
function either. There probably needs to be more patches added to wine-tkg, or have WINE_ENABLE_GST_LIVE_LATENCY
be set from a corresponding environment variable.
This only happens on Proton-TKG, I've tried 3 builds, 1 from November, one from December, and one from yesterday.
This is what I get:
Proton Experimental, GE-Proton8-25, and 8.0 work fine.