ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.48k stars 1.07k forks source link

Le Mans Ultimate (2399420) #7512

Open Pipsqueaakk opened 8 months ago

Pipsqueaakk commented 8 months ago

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.

doitsujin commented 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.
lzq960605 commented 8 months ago

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

lzq960605 commented 8 months ago

You can try using 9.0 beta, and in desktop mode, you can enter the game with 9.0

srlemke commented 8 months ago

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!

logos128 commented 8 months ago

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.)

poljar commented 7 months ago

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.

steam-2399420.log.zip

leillo1975 commented 7 months ago

In my case, the screen goes black and returns to the desktop. I leave you the log in case it is useful:

steam-2399420.log

logos128 commented 7 months ago

Thanks @poljar and @leillo1975

I'll take a look and post in the LMU bug report thread.

poljar commented 4 months ago

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.

leillo1975 commented 4 months ago

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

leillo1975 commented 3 months ago

LMU still does not work in the latest patch released today. Here is the proton log: steam-2399420.zip

nmark102 commented 1 month ago

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?

logos128 commented 1 month ago

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:

leillo1975 commented 1 month ago

Hopefully we will soon be able to enjoy this game. Let's see if the devs can dedicate some time to it.