You are not logged in.

#1 2024-05-26 05:10:02

Tomsone
Member
Registered: 2024-05-26
Posts: 5

[SOLVED] Lutris giving DXVK and VKD3D error

I'm new in the linux ecosystem so i could be missing something really obvious. I decided to switch 100% on linux couple days ago, for a better and more efficient workspace. And now i want to bring back my games too, so when i start lutris, and i want to configure the settings of wine, i get this error in both "Enable DXVK" and "Enable VKD3D" :

Error Vulkan is not installed or is not supported by your system, XXXX is not available.

When I first saw those errors, i was missing dxvk-bin and vkd3d-proton-bin, all of nvidia packages was already present. So i cloned both of them with the aur, i rebooted my machine after makepkg, and making sure the installation was successfull. Try to rerun lutris and i still got the same error. I try to follow this thread but i don't get the same output from the op (see code below) and i'm not on AMD

 ~ $ pacman -Qs vulkan
local/dxvk-bin 2.3.1-1
    A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine
    (Windows DLL binary files)
local/lib32-nvidia-utils 550.78-1
    NVIDIA drivers utilities (32-bit)
local/nvidia-utils 550.78-1
    NVIDIA drivers utilities
local/qt6-shadertools 6.7.0-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D,
    in addition to OpenGL
local/spirv-tools 2024.1-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vkd3d-proton-bin 2.12-1
    Direct3D 12 to Vulkan translation library (Windows DLL binary files)
local/vulkan-headers 1:1.3.285-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.285-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools
~ $ pacman -Qs nvidia

local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 550.78-1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 550.78-1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 550.78-1
    NVIDIA NV-CONTROL X extension
local/nvidia-dkms 550.78-1
    NVIDIA drivers - module sources
local/nvidia-settings 550.78-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 550.78-1
    NVIDIA drivers utilities
local/opencl-nvidia 550.78-1
    OpenCL implemention for NVIDIA

Dont't know what is the wayland thing, i use xorg as display server

~ $ ls /usr/share/vulkan/icd.d/
nvidia_icd.json

~ $ pacman -Qs dxvk
local/dxvk-bin 2.3.1-1
    A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D
    applications on Linux using Wine (Windows DLL binary files)

~ $ pacman -Qs vkd3d
local/vkd3d-proton-bin 2.12-1
    Direct3D 12 to Vulkan translation library (Windows DLL binary files)
~ $ vulkaninfo --summary

VULKANINFO
==========

Vulkan Instance Version: 1.3.279


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 1
--------------------------
VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.277  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.277
        driverVersion      = 550.78.0.0
        vendorID           = 0x10de
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 4060 Ti
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 550.78
        conformanceVersion = 1.3.7.2
~ $ lspci -k | awk '/VGA|3D|Display/ {print; getline; print; getline; print}'
01:00.0 VGA compatible controller: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti 16GB] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 5174
        Kernel driver in use: nvidia

Everything seems to work fine from a newbie perspective, i also tired this but there is no change after restarting lutris :

 ~ $ export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/nvidia_icd.json
 ~ $ echo $VK_DRIVER_FILES
/usr/share/vulkan/icd.d/nvidia_icd.json

Last edited by Tomsone (2024-05-26 16:06:09)

Offline

#2 2024-05-26 05:45:01

cryptearth
Member
Registered: 2024-02-03
Posts: 2,186

Re: [SOLVED] Lutris giving DXVK and VKD3D error

use AMD or Windows - dealing with an nVid card on Linux is a challenge in itself
as, for some reason, optimus shows up: is this a laptop?

Offline

#3 2024-05-26 06:16:00

Tomsone
Member
Registered: 2024-05-26
Posts: 5

Re: [SOLVED] Lutris giving DXVK and VKD3D error

nop, didn't even know what it was before.

I don't want to deal with windows anymore, and yeah now i will exclusively buy AMD but it's still a recent card, don't want to change right now

Offline

#4 2024-05-26 08:10:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: [SOLVED] Lutris giving DXVK and VKD3D error

Offline

#5 2024-05-26 14:15:25

Tomsone
Member
Registered: 2024-05-26
Posts: 5

Re: [SOLVED] Lutris giving DXVK and VKD3D error

Yep i missed that part thx, i'll retry as soon as possible

Offline

#6 2024-05-26 15:02:50

Tomsone
Member
Registered: 2024-05-26
Posts: 5

Re: [SOLVED] Lutris giving DXVK and VKD3D error

I didn't remember setting up the WINPREFIX with cli but when i first installed lutris, i specified a directory, here it is :

 ~ $ ls -la game/opti_d/
total 3756
drwxr-xr-x 5 thomas root     4096 May 26 16:46 .
drwxr-xr-x 4 thomas root     4096 May 22 20:45 ..
drwxr-xr-x 2 thomas users    4096 May 26 04:21 dosdevices
drwxr-xr-x 7 thomas users    4096 May 26 04:21 drive_c
drwx------ 2 thomas root    16384 May 22 20:38 lost+found
-rw-r--r-- 1 thomas users      86 May 26 04:21 lutris.json
-rw-r--r-- 1 thomas users 3737316 May 26 16:46 system.reg
-rw-r--r-- 1 thomas users      12 May 26 16:46 .update-timestamp
-rw-r--r-- 1 thomas users    4078 May 26 16:46 userdef.reg
-rw-r--r-- 1 thomas users   51237 May 26 16:46 user.reg
-rw-r--r-- 1 thomas users      34 May 26 04:21 winetricks.log
-rw-r--r-- 1 thomas users      39 May 26 04:21 wrapper.cfg

So i run those commands and it successfully updated the directory

~ $ WINEPREFIX=~/game/opti_d/ setup_dxvk install
~ $ WINEPREFIX=~/game/opti_d/ setup_vkd3d_proton install

I rebooted and start lutris again but i still have the same error

Offline

#7 2024-05-26 16:04:30

Tomsone
Member
Registered: 2024-05-26
Posts: 5

Re: [SOLVED] Lutris giving DXVK and VKD3D error

I found the issue, i was just missing the 32-bit version of vulkan-icd-loader

 ~ $ pacman -Qs libvulkan

local/lib32-vulkan-icd-loader 1.3.279-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/vulkan-icd-loader 1.3.285-1
    Vulkan Installable Client Driver (ICD) Loader

Now lutris can enable both of them, thanks for the help guys

Offline

Board footer

Powered by FluxBB