[HowTo] introduction to perfect setup for gaming

Difficulty: ★☆☆☆☆

Introduction
Gaming on Linux? Yes, it’s possible, but new Linux users must read tons of articles if they want to play games on Linux, especially Manjaro. Usualy this a reason why people switch back to Windows. There are quite a bit of things different on Linux compared to Microsoft Windows 10. Well, this article has everything that you need.

First update Manjaro
sudo pacman -Syu
Keep everything updated and fresh! :slightly_smiling_face:

We need a fully working GPU
System settingsHardware ConfigurationAuto Install
Proprietary if you have NVIDIA
Open-source if you have AMD
More information: Configure Graphics Cards - Manjaro

Laptops with NVIDIA (prime drivers): If you don’t want to run apps/games with your Intel GPU, use this command: prime-run package: where package is the game you want to run on the NVIDIA GPU.

Good starting point for gaming, but there is a lot of more!
Lutris - Great and powerful manager, where you can manage all games in a computer.
Lutris will install Wine automatically for you!
pamac install lutris
More information about Lutris: https://lutris.net/

Wine - Great tool to run app from Windows on Linux.
if wine wasn’t install automatically:
pamac install wine
More information about Wine: https://www.winehq.org/

Here is a screenshot, which packages you need to install :blush:

Steam?
Already pre-installed :wink: What’s next with Steam?

  1. Sign in, there is no different between Windows a Linux. :smiley:
  2. SettingsSteam play and click Enable Steam Play for supported titles and Enable Steam Play for all other titles.
  3. Choose latest (highest number) version of Proton.
    Note: Some titles work better with older Proton versions, but usually the latest Proton works best of all.
  4. This point isn’t necessary but i highly recommend - SettingsShader Pre-Caching and enable all.

Important for NVIDIA laptops!
Don’t forget to use the prime-run package

How to use prime-run??

game in library > properties > set launch options > insert prime-run %command%
Screenshot_20201013_150157 Screenshot_20201013_150325 Screenshot_20201013_150350

Now games will run with NVIDIA GPU!
So, that’s all, now you can play everything in Steam! :slightly_smiling_face:

Optional recommendations to read

Where i can check if games run well with Proton?
https://www.protondb.com/
Note: If you find gold or better mark, don’t worry about installing this game.

Tweaks for Steam
Check custom (unofficial) Proton version GitHub - GloriousEggroll/proton-ge-custom: Compatibility tool for Steam Play based on Wine and additional components
I’ve got better performance and some bugs in games fixed!
Installation is easy, don’t worry you don’t need use terminal.

Outside Steam
Can i install games outside Steam? YES!
GOG is supported on a Linux? YES!

Generally, the best way how to install games outside Steam is go to the Lutris website and search the game that you want.
You can find automatic scripts and methods how to install, run and tweak them!
One example: League of Legends - Lutris

Focus power into the games!
Interesting performance tweak for gaming is Feral gamemode
GitHub - FeralInteractive/gamemode: Optimise Linux system performance on demand
pamac install gamemode
pamac install lib32-gamemode

Note: I don’t use gamemode and you probably won’t need to, if you don’t havet performance issues with games. Simply gamemode does nothing useful if you have enough performance.

Personally something to end
I wish you happy gaming! BTW: Who plays Xonotic? My name is Soong. :grinning:
https://xonotic.org/

6 Likes

Why are you using pamac instead of pacman, any particular reason?

I already wrote one tutorial, but someone edit pacman to pamac. I made decision use pamac now, but of course you can use pacman.

~ >>> pamac install lutris                                                                                                                                                                                                                                
Preparing...
Choose optional dependencies for lutris:
1:  wine: Windows support
2:  vkd3d: Vulkan 3D support
3:  lib32-vkd3d: Vulkan 3D support

Enter a selection (default=none):

What do you suggest? See my profile info for my GPU…
(I already have Steam working with Vulkan support i think)

pamac is the easy Manjaro way of Arch’s pacman and also has a GUI:

(org.manjaro.pamac.manager)

For reasonable power usage and possibly forcing adaptive sync top limit:
AUR: libstrangle-git

For documentation and how-to visit the project page:
https://gitlab.com/torkel104/libstrangle

For people using GOG and Lutris this should be helpful:

Summary

Open Lutris, select the “+” icon in the top-left and select “Import Games…” from the drop-down menu.

Screenshot_20190416_084247.png.4540379f0577f4de610a5193c5b3b6c3.png

In the new window that opens click on the GOG.com tab and then on “Connect your account”.

Screenshot_20190416_084451.png.e32bb5de2c7d2848797e74784375f7d6.png

This will open a login screen for your GOG account (and most likely you will need to provide a 2FA code that will be e-mailed to you after logging in).

Screenshot_20190416_084557.png.a7739385e3af83fdaa0e42b6e8284a5b.png

Once you have added your account you can then import either some or all of your games into Lutris for it to handle future downloads and installs. So, select the ones that you want and press “Import Games”. These games will now be listed in Lutris for you to install.

Screenshot_20190416_085113.png.733f8376a94367fdce88f6eb406f862e.png

Screenshot_20190416_085251.png.9c2338ea74e7f704ed9d5d96d184a817.png

Keep in mind that if these are Windows based games, you will still need to install WINE and any other required dependencies in order for them to install and run.