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

  • imecth@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    3 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.

  • narc0tic_bird@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 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.

    • Caveman@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

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

  • Xideta@ani.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    DirectX is a Windows thing, so you’ll just have those calls translated to Vulkan under the hood (DXVK). You’ll probably get better performance from just setting it to Vulkan directly.

    Edit: As some others say, for BG3 specifically, DXVK does a really good job. My personal experience is that “the best” option is very patch dependent. At launch Vulkan was best, then after a few patches did DXVK ran better, but personally I’m back to straight Vulkan, for no other reason than wanting to be a +1 in the statistics.

    • SeekPie@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      What about OpenGL? What’s that and should I choose it instead of DirectX?

      • Dark Arc@social.packetloss.gg
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        OpenGL is an older graphics API with a lot of issues I won’t get into here.

        You’re almost guaranteed to be better off using DXVK.

      • Xideta@ani.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        OpenGL is a bit like Vulkan, but discontinued since… 2014, with a single update since then. It was actually stopped because Vulkan seemed better, and both API’s were maintained by the same organisation.

        In general it’s more likely to work on older devices, but would be less performant than Vulkan.