1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wine DXVK - The Future with Vulkan

Discussion in 'News' started by booman, Mar 21, 2018.

Comments

Discussion in 'News' started by booman, Mar 21, 2018.

  1. booman
    Awesome! Great job and great video showing off Wine's capabilities. And DXVK of course!

    What are all of these commands you are running in the Misc Tab? Its blurry and I can't read them...
    upload_2018-8-17_14-26-40.png

    also, adcdam is right... normally all of those d3dcompiler versions are not installed when using the d3dx9 package or d3dcompiler_43 package.
  2. Sputnik_tr_02
    @booman Hi, these are the env variables i used for that instance:
    Code:
    export __GL_THREADED_OPTIMIZATIONS=1
    above command is for Nvdia cards, it improves performance in some games by forcing threaded optimization. I enable it in case it helps.

    Code:
    export WINEESYNC=1
    above command is for enabling esync if you are using esync build of wine. Esync is supposed to reduce cpu usage by wine itself and hence improve performance in cpu heavy games.

    Code:
    export DXVK_HUD=version,devinfo,fps
    above command is for DXVK hud as you know. It can aso show the DXVK version now.

    Code:
    export DXVK_DEBUG_LAYERS=0
    above code i think reduces logging by DXVK. Kind of setting debug flags to -all in wine i think.

    Code:
    export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
    above code is specific to Stalker games. Without this, game gives me an error that is saying my graphics card is not capable of running the game. This code is different for Nvidia and AMD and also apparently it could be different for other distros.

    Note that "export" part is needed in PlayonLinux and it may not be the case for other tools. And also as you can see apart from the last one they are kind of optional and should not prevent the game from running if not used.

    About all the overrides; i might have installed the dxfullsetup instead of separately installing all dx versions. I did not set most of them myself.
  3. adcdam
    Booman can you test Stalker Call of Prypiat or the Anomaly mod?
    i think the problem is not DXVK its something about directx10 and directx11 in this game, perhaps im missing something and one of those 3dcompilers is needed to run the game in directx11. because when using directx10 or 11 all i get is a black screen and the game work if i use directx9.
    booman likes this.
  4. adcdam
    inside the nvidia_icd.json i have this:
    Code:
    {
        "file_format_version" : "1.0.0",
        "ICD": {
            "library_path": "libGLX_nvidia.so.0",
            "api_version" : "1.1.70"
        }
    }
                                                              
  5. booman
    Thanks for explaining all of your export commands.
    Do you think this "fake DX10" might work in the same fashion?
    Code:
    dxgi.fakeDx10Support = True 
    I'm trying to test Lichdom Battlemage and I get a HUD with a black screen just like adcdam... probably because its defaulting to Direct X 10 instead of using Direct X 11
  6. adcdam
    here you can see the log when i launch the Anomaly mod

  7. Sputnik_tr_02
    That is no longer needed and i believe removed from DXVK in the last release, i updated my guide post. DXVK now supports Directx 10 since version 0.70. I recently tested clear sky in the same prefix and it works with dxvk using dx10. I might do a video later.

    Edit: Here is a short video of Clear Sky. I used the same virtual drive for the all S.T.A.L.K.E.R Games.

  8. Sputnik_tr_02
    It is the same for me. By the way which driver version are you on. Mine is 396.51, it is recommended version by DXVK. Try also installing "dxfullsetup" in PlayonLinux.
  9. adcdam
    new log but no luck
    Code:
    08/19/18 10:05:36] - Running wine-esync-3.13-x86_64 Launcher.exe (Working directory : /home/dam1/.PlayOnLinux/wineprefix/anomaly/drive_c/anomaly)
    000b:fixme:winediag:start_process Wine Staging 3.13 is a testing version containing experimental patches.
    000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
    002a:err:module:import_dll Library msdmo.dll (which is needed by L"C:\\windows\\system32\\devenum.dll") not found
    002a:err:module:import_dll Library msdmo.dll (which is needed by L"C:\\windows\\system32\\mp3dmod.dll") not found
    0035:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
    0035:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    0035:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
    002a:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
    0037:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x6ac390, init_notify 0, handle 0xf6f9f0): stub
    002a:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\quartz.dll"
    002a:err:ole:CoGetClassObject no class object {cda42200-bd88-11d0-bd4e-00a0c911ce86} could be created for context 0x1
    0051:err:module:import_dll Library msdmo.dll (which is needed by L"C:\\windows\\system32\\mp3dmod.dll") not found
    0051:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
    0053:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x3f77d8, init_notify 0, handle 0xf3fc88): stub
    0051:err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"quartz.dll"
    0051:err:ole:CoGetClassObject no class object {cda42200-bd88-11d0-bd4e-00a0c911ce86} could be created for context 0x1
    wine: configuration in '/home/dam1/.PlayOnLinux/wineprefix/anomaly' has been updated.
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:module:find_dll_file skipping L"C:\\windows\\system32\\msvcr120.dll" because of wrong architecture
    006e:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
    006e:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd58 4 stub
    006e:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
    006e:fixme:module:load_dll Loader redirect from L"wined3d.dll" to L"wined3d-csmt.dll"
    006e:err:module:load_dll Failed to load redirected DLL L"wined3d-csmt.dll", falling back to L"wined3d.dll"
    info:  Game: xrEngine.exe
    info:  DXVK: v0.70
    warn:  OpenVR: Failed to locate module
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e080 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x5ee80 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23e07c L"\01f8\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23dbb0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x6d6f0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dbac L"\0420\0007" 0x00000000: stub
    ...skipped 2 line(s)...
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dfec L"\0138\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e080 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x5ee80 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23e07c L"\0108\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23dbb0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x5edd0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dbac L"\0138\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23dff0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x5edd0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dfec L"\0138\0001" 0x00000000: stub
    info:  Enabled instance extensions:
    info:    VK_KHR_get_physical_device_properties2
    info:    VK_KHR_surface
    info:    VK_KHR_win32_surface
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e250 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x5ee80 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23e24c L"\0108\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23e250 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x6d8c0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23e24c L"\0338\0001" 0x00000000: stub
    ...skipped 3 line(s)...
    info:  GeForce GTX 1060 3GB:
    info:    Driver: 396.45.0
    info:    Vulkan: 1.1.70
    info:    Memory Heap[0]:
    info:      Size: 3072 MiB
    info:      Flags: 0x1
    info:      Memory Type[7]: Property Flags = 0x1
    info:      Memory Type[8]: Property Flags = 0x1
    info:    Memory Heap[1]:
    info:      Size: 5980 MiB
    info:      Flags: 0x0
    info:      Memory Type[0]: Property Flags = 0x0
    info:      Memory Type[1]: Property Flags = 0x0
    info:      Memory Type[2]: Property Flags = 0x0
    info:      Memory Type[3]: Property Flags = 0x0
    info:      Memory Type[4]: Property Flags = 0x0
    info:      Memory Type[5]: Property Flags = 0x0
    info:      Memory Type[6]: Property Flags = 0x0
    info:      Memory Type[9]: Property Flags = 0x6
    info:      Memory Type[10]: Property Flags = 0xe
    info:  Game: xrEngine.exe
    info:  DXVK: v0.70
    ...skipped 45 line(s)...
    info:      Memory Type[2]: Property Flags = 0x0
    info:      Memory Type[3]: Property Flags = 0x0
    info:      Memory Type[4]: Property Flags = 0x0
    info:      Memory Type[5]: Property Flags = 0x0
    info:      Memory Type[6]: Property Flags = 0x0
    info:      Memory Type[9]: Property Flags = 0x6
    info:      Memory Type[10]: Property Flags = 0xe
    info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
    info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
    info:  Enabled device extensions:
    info:    VK_EXT_shader_viewport_index_layer
    info:    VK_KHR_dedicated_allocation
    info:    VK_KHR_descriptor_update_template
    info:    VK_KHR_get_memory_requirements2
    info:    VK_KHR_image_format_list
    info:    VK_KHR_maintenance1
    info:    VK_KHR_maintenance2
    info:    VK_KHR_sampler_mirror_clamp_to_edge
    info:    VK_KHR_shader_draw_parameters
    info:    VK_KHR_swapchain
    006e:fixme:heap:RtlCompactHeap (0x840000, 0x0) stub
    006e:err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    info:  Game: xrEngine.exe
    info:  DXVK: v0.70
    ...skipped 44 line(s)...
    info:      Memory Type[1]: Property Flags = 0x0
    info:      Memory Type[2]: Property Flags = 0x0
    info:      Memory Type[3]: Property Flags = 0x0
    info:      Memory Type[4]: Property Flags = 0x0
    info:      Memory Type[5]: Property Flags = 0x0
    info:      Memory Type[6]: Property Flags = 0x0
    info:      Memory Type[9]: Property Flags = 0x6
    info:      Memory Type[10]: Property Flags = 0xe
    info:  Game: xrEngine.exe
    info:  DXVK: v0.70
    warn:  OpenVR: Failed to locate module
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23dd50 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x62fea70 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dd4c L"\0108\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23d880 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x62feaf0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23d87c L"\0138\0001" 0x00000000: stub
    006e:fixme:setupapi:CM_Get_Device_ID_List_SizeW 0x23dcc0 L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x00000300: stub
    006e:fixme:setupapi:CM_Get_Device_ID_ListW L"{4d36e968-e325-11ce-bfc1-08002be10318}" 0x62feaf0 0 0x00000300: stub
    006e:fixme:setupapi:CM_Locate_DevNodeW 0x23dcbc L"\0138\0001" 0x00000000: stub
    ...skipped 35 line(s)...
    info:      Memory Type[2]: Property Flags = 0x0
    info:      Memory Type[3]: Property Flags = 0x0
    info:      Memory Type[4]: Property Flags = 0x0
    info:      Memory Type[5]: Property Flags = 0x0
    info:      Memory Type[6]: Property Flags = 0x0
    info:      Memory Type[9]: Property Flags = 0x6
    info:      Memory Type[10]: Property Flags = 0xe
    info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
    info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
    info:  Enabled device extensions:
    info:    VK_EXT_shader_viewport_index_layer
    info:    VK_KHR_dedicated_allocation
    info:    VK_KHR_descriptor_update_template
    info:    VK_KHR_get_memory_requirements2
    info:    VK_KHR_image_format_list
    info:    VK_KHR_maintenance1
    info:    VK_KHR_maintenance2
    info:    VK_KHR_sampler_mirror_clamp_to_edge
    info:    VK_KHR_shader_draw_parameters
    info:    VK_KHR_swapchain
    006e:fixme:module:load_dll Loader redirect from L"wined3d.dll" to L"wined3d-csmt.dll"
    006e:err:module:load_dll Failed to load redirected DLL L"wined3d-csmt.dll", falling back to L"wined3d.dll"
    006e:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
    0081:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
    006e:err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
    
  10. adcdam
    im using driver 396.45
  11. Sputnik_tr_02
    Sorry i am no expert so i don't know what may be the issue from looking at the logs. However a lot of "fixme" errors are not game braking in many cases. Maybe you can try installing 396.51 driver. And also did you install "vcrun2008" as well? But since you said that the game runs in dx9 mode that should not be the issue.
  12. adcdam
    Hi i installed nvidia driver 396.51 same black screen
    perhaps you could upload your wine prefix without anomaly installed in google drive, i can download it and test it, im missing something
    what do you have inside winevulkan.json?
    i have this:
    Code:
    {
      "file_format_version": "1.0.0",
      "ICD": {
      "library_path": "c:\\windows\\system32\\winevulkan.dll",
      "api_version": "1.0.51"
      }
      }
  13. Sputnik_tr_02
    That file should not be necessary anymore. It was a workaround in early DXVK versions.
    Did you follow the steps in this post right?. I don't have that file in my prefix. Where is it located in yours?
  14. adcdam
    i created another prefix, followed your guide step by step, in the new prefix i was getting your video card doesnt meet the requeriments or something like that and to lower the graphics then i installed dxfullsetup that installed those 3dcompilers and now i dont get the video card message but just a black screen like the anomaly mod in this prefix i tryed normal call of the prypiat so i think that im missing something to install a dll or something
  15. booman
    Dang, I wanted to keep testing games with version 0.60
    So if I want to test Direct X 10 games I need to upgrade my Nividia drivers and start using 0.70?
  16. adcdam
    i discovered that im using a old version of mesa could that be the problem?
    im using version 17.2.8 could that be the problem?
  17. Sputnik_tr_02
    Yes, release 0.70 includes three more .dll files for dx10. I've rarely seen a regression in DXVK and even if that happens that is usually fixed quickly, so i don't see a reason to stay on an older release.
  18. Sputnik_tr_02
    I don't know, it should not be an issue for nvidia users since mesa driver is for AMD and Intel.
  19. adcdam
    it worked!!!!! finally!!! i tested both Anomaly mod and vanilla Call op Prypiat, do you know what was missing? i can t believe it, i had to select emulate a virtual desktop in the wine config that was the problem, anomaly was pushing 90 fps using dxvk 0.70 selecting directx11 in the menu, thanks!!!!!!!!!!
  20. Sputnik_tr_02
    Really? It didn't occurred to me that would be an issue. I usually use "emulate a virtual desktop" option because it's easier to alt tab and kill the program if something goes wrong. Thanks for the feedback, i should add this to my post.

Share This Page