User talk:Thesmuggler

From Valve Developer Community
Jump to: navigation, search

Counter-Strike Global Offensive on Manjaro (Arch Linux)

By default, the linux version of csgo seems to have issues running on Manjaro linux.

In this tutorial we will see how we can get csgo running on this platform.


My System Information:

██████████████████  ████████   user@user 
██████████████████  ████████   ------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: Aspire A515-44 V1.12 
████████            ████████   Kernel: 6.1.1-1-MANJARO 
████████  ████████  ████████   Uptime: 23 hours, 4 mins 
████████  ████████  ████████   Packages: 1106 (pacman) 
████████  ████████  ████████   Shell: zsh 5.9 
████████  ████████  ████████   Resolution: 1920x1080 
████████  ████████  ████████   DE: GNOME 43.2 
████████  ████████  ████████   WM: Mutter 
████████  ████████  ████████   WM Theme: Adwaita 
████████  ████████  ████████   Theme: Adw-dark [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3] 
                               Terminal: gnome-terminal 
                               CPU: AMD Ryzen 7 4700U with Radeon Graphics (8)  
                               GPU: AMD ATI 05:00.0 Renoir 
                               Memory: 3792MiB / 11330MiB


Choosing a windowing system

There are two common windowing systems on Manjaro.

1. Xorg AKA X11 - Preferred

2. Wayland

We won't get into detail on the windowing systems here, all you really need to know is that Wayland is a replacement for X11 but is not yet feature complete.

With Waylands current status I cannot recommend using it for any gaming purposes. It has given me nothing but issues.


Changing to X11

I am using the Gnome Desktop Environment so selecting Xorg is easy!

1. Log-out

2. Select the Cog/Gear icon usually located at the bottom right of the login screen.

3. Select Gnome on Xorg or Gnome Classic on Xorg.

4. Log-in to account

5. Verify you are using Xorg. Press Left Alt + F2 or Left Alt + Fn + F2 and enter "r", if the Desktop Environment restarts you are on Xorg!


Enabling Steam Linux Runtime

CSGO seems to be unable to find some packages on our system so running it through the Steam Linux Runtime will give it everything it needs to run.

1. Right click on your CSGO installation in steam and go to Properties then Compatibility.

2. Enable Force the use of a specific Steam Play compatibility tool.

3. Select Steam Linux Runtime from the drop down menu.

4. Exit Properties and let the Steam Linux Runtime download.


Running CSGO & Launch Options

CSGO should be running fine with the Steam Linux Runtime enabled, but we can do more.

1. Right click on your CSGO installation in steam and go to Properties.

2. In launch options add:

 -novid -nojoy -fullscreen -w WIDTH -h HEIGHT -tickrate 128 -forcenovsync +fps_max FPS +cl_forcepreload 1

NOTE

WIDTH is your resolution width, example values: 1920, 1280, 800.

HEIGHT is your resolution height, example values: 1080, 720, 600.

FPS is your desired maximum Frame Rate (FPS), example values: 60, 120, 144. I found setting to your desired fps + 2 gives a better result.

If I wanted a maximum of 60FPS I would set it to +fps_max 62.


Known Issues

When launching CSGO I am required to repeatedly press Mouse 1 until I reach the main menu. If I don't do this the game stays black-screen and will crash a while later.