roderickc / wine-vulkan

Other
53 stars 7 forks source link

Vulkaninfo - VK_ERROR_INCOMPATIBLE_DRIVER #9

Closed mmcnutt closed 6 years ago

mmcnutt commented 6 years ago

I have compiled from master following the instructions

Installed latest vulkansdk created json file and reg keys

vulkaninfo.exe returns

`Vulkan API Version: 1.0.65

ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode © ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ¿ ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 0 ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 9 ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 1 ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ¿ ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ÿ ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode Ç░ ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode © ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ¿ ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode  ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 0 ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 9 ERROR: [loader] Code 0 : loaderGetRegistryFiles: failed to open DevNode 1 ERROR: [loader] 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:703: failed with VK_ERROR_INCOMPATIBLE_DRIVER`

native vulkan games like Talos principle work, as did doom 2016 before I removed wine staging and compiled this. I am however running mesa 18.0RC2 - if that is an issue?

cube.exe returns unable to create vulkan instance

thanks for your help

roderickc commented 6 years ago

I think I know what is wrong. Have a look at my last comments on older issue: https://github.com/roderickc/wine-vulkan/issues/7. Basically winevulkan will fail to load if winex11 doesn't have vulkan compiled in. This likely happened, because the configure script wasn't recreated.

mmcnutt commented 6 years ago

the configure script is recreated with autoconf, correct?

I have attempted on another machine, same error, so obviously I am missing something

did a dnf build-dep wine to get my build dependencies

my process was as follows

'git clone cd /wine-vulkan autoconf mkdir wine64 mkdir wine32 cd wine64 ../configure --enable-win64 make cd ../wine32 PKG_CONFIG_PATH=/etc/lib ../configure --with-wine64=../win64-build make'

I then sudo make install both builds (so it becomes my system version of wine)

roderickc commented 6 years ago

See the other thread. In particular check if config.h has vulkan set. In addition check if you have the libraries.

On Feb 1, 2018 4:45 PM, "mmcnutt" notifications@github.com wrote:

the configure script is recreated with autoconf, correct?

I have attempted on another machine, same error, so obviously I am missing something

did a dnf build-dep wine to get my build dependencies

my process was as follows

'git clone cd /wine-vulkan autoconf mkdir wine64 mkdir wine32 cd wine64 ../configure --enable-win64 make cd ../wine32 PKG_CONFIG_PATH=/etc/lib ../configure -with-wine64=../win64-build make'

I then sudo make install both builds (so it becomes my system version of wine)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roderickc/wine-vulkan/issues/9#issuecomment-362450163, or mute the thread https://github.com/notifications/unsubscribe-auth/ATd3y7zI6w8hXWG72P4K9cRm4DnLI4SYks5tQlqNgaJpZM4R1mB9 .

mmcnutt commented 6 years ago

this was the issue the libvulkan.so.1 was not defined for the w32 bit build

all working now, thank you