HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.89k stars 198 forks source link

Failed to create Vulkan device - Nvidia (are you surprised?) #1834

Closed dmanlfc closed 9 months ago

dmanlfc commented 9 months ago

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

Xenia or Xenia-Canary fails to launch with a NVIDIA GPU when using D3D12 gpu mode.

Other GPU's from Intel & AMD work fine.

I have tried multiple nvidia driver, wine versions & xenia version as outlined below. Switching to the native vulkan api from d3d12 works. There is likely an environment variable missing, or something needs tweaking.

Batocera Linux v39

System information

Log files

es_launch_stderr.log es_launch_stdout.log

shelterx commented 9 months ago

image Starts fine here...

Same versions as you except that I have an Nvidia RTX 4070.

runar-work commented 9 months ago

I installed Xenia via Lutris, changed the gpu option from any to d3d12, and it launches fine for me too with the same settings and various Wine versions.

dmanlfc commented 9 months ago

Interesting... are you running any roms and not seeing an error message? I suspect something environmental, are you using Wayland or X11? Any particular front end settings?