Linux gaming [Guide]

:exclamation:

The Wine development release 8.1 is now available.

What’s new in this release:

  • Windows version set to Windows 10 for new prefixes.

I know that in the past there were A LOT of programs which behaved like crap under anything else than Windows 7, so in case of problems - keep that in mind.

honka_memes-128px-41

1 Like

I’d also like to add that you can also force specific DXVK versions that aren’t shipped with Lutris currently.

Lutris ships as of this writing with VERY outdated DXVK (1.10.3) and VKD3D (2.6) versions. You can see the latest version in Lutris by checking which one is set as default:
image
image
Those versions are pretty outdated. By using them, you are losing out on plenty of features and performance. Also some newer games will simply refuse to run if you aren’t using VKD3D 2.8.

A lot of people actually don’t know that they are able to download (or build) latest versions of both DXVK and VKD3D, and use them in Lutris even though they won’t appear in the drop-down menu when selecting them.

If someone wants to use DXVK 2.1 for example, all they have to do it download it (or build it), and place it in the proper directory like this:
image

Then all you have to do is type the name of the DXVK’s directory that you wish to use. You really need to type it in by hand because Lutris won’t recognize your version in the drop-down menu.

In my case I want to use dxvk-2.1, so therefore in Lutris it should look like this:
image

Same procedure applies for VKD3D. The only difference is that VKD3D versions should be placed in its corresponding directory:
image
image

1 Like

I wouldn’t call it VERY outdated though, despite numbers it’s just 2 and 1 version behind :laughing:
Surely there’s a reason why it’s not auto-updated by Lutris yet…

Actually if you want to play latest games optimally or take advantage of new features (like GPL for example), then those version are very outdated (DXVK July 13, 2022, VKD3D March 4, 2022).
This is especially true for DX12 games that refuse to start for majority of people if you use 2.6 for example. Spider-Man remastered comes to mind, and its standalone DLC.

Unfortunately there isn’t a good one because Strider (creator of Lutris) has acknowledged that the updated versions are needed:
image

He doesn’t also need to build vkd3d or dxvk because there are already compiled versions available:
VKD3D
DXVK

I’d argue that having access to latest versions of DXVK and VKd3D is really important if you wish tohave the optimal gaming experience on Linux.

1 Like

Absolutely, well…unless you have one of those older unsupported GPUs which v2.0+ dropped…

Kinda weird, usually Lutris is super-fast in providing latest dxvk, it’s really weird to hear stuff like that from Strider therefore. :thinking:

Oh, that’s why:

2 Likes

Yeah, Tannis was doing that, but ever since the war with Ukraine he has stopped doing pretty much anything because he was trying not to get drafted (he explained it in Discord).

Now he just lost the interest.

2 Likes

Debian “Testing” is being carp right now about Wine. Running “winecfg” and then “wineserver” times out after five minutes or longer, prints absolutely nothing to the terminal before “time out” message and leaves its other junk in memory doing nothing useful. I think it was trying to run a service or something else but it’s holding down serious CPU cycles so I could barely run a web browser. I could recommend “Bullseye” for music production with freeware and old plug-ins but nothing else at this end.

1 Like

Please come to the present.
I haven’t had to configure anything to game on Linux in the last 2 or 3 years, every modification I made was out of pure technical interest in tinkering with stuff. That said, I basically only play things available on Steam (using the steam-native-runtime package) and WoW installed with the help of Lutris.
Especially since Valve announced the Steam Deck, issues with gaming on Linux have gone to Zero, at least on Arch-based distributions (haven’t used anything else in almost a decade now).

I used protonup-qt from the AUR to get the latest DXVK and VKD3D in Lutris (you have to delete the database file in the respective lutris ressource folder to be able to choose it in the GUI) and switched to using the default wine-staging package from the Repo instead of Lutris’s own.

Read what? I don’t play games. I create music on my computer which is my number one reason to use computers at all. Not everybody that is interested in Wine wants to play games. I was only reporting on a minor flaw, except I should have added:

On Debian the “time out” only happens, it seems, when “winecfg” is run for the first time after Wine is updated. On Arch-based in that case it does take a good while but not that long and it finishes and cleans up after itself.

On any distribution after wine updates and you run winecfg on some previously created prefix - what it does is updating prefix with latest wine files, so it’s expected behaviour not a flaw.

But anyways, it’s gaming guide and technicalities for gaming :wink:

do you happen to have gst-editing-services enabled on your system? This causes wine to crap the bed pretty hard last i remember

Yeah, protonup-qt is also what I use.

This is EndeavourOS specific: for some 32-bit Windows programs such as OpenMPT, make sure to install 32-bit Portaudio library with this command:

sudo pacman -S lib32-portaudio

Otherwise that program fails to come up with any useful option in “sound card” tab of the preferences and you might not get any sound. :wink: If you’ve done it correctly you should see the “WASAPI” option first on the pulldown at the top of that dialog.

Might be alike for 64-bit (install 64-bit Portaudio) but I haven’t tested it. Kind of off-topic, not a game but it could interest someone.

for https://www.amd.com/en/product/11581 which one should I choose ?

There are 6 providers available for vulkan-driver:
:: Repository extra

  1. amdvlk 2) nvidia-utils 3) vulkan-intel 4) vulkan-radeon 5) vulkan-swrast 6) vulkan-virtio

always vulkan-radeon for AMD cards
amdvlk has issues and a lot worse performance.
The others aren’t for your hardware

1 Like

Ok, thanks :slight_smile: :blush:

1 Like

Please mark that as the worse option, its only alphabetically first. It has worse perfomance and often compatibility issues with applications and games. On AMD graphic chips, vulkan-radeon is the best available one.
Only when there are issues, one can try if they also exist with AMDVLK, but it should not be used as default.

1 Like

I know, but i haven’t emphasized in every way, besides you have reminded me of this from the list of things i mention that i’ve needed some help with:

Thx for your experience, but as far as i’ve read / heard from many other people - it’s still a controversial topic to decide on which is best. So i’d like much more different input and experiences to get into gaming guide conclusion for it being quality recommendation.

So let’s start here:

2 Likes

I understand that.
For the performance and partially compatibility part:

If you go through the single benchmarks, you’ll see that for example in F1 2021, the game didn’t work with AMDVLK, in Hitman 3 AMDVLK was garbage while RADV was working in all games and had better or comparable performance.

Edit:

ACO is actually enabled by default for quite some time now (since mesa 20.2) so meanwhile it is set in stone.

1 Like

I use

AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT

For gaming you need Steam, Lutris, steamtinkerlaunch, , etc,
You need to add ArcoLinux repo and install all in one line

sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader dosbox steam lib32-libldap lib32-libgpg-error lib32-libxml2 lib32-alsa-plugins lib32-sdl2 lib32-freetype2 lib32-dbus lib32-libgcrypt libgcrypt lib32-sqlite lutris glslang vulkan-headers vulkan-tools vulkan-validation-layers gamemode winetricks python-magic lib32-mesa vulkan-radeon lib32-vulkan-radeon awk bash git make unzip wget xdotool xxd yad mangohud protontricks net-tools jq pev nyrna vkbasalt steamtinkerlaunch linux-zen linux-zen-headers

If you dont use ArcoLinux repo install the missing from aur

Don’t copy/paste just read first.