protonscr

msfs2020 long black startup in dx12

vkd3dclosed
HansKristian-Work/vkd3d-proton#1847 · opened 2024-01-25 by rariema · updated 2024-11-05 · 4 comments · github
Rrariema 2024-01-25 github

Hello HansKristian, can you help me with this?

Game: MSFS2020
runs fine via dxvk (dx11). Would be nice to have FSR2, though
Steps to reproduce: set renderer in game or via UserOpt.conf to DX12 "PreferD3D12 1"

Symptoms: Starts "forever", screen stays black, lots of ram needed.
If it finishes loading, menü is not visible, if i manage to start a flight, game somehow renders, but very slow (~10% of dxvk, ~5fps)
Screenshot_20240125_135313
Screenshot_20240125_140802

Software information

microsoft flight simulator 2020 (msfs2020)

System information

  • GPU: radeon rx6600
  • Driver: mesa23.3/vulkan-radeon/6.7.1-arch1-1
  • Wine version: proton-GE 8.27
  • VKD3D-Proton version: 2.11

Log files

steam-1250410.log

Ddoitsujin maintainer 2024-01-26 github

Looking into this, the game imports a 16GB (yes, that's right, gigabytes) host allocation into D3D12 via OpenExistingHeapFromAddress, which subsequently causes queue submissions to be extremely slow in the Linux kernel and also explains the insane memory usage.

Unfortunately, this really isn't something we can work around on our end, so the only thing you can really do here is keep using D3D11 for the time being.

Rrariema 2024-01-26 github

Thx!
Its not what i hoped for, but at least it makes somehow sense now, where the insane GTT usage comes from (had to increase this, cause the default 16GB weren't enough).

So i burry my hopes till MSFS2024 comes out - The D3D12 renderer is in beta since ages and does not seem to be worked on much.

Rrariema 2024-02-25 github

Some progress:

Game starts "fine" with Proton 9beta11 (+sim beta 15)
The insane memory consumption is gone.

Loading time still slower the dx11 but okish.
Menu and Hud still missing. Game runs ~1/4th the dxvk framerate now

Screenshot_20240225_142534
Screenshot_20240225_142652
Screenshot_20240225_143017
steam-1250410_s.log

Rrariema 2024-11-03 github

since recently, msfs2020 is running fine with vkd3d!
Screenshot_20241103_201615

Nothing extracted yet.