Zum Inhalt springen

Gaming with CachyOS Guide

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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

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.

Run the following command in a terminal
sudo pacman -S cachyos-gaming-meta

Steam

For Steam users, playing games on CachyOS is a breeze!. Open Steam and follow the Proton guide and you’re ready to enjoy your games.

How to enable Proton support in Steam


/_astro/Steam1_Screenshot_20230907_071249.DHTD5FVa.png/_astro/Steam2_Screenshot_20230907_071521.DyGvi5I7.png/_astro/Steam3_Screenshot_20230907_072849.DkC3_rS1.png/_astro/Steam4_Screenshot_20230907_072236.BNYQngG5.png

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 from Valve 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 from Valve. 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%

Fix stuttering caused by the Steam Game Recorder Feature

Add the following launch option to your game
LD_PRELOAD="" %command%

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 a behavior but it should not be used as CachyOS already ships with ananicy-cpp

How to add game-performance to Steam, Lutris, Heroic Games Launcher and Bottles

  1. Open your Steam Library
  2. Right click the game’s title and select Properties.
  3. On the General tab you’ll find Launch Options section.
  4. Add the following Launch Option:
    Terminal window
    game-performance %command%

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: Only DX12 titles
  • 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 directory
  • Disabled 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.

How to install Bottles
# Open a terminal and run the following command:
sudo pacman -S bottles

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 launch games through Lutris simply by clicking the Play button.
  • Add any game you want clicking the + sign in the top left.
  • Set up a store in the Sources at the left panel and connecting your account, it will then proceed to 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

Setting up wine-cachyos Wine runner


/_astro/lutris-guide-1.w3vhvXhH.png/_astro/lutris-guide-2.BI1Icwul.png

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?

How can i use wine-cachyos in Lutris?

  • In the Runner Options > Wine version it appears named as System 9.0 Staging Default

How can i setup umu-launcher with proton-cachyos in Lutris?

  1. In the main screen of Lutris, click on the cogwheel at the right of Wine
  2. Do the following changes in the Runner Options tab
    • Wine version = proton-cachyos
    • Use System winetricks = Disabled
    • Graphics
      • Enable DXVK = Enabled
      • Enable VKD3D = Enabled
      • Enable D3D Extras = Enabled
      • Enable DXVK-NVAPI / DLSS = Enabled
      • User-defined versions of DXVK, VKD3D and DXVK-NVAPI are not applied when using umu-launcher
  3. Go to the System options tab
    • Lutris
      • Disable Lutris Runtime = Enabled
      • Prefer system libraries = Enabled
  4. Scroll down to Game execution and look for the Environment variables table
  5. Add the following environment variables:
    • Key: UMU_NO_RUNTIME
      • Value: 1 if you are using umu-launcher 1.1.4 from CachyOS
      • Value: pressure-vessel if you are using umu-launcher 1.1.3 bundled with Lutris
    • Key: UMU_RUNTIME_UPDATE optional
      • Value: 0 skips Steam Linux Runtime updates for proton-cachyos
    • Key: PROTON_VERB optional
      • Value: waitforexitandrun allows protonfixes to work with a corresponding GAMEID
  6. 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!