vkd3d-proton
vkd3d-proton copied to clipboard
Marvels's Guardians of the Galaxy and Deathloop (No suitable d3d12 adapter found)
System: OneXPlayer 1195g7 Iris Xe Mesa 21.3.4
Marvels runs fine on Iris Xe graphics on windows using -sharedvram as a launch argument, but it appears that on Linux this is not working to satisfy the 4GB minimum vram requirement the game requires.
This is the game running on Windows. https://www.youtube.com/watch?v=zH0IMM4DWSc
Here is the log: steam-1088850.log
I manually tried 4096mb as a VRAM option in the dxvk.conf which didn't do anything (not sure if vkd3d-proton even uses this, it shows up in the log though).
Looking closer at the log it looks like it might be related to warn:d3d12_device_create: Feature level 0xc000 is not supported.
Ahhh,, I'm noticing a trend in the Directx12 games that don't run. They are complaining about d3d12_device_create: Feature level 0xc000 is not supported. Here is a log for Deathloop, the game works on Windows and won't run on Linux. steam-1252330.log
I updated to the latest Mesa Git which added https://gitlab.freedesktop.org/mesa/mesa/-/commit/63e91148b7fe777b6ad7bfdb6b02d167c151dd55 and the bindless_state_get_bindless flag returns "Device supports VK_VALVE_mutable_descriptor_type" now, but the games previously mentioned still crash the same.
Running Hot Wheels Unleashed in D3D12 mode results in freezing after the main menu and it looks like it's using device_caps_override "Overriding feature level: 0xc000" This game is fully playable using the -dx11 flag with no issues whatsoever. steam-1271700.log
It's because Intel doesn't support sparse residency on linux, which is required for D3D12 feature level 12_0. See https://gitlab.freedesktop.org/mesa/mesa/-/issues/5003
It's because Intel doesn't support sparse residency on linux, which is required for D3D12 feature level 12_0. See https://gitlab.freedesktop.org/mesa/mesa/-/issues/5003
Thanks. For games that may work using feature overrides what is the command I could use to launch the games with for testing?
Set the environment variable VKD3D_FEATURE_LEVEL=12_0
Set the environment variable
VKD3D_FEATURE_LEVEL=12_0
Thanks a lot! Deathloop launches with this and Marvel's Guardians of the Galaxy no longer complains about the adapter not being compatible. We will still need the sparse texture support for it to not crash after launch it seems.
Time to test as many D3D12 games as humanly possible. :)
is there a fix for windows 10?
Yes, not using vkd3d-proton and using native d3d12 instead.
any chance you can dumb that down for me and maybe list the steps or a link to a tutorial? ive looked and cant seem to find a specific article or video on this issues resolution.
Step 1: Remove the vkd3d-proton d3d12 and dxvk dxgi.dll from the games folder. Step 2: Launch the game and play it.
I tried VKD3D_FEATURE_LEVEL=12_0 but it did not get rid of my problem.
I am seeing this line in the log:
0128:err:vkd3d_init_device_caps: KHR_dynamic_rendering is not supported by this implementation. This is required for correct operation.
@aaomidi Your driver is too old.
Looks like updating to mesa22 fixed the problem. Thanks!