DXVK 2.0 (A Vulkan-based translation layer for DX 9/10/11)

Discussion in 'General Software and Applications' started by SpajdrEX, Aug 13, 2020.

  1. Krteq

    Krteq Maha Guru

    Messages:
    1,133
    Likes Received:
    766
    GPU:
    MSI RTX 3080 WC
    Can you please post a screenshot of that folder/folder structure? Do you have logs (<executable name>_DX11.log and <executable name>_dxgi.log)?
     
  2. Susahamat

    Susahamat Master Guru

    Messages:
    376
    Likes Received:
    208
    GPU:
    RTX 3060ti
    does dxvk has performance penalty when running windowed mode ?
     
  3. Krteq

    Krteq Maha Guru

    Messages:
    1,133
    Likes Received:
    766
    GPU:
    MSI RTX 3080 WC
    I would recommend to use exclusive fullscreen all the time. Anyway, I don't know about any penalty.
     
  4. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,532
    Likes Received:
    1,888
    GPU:
    7800 XT Hellhound
    Windowed: Yes (DWM compositing)
    "Borderless": No (at least if there aren't any windows opened that might negatively affect the game)
     

  5. Chastity

    Chastity Ancient Guru

    Messages:
    3,747
    Likes Received:
    1,673
    GPU:
    Nitro 5700XT/6800M
    not running anything but the game + dx11 + dxgi ... game just doesn't start up
     
  6. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,045
    Likes Received:
    7,382
    GPU:
    GTX 1080ti
    no
     
  7. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,532
    Likes Received:
    1,888
    GPU:
    7800 XT Hellhound
    You probably don't realize that window geometry often gets cut in windowed mode, which saves a few percent and masks DWM costs. It is not anything specific to DXVK though.
     
  8. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,045
    Likes Received:
    7,382
    GPU:
    GTX 1080ti
    Windowed =/= Compositing.

    any vulkan applicaton worth a damn is bypassing the compositor and presenting directly to screen.
     
    Krteq likes this.
  9. Passus

    Passus Ancient Guru

    Messages:
    2,589
    Likes Received:
    1,044
    GPU:
    MSI 4070 Gaming X
    Hello guys

    How can I get this to work for gta IV

    I put the dlls in the folder with the exe but it still runs in dx9 and i cant get past one of the first missions with roman due to the camera zooming all the way in till it freezes and crashes
     
  10. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,045
    Likes Received:
    7,382
    GPU:
    GTX 1080ti
    D3D9.dll only, unliked3d10/11 the dxgi file is not required (and causes this)
     
    Passus likes this.

  11. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,532
    Likes Received:
    1,888
    GPU:
    7800 XT Hellhound
    Ok, that is indeed true, as fps are exactly the same with matching render resolution in windowed vs. fullscreen.
     
  12. Passus

    Passus Ancient Guru

    Messages:
    2,589
    Likes Received:
    1,044
    GPU:
    MSI 4070 Gaming X
    Thanks mate

    Appreciated
     
  13. Krteq

    Krteq Maha Guru

    Messages:
    1,133
    Likes Received:
    766
    GPU:
    MSI RTX 3080 WC
    Tested Dirt Rally (2015, 32-bit, DX11) on RX Vega - nice boost in min. FPS :)

    1440p, 4x MSAA, Ultra preset, integrated benchmark

    DX11
    Min. 56FPS
    , Avg. 73FPS, Max. 110FPS

    DXVK 1.7.3. Async
    Min. 80FPS
    , Avg. 97FPS, Max. 119FPS

    [​IMG]

    [​IMG]
     
    HD64G, AsiJu, GSDragoon and 2 others like this.
  14. MaCk0y

    MaCk0y Maha Guru

    Messages:
    1,283
    Likes Received:
    703
    GPU:
    4090 ICHILL BLACK
    Won't be a problem with Easy Anti-Cheat

    upload_2021-2-10_18-54-28.png
     
  15. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,045
    Likes Received:
    7,382
    GPU:
    GTX 1080ti
    Digitally sign the file ;)
     

  16. Mustang104

    Mustang104 Member Guru

    Messages:
    120
    Likes Received:
    37
    GPU:
    nVidia 3080 RTX
    Just out of curiosity I just tried this with my Oculus Rift S and DCS World and it failed to work properly, I guess that was to be expected?
     
  17. Chastity

    Chastity Ancient Guru

    Messages:
    3,747
    Likes Received:
    1,673
    GPU:
    Nitro 5700XT/6800M
    Game is installed in Origin game install location, F:/Origin Games/Dragon Age Inquisition
    Runs using DX11, and earlier attempts using DXVK has run the game, yet not overly stable. My thinking is I wonder if I have any legacy Vulkan runtimes on my system.

    Code:
    info:  D3D11CoreCreateDevice: Probing 49408
    err:   D3D11CoreCreateDevice: Requested feature level not supported
    info:  D3D11CoreCreateDevice: Probing 49152
    err:   D3D11CoreCreateDevice: Requested feature level not supported
    info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
    info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
    info:  Device properties:
    info:    Device name:     : AMD Radeon RX 5700 XT
    info:    Driver version   : 2.0.168
    info:  Enabled device extensions:
    info:    VK_AMD_memory_overallocation_behavior
    info:    VK_AMD_shader_fragment_mask
    info:    VK_EXT_depth_clip_enable
    info:    VK_EXT_extended_dynamic_state
    info:    VK_EXT_full_screen_exclusive
    info:    VK_EXT_host_query_reset
    info:    VK_EXT_memory_priority
    info:    VK_EXT_robustness2
    info:    VK_EXT_shader_demote_to_helper_invocation
    info:    VK_EXT_shader_stencil_export
    info:    VK_EXT_shader_viewport_index_layer
    info:    VK_EXT_transform_feedback
    info:    VK_EXT_vertex_attribute_divisor
    info:    VK_KHR_create_renderpass2
    info:    VK_KHR_depth_stencil_resolve
    info:    VK_KHR_draw_indirect_count
    info:    VK_KHR_driver_properties
    info:    VK_KHR_image_format_list
    info:    VK_KHR_sampler_mirror_clamp_to_edge
    info:    VK_KHR_swapchain
    info:  Device features:
    info:    robustBufferAccess                     : 1
    info:    fullDrawIndexUint32                    : 1
    info:    imageCubeArray                         : 1
    info:    independentBlend                       : 1
    info:    geometryShader                         : 1
    info:    tessellationShader                     : 1
    info:    sampleRateShading                      : 1
    info:    dualSrcBlend                           : 1
    info:    logicOp                                : 1
    info:    multiDrawIndirect                      : 1
    info:    drawIndirectFirstInstance              : 1
    info:    depthClamp                             : 1
    info:    depthBiasClamp                         : 1
    info:    fillModeNonSolid                       : 1
    info:    depthBounds                            : 1
    info:    multiViewport                          : 1
    info:    samplerAnisotropy                      : 1
    info:    textureCompressionBC                   : 1
    info:    occlusionQueryPrecise                  : 1
    info:    pipelineStatisticsQuery                : 1
    info:    vertexPipelineStoresAndAtomics         : 1
    info:    fragmentStoresAndAtomics               : 1
    info:    shaderImageGatherExtended              : 1
    info:    shaderStorageImageExtendedFormats      : 1
    info:    shaderStorageImageReadWithoutFormat    : 1
    info:    shaderStorageImageWriteWithoutFormat   : 1
    info:    shaderClipDistance                     : 1
    info:    shaderCullDistance                     : 1
    info:    shaderFloat64                          : 1
    info:    shaderInt64                            : 1
    info:    variableMultisampleRate                : 1
    info:  VK_EXT_4444_formats
    info:    formatA4R4G4B4                         : 0
    info:    formatA4B4G4R4                         : 0
    info:  VK_EXT_custom_border_color
    info:    customBorderColors                     : 0
    info:    customBorderColorWithoutFormat         : 0
    info:  VK_EXT_depth_clip_enable
    info:    depthClipEnable                        : 1
    info:  VK_EXT_extended_dynamic_state
    info:    extendedDynamicState                   : 1
    info:  VK_EXT_host_query_reset
    info:    hostQueryReset                         : 1
    info:  VK_EXT_memory_priority
    info:    memoryPriority                         : 1
    info:  VK_EXT_robustness2
    info:    robustBufferAccess2                    : 1
    info:    robustImageAccess2                     : 1
    info:    nullDescriptor                         : 1
    info:  VK_EXT_shader_demote_to_helper_invocation
    info:    shaderDemoteToHelperInvocation         : 1
    info:  VK_EXT_transform_feedback
    info:    transformFeedback                      : 1
    info:    geometryStreams                        : 1
    info:  VK_EXT_vertex_attribute_divisor
    info:    vertexAttributeInstanceRateDivisor     : 1
    info:    vertexAttributeInstanceRateZeroDivisor : 1
    info:  Queue families:
    info:    Graphics : 0
    info:    Transfer : 2
    

    Code:
    info:  Game: DragonAgeInquisition.exe
    info:  DXVK: v1.7.3-async
    info:  Built-in extension providers:
    info:    Win32 WSI
    info:    OpenVR
    warn:  OpenVR: Failed to locate module
    info:  Enabled instance extensions:
    info:    VK_KHR_get_surface_capabilities2
    info:    VK_KHR_surface
    info:    VK_KHR_win32_surface
    info:  AMD Radeon RX 5700 XT:
    info:    Driver: 2.0.168
    info:    Vulkan: 1.2.162
    info:    Memory Heap[0]:
    info:      Size: 7920 MiB
    info:      Flags: 0x3
    info:      Memory Type[0]: Property Flags = 0x1
    info:      Memory Type[4]: Property Flags = 0xc1
    info:    Memory Heap[1]:
    info:      Size: 16085 MiB
    info:      Flags: 0x0
    info:      Memory Type[1]: Property Flags = 0x6
    info:      Memory Type[3]: Property Flags = 0xe
    info:      Memory Type[5]: Property Flags = 0xc6
    info:      Memory Type[7]: Property Flags = 0xce
    info:    Memory Heap[2]:
    info:      Size: 256 MiB
    info:      Flags: 0x3
    info:      Memory Type[2]: Property Flags = 0x7
    info:      Memory Type[6]: Property Flags = 0xc7
    info:  Game: DragonAgeInquisition.exe
    info:  DXVK: v1.7.3-async
    info:  Built-in extension providers:
    info:    Win32 WSI
    info:    OpenVR
    warn:  OpenVR: Failed to locate module
    info:  Enabled instance extensions:
    info:    VK_KHR_get_surface_capabilities2
    info:    VK_KHR_surface
    info:    VK_KHR_win32_surface
    info:  AMD Radeon RX 5700 XT:
    info:    Driver: 2.0.168
    info:    Vulkan: 1.2.162
    info:    Memory Heap[0]:
    info:      Size: 7920 MiB
    info:      Flags: 0x3
    info:      Memory Type[0]: Property Flags = 0x1
    info:      Memory Type[4]: Property Flags = 0xc1
    info:    Memory Heap[1]:
    info:      Size: 16085 MiB
    info:      Flags: 0x0
    info:      Memory Type[1]: Property Flags = 0x6
    info:      Memory Type[3]: Property Flags = 0xe
    info:      Memory Type[5]: Property Flags = 0xc6
    info:      Memory Type[7]: Property Flags = 0xce
    info:    Memory Heap[2]:
    info:      Size: 256 MiB
    info:      Flags: 0x3
    info:      Memory Type[2]: Property Flags = 0x7
    info:      Memory Type[6]: Property Flags = 0xc7
    info:  Game: DragonAgeInquisition.exe
    info:  DXVK: v1.7.3-async
    info:  Built-in extension providers:
    info:    Win32 WSI
    info:    OpenVR
    warn:  OpenVR: Failed to locate module
    info:  Enabled instance extensions:
    info:    VK_KHR_get_surface_capabilities2
    info:    VK_KHR_surface
    info:    VK_KHR_win32_surface
    info:  AMD Radeon RX 5700 XT:
    info:    Driver: 2.0.168
    info:    Vulkan: 1.2.162
    info:    Memory Heap[0]:
    info:      Size: 7920 MiB
    info:      Flags: 0x3
    info:      Memory Type[0]: Property Flags = 0x1
    info:      Memory Type[4]: Property Flags = 0xc1
    info:    Memory Heap[1]:
    info:      Size: 16085 MiB
    info:      Flags: 0x0
    info:      Memory Type[1]: Property Flags = 0x6
    info:      Memory Type[3]: Property Flags = 0xe
    info:      Memory Type[5]: Property Flags = 0xc6
    info:      Memory Type[7]: Property Flags = 0xce
    info:    Memory Heap[2]:
    info:      Size: 256 MiB
    info:      Flags: 0x3
    info:      Memory Type[2]: Property Flags = 0x7
    info:      Memory Type[6]: Property Flags = 0xc7
    warn:  DxgiAdapter::QueryInterface: Unknown interface query
    warn:  f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e
    warn:  CreateDXGIFactory2: Ignoring flags
    info:  Game: DragonAgeInquisition.exe
    info:  DXVK: v1.7.3-async
    info:  Built-in extension providers:
    info:    Win32 WSI
    info:    OpenVR
    warn:  OpenVR: Failed to locate module
    info:  Enabled instance extensions:
    info:    VK_KHR_get_surface_capabilities2
    info:    VK_KHR_surface
    info:    VK_KHR_win32_surface
    info:  AMD Radeon RX 5700 XT:
    info:    Driver: 2.0.168
    info:    Vulkan: 1.2.162
    info:    Memory Heap[0]:
    info:      Size: 7920 MiB
    info:      Flags: 0x3
    info:      Memory Type[0]: Property Flags = 0x1
    info:      Memory Type[4]: Property Flags = 0xc1
    info:    Memory Heap[1]:
    info:      Size: 16085 MiB
    info:      Flags: 0x0
    info:      Memory Type[1]: Property Flags = 0x6
    info:      Memory Type[3]: Property Flags = 0xe
    info:      Memory Type[5]: Property Flags = 0xc6
    info:      Memory Type[7]: Property Flags = 0xce
    info:    Memory Heap[2]:
    info:      Size: 256 MiB
    info:      Flags: 0x3
    info:      Memory Type[2]: Property Flags = 0x7
    info:      Memory Type[6]: Property Flags = 0xc7
    

    UPDATE: Game runs now after updating RTSS to new RC. Even tho I was shutting it down, it seems the hooks were still in place. DXVK now go brrrrrrrrr.
     
    Last edited: Feb 13, 2021
  18. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,532
    Likes Received:
    1,888
    GPU:
    7800 XT Hellhound
    Just found out that Just Cause 3 works also on Windows when turning off RTSS inject. Though Mirror's Edge Catalyst still doesn't. Funny thing is that it works on Windows 7 after it throws a DXGI error. Though performance on Linux probably is better (it's so much better [less stutter] than on Windows 10 with AMD D3D11...).
     
  19. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,045
    Likes Received:
    7,382
    GPU:
    GTX 1080ti
    the new rtss beta just released might help here.
     
  20. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,532
    Likes Received:
    1,888
    GPU:
    7800 XT Hellhound
    Still crashes with RTSS as sole inject.
     

Share This Page