protonscr

d3d11: failed to create factory

protonclosed appid 80004005
ValveSoftware/Proton#8774 · opened 2025-06-05 by FlyingFrogger317 · updated 2025-06-10 · 5 comments · github · game page · search this game
FFlyingFrogger317 2025-06-05 github

Compatibility Report

  • Name of the game with compatibility issues: The Planet Crafter, Storyteller, Interplanetary Enhanced Edition, theoretically any game that uses d3d11
  • Steam AppID of the game: 1284190, 1624540, 650220

System Information

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

As of 6/4/25, all these games ran with Proton Experimental. At around 1:30 AM PST, these games failed. In logs you can see the error "d3d11: failed to create factory (80004005).". Proton logs with "PROTON_LOG=1 %command%" do not generate, it crashes too early. Tested on another computer with the same specs, same error.

Reproduction

  1. Install The Planet Crafter
  2. Select Proton Experimental
  3. Run game, crashes
  4. Check "~/.local/share/Steam/steamapps/compatdata/1284190/pfx/drive_c/users/steamuser/AppData/Local/Temp/MijuGames/Planet\ Crafter/Crashes", there should be a folder, containing Player.log OR
  5. Check "~/.local/share/Steam/steamapps/compatdata/1284190/pfx/drive_c/users/steamuser/AppData/LocalLow/MijuGames/Planet\ Crafter/" should contain Player.log
  6. Open Player.log and notice "d3d11: failed to create factory (80004005)."
  7. Put "PROTON_USE_WINED3D=1 %command%" as a launch option
  8. Game should run
  9. Clear launch options
  10. Switch to Proton Hotfix, or Proton 9
  11. Game should run

Player.log

EEsras 2025-06-08 github

This also occurs with Captain of Industry (another Unity game, ID 1594320), and a diff of the stack trace only meaningfully differs in the addresses (as expected). Size of the libraries and the versions are identical between the one I have and the one posted. (Though I do not have the d3d11: failed to create factory (80004005) line.)

Changing to Proton 9.0 or Proton Hotfix (as of Jun 8, 2025 21:47 UTC), makes Captain of Industry run.

...

Potentially unrelated, Talos Principle 2 (ID 835960) also crashes on launch with a DirectX error:

LogRHI: Checking if RHI D3D12 with Feature Level SM6 is supported by your system.
LogD3D12RHI: D3D12CreateDevice failed with code 0x80004005
LogD3D12RHI: DirectX Agility SDK runtime found.
LogD3D12RHI: Error: Failed to choose a D3D12 Adapter.
LogD3D12RHI: Adapter was not found
LogRHI: RHI D3D12 is not supported on your system; Windows 10 (21H1) [10.0.19045.5796]

Hopping back to Proton 9.0 doesn't make it run, however.


GPU: Nvidia RTX 4090
Video driver version: 570.144
Kernel version: 6.14.4-200.fc41.x86_64

Kkisak-valve maintainer 2025-06-08 github

Hello @FlyingFrogger317, can you test how the various games behaves with a current point release of mesa from a PPA like oibaf or kisak-mesa? I suspect you're seeing a mesa/ANV 25.0.0 requirement which shows as info: Skipping: Device does not support 256 of push data like https://github.com/ValveSoftware/Proton/issues/3994#issuecomment-2951317169.

FFlyingFrogger317 2025-06-09 github

@kisak-valve Tested all the games using kisak-mesa and they work like normal on Proton Experimental. It is certainly interesting to have to use an unoffical release to get the version that works. Error does return after uninstalling the ppa's packages.

Kkisak-valve maintainer 2025-06-09 github

Thanks for checking, that makes this part of DXVK 2.7's driver feature requirements, which we can see at https://github.com/doitsujin/dxvk/wiki/Driver-support.

Closing per the last comment.

Hello @Esras, your issue is unrelated to what was reported here. Please add a note to the relevant games compatibility reports with Proton logs where it makes sense.

FFlyingFrogger317 2025-06-10 github

Thanks for checking, that makes this part of DXVK 2.7's driver feature requirements, which we can see at https://github.com/doitsujin/dxvk/wiki/Driver-support.

Closing per the last comment.

Hello @Esras, your issue is unrelated to what was reported here. Please add a note to the relevant games compatibility reports with Proton logs where it makes sense.

Thanks for your help!!!

Proton versions

Launch options

Launch lines

Upstream links

Error codes