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.
https://bugs.winehq.org/show_bug.cgi?id=46198
--- Comment #1 from Chris chridye@gmail.com --- Forgot to mention, you don't need to start a game for it to fail. Just starting the emulator will cause the error.
https://bugs.winehq.org/show_bug.cgi?id=46198
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED CC| |joseph.kucia@gmail.com Component|-unknown |directx-d3d
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- This bug is fixed in vkd3d 1.1:
https://source.winehq.org/git/vkd3d.git/commit/9ce53b74df1b6417a9e1dd9bdbf5f...
When you try with vkd3d 1.1, Xenia crashes because vkd3d doesn't support SM 5.1 yet, but it's a different issue.
https://bugs.winehq.org/show_bug.cgi?id=46198
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9ce53b74df1b6417a9e1dd9bdbf | |5f422a9172dee
https://bugs.winehq.org/show_bug.cgi?id=46198
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |vkd3d CC| |z.figura12@gmail.com Product|Wine |vkd3d Version|3.21 |1.0
https://bugs.winehq.org/show_bug.cgi?id=46198
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Xenia fails to find Directx |Xenia fails to find Directx |12 graphics adapter [vkd3d] |12 graphics adapter
https://bugs.winehq.org/show_bug.cgi?id=46198
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.10.