Fedora 42 Gaming Setup
This is a page about »Fedora 42 Gaming Setup«.
Here is how I’ve setup my machine.
Snapshots
Snapper (snapshot system for Fedora)
sudo dnf in snapper dnf-plugin-snapper btrfs-assistant
sudo snapper create-config /
Nvidia Driver
Start with purging if there’s something needs to go.
sudo dnf remove xorg-x11-drv-nvidia\*
sudo dnf remove akmod-nvidia\*
sudo dnf remove nvidia-vaapi-driver
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
https://www.nvidia.com/en-us/drivers/unix/
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1" >> /etc/modprobe.d/nvidia.conf
echo "options nvidia-drm modeset=1 fbdev=1" >> /etc/modprobe.d/nvidia.conf
export CC="gcc -std=gnu17"
## Backup old initramfs nouveau image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r)
cd Downloads
chmod +x NVIDIA-Linux-x86_64-555.52.04.run
version varies\
Only if you have no su, do
sudo passwd
to change your root passwd.
when you have an su, do su
and enter root/su password
next, to finally start installing the driver, do:
./NVIDIA-Linux-x86_64-555.52.04.run
version varies
I learned something new from: https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/
Xbox One Controller firmware for linux
https://github.com/dlundqvist/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/
headsetcontrol
htop - system monitor, alternative
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
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.