ValveSoftware / ValveSoftware/Proton

Cant launch Direct3D 11 games on Wayland with Proton 5.13 to 6.3

Open
#4,816 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Direct3D 11 games are crashing while starting on Wayland with Proton versions 5.13-6 and 6.3-3.

My test results

Proton Sway (Wayland) Plasma (Wayland) i3 (X11)
Experimental ✔️ ✔️ ✔️
6.3-3 ✔️
5.13-6 ✔️
5.0-10 ✔️ ✔️ ✔️
4.11-13 ✔️ ✔️ ✔️
4.2-9 ✔️ ✔️ ✔️
3.16-9 ✔️ ✔️ ✔️
3.7-8 ✔️ ✔️ ✔️

✔️ Works

❌ Doesn't work

Games tested

  • Beat Saber (Unity, VR, D3D11)
  • SynthVR (Unity, VR, D3D11)
  • Autonauts (Unity, D3D11)
  • NieR: Automata (D3D11)

Workarounds

  • Using X11 (Not a good workaround)
  • Enabling WineD3D (Also not good)
  • WINEDLLOVERRIDES=dxgi=n %command% (Actually works!!, but why?)

Logs / Screenshots

Beat Saber and SynthVR:
DX11 not initialized

NieR: Automata
No VRAM?

Autonauts

Log
Initialize engine version: 2018.4.26f1 (a7ac1c6396db)
GfxDevice: creating device client; threaded=1
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
warn:  OpenXR: Unable to get required Vulkan instance extensions size
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  OpenXR: Unable to get required Vulkan Device extensions size
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
warn:  D3D11CreateDevice: Unsupported driver type
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
d3d11: D3D_FEATURE_LEVEL_11_1 not-recognized (only 11.0 runtime installed?)
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
warn:  D3D11CreateDevice: Unsupported driver type
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
d3d11: failed to create device and context (80070057).
GfxDevice: creating device client; threaded=1
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
warn:  D3D11CreateDevice: Unsupported driver type
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
d3d11: D3D_FEATURE_LEVEL_11_1 not-recognized (only 11.0 runtime installed?)
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
warn:  D3D11CreateDevice: Unsupported driver type
warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: Autonauts.exe
info:  DXVK: v1.7.3-37-g3f91cdbc
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
warn:  OpenVR: Failed to initialize OpenVR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
err:   D3D11CoreCreateDevice: Requested feature level not supported
d3d11: failed to create device and context (80070057).
Failed to initialize graphics.

Make sure you have DirectX 11 installed, have up to date

drivers for your graphics card and have not disabled

3D acceleration in display settings.
Crash!!!

More

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the supplied Autonauts log and the comparison table for Proton 5.13-6, 6.3-3, Experimental, Wayland, and X11. Reproduce a listed Direct3D 11 game with and without the dxgi DLL override, then trace the relevant Proton/DXVK path. Done means the affected games launch under Wayland without requiring the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.