protonscr

SDL WSI does not check SDL_Vulkan_LoadLibrary

dxvkclosed
doitsujin/dxvk#3275 · opened 2023-03-02 by flibitijibibo · updated 2023-03-03 · 0 comments · github
Fflibitijibibo 2023-03-02 github

Software information

Using a sample application in this case:

dxvktest.zip

Can be run with ./SpriteBatchTest /gldevice:D3D11. Note that this uses vkd3d-utils for HLSL compilation, so don't expect this to fully run, but it should at least get through initialization. The included vkd3d binaries require glibc 2.34, so if your system's version is older feel free to just build the latest upstream revision.

System information

  • GPU: RX 7900 XTX
  • Driver: Mesa Git
  • Wine version: N/A
  • DXVK version: v2.0-123-g2abc102d

Log files

  • d3d11.log:
err:   D3D11CreateDevice: Failed to create a DXGI factory
  • dxgi.log:
info:  Game: SpriteBatchTest
info:  DXVK: v2.0-123-g2abc102d
info:  Built-in extension providers:
info:    SDL2 WSI
info:  Vulkan: Found vkGetInstanceProcAddr in libvulkan.so @ 0x7fa78c152f40
err:   SDL2 WSI: Failed to get instance extension count. Vulkan is not loaded

Regression introduced by #3173; SDL_WINDOW_VULKAN implicitly calls SDL_Vulkan_LoadLibrary.

Launch options