Thomrl's Blog

Fedora Gaming Setup Guide

This is a page about »Fedora Gaming Setup Guide« This is how I’ve setup my system for gaming, this is all done on Fedora 40 https://fedoraproject.org/workstation/

Speed up DNF

sudo nano /etc/dnf/dnf.conf

Add this:

max_parallel_downloads=20
fastestmirror=True

I actually didn’t add the second line “fastestmirror=True”, I also haven’t felt like I needed it. So “max_parallel_downloads” might be all you need, and you can set it to whichever number suits you. I set mine to 20 because my internet is great.

Snapshots

Snapper (snapshot system for Fedora) sudo dnf in snapper dnf-plugin-snapper btrfs-assistant

sudo snapper create-config /

Nvidia Driver

Before doing this, purge akmod-nvidia, before installing the new driver dnf remove *nvidia* Not needed just after installing the OS and no driver has been installed.

These are needed to compile modules and DKMS sudo dnf install kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig xorg-x11-server-Xwayland libxcb egl-wayland

Download the driver:
The one I use by time of writing: https://www.nvidia.com/content/DriverDownloads/confirmation.php?url=/XFree86/Linux-x86_64/555.52.04/NVIDIA-Linux-x86_64-555.52.04.run&lang=us&type=geforcem

Download the latest here:
https://www.nvidia.com/en-us/drivers/unix/

cd Downloads

chmod +x NVIDIA-Linux-x86_64-555.52.04.run Filename will be different if you download the latest driver.

do sudo passwd to change your root passwd

then do su and enter that new root password

next do ./NVIDIA-Linux-x86_64-555.52.04.run

next run dracut -f Next reboot

If Firefox is Crashing after installing the driver, install this package https://download.copr.fedorainfracloud.org/results/gloriouseggroll/nobara-40/fedora-40-x86_64/07529000-egl-wayland/egl-wayland-1.1.13-4.fc40.x86_64.rpm

Install new kernel

sudo dnf copr enable bieszczaders/kernel-cachyos

sudo dnf install kernel-cachyos kernel-cachyos-devel-matched

Next do sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg to rebuild the grub cfg

REBOOT

Fix steam download speeds

DONT DO THIS IF STEAM IS DOWNLOADING IN A PROPER RATE

nano ~/.steam/steam/steam_dev.cfg

The command above makes the file

@nClientDownloadEnableHTTP2PlatformLinux 0
@fDownloadRateImprovementToAddAnotherConnection 1.0

Xbox One Controller firmware for linux

https://github.com/medusalix/xone

Recommended software

Wine Winetricks lutris dnf in wine winetricks lutris

ProtonUp-Qt
protontricks
Heroic Games Launcher

lutris - Install world of warcraft https://lutris.net/games/world-of-warcraft/

solaar - For headset, keyboard, mouse and the likes. htop - system monitor, alternative https://extensions.gnome.org/extension/4442/gsnap/ - fancyzones alternative

Disk formatting

Note: This is with dual booting and gaming in mind, if that’s not needed it seems btrfs should work perfectly well.

btrfs: works perfectly for a secondary drive, it just can’t be reached by windows. exfat: doesn’t work that well, in my experience. NTFS: Looks good with https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows Little slow (but I tested it on a hdd not SSD) so it’s probably good with an SSD.

Unless it’s NTFS, I used the disc app to mount the drives automatically on system boot.

Get the grub boot menu to show (If it doesn’t show)

Continuously tap shift while the drive with linux is booting.

How to boot into the command line

Go into the command line on start up through the grub boot menu. When you are in the grub menu on boot up, Press E on your distro of choice, find the linux boot line thinghy. Go to the end of the string and make sure it ends with 3 So a space between the last letter and then the number 3. Then press F10. It should now load the command line.

#Linux #Fedora #Gaming #Reinstall