Proton icon indicating copy to clipboard operation
Proton copied to clipboard

F1 2021 (1134570)

Open AbnocChinwads opened this issue 3 years ago • 76 comments

Compatibility Report

  • Name of the game with compatibility issues: F1 2021
  • Steam AppID of the game: 1134570

System Information

  • GPU: RX 5700 XT
  • Driver/LLVM version: Mesa 21.2.0-devel (git-9d225c4 2021-07-13 focal-oibaf-ppa)
  • Kernel version: 4.6
  • Link to full system information report as Gist: https://gist.github.com/AbnocChinwads/efbe2d15da13e20922df97ac08682669
  • Proton version: 6.3-5

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.

steam-1134570.log

Symptoms

It begins to open and then immediately shuts down. It's a brand new game I didn't expect it to run straight away, I just want to help people who don't buy the deluxe edition and have to wait until 16th to play it.

Reproduction

Install the game, run it. I added PROTON_USE_SECCOMP=1 %command% to the launch options as that works for F1 2020, but it doesn't seem to help 2021 launch

AbnocChinwads avatar Jul 13 '21 10:07 AbnocChinwads

Hello @AbnocChinwads, your log hints that there might a D3D12 / VKD3D-Proton related issue going on with this game.

kisak-valve avatar Jul 13 '21 10:07 kisak-valve

Hello @kisak-valve I'm glad it could help in some way, is there anything I could try to help narrow down the issue?

AbnocChinwads avatar Jul 13 '21 11:07 AbnocChinwads

Same as above, except I also get a "DirectX 12 is incompatible with this version of Windows" alert: Screenshot from 2021-07-20 19-10-15

davidjmemmett avatar Jul 20 '21 18:07 davidjmemmett

System Information

  • GPU: RX 5700 XT
  • Driver/LLVM version: Mesa 21.3.0-devel (git-2138d1b9e6) build with LLVM 12.0.1
  • Kernel version: 5.13.1-178-tkg-pds
  • Link to full system information report as Gist: https://gist.github.com/SmileEdge/e439c10a5a09e326220f11e1066791ca
  • Proton version: 6.3-5

steam-1134570.log

Symptoms

Black fullscreen then closes.

Reproduction

Install the game and run it. (Just with PROTON_LOG=1 %command%)

I have a similar setup as OP but maybe it can help.

Arsconyl avatar Jul 26 '21 18:07 Arsconyl

I got further using Proton Experimental and passing -force-d3d11 as launch options, this starts to play an introduction video and then crashes.

davidjmemmett avatar Jul 30 '21 17:07 davidjmemmett

Ignoring my last comment - I upgraded vkd3d-proton and got slightly further, latest failure in attached log:

20568.822:010c:01ac:trace:seh:raise (22)
Assertion failed: std::find(succ.begin(), succ.end(), to_next) == succ.end(), file ../src-vkd3d-proton/subprojects/dxil-spirv/node.cpp, line 354

steam-1134570.log

davidjmemmett avatar Jul 31 '21 01:07 davidjmemmett

Just chiming in with the same problem. Hopefully it gets fixed soon, I was getting used to playing F1 2020 on Linux.

System Information

  • GPU: Radeon VII
  • Driver/LLVM version: Mesa 21.1.7 / LLVM 12.0.1
  • Kernel version: 5.13.9
  • Link to full system information report as Gist: https://gist.github.com/der-eismann/074f66080e6f556ea25689bff5f652c3
  • Proton version: proton-6.3-6

steam-1134570.log (Proton 6.3) steam-1134570.log (Proton experimental)

Symptoms

Black fullscreen then closes.

der-eismann avatar Aug 23 '21 10:08 der-eismann

@HansKristian-Work Can you have a look at this? Thanks. :)

nizos avatar Aug 24 '21 14:08 nizos

I have verified the fix from @HansKristian-Work in dxil-spirv fixes the crash. Now the game runs until the main menu, where I reliably experience a full system lock-up and have to REISUB.

davidjmemmett avatar Aug 24 '21 15:08 davidjmemmett

I have verified the fix from @HansKristian-Work in dxil-spirv fixes the crash. Now the game runs until the main menu, where I reliably experience a full system lock-up and have to REISUB.

Do you have any new logs you can share?

nizos avatar Aug 24 '21 15:08 nizos

Yup, please find attached: steam-1134570.log

davidjmemmett avatar Aug 24 '21 15:08 davidjmemmett

Interesting that you note that @davidjmemmett. I can navigate the menu just fine using this fix. The game did crash upon trying the benchmark or a track.

Raboebie avatar Aug 24 '21 17:08 Raboebie

Interesting that you note that @davidjmemmett. I can navigate the menu just fine using this fix. The game did crash upon trying the benchmark or a track.

Interesting, I feel optimistic enough to get the game now. Do you have any logs you can share? How do I apply the mentioned fix? I will post my logs once I have tried it.

nizos avatar Aug 24 '21 17:08 nizos

Yup, here you go![ steam-1134570.log

I can navigate the menu, sounds works, changing graphics settings work. Mapping my controller works. I tried running a benchmark on Silverstone in this example log.

Using proton experimental here.

Raboebie avatar Aug 24 '21 17:08 Raboebie

@nizos you'll have to do it yourself for now - go into vk3d-proton/subprojects/dxil-spirv, pull the latest from master, build, set up F1 2021 to run from your own build (in Properties -> Compatibility -> Force the use of a specific Steam Play compatibility tool). Also, don't forget to set Launch Options to PROTON_LOG=1 %command%.

davidjmemmett avatar Aug 24 '21 17:08 davidjmemmett

I have done a bunch of additional tests. All tests crash with the same result. As soon as a track is loaded it crashes.

  1. Changed proton version and updated to latest vkd3d with the same result.
  2. Used external versions of proton like GE with the same result.
  3. Changed various graphics settings to see if that might be causing the issue.
  4. Changed resolutions, windowed, fullscreen etc.
  5. Adjusted audio settings in-game

The showroom works correctly when choosing a car. It's all rendered correctly and I'm able to connect to online services and view multiplayer lobbies.

Attached is my latest log with vkd3d tracing enabled with Proton experimental. steam-1134570.log

DXGI log if useful: F1_2021_dx12_dxgi.log

Raboebie avatar Aug 26 '21 15:08 Raboebie

Another update.

I updated vkd3d to the latest git and now I have some mixed results.

  1. Game no longer crashes at the loading screen but instead loads forever when using an F1 car and any track
  2. Game loads correctly when using an F2 car in the rain in France.

As soon as I select a dry track it crashes the display driver, so this could be a amdgpu issue or vkd3d.

I actually did quite a few laps with an F2 car in the wet around Paul Ricard without any issues. No stutter on missing textures.

Latest log: steam-1134570.log

warn:select_vk_format: Failed to find Vulkan swapchain format for DXGI_FORMAT_R8G8B8A8_UNORM.

Raboebie avatar Sep 03 '21 10:09 Raboebie

Update 2

The game now works for the most part. I managed to complete the benchmark with acceptable performance and loaded up a few track and car combos and they all worked fine except for one occurrence where the display driver crashed but I haven't been able to reproduce that.

On to the next issue for me then!

My wheel is not detected as it was in F1 2020. Nothing shows up to configure it at all. Perhaps someone else can test as well just in case the problem is on my side? Launching 2020 confirms the wheel still works so the game must be detecting it differently.

I built vkd3d from the latest git master again this morning and this allowed me to run the game. The game seems to work fine with proton 6.3.x and up.

Am I allowed to share the build dll's for others that don't have a build environment?

Raboebie avatar Sep 07 '21 06:09 Raboebie

There's nothing stopping you, however, it is at others' risk if they use any binaries that you distribute.

davidjmemmett avatar Sep 07 '21 09:09 davidjmemmett

There's nothing stopping you, however, it is at others' risk if they use any binaries that you distribute.

Naturally thanks!

@nizos I see you are following the thread like a hawk. Interested in doing some testing? I can share the built libs with you if you can update us on your findings perhaps?

Raboebie avatar Sep 07 '21 10:09 Raboebie

There's nothing stopping you, however, it is at others' risk if they use any binaries that you distribute.

Naturally thanks!

@nizos I see you are following the thread like a hawk. Interested in doing some testing? I can share the built libs with you if you can update us on your findings perhaps?

I'm in! I'll just get the game and start downloading it now. I also have a steering wheel that I can use to test the input issue that you mentioned.

nizos avatar Sep 07 '21 10:09 nizos

I'd be in as well, I just didn't want to build it myself. Got an AMD graphics card w/ G29 steering wheel and Xbox controller.

der-eismann avatar Sep 07 '21 10:09 der-eismann

Perfect, thanks. Any suggestions on what platform we can use to collaborate so we don't flood this thread?

Raboebie avatar Sep 07 '21 10:09 Raboebie

Hi I would also be interested in testing if needed. I have a Nvidia gpu and g920 wheel

WantedFreak avatar Sep 07 '21 10:09 WantedFreak

Cool, I think discord would work nicely. Join here then we can all discuss over there and post our findings here:

https://discord.gg/7eQY5BVj

Raboebie avatar Sep 07 '21 10:09 Raboebie

Perfect, thanks. Any suggestions on what platform we can use to collaborate so we don't flood this thread?

We can move to Discord, but we can also stay here to keep the information accessible to others.

nizos avatar Sep 07 '21 10:09 nizos

I got as far as loading a track, then it crashed. Though this time "ego dumper" caught the fault and allowed the game to exit without me having to force a REISUB. Log attached. steam-1134570.log

davidjmemmett avatar Sep 07 '21 12:09 davidjmemmett

Thanks David. I actually just did a bunch of laps on various laps and really does run very well for me now. Even my wheel works now. I have no idea what I did but after a reboot it just worked.

For me, the game crashes on the first load of a track for whatever reason. If I go again it works just fine. Played about an hour or breaking point now without issues.

The only notable problem is some flashing of shadows here and there.

Raboebie avatar Sep 07 '21 14:09 Raboebie

I got as far as loading a track, then it crashed. Though this time "ego dumper" caught the fault and allowed the game to exit without me having to force a REISUB. Log attached. steam-1134570.log

Just noting, when I used the stock amd drivers I also had ego dumper pop up. Perhaps update to the latest git version if you don't already have that. Not sure if you have green or red power you machine.

Raboebie avatar Sep 07 '21 15:09 Raboebie

Update 3

I can reliably launch the game and play breaking point, no issues on that front.

I also found a way to reliably crash the game. Launch game, select time trial with any car and select Canada as the track. Game loads and flashes the F1 into skip then the screen goes blank and display driver crashes. I've only managed to get this result in time trial so not really sure how loading time trial is different from other game modes.

In any case, see my latest log attached. This was the run that crashes. Notable log entries are

warn:seh:dispatch_exception EXCEPTION_WINE_NAME_THREAD exception (code=406d1388) raised err:ntdll:RtlpWaitForCriticalSection section 0000000425003178 "?" wait timed out in thread 0184, blocked by 0188, retrying (60 sec)

steam-1134570.log

Raboebie avatar Sep 08 '21 06:09 Raboebie