website icon indicating copy to clipboard operation
website copied to clipboard

ultimate-linux-gaming-guide/

Open utterances-bot opened this issue 3 years ago • 16 comments

The Ultimate Linux Gaming Guide

Having Fun with Technology

https://christitus.com/ultimate-linux-gaming-guide/

utterances-bot avatar Jul 29 '22 20:07 utterances-bot

Hello Titus, is there any particular Arch distribution that you will recommend, or you think that going with Arch will be good? I tried both Garuda and Manjaro. Thought Garuda is kinda heavy, and Manjaro is being braking for me lately, not sure why.

jetomev avatar Jul 29 '22 20:07 jetomev

Hi Chris, can you please update this for Fedora 36? Because I installed Fedora KDE (I'm using it with wayland) yesterday it is just experimental that if I like linux, so far I like it but I don't know how to install nvidia drivers and optimus on Fedora with wayland. Or I should just use Nobara as my main and gaming disto?

MarekChyra avatar Aug 04 '22 09:08 MarekChyra

Thank you Chris.

I've been using Manjaro as my main driver. Not stressing it to much as I play mainly FFXIV on Steam and it works well. Laptop, I'm using Garuda, a "bloated" for my taste but is a fun distro. Desktop with Manjaro that have found rather simple to use than just plain Arch of course.

I was using Pop!_OS before but it broke on me a couple times, and I guess also I'm just to used to arch. I'm not a freak updater, I update maybe once or every two weeks and use only LTS kernel. Just to used to pacman and aur to figure out other package manager under other distros... Very lazy from my part.

I'm actually new to Linux, and I started the "hard way" with Arch (not that hard though)

Thank you again, your postings and videos have been very useful for me to transition from windows to linux.

Best,

JT

On Wed, Aug 3, 2022, 11:44 AM Chris Titus @.***> wrote:

I really do not like arch linux anymore. I've just had too many unpredictable things happen with those installs to where I don't recommend anything based on it.

Chris Titus Tech Content Creator

@.*** @.**> christitus.com https://www.christitus.com/

On Fri, Jul 29, 2022 at 3:08 PM jetomev @.***> wrote:

Hello Titus, is there any particular Arch distribution that you will recommend, or you think that going with Arch will be good? I tried both Garuda and Manjaro. Thought Garuda is kinda heavy, and Manjaro is being braking for me lately, not sure why.

— Reply to this email directly, view it on GitHub < https://github.com/ChrisTitusTech/website/issues/21#issuecomment-1199908597 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB4HYJP4TT3Y5KWOAJIKWPDVWQ233ANCNFSM55B2GV2A

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/21#issuecomment-1204129958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV2HHEXXFWK5ULE35TQQL53VXKHWJANCNFSM55B2GV2A . You are receiving this because you commented.Message ID: @.***>

jetomev avatar Oct 11 '22 09:10 jetomev

im playing ff xiv and this guide helped me alot, ty for your good job

vinilimaa avatar Oct 19 '22 03:10 vinilimaa

Hey, when trying to install the nvidia drivers I got this error:

kernel package linux-headers-6.0.12-x64v1-xanmod1 is not supported

what can I do?

kurokirasama avatar Dec 12 '22 13:12 kurokirasama

Custom proton can't be compilled, ends with error.:

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now

spajdrEX avatar Jun 02 '23 16:06 spajdrEX

Trying to complete the steps of the guide on Ubuntu 22.04.2 and the command:

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386 -y

returns:

E: Unable to locate package libldap-2.4-2:i386 E: Couldn't find any package by glob 'libldap-2.4-2' E: Couldn't find any package by regex 'libldap-2.4-2'

Obviosuly the guide is outdated. I managed to find the link for windehq for jammy (https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/main/) but any further commnads will not run

So I ended up with steam refusing to start any game with either proton experimental, current proton verison (8.4) or any GE proton (tested 4 versions, current one and back). Any help is appreciated.

Also Chris I think it would be nice if the guide is updated for 2023, at least for the commands that fail to run. Us noobs would appreciate it plus learn something new.

8836290 avatar Jun 19 '23 11:06 8836290

Correction and apologies

Regarding my precious message the fact that stema will not run games with Proton ( "So I ended up with steam refusing to start any game with either proton experimental, current proton version (8.4) or any GE proton (tested 4 versions, current one and back).) has nothing to do with incorrect installation of the above mentioned files in my system. Also has nothing to do with wine installation. Steam uses Proton and its forks. The issue not running steam games on my system was different and I managed to fix it myself.

I could not correct the above message and strike out the sentence.

My humble apologies

8836290 avatar Jun 19 '23 16:06 8836290

Hey Chris, you still planning on updating this soon? You started to work on it during a live stream recently and got bogged down with XFS shenanigans.

TheNosePlays avatar Aug 27 '23 21:08 TheNosePlays

hi i am working on an update to this guide i can not test the steps for AMD GPU i do not have any AMD GPU or any of the Arch steps i do not use arch

WolfMad avatar Sep 15 '23 00:09 WolfMad

Hi, it seems the proton script isn't working properly. You need to download the custom proton from here: https://github.com/GloriousEggroll/proton-ge-custom/releases The latest version now is GE-Proton8-15.tar.gz Download the GE-Proton8-15.sha512sum file too save them together somewhere on your user directory, and open a terminal on that folder test if the file downloaded correctly with: sha512sum -c ./*.sha512sum If it says it is ok, then on the terminal create a folder on your steam directory: mkdir -p ~/.steam/root/compatibilitytools.d then while in the same directory where you saved the downloaded file do: tar -xf GE-ProtonVERSION.tar.gz -C ~/.steam/root/compatibilitytools.d/
(replace VERSION by the version of the downloaded file, in my case 8-15) Then restart steam and select the custom version of proton.

Source: Official instructions here https://github.com/GloriousEggroll/proton-ge-custom#manual

AceMasterX27 avatar Sep 20 '23 09:09 AceMasterX27

Or just use ProtonUpQt utility to install it automatically and flawlessly

8836290 avatar Sep 21 '23 00:09 8836290

AMD Mesa Driver Install To Do Later

Nvidia Proprietary Driver Install

sudo add-apt-repository ppa:graphics-drivers/ppa -y
sudo apt update
sudo apt install nvidia-driver-535 libnvidia-gl-535 libvulkan1 libvulkan1:i386 libnvidia-gl-535:i386 -y

libnvidia-gl-535:i386 there was a problem with libnvidia-gl-535:i386 but it looks like it is fixed

Arch Based Distributions To Do Later

Xanmod (Debian-based Only)

echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add -
sudo apt update && sudo apt install linux-xanmod-x64v*

x86-64-v1 (LEGACY) x86-64-v2 x86-64-v3 x86-64-v4

you will need to know what cpu your computer has and check the compatabilaty list https://xanmod.org/#main_features

x86-64 (LEGACY) circa 2003  x86-64-v2 circa 2009  x86-64-v3 circa 2015  x86-64-v4 (AVX-512) circa 2017
AMD K8-family AMD Family 14h (Bobcat) AMD Family 15h (Excavator) AMD Family 19h (Zen4)
AMD K10-family AMD Family 16h (Jaguar) AMD Family 17h (Zen) Intel 6th Gen Core (Skylake X)
AMD Family 10h (Barcelona) AMD Family 15h (Bulldozer) AMD Family 17h (Zen+) Intel 8th Gen Core i3 (Cannon Lake)
Intel Pentium 4 / Xeon (Nocona) AMD Family 15h (Piledriver) AMD Family 17h (Zen2) Intel Xeon / 10th Gen Core (Ice Lake)
Intel Core 2 (all variants) AMD Family 15h (Steamroller) AMD Family 19h (Zen3) Intel Xeon (Cascade Lake)
All x86-64 CPUs Intel 1st Gen Core (Nehalem) Intel 4th Gen Core (Haswell) Intel Xeon (Cooper Lake)
Intel 1.5 Gen Core (Westmere) Intel 5th Gen Core (Broadwell) Intel 3rd Gen 10nm++ (Tiger Lake)
Intel 2nd Gen Core (Sandybridge) Intel 6th Gen Core (Skylake) Intel 4th Gen 10nm++ (Sapphire Rapids)
Intel 3rd Gen Core (Ivybridge) Intel 7th Gen Core (Kaby Lake) Intel 5th Gen 10nm++ (Emerald Rapids)
Intel low-power Silvermont Intel 8/9th Gen Core (Coffee Lake) Intel 11th Gen (Rocket Lake)
Intel Goldmont (Apollo Lake) Intel 10th Gen Core (Comet Lake)
Intel Goldmont (Denverton) Intel 12th Gen (Alder Lake)
Intel Goldmont Plus (Gemini Lake) Intel 13th Gen (Raptor Lake)
Intel 14th Gen (Meteor Lake)

Liquorix (Debian-based Only) To Do Later

Zen (Arch-based Only) To Do Later

Mainline (Debian Bleeding Edge) To Do Later

ACO - Faster Compiling (AMD Only) To Do Later

Wine Dependancies and Lutris

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' -y
sudo add-apt-repository ppa:lutris-team/lutris -y
sudo apt update
sudo apt-get install --install-recommends winehq-staging -y
sudo apt-get install libgnutls30:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386 -y
sudo apt-get install lutris -y

it looks like you do not need libldap libldap-2.4-2:i386' has no installation candidate

Arch-Based Distros To Do Later

ESync - Helps Game Overhead To Do Later ??

GameMode - No CPU Throttling GitHub Source Project: https://github.com/FeralInteractive/gamemode Install Dependencies

Ubuntu/Debian

apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential

Arch Dependencies To Do Later

Build and Install GameMode

git clone https://github.com/FeralInteractive/gamemode.git
cd gamemode
git checkout 1.7 # omit to build the master branch
./bootstrap.sh

Uninstall GameMode

systemctl --user stop gamemoded.service
ninja uninstall -C builddir

Custom Proton To Do Later

There are multiple ways to Use GameMode

Lutris - Under settings you can enable GameMode for all games you launch Steam - Go to Launch options for the game of choice and type in gamemoderun %command% Terminal - type gamemoderun ./game Heroic Games Under settings -> Game Defaults you can enable GameMode for all games or you can enable it for specific games you launch

Gnome Tool - If you use GNOME Desktop Environment install this extension: https://extensions.gnome.org/extension/1852/gamemode/

WolfMad avatar Sep 25 '23 17:09 WolfMad

AMD Mesa Driver Install To Do Later

Nvidia Proprietary Driver Install

sudo add-apt-repository ppa:graphics-drivers/ppa -y
sudo apt update
sudo apt install nvidia-driver-535 libnvidia-gl-535 libvulkan1 libvulkan1:i386 libnvidia-gl-535:i386 -y

libnvidia-gl-535:i386 there was a problem with libnvidia-gl-535:i386 but it looks like it is fixed

Arch Based Distributions To Do Later

Xanmod (Debian-based Only)

echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list && wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add -
sudo apt update && sudo apt install linux-xanmod-x64v*

x86-64-v1 (LEGACY) x86-64-v2 x86-64-v3 x86-64-v4

you will need to know what cpu your computer has and check the compatabilaty list https://xanmod.org/#main_features

x86-64 (LEGACY) circa 2003  x86-64-v2 circa 2009  x86-64-v3 circa 2015  x86-64-v4 (AVX-512) circa 2017 AMD K8-family AMD Family 14h (Bobcat) AMD Family 15h (Excavator) AMD Family 19h (Zen4) AMD K10-family AMD Family 16h (Jaguar) AMD Family 17h (Zen) Intel 6th Gen Core (Skylake X) AMD Family 10h (Barcelona) AMD Family 15h (Bulldozer) AMD Family 17h (Zen+) Intel 8th Gen Core i3 (Cannon Lake) Intel Pentium 4 / Xeon (Nocona) AMD Family 15h (Piledriver) AMD Family 17h (Zen2) Intel Xeon / 10th Gen Core (Ice Lake) Intel Core 2 (all variants) AMD Family 15h (Steamroller) AMD Family 19h (Zen3) Intel Xeon (Cascade Lake) All x86-64 CPUs Intel 1st Gen Core (Nehalem) Intel 4th Gen Core (Haswell) Intel Xeon (Cooper Lake) Intel 1.5 Gen Core (Westmere) Intel 5th Gen Core (Broadwell) Intel 3rd Gen 10nm++ (Tiger Lake) Intel 2nd Gen Core (Sandybridge) Intel 6th Gen Core (Skylake) Intel 4th Gen 10nm++ (Sapphire Rapids) Intel 3rd Gen Core (Ivybridge) Intel 7th Gen Core (Kaby Lake) Intel 5th Gen 10nm++ (Emerald Rapids) Intel low-power Silvermont Intel 8/9th Gen Core (Coffee Lake) Intel 11th Gen (Rocket Lake) Intel Goldmont (Apollo Lake) Intel 10th Gen Core (Comet Lake) Intel Goldmont (Denverton) Intel 12th Gen (Alder Lake) Intel Goldmont Plus (Gemini Lake) Intel 13th Gen (Raptor Lake) Intel 14th Gen (Meteor Lake) Liquorix (Debian-based Only) To Do Later

Zen (Arch-based Only) To Do Later

Mainline (Debian Bleeding Edge) To Do Later

ACO - Faster Compiling (AMD Only) To Do Later

Wine Dependancies and Lutris

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' -y
sudo add-apt-repository ppa:lutris-team/lutris -y
sudo apt update
sudo apt-get install --install-recommends winehq-staging -y
sudo apt-get install libgnutls30:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386 -y
sudo apt-get install lutris -y

it looks like you do not need libldap libldap-2.4-2:i386' has no installation candidate

Arch-Based Distros To Do Later

ESync - Helps Game Overhead To Do Later ??

GameMode - No CPU Throttling GitHub Source Project: https://github.com/FeralInteractive/gamemode Install Dependencies

Ubuntu/Debian

apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential

Arch Dependencies To Do Later

Build and Install GameMode

git clone https://github.com/FeralInteractive/gamemode.git
cd gamemode
git checkout 1.7 # omit to build the master branch
./bootstrap.sh

Uninstall GameMode

systemctl --user stop gamemoded.service
ninja uninstall -C builddir

Custom Proton To Do Later

There are multiple ways to Use GameMode

Lutris - Under settings you can enable GameMode for all games you launch Steam - Go to Launch options for the game of choice and type in gamemoderun %command% Terminal - type gamemoderun ./game Heroic Games Under settings -> Game Defaults you can enable GameMode for all games or you can enable it for specific games you launch

Gnome Tool - If you use GNOME Desktop Environment install this extension: https://extensions.gnome.org/extension/1852/gamemode/

Many thanx. I really appreciate this update. May I suggest, if you like and is not much of a bother for you, could you please add in the guide a section about installing and upgrading MangoHud?

MangoHud : A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more.

Download binaries from releases page : https://github.com/flightlessmango/MangoHud/releases Install depedencies : https://github.com/flightlessmango/MangoHud#dependencies And finally: https://github.com/flightlessmango/MangoHud#installation---pre-packaged-binaries Normal usage : https://github.com/flightlessmango/MangoHud#normal-usage

8836290 avatar Sep 26 '23 04:09 8836290

hi tip it looks like the Nvidia Proprietary Driver PPA install packages are broken if you try to install libnvidia-gl-535:i386 it removes the driver

WolfMad avatar Jan 17 '24 17:01 WolfMad

Seems like the aco part is obsolete: https://www.phoronix.com/news/Mesa-20.2-RADV-ACO-Enabled

kyoforkshomebrews avatar Feb 01 '24 23:02 kyoforkshomebrews