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. JonasBeckman

    JonasBeckman Ancient Guru

    Messages:
    17,564
    Likes Received:
    2,961
    GPU:
    XFX 7900XTX M'310
    Cryio likes this.
  2. GSDragoon

    GSDragoon Master Guru

    Messages:
    399
    Likes Received:
    282
    GPU:
    AMD Radeon RX 6800
    Speaking of which, 1.8.1 is out.
    https://github.com/doitsujin/dxvk/releases/tag/v1.8.1

    Bug fixes and Improvements
    • Fixed a regression that would cause a number of D3D9 games to crash when changing the resolution or during startup.
    • Improved performance in many D3D9 games when using MSAA on RADV.
    • Improved presentation logic for MSAA swap chains, which are common in older D3D9 games.
    • Mafia II: Work around shadows being broken when the game thinks it's running on an AMD GPU.
    • Warhammer Online: Work around the game trying to use unsupported image formats. (#1296)
    Github actions
    Support for automated builds of the current master branch as well as pull requests has been added. Builds can be found here.
     
  3. Krteq

    Krteq Maha Guru

    Messages:
    1,132
    Likes Received:
    766
    GPU:
    MSI RTX 3080 WC
  4. Frusio

    Frusio Member

    Messages:
    22
    Likes Received:
    2
    GPU:
    RX 560

  5. Krteq

    Krteq Maha Guru

    Messages:
    1,132
    Likes Received:
    766
    GPU:
    MSI RTX 3080 WC
    Well, you should thanks to Sporif, not me :) I just linked that
     
  6. Frusio

    Frusio Member

    Messages:
    22
    Likes Received:
    2
    GPU:
    RX 560
    Tought you were the man behind this great tweak, still thanks for link you provide, i know dxvk from this thread. I can't thank enough Sportif for this. Now the test result, it works better with my dx9 game than previous ver. Hope the dev is keeping up the great work!
     
  7. JonasBeckman

    JonasBeckman Ancient Guru

    Messages:
    17,564
    Likes Received:
    2,961
    GPU:
    XFX 7900XTX M'310
    https://github.com/doitsujin/dxvk/commit/1c2edabbcba5acb9c1228af6d635751b6a9c7d66
    https://github.com/doitsujin/dxvk/commit/b25d6ba615a8522f1d056413e837228cbcf682fa

    Looks like NVIDIA 465.xx fixes a bug but the newest commits now also disable this workaround when this version is detected and a config parameter was also added for controlling it. :)

     
    Krteq likes this.
  8. Astyanax

    Astyanax Ancient Guru

    Messages:
    17,040
    Likes Received:
    7,381
    GPU:
    GTX 1080ti
    JonasBeckman and Krteq like this.
  9. Frusio

    Frusio Member

    Messages:
    22
    Likes Received:
    2
    GPU:
    RX 560
    Guys i need your support for the async build. The dxvk works flawless until last night, the display suddenly freeze and i cant to anything but force close the game. Looked at the .log file and it's final line said ;

    err: DxvkSubmissionQueue: Command submission failed: VK_ERROR_OUT_OF_DEVICE_MEMORY

    Google gave me some good article or forum posts but i have no idea what they were talking about. Can you guys help?
     
  10. KissSh0t

    KissSh0t Ancient Guru

    Messages:
    13,949
    Likes Received:
    7,771
    GPU:
    ASUS 3060 OC 12GB
    I got it finally working in Fallout New Vegas and was just wondering how do I make it so it does not show all the details up the left side of the screen?

    *edit*

    I figured it out, I'm so stupid....
     
    Last edited: Apr 13, 2021
    BetA likes this.

  11. AsiJu

    AsiJu Ancient Guru

    Messages:
    8,938
    Likes Received:
    3,466
    GPU:
    KFA2 4070Ti EXG.v2
    Gonna try this too, finally.
    Thank god I had set this thread to followed or might have forgotten about DXVK completely.

    I understand this is works-if-it-works-thing but are there any widely known games or even game engines DXVK just won't work with atm?

    First going too see if I can mitigate some of the fps drops in Days Gone unless UE4 is a definite no-no, suppose it isn't.
     
  12. AsiJu

    AsiJu Ancient Guru

    Messages:
    8,938
    Likes Received:
    3,466
    GPU:
    KFA2 4070Ti EXG.v2
    Okay, downloaded non-async, "vanilla" release ver. 1.8.1, put x64 d3d11.dll and dxgi.dll into folder with game executable (Days Gone).

    RTSS overlay verified it was working, API shown as Vulkan.

    However ran into a strange issue where during loading the game seems to lose all resources, CPU usage drops to 0 % and GPU is basically sleeping so the game is very sluggish.
    Got a whopping 2 frames per second in the main menu.

    Any idea how this could be fixed?

    Tried grabbing a screenshot but even that looks really weird, doesn't match at all what was on screen and as if there are 2 game windows cascaded on top of each other:
    DaysGone_DXVK_problem.jpg

    yet as seen in settings, game was in fullscreen mode.
     
    Last edited: May 22, 2021
  13. KissSh0t

    KissSh0t Ancient Guru

    Messages:
    13,949
    Likes Received:
    7,771
    GPU:
    ASUS 3060 OC 12GB
    Try async version?
     
  14. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,508
    Likes Received:
    1,878
    GPU:
    7800 XT Hellhound
    AsiJu likes this.
  15. AsiJu

    AsiJu Ancient Guru

    Messages:
    8,938
    Likes Received:
    3,466
    GPU:
    KFA2 4070Ti EXG.v2
    Yeah seems to be a known issue, have no idea how to compile the .dlls from the branch myself though, not familiar with this type of thing.
    Guess I'll wait for next release.
     

  16. SpajdrEX

    SpajdrEX Ancient Guru

    Messages:
    3,417
    Likes Received:
    1,673
    GPU:
    Gainward RTX 4070
    Passus, Krteq and AsiJu like this.
  17. AsiJu

    AsiJu Ancient Guru

    Messages:
    8,938
    Likes Received:
    3,466
    GPU:
    KFA2 4070Ti EXG.v2
  18. aufkrawall2

    aufkrawall2 Ancient Guru

    Messages:
    4,508
    Likes Received:
    1,878
    GPU:
    7800 XT Hellhound
    I've compiled latest git-master build with async patch applied:
    https://www.mediafire.com/file/yp35...de76aad35a2-2021-05-23-22-23-56.async.7z/file
    Not an official build, don't report bugs with it.

    Not sure if it's worth it for Days Gone, seems it comes with a ship ton of shaders and it might never stop stuttering, despite of async compile.
    Edit: Also clear driver shader cache if you've used non-async DXVK build for a game before (well, thanks to a bug, current AMD Vulkan drivers will do that automatically for you after a system reboot).
     
    Krteq and AsiJu like this.
  19. itpro

    itpro Maha Guru

    Messages:
    1,364
    Likes Received:
    735
    GPU:
    AMD Testing
    It's funny and sad that most people using this thing are ATI users. AMD should really investigate their problems.
     
  20. AsiJu

    AsiJu Ancient Guru

    Messages:
    8,938
    Likes Received:
    3,466
    GPU:
    KFA2 4070Ti EXG.v2
    @aufkrawall2
    Will give it a spin, thanks.

    Should I also manually grab the latest Vulkan runtimes?
     

Share This Page