https://bugs.winehq.org/show_bug.cgi?id=46198
Bug ID: 46198 Summary: Xenia fails to find Directx 12 graphics adapter [vkd3d] Product: Wine Version: 3.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: chridye@gmail.com Distribution: ---
Xenia seems to startup just fine but when it gets around to setting up the directx 12 subsystem, it fails to find a suitable adapter. Xenia goes about finding a suitable adapter via IDXGIFactory2::EnumAdapters1. It only requires feature level 11_0.
the important bits:
I built wine from source on ubuntu 18.10 with support for vkd3d (or at least, the build system said there was). I have nvidia 410 drivers installed. gears-vkd3d ran.
vulkan doesn't crash at startup (wine64 xenia.exe --gpu=vulkan)
Directx 12 is used by default so just simply using wine64 xenia.exe is enough to cause the problem.
This works consistently on Windows but is non-operational on Linux under wine.
The latest Xenia build can be found at https://ci.appveyor.com/api/projects/benvanik/xenia/artifacts/xenia-d3d12.zi...
To summarize: Xenia fails to find a graphics device with a suitable feature level under wine when one should exist.