Confused on Steam Play and Proton? Be sure to check out our guide.
The Witcher 3 in Wine
Page: «89/178»
  Go to:
malek69 Mar 18, 2018
Vulkaninfo outputs?
Meaby this work
Your /usr/share/vulkan/icd.d/nvidia_icd.json should look something like this:

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.0.49"
    }
}

You likely have one that looks like this given your output:

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGL.so.1",
        "api_version" : "1.0.49"
    }
}
sebish Mar 18, 2018
I verify :

# ll /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0 
lrwxrwxrwx 1 root root 61 mars  18 13:58 /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.0 -> /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu
# ll /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu
lrwxrwxrwx 1 root root 59 mars  18 13:58 /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libGLX_nvidia.so.0
# ll /usr/lib/x86_64-linux-gnu/nvidia/current/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root 23 mars  13 06:30 /usr/lib/x86_64-linux-gnu/nvidia/current/libGLX_nvidia.so.0 -> libGLX_nvidia.so.390.42


and /usr/share/vulkan/icd.d/nvidia_icd.json

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.0.65"
    }
}

I modify to :
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.0.49"
    }
}


Same Problème, the output :

===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ░
ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ┐
ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ­Ö
ERROR: [Loader Message] Code 0 : Failed to open dynamic library "c:\windows\system32\winevulkan.dll" with erro
r 1114
Cannot create Vulkan instance.
C:\VulkanSDKBuild\workspace\LoaderAndValidationLayers\demos\vulkaninfo.c:768: failed with VK_ERROR_INCOMPATIBL
E_DRIVER                                                                                                                
Shmerl Mar 18, 2018
You don't need to modify jsons. Install Nvidia driver which ships Vulkan 1.1.70.x. Also, install latest Vulkan SDK in the prefix. And can you also show how your registry key looks like?
sebish Mar 18, 2018
my reg key :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Khronos\Vulkan\Drivers]
"C:\\Windows\\winevulkan.json"=dword:00000000

and

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Khronos\Vulkan\Drivers]
"C:\\Windows\\winevulkan.json"=dword:00000000
jaen Mar 18, 2018
I've just managed to get it to run with wine-staging 3.4 + dxvk HEAD, although the process is easy to mess up, so maybe it will be useful if I write what I did here.
To wit (I'm repeating official instructions, but maybe it'll be easier to understand when everything is in one place):

1. install wine 3.4; I used wine-staging, but I suppose either will do,
2. create a fresh wine prefix
WINEPREFIX=where/you/want/to/put/it wineboot
3. make sure it's Windows 10 with winecfg
WINEPREFIX=where/you/want/to/put/it winecfg
4. install vulkan SDK. If you have fresh winetricks (they added it this week or something) you can use it: WINEPREFIX=where/you/want/to/put/it winetricks vulkansdk
Otherwise download & install from https://www.lunarg.com/vulkan-sdk/
5. put winevulkan.json in
where/you/want/to/put/it/drive_c/windows
Contents of file are here – https://github.com/roderickc/wine-vulkan/blob/master/README.md
6. add Vulkan-related registry keys, as in the link above.
!IMPORTANT! if you add the keys with a reg file double-check the registry keys using regedit to see if the key names are okay; in my case it stripped the slashes making it not work at first. The key name should be exactly C:\Windows\winevulkan.json (with slashes); making sure this is okay will save you a lot frustration,
7. at this point you should be able to run
WINEPREFIX=where/you/want/to/put/it wine where/you/want/to/put/it/drive_c/VulkanSDK/YOUR_VERSION_HERE/Bin/cube.exe
and have it work; if it's not then either you messed one of the previous steps, or I forgot about something I did.
8. install https://github.com/doitsujin/dxvk (it's somewhat involved, because you have to first get MinGW64 working; lucky you if you have binaries),
9. do
WINEPREFIX=where/you/want/to/put/it bash setup_dxvk.sh
in the appropriate directory as per README (or globally, if your distro puts it into `PATH` like Arch package does)
10. enjoy this:


It works really well with dxvk, I had 5-15 FPS with vanilla on my GTX970; now I have 30-40, which is somewhat less than on Windows (by about 10-20 FPS IIRC, haven't played it in a while), but perfectly playable (if the figures seem low consider it's WQHD at Ultra bar anti-aliasing and hairworks). If you happen to have stuttering, try turning ambient occlusion of, it helped in my case.
sebish Mar 18, 2018
I reinstall debian + Driver Nvidia depot + Winehq-devel 3.4 .
I test hispara script... same probleme
ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ð
002a:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x22ed40 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
002a:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x534a0 0 0x00000300: stub
002a:fixme:setupapi:CM_Locate_DevNodeW 0x22ed3c L"\02d0\0001" 0x00000000: stub
ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ð
002a:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x22e920 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
002a:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x6ce80 0 0x00000300: stub
002a:fixme:setupapi:CM_Locate_DevNodeW 0x22e91c L"\0110\0001" 0x00000000: stub
ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode 
002a:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan.
ERROR: [Loader Message] Code 0 : Failed to open dynamic library "c:\windows\system32\winevulkan.dll" with error 1114
Cannot create Vulkan instance.
C:\VulkanSDKBuild\workspace\LoaderAndValidationLayers\demos\vulkaninfo.c:808: failed with VK_ERROR_INCOMPATIBLE_DRIVER
002a:fixme:console:GetConsoleProcessList (0x22f9e0,2): stub
Shmerl Mar 18, 2018
Quoting: sebish[HKEY_LOCAL_MACHINE\Software\Khronos\Vulkan\Drivers]
"C:\\Windows\\winevulkan.json"=dword:00000000

This looks correct to me. Install latest vulkan SDK. Did you create json inside the prefix?
sebish Mar 19, 2018
No , I download and copy in the wineprefix
#wget https://raw.githubusercontent.com/roderickc/wine-vulkan/master/winevulkan.json
#cp winevulkan.json ~/.local/share/wineprefix/Witcher/drive_c/windows
pop2010 Mar 19, 2018
I have the same issue under ubuntu 17.10, I tried doing it manually and with an install script in another wineprefix, it always gives me that error.

My registry entries are correct, the json file is in the right place too, I have all vulkan libraries installed (linux and windows).

My graphic card is a GTX 770, driver 390.25 IIRC.

Could it be an issue with the lunarG library? I tried 1.1.71 and 1.0.68.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.