Gaming with CachyOS Guide
Konten ini belum tersedia dalam bahasa Anda.
Welcome to the guide for Gaming in CachyOS. We’ll guide you through the essentials aspects on how to setup everything and have a great experience.
Prerequisites
Before we dive into the fun stuff, it is essential to ensure that your graphics card drivers are installed and working properly. If your graphics card is not functioning optimally, you won’t be able to play games properly.
Essential Packages
To make things easier for you, CachyOS has grouped all the necessary packages for gaming into one meta package that includes all the known stores and extras for gaming in Linux. This makes the installation and setup process for gaming faster and less convoluted for everyone.
Simply run the following command in your terminal:
Steam
For Steam users, playing games on CachyOS is a breeze! Simply open Steam and follow the Proton guide, and you’re ready to enjoy your games.
How to enable Proton support in Steam
Don’t worry, setting up Steam with Proton is very simple! In just a few clicks, you can have it set up and ready to use. Check out the screenshots below for a step-by-step guide.
Steam FAQ & Tips
Which Proton version should i use in Steam?
proton-cachyos
Being the one that we build and maintain is highly recommended unless it has an issue with the game you want to play. Should work in most cases.Proton Experimental
Bleeding edge release fromValve
If the game you want to play is relatively new or it doesn’t work well with the current Proton stable release or perhaps you saw people recommending it in ProtonDB.Proton 9.0.3 or lower
Stable releases fromValve
. If the game you want to play only works in a previous Proton release.Proton-GE
Build made by GloriousEggroll in some cases it comes in handy.
What is proton-cachyos?
Check out this explanation about it.
How to properly combine multiple launch options
- Add the environment variables or commands you want and at the end include a
%command%
- Example:
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 prime-run game-performance %command%
- Example:
Performance tips
Power Profile Switching on Demand
CachyOS provides a wrapper script game-performance
which uses power-profiles-daemon
to temporarily switch the current power profile to performance
.
The performance
profile increases the system power levels and changes the CPU governor to performance.
When this script is used to run a game, the system will be set to use the performance
profile as long as the game is running.
The previously used power profile will be restored once the game is closed. Feral’s GameMode
has similar behavior but it should not be used as CachyOS ships with ananicy-cpp
.
How to add game-performance to Steam, Lutris, Heroic Games Launcher and Bottles
- Open your
Steam Library
- Right click the game’s title and select
Properties
. - On the
General
tab you’ll findLaunch Options
section. - Add the following Launch Option:
- On the left panel open
Settings
. - Go to
Game defaults
then click onAdvanced
. - In the
wrapper
command section. Add the following line without any argument: - Click on the
+
sign to save changes.
- On the top right open the
hamburger menu
- Go to
Preferences/Global options
. - Enable
Advanced Mode
on the top right. - Scroll down to
Command prefix
and add the following line: - Save changes.
- Open an existing Bottle.
- Open the
cogwheel
(Next to Run executable). - Add the following line in the
Launch Options
field:
Proton-CachyOS
Proton-CachyOS is based on the proton-bleeding-edge branch
and applies a number of patches and changes on top of it.
Wine-staging patches
Wine Fullscreen FSR
Reflex support for Wine
Support for umu-launcher
In addition, proton-cachyos is compiled against native system libraries and compiler instructions which can further improve performance.
Wine-CachyOS
This is a solution similar to proton-cachyos, but as standalone version, which can be used by Lutris, Heroic, Bottles and others.
- Based on Valve’s bleeding-edge Wine
- Adds early hotfixes/workarounds for games
- protonfixes
- Support for umu-launcher
QoL Modifications
WINE_WMCLASS:
env variable to set the wm class of all wine windows, allowing the wm to control the window through rules.WINEUSERSANDBOX:
env variable to disable creating symlinks from Wine folders such as Documents/Pictures etc, to the equivalent folders in the user’s directoryDisabled Native Window Decorations
Changes for optimizing Wine's performance similar as we do with proton-cachyos
Bottles
Bottles is an application that allows you to easily manage Windows prefixes on your favorite Linux distributions.
Bottles can also make use of different runners like Lutris and are all manageable within the application. Bottles offers the option of a gaming-oriented prefix. You can also install dependencies, add EXE files, and use their one-click installers for gaming-related apps like EA App or Battle.net.
If you want to know more about it, check out their documentation.
Lutris Introduction & Tips
Lutris serves as a central hub for all your games on CachyOS. With Lutris, you can efficiently manage your game runners, including Wine, Proton, and emulators. You can even customize their parameters!
- You can launch games through Lutris simply by clicking the Play button.
- Or add any game you want using the
+
sign in the top left. - You can also launch a store in the
Sources
at the left and connecting your account, it will install said store and then you’ll be able to run games from within the store, just like you do on Windows. - And more!
Games stores supported in Lutris
Set the proper Wine runner
Many games perform optimally with the wine-cachyos runner, so it’s advisable to configure it before playing a game.
Lutris FAQ
How can i add a parameter when launching a game? For example -dx11
- Right click on the game icon >
Configure
>Game options
>Arguments
> Add any argument you need.
Does game-performance work on Lutris?
- Yes. Look here
How can i use wine-cachyos in Lutris?
- In the
Runner Options
>Wine version
it appears named asSystem 9.0 Staging Default
How can i setup umu-launcher with proton-cachyos in Lutris?
- In the main screen of Lutris, click on the cogwheel at the right of
Wine
- Do the following in the
Runner Options
tab- Wine version = Custom (select executable below)
- Custom Wine executable = /usr/bin/umu-run
- Use System winetricks = Disabled
- Graphics
- Enable DXVK = Disabled
- Enable VKD3D = Disabled
- Enable D3D Extras = Disabled
- Enable DXVK-NVAPI / DLSS = Disabled
- Go to the
System options
tab- Lutris
- Disable Lutris Runtime = Enabled
- Prefer system libraries = Enabled
- Lutris
- Scroll down to
Game execution
and look for theEnvironment variables
table - Add these two variables:
- KEY
PROTONPATH
- VALUE
/usr/share/steam/compatibilitytools.d/proton-cachyos/
- VALUE
- KEY
UMU_NO_RUNTIME
- VALUE
1
- VALUE
- KEY
- Save changes.
- Right Click in the game you want to configure, then click on
Configure
- Do the following in the
Runner Options
tab- Wine version = Custom (select executable below)
- Custom Wine executable = /usr/bin/umu-run
- Use System winetricks = Disabled
- Graphics
- Enable DXVK = Disabled
- Enable VKD3D = Disabled
- Enable D3D Extras = Disabled
- Enable DXVK-NVAPI / DLSS = Disabled
- Go to the
System options
tab- Lutris
- Disable Lutris Runtime = Enabled
- Prefer system libraries = Enabled
- Lutris
- Scroll down to
Game execution
and look for theEnvironment variables
table - Add these two variables:
- KEY
PROTONPATH
- VALUE
/usr/share/steam/compatibilitytools.d/proton-cachyos/
- VALUE
- KEY
UMU_NO_RUNTIME
- VALUE
1
- VALUE
- KEY
- Save changes.
Ray tracing Support
The Arch Wiki has already provides comprehensive instructions on how to enable ray tracing for various hardware platforms.
With this guide, you are now ready to start gaming on CachyOS. Enjoy!