Not able to run DXVK on Fedora
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2018
    Location
    Czech republic
    Posts
    10

    Not able to run DXVK on Fedora

    I'm trying to run DXVK on Fedora 27.

    I have installed the lates wine-3.5-1.fc27.x86_64.
    I created a clear 64-bit prefix and then used guide on the https://github.com/roderickc/wine-vulkan to configure the loader and installed DXVK from https://github.com/doitsujin/dxvk

    I installed VulkanSDK and got this when running vulkan cube.exe
    Code:
    {zlopez zlopez-gamestation}~/wine/test/drive_c/VulkanSDK> WINEPREFIX=~/wine/test/ wine 1.1.70.1/Bin/cube.exe
    002b:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7f4fd60a57a0,(nil): stub
    002b:fixme:dwmapi:DwmIsCompositionEnabled 0x6dc825d4
    0030:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ec7e28, context 0x8e6f20, init_notify 0, handle 0x11dfa10): stub
    0046:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7c4e43a0,(nil): stub
    0046:fixme:dwmapi:DwmIsCompositionEnabled 0x6d68ed14
    0048:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0d631e, context 0x958da0, init_notify 0, handle 0x119fc88): stub
    wine: configuration in '/home/zlopez/wine/test' has been updated.
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23ed80 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x56b60 0 0x00000300: stub
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23ed7c L"\00f0\0001" 0x00000000: stub
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e8b0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x56e10 0 0x00000300: stub
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23e8ac L"\0310\0001" 0x00000000: stub
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23ecf0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x56c40 0 0x00000300: stub                                                                                                    
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23ecec L"\c190\0005" 0x00000000: stub                           
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23ed80 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub                                                                                                
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x56e30 0 0x00000300: stub                                                                                                    
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23ed7c L"\00f0\0001" 0x00000000: stub                           
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e8b0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub                                                                                                
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x57160 0 0x00000300: stub                                                                                                    
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23e8ac L"\b1f0\0005" 0x00000000: stub                           
    005d:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23ecf0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub                                                                                                
    005d:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x56f90 0 0x00000300: stub                                                                                                    
    005d:fixme:setupapi:CM_Locate_DevNodeW 0x23ecec L"\d280\0005" 0x00000000: stub                           
    005d:fixme:ver:GetCurrentPackageId (0x23f9c0 (nil)): stub
    And this error on the screen:
    Click image for larger version. 

Name:	Screenshot from 2018-04-15 19-47-45.png 
Views:	37 
Size:	7.3 KB 
ID:	29529

    Here is the output of vulkaninfo
    Code:
    ===========
    VULKAN INFO
    ===========
    
    Vulkan Instance Version: 1.1.70
    
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ¸^A^Q
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode USE^E<81>
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREE<88>^A^Q
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREEY
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREE8^A^Q
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREE^X^A^Q
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREEč
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREE¸
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode USE^D0ž^S
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ¨
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode USE^D0ž^S
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode ¸^A^Q
    ERROR: [Loader Message] Code 0 : loaderGetDeviceRegistryFiles: failed to open DevNode FREE<88>^A^Q
    WARNING: [Loader Message] Code 0 : Skipping manifest file "C:\Windows\winevulkan.json", file name must end in .json
    Cannot create Vulkan instance.
    C:\VulkanSDKBuild\workspace\LoaderAndValidationLayers\demos\vulkaninfo.c:768: failed with VK_ERROR_INCOMPATIBLE_DRIVER
    Could anyone help me with this?

  2. #2
    Join Date
    Jul 2017
    Location
    Australia
    Posts
    6

    Re: Not able to run DXVK on Fedora

    you need to create two registry entries and and a json file as detailed here https://github.com/roderickc/wine-vulkan.
    That should get vulkan working, and allow you to run the tests, but I've still not had any luck trying to get it to pick up dxvk in actual games yet.

  3. #3
    Join Date
    Apr 2018
    Location
    Czech republic
    Posts
    10

    Re: Not able to run DXVK on Fedora

    Thanks for answer, but I already did this.
    I used the guide on the https://github.com/roderickc/wine-vulkan, so my issue is different.

    Native vulkan is working fine.

  4. #4
    Join Date
    Jul 2017
    Location
    Australia
    Posts
    6

    Re: Not able to run DXVK on Fedora

    Quote Originally Posted by Zlopez
    Thanks for answer, but I already did this.
    I used the guide on the https://github.com/roderickc/wine-vulkan, so my issue is different.

    Native vulkan is working fine.
    Maybe, but that warning
    WARNING: [Loader Message] Code 0 : Skipping manifest file "C:\Windows\winevulkan.json", file name must end in .json
    looks a bit odd (I know it's only a warning), and your error is exactly what I was getting prior to creating the json file. Perhaps try recreating it again?

    Finally got it all working, I hadn't bothered to install the 32bit dxvk version in my 64bit wineprefix, and that's what almost all games use.

  5. #5
    Join Date
    Apr 2018
    Location
    Czech republic
    Posts
    10

    Re: Not able to run DXVK on Fedora

    The winevulkan.json is already there:
    Code:
    {zlopez work}~/wine/vulkan> cat drive_c/windows/winevulkan.json 
    {
        "file_format_version": "1.0.0",
        "ICD": {
            "library_path": "c:\\windows\\system32\\winevulkan.dll",
            "api_version": "1.0.51"
        }
    }
    I'm not sure if you still need it in wine 3.5, where the loader should be part of the wine.

  6. #6
    Join Date
    Apr 2018
    Location
    Czech republic
    Posts
    10

    Re: Not able to run DXVK on Fedora

    I was able to fix this by using wine-staging 3.6 from official WineHQ repository.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •