I use an AMD card, playing on Bazzite. How and when, do i know when its best to use Vulkan or Directx on linux?

  • narc0tic_bird@lemm.ee
    link
    fedilink
    English
    arrow-up
    89
    ·
    edit-2
    5 months ago

    I’ll go against what most comments said and recommend DirectX 11. Yes, DXVK will translate it to Vulkan anyway, but Larian’s own Vulkan implementation is definitely less stable compared to DX11.

    I’ve experienced multiple crashes during simple things like opening the character sheets using the tab key, or crafting alchemy potions. I never had a single crash using DX11. I used Fedora 39/40 and openSUSE Tumbleweed, so the kernels were fairly recent. Radeon 7800 XT GPU.

    I had the same experience under Windows 10 (before I switched to Linux), Vulkan has smoother frametimes but DX11 is more stable.

    YMMV, this is just my experience from almost 400 hours played so far.

    • CarlosCheddar@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      This happened to me when playing Hades a few years ago, choosing DirectX was faster and more stable than Vulkan when using Proton.

    • Senseless@feddit.de
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      5 months ago

      Agreed. Even though I have a nvidia card which might be the cause of some issues due to the drivers. Had some crashes using vulkan but none using dx.

    • Molecular0079@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 months ago

      They borked the Vulkan Renderer somewhere around Patch…3 I think? It used to be so performant, but now it runs only at 40-60fps on my Nvidia 3090 compared to the DX11 renderer which can render at 80-120 T_T

  • sanpo@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    18
    ·
    5 months ago

    You find out by installing MangoHud and checking which works better.

    Shortly after release neither one made any real difference for me.

  • imecth@fedia.io
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    5 months ago

    Dxvk is usually better, but using vulkan is the better strategic move, you’ll increase their vulkan stats and provide QA. Good native vulkan support will beat dxvk every time.

    • Caveman@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      Warhammer TW 3 “Native” mode sucks ass. Running Direct X on Proton is much better.

      • TipRing@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Except since 5.1 I get soft locks on loading screens running via Proton Experimental. I wish their native support wasn’t so awful and dated.

  • c10l@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 months ago

    Up until a few months ago, Vulkan was very unstable on BG3. It’s been fine for a while though. I haven’t made performance or smoothness comparisons though, I just default to Vulkan and it’s been fine.

  • Pope-King Joe@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 months ago

    Vulkan, always, just to echo the other comments. This game runs pretty well too, at least in my experience. MP even works!

  • Commiunism@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 months ago

    Directx 11 in this case, played bg3 on Linux and that was the only option that worked, and it did work quite well.

    As for when to use one or the other, just check protondb. People usually leave what they played on, they even leave some useful launch commands or solutions to issues that could possibly arise, so it’s always worth a look.

  • Baggie@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    I’m still running windows for now, but even then Vulkan has de-fucked a few games for me. Given the option, always Vulkan.

  • dodos@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    Vulkan in proton was busted at launch (couldn’t start the game), but I’ve heard it’s better now. If you have issues then you can always switch.

  • DarkThoughts@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Depends on the games and their implementation of Vulkan but generally Vulkan is preferable and typically runs much faster.