Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
907 stars 166 forks source link

[GST - Proton-tkg] Resident Evil Village Crashes on Launch #956

Open ThisNekoGuy opened 1 year ago

ThisNekoGuy commented 1 year ago

There seems to be a gstreamer issue with running RE8? I'm not exactly sure what causes it...

Proton/Wine Version: proton_tkg_8.1.r6.g7a0d4fb5.Staging-fsync_futex2 steam-1196590.log

. . .
Fossilize INFO: Overriding serialization path: "/mnt/extraStorage/Gaming/SteamLibrary/steamapps/shadercache/1196590/fozpipelinesv6/steamapprun_pipeline_cache".
info:  Memory type mask for sparse resources: 0x2
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
warn:  DXVK: No state cache file found
info:  DXVK: Graphics pipeline libraries supported
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 3, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 3, max latency = 1)
384620.595:0128:01c0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msdmo.dll" at 0000000218320000: builtin
384620.595:0128:01c0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winegstreamer.dll" at 000000039B8D0000: builtin
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 3, max latency = 1)
0204:warn:dxgi_vk_swap_chain_wait_worker: Incrementing frame latency semaphore beyond max latency. Did application forget to acquire? (new count = 2, max latency = 1)

ERROR: Caught a segmentation fault while loading plugin file:
/home/neko-san/.local/share/Steam/compatibilitytools.d/proton_tkg_8.1.r6.g7a0d4fb5.Staging-fsync_futex2/files/lib64/gstreamer-1.0/libgstqsv.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
gamemodeauto: 
pid 653296 != 653295, skipping destruction (fork without exec?)
Fox2Code commented 1 year ago

The problems seems to be caused by libgstqsv.so which is apparently a gstreamer plugin.

Does removing libgstqsv.so (See path in your crash log) solve the issue?

ThisNekoGuy commented 1 year ago

I was about to test this with a new build of both Wine and Gstreamer but the game thew this error on startup before the game window even appeared: Screenshot_20230304_065421 steam-1196590.log

Fox2Code commented 1 year ago
298703.335:0128:012c:trace:loaddll:build_module Loaded L"Z:\\mnt\\extraStorage\\Gaming\\SteamLibrary\\steamapps\\common\\Resident Evil Village BIOHAZARD VILLAGE\\steam_api64.dll" at 000000013B400000: native
298703.336:0128:012c:warn:debugstr:OutputDebugStringA "[S_API FAIL] SteamAPI_Init() failed\n"

For some reason it look like the game load the windows version of the steam API steam_api64.dll

Since the steam client doesn't run inside proton this may explain the steam api initialization failure.

ThisNekoGuy commented 1 year ago

I've got no idea why it's trying to do that; it's odd

ThisNekoGuy commented 1 year ago

@Fox2Code I actually can't launch any game with 8.3 because of the API issue :v

ThisNekoGuy commented 1 year ago

I rolled back to Wine 8.1.r1.gf2f8b949 (new prefix) and now, on launch, it throws an error about not being able to detect d3d12core.dll when it is most certainly in the resulting build :skull_and_crossbones:

steam-1196590.log Screenshot_20230326_202451

Tk-Glitch commented 1 year ago

That specific issue (d3d12core) should be fixed now.