lutris
lutris copied to clipboard
Required Vulkan extension VK_KHR_surface not supported BUT all drivers/loaders/etc installed for 32+64 bits
When I try to start one of the two games I managed to "install" in lutris, I get "Required Vulkan extension VK_KHR_surface not supported".
However, vulkaninfo seems to list the Vulkan extension VK_KHR_surface:
workstation-user@workstation:~$ vulkaninfo | grep VK_KHR_surface
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_lvp.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
This is on a brand new Mint 20.2 system (freshly installed) running NVIDIA 470 driver, and all vulkan/dxvk/whatever drivers and loaders installed (AFAIK). I have spent hours reinstalling stuff, searching on the web, unfortunately, most bug reports or forum threads end up never being replied by the OP's, or the solution is simply to install the vulkan 32 bit drivers or loaders which AFAIK I have already...
This is the logs of one of the faulty games:
Running /home/workstation-user/.local/share/lutris/runners/wine/lutris-fshack-6.14-x86_64/bin/wine /home/workstation-user/z-application-files/Games/Battlefield-2/drive_c/Program Files/EA GAMES/Battlefield 2/mods/fh2/bin/FH2Launcher.exe
Initial process has started with pid 28976
Start monitoring process.
wineserver: using server-side synchronization.
info: Game: FH2Launcher.exe
info: DXVK: v1.9.1-3-geb95a9fb
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
info: OpenXR
info: OpenVR: could not open registry key, status 2
warn: OpenVR: Failed to locate module
info: Required Vulkan extension VK_KHR_surface not supported
terminate called after throwing an instance of 'dxvk::DxvkError'
Monitored process exited.
Initial process has exited (return code: 768)
All monitored processes have exited.
Exit with returncode 768
My understanding is that DXVK is calling a function of vulkan and vulkan is replying that it cannot provide it. However, vkcube and other "demos" are running flawlessly on the host OS.
System Information:
[System]
OS: Linux Mint 20.2 uma
Arch: x86_64
Kernel: 5.4.0-81-generic
Desktop: XFCE
Display Server: x11
[CPU]
Vendor: AuthenticAMD
Model: AMD Phenom(tm) II X4 965 Processor
Physical cores: 4
Logical cores: 4
[Memory]
RAM: 11.7 GB
Swap: 12.0 GB
[Graphics]
Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce GT 1030/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 470.57.02
OpenGL Core: 4.6.0 NVIDIA 470.57.02
OpenGL ES: OpenGL ES 3.2 NVIDIA 470.57.02
**Vulkan: Supported**
Installed packages (list non exhaustive)
libvulkan-dev
libvulkan1:i386
libvulkan1:amd64
mesa-vulkan-drivers:i386
mesa-vulkan-drivers:amd64
vulkan-tools
vulkan-utils
vulkan-validationlayers-dev
vulkan-validationlayers
dxvk-wine32-development
dxvk-wine64-development
dxvk
libnvidia-cfg1-470
libnvidia-common-470
libnvidia-compute-470
libnvidia-decode-470
libnvidia-encode-470
libnvidia-extra-470
libnvidia-fbc1-470
libnvidia-gl-470
libnvidia-ifr1-470
nvidia-compute-utils-470
nvidia-dkms-470
nvidia-driver-470
nvidia-kernel-common-470
nvidia-kernel-source-470
nvidia-prime
nvidia-settings
nvidia-utils-470
xserver-xorg-video-nvidia-470
Please provide DXVK logs, both dxgi and d3d11/d3d9, full ones
Also run this please vulkaninfo | grep '^GPU id'
@nzbtuxnews I had to add libgamemode0:i386 libgamemodeauto0:i386 libgl1-mesa-dri:i386 gstreamer1.0-gtk3:i386 libgtk-3-bin:i386 librsvg2-common:i386 to "fix" that issue in wine games. The alternative is to run them with the system wine.