Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Le Mans Ultimate (2399420)

Open Pipsqueaakk opened this issue 1 year ago • 72 comments

Compatibility Report

System Information

  • GPU: AMD Custom GPU 0405
  • Kernel version: 6.1.52-valve14-1-neptune-61 (64-bit)
  • Proton version: Experimental, 8.0-5, 7.0-6, 6.3-8

I confirm:

  • [ X ] that I haven't found an existing compatibility report for this game.
  • [ X ] that I have checked whether there are updates for my system available.

Symptoms

The first screen appears as supposed "397 studios" screen, the game launches, stays black for 5 seconds then crashes.

Pipsqueaakk avatar Feb 20 '24 21:02 Pipsqueaakk

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.

doitsujin avatar Mar 02 '24 19:03 doitsujin

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 avatar Mar 03 '24 03:03 lzq960605

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

lzq960605 avatar Mar 03 '24 03:03 lzq960605

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!

srlemke avatar Mar 13 '24 11:03 srlemke

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

logos128 avatar Mar 14 '24 18:03 logos128

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

poljar avatar Mar 20 '24 16:03 poljar

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

leillo1975 avatar Mar 20 '24 20:03 leillo1975

Thanks @poljar and @leillo1975

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

logos128 avatar Mar 21 '24 13:03 logos128

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.

poljar avatar Jun 20 '24 16:06 poljar

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 avatar Jun 20 '24 20:06 leillo1975

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

leillo1975 avatar Aug 06 '24 16:08 leillo1975