this post was submitted on 14 Jun 2024
108 points (99.1% liked)

Linux Gaming

15256 readers
81 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] Xideta@ani.social 40 points 4 months ago* (last edited 4 months ago) (7 children)

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 4 points 4 months ago (6 children)

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

[–] Xideta@ani.social 14 points 4 months ago (1 children)

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.

[–] SeekPie@lemm.ee 2 points 4 months ago (1 children)

So if a game has OpenGL and DirextX as options such as TF2), it's generally better to pick DirectX?

[–] entropicdrift@lemmy.sdf.org 2 points 4 months ago

If you have an Nvidia GPU definitely pick DirectX. On AMD it's more of a tossup, depends on the game and the features in question but generally it won't need to translate OpenGL, so it has higher maximum performance potential.

load more comments (4 replies)
load more comments (4 replies)