Open Pipsqueaakk opened 8 months ago
Looks like a game bug, there's a use-after-free on a texture that can be observed even with wined3d:
0134:trace:d3d11:d3d_texture2d_create Created texture 00000000167BD4C0.
0134:trace:d3d11:d3d11_texture2d_QueryInterface iface 00000000167BD4C0, riid {6f15aaf2-d208-4e89-9ab4-489535d34f9c}, object 000000000011D730.
0134:trace:d3d11:d3d11_texture2d_AddRef 00000000167BD4C0 increasing refcount to 2.
0134:trace:d3d11:d3d11_texture2d_Release 00000000167BD4C0 decreasing refcount to 1.
0134:trace:d3d11:d3d11_texture2d_GetDesc iface 00000000167BD4C0, desc 000000000011D7F0.
0134:trace:d3d11:d3d11_device_context_CopyResource iface 0000000012EFB7E8, dst_resource 00000000167BD450, src_resource 00000000167BD4C0.
0134:trace:d3d11:d3d11_texture2d_GetType iface 00000000167BD4C0, resource_dimension 000000000011D63C.
0134:trace:d3d11:d3d11_texture2d_Release 00000000167BD4C0 decreasing refcount to 0.
# The next call crashes with DXVK
0134:trace:d3d11:d3d11_texture2d_QueryInterface iface 00000000167BD4C0, riid {037e866e-f56d-4357-a8af-9dabbe6e250e}, object 000000000011D718.
I have already refunded this game. Even if I enter the game, it will crash halfway through loading the game. I am also a Steam Deck
You can try using 9.0 beta, and in desktop mode, you can enter the game with 9.0
I believe it would also be a good idea to upvote this thread with the bug report: https://community.lemansultimate.com/index.php?threads/proton-wine-dxvk-ctd-at-launch.1020/#post-5950
thanks!
Would be good if someone could post a complete log with wined3d enabled. IMO it will give some hints to the LMU devs where the affected texture is released/accessed related to the game's own log output.
Something like this command can be used: PROTON_LOG=1 PROTON_USE_WINED3D=1 WINEDEBUG=-all,+timestamp,+pid,+tid,+loaddll,+d3d11 %command%
("-all" turns off all unrelated log messages)
This should launch the game normally. Just reach the game menus and exit to prevent the log from growing too large. No need to force the crash on track loading, as it may not be related to this bug. (I would do this myself, but currently don't have the game.)
Would be good if someone could post a complete log with wined3d enabled. IMO it will give some hints to the LMU devs where the affected texture is released/accessed related to the game's own log output.
Did so, though I had to force exit the game since you still could hear music from the game being playedk even though the window did close. The log is still quite big, I compressed it to make the size manageable.
In my case, the screen goes black and returns to the desktop. I leave you the log in case it is useful:
Thanks @poljar and @leillo1975
I'll take a look and post in the LMU bug report thread.
This crash seems to have been fixed with build 14742905 released on the 20th of June 2024:
Build ID: 14742905 General
- Stability fixes to address crashes when loading into a race & loading a replay
The game still crashes if you attempt to start a race, but at least you can start the game now.
I have exactly the same problem, crashes on loading at 46% Tested with 9.0-2, Experimental and Proton-GE 8-25
I attached a compressed proton log file: steam-2399420.zip
LMU still does not work in the latest patch released today. Here is the proton log: steam-2399420.zip
Still crashes when trying to start a race. For me the video output goes completely black with the PROTON_USE_WINED3D=1
option.
P.S. Once I generated Proton logs where do I find them?
One user on the LMU forum have tried the latest version of the game on Win 10 with the DXVK binaries, and it crashes at the same place as proton (~47% while loading a race).
So it seems this new issue is related to DXVK again. IIRC with PROTON_USE_WINED3D the game was crashing at the same place from the beginning, so it might be the same bug now.
Maybe @doitsujin could look at it again. :slightly_smiling_face:
Hopefully we will soon be able to enjoy this game. Let's see if the devs can dedicate some time to it.
Compatibility Report
System Information
I confirm:
Symptoms
The first screen appears as supposed "397 studios" screen, the game launches, stays black for 5 seconds then crashes.