This details all matters pertaining PC gaming.
- Gaming
This guide goes through setting up packages and configuration options that could help improve our PC gaming experience.
-
Install Steam (
steam
) usingyay
. -
Install Vulkan (
vulkan-icd-loader lib32-vulkan-icd-loader
) usingyay
. -
Install Vulkan for NVIDIA (
nvidia-utils lib32-nvidia-utils
) usingyay
. -
Install GameMode (
gamemode lib32-gamemode
) usingyay
. -
Install and configure MangoHud.
-
If a Ryzen CPU is in use (at least for Zen 3), install the
zenpower3-dkms
package usingyay
to get CPU wattage readings. -
To enable GameMode and MangoHud in a Steam Game, add this to the game's Launch Options (in the game's Steam Properties):
gamemoderun mangohud %command%
-
Install ProtonUp-Qt and GE-Proton.
-
Install Protontricks.
-
Increase the maximum number of memory map areas a process may have, some modern games require more than the kernel's default of
65530
.-
Check the current value:
sysctl vm.max_map_count
-
Set a higher value with:
sudo sysctl vm.max_map_count=2147483642
-
Make that increased value persistent across reboots by creating a
99-max-map-count.conf
configuration file:Create the file:
sudo nano /etc/sysctl.d/99-max-map-count.conf
Add the following value to the file:
vm.max_map_count = 2147483642
Save and exit the file.
-
This details any workarounds required for games that either do not work out of the box or perform poorly on Steam (Runtime).
- If you're using an older Nvidia GPU and experiencing poor performance in Elden Ring through Proton, try this!
- VKD3D-Proton - Environment variables
Generally, all Steam games are run with this launch option (on Steam) in order to get better performance with GameMode, and PC stats with MangoHud:
gamemoderun mangohud %command%
A few games however, seems to perform worse with GameMode, if that is the case, simply omit gamemoderun
from the launch option command above.
-
Adding the following environment variable
VKD3D_FEATURE_LEVEL=12_0
to the game's launch option fixes the white screen crash on launch:VKD3D_FEATURE_LEVEL=12_0 VKD3D_CONFIG=no_upload_hvv gamemoderun mangohud %command%
[!NOTE]
AddingVKD3D_CONFIG=no_upload_hvv
may or may not improve gaming performance on NVIDIA GPUs. -
Fix controller issues with these steps in the Steam app:
-
Click Steam in the toolbar
-
Click Settings
-
Click Controller
-
Click Desktop Configuration
-
Select Browse Configs
-
Click Templates
-
Select Gamepad
-
Hit Apply
-
- Run the game with OpenGL.
-
Skip the GOG/RED launcher when launching the game using the
--launcher-skip
flag:gamemoderun mangohud %command% --launcher-skip
-
To use DX11 instead of DX12 for better performance on Witcher 3, edit the
launcher-configuration.json
file found in the game's folder and update thefallback
value toDirectX 11
:"fallback": "DirectX 11"
Skip the Skyrim Intro video when launching the game:
-
Edit the
Skyrim.ini
file:nano ~/.local/share/Steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My Games/Skyrim Special Edition/Skyrim.ini
[!TIP]
Replace~/.local/share/Steam/steamapps
with the actual path to your Steam installation if it's not in the default location. -
Locate the
[General]
section in theini
file and add the following line to the end of it:sIntroSequence=
The following is a sample of the entirety of the
[General]
section:[General] sLanguage=ENGLISH sTestFile1=Dawnguard.esm sTestFile2=HearthFires.esm sTestFile3=Dragonborn.esm sIntroSequence=
-
Save and exit the
Skyrim.ini
file.
Note
Parts of this guide assumes that you are using the KDE Plasma desktop environment.
This details how to install and run the Link's Awakening DX HD port.
-
Install and setup the Protontricks Flatpak if you haven't already as it will be required.
-
Visit the Link's Awakening DX HD page on a web browser.
-
Click the Download button to download the game.
[!NOTE]
If you receive a "This Page Has Been Quarantined" warning message, expand the I understand the risks, let me download anyway... section and click the Download button from there. -
Unzip the downloaded file:
-
Launch the Dolphin application.
-
Navigate to where the game's zip file was downloaded to i.e. the Downloads directory.
-
Select and right click the zip file.
-
Hover over the Extract section, and select the Extract archive here option.
-
-
Delete the zip file as it is no longer needed.
-
Move the extracted game folder (i.e. Links Awakening DX HD) to a suitable directory (i.e.
~/Games
).Create the destination directory beforehand if it does not yet exist:
mkdir -p ~/Games
-
In the Links Awakening DX HD folder, select and right click the Link's Awakening DX HD.exe file.
-
Select the Add to Steam context menu option.
[!TIP]
The Add to Steam context menu option may be under the Actions section in the right click context menu.[!NOTE]
If the Add to Steam context menu option is not available to you (i.e. on non-SteamOS distros), you will need to add the.exe
file to Steam manually. -
Launch the Steam application.
-
Find the Link's Awakening DX HD.exe application from the Library section.
-
Select and right click the application.
-
Click the Properties context menu option.
-
In the newly opened Properties window:
-
Navigate to the Shortcut section.
-
Update the name of the application to
Link's Awakening DX HD
. -
Navigate to the Compatibility section.
-
Check the Force the use of a specific Steam Play compatibility tool checkbox.
-
Select Proton Experimental from the dropdown menu.
-
-
Close the Properties window.
-
Launch the game from Steam by hitting the Play button.
-
When met with an error message saying that the
.NET
runtime needs to be installed, proceed to download the.NET
installer. -
Once the
.NET
installer has been downloaded through your default browser, select and right click the.NET
installer from your Downloads directory using Dolphin. -
Select the Open with Protontricks context menu option.
-
In the newly opened Protontricks application, locate and select the Non-Steam shortcut: Link's Awakening DX HD: RANDOM_NUMBER menu item.
-
Click the OK button.
-
When prompted to install the
.NET
Windows Desktop Runtime, click the Install button. -
Once the installation is done, you may delete the downloaded
.NET
installer file and launch the game from Steam.[!NOTE]
You may also make optional aesthetic changes to the game on Steam such as adding custom artwork (i.e. using SteamGridDB on a SteamOS based distro).
Note
Parts of this guide assumes that you are using the KDE Plasma desktop environment.
Important
You will need the original ROM file to run the game, source them legally prior to following this guide.
This details how to install and run the Ocarina of Time PC port, Ship of Harkinian.
-
Visit the Ship of Harkinian latest releases page on a web browser.
-
Click and download the SoH-MacReady-Foxtrot-Linux-Performance.zip file from the list of Assets.
-
Unzip the downloaded file:
-
Launch the Dolphin application.
-
Navigate to where the game's zip file was downloaded to i.e. the Downloads directory.
-
Select and right click the zip file.
-
Hover over the Extract section, and select the Extract archive here, autodetect subfolder option.
-
-
Delete the zip file as it is no longer needed.
-
Move the extracted game folder (i.e. SoH-MacReady-Foxtrot-Linux-Performance) to a suitable directory (i.e.
~/Games
).Create the destination directory beforehand if it does not yet exist:
mkdir -p ~/Games
-
Copy your legally obtained copy of the original Ocarina of Time ROM file (in a compatible format i.e.
.z64
) to the SoH-MacReady-Foxtrot-Linux-Performance folder.You should check the
SHA1
hash of the original ROM file to check that it is compatible with Ship of Harkinian:sha1sum <ROM_FILE>
and verify that the
SHA1
hash matches with one of the ROM files listed in Ship of Harkinian's list.[!NOTE]
In our example, our ROM file has aSHA1
sum ofcfbb98d392e4a9d39da8285d10cbef3974c2f012
. -
Double click the soh.appimage file in the SoH-MacReady-Foxtrot-Linux-Performance folder to run it once for it to generate the necessary files.
[!WARNING]
If you receive an error message statingFor Security reasons, launching executables is not allowed in this context
on the Dolphin app, follow the steps below to resolve it.To resolve the aforementioned error:
- Click Dolphin's Hamburger menu.
- Hover over the Configure section and select the Configure Dolphin... option.
- In the General view, click the Confirmations tab.
- Set the When opening an executable file option to
Always ask
. - Click the Apply button and OK to save your changes.
- Retry running the soh.appimage file.
- When prompted by Dolphin, click the Execute button, and then again click the Continue button.
-
Once the game has finished generating the necessary
OTR
files and the game has been launched in a new window, close the game by clicking the X button in the top right corner of the window. -
Right click the soh.appimage file and select the Add to Steam context menu option.
[!TIP]
The Add to Steam context menu option may be under the Actions section in the right click context menu.[!NOTE]
If the Add to Steam context menu option is not available to you (i.e. on non-SteamOS distros), you will need to add the.appimage
file to Steam manually. -
Launch the Steam application.
-
Find the soh.appimage application from the Library section.
-
Select and right click the application.
-
Click the Properties context menu option.
-
In the newly opened Properties window:
-
Navigate to the Shortcut section.
-
Update the name of the application to
The Legend of Zelda: Ocarina of Time
.
-
-
Close the Properties window.
-
You have now completed the installation and may launch the game from Steam.
[!NOTE]
You may also make optional aesthetic changes to the game on Steam such as adding custom artwork (i.e. using SteamGridDB on a SteamOS based distro).
Note
Parts of this guide assumes that you are using the KDE Plasma desktop environment.
Important
You will need the original ROM file to run the game, source them legally prior to following this guide.
This details how to install and run the Majora's Mask PC port, 2 Ship 2 Harkinian.
-
Visit the 2 Ship 2 Harkinian latest releases page on a web browser.
-
Click and download the 2Ship-Rika-Alfa-Linux.zip file from the list of Assets.
-
Unzip the downloaded file:
-
Launch the Dolphin application.
-
Navigate to where the game's zip file was downloaded to i.e. the Downloads directory.
-
Select and right click the zip file.
-
Hover over the Extract section, and select the Extract archive here, autodetect subfolder option.
-
-
Delete the zip file as it is no longer needed.
-
Move the extracted game folder (i.e. 2Ship-Rika-Alfa-Linux) to a suitable directory (i.e.
~/Games
).Create the destination directory beforehand if it does not yet exist:
mkdir -p ~/Games
-
Copy your legally obtained copy of the original Majora's Mask ROM file (in a compatible format i.e.
.z64
) to the 2Ship-Rika-Alfa-Linux folder.You should check the
MD5
hash of the original ROM file to check that it is compatible with 2 Ship 2 Harkinian:md5sum <ROM_FILE>
and verify that the
MD5
hash matches with a compatible ROM file.[!NOTE]
In our example, our ROM file has aMD5
sum of2a0a8acb61538235bc1094d297fb6556
. -
Double click the 2ship.appimage file in the 2Ship-Rika-Alfa-Linux folder to run it once for it to generate the necessary files.
[!WARNING]
If you receive an error message statingFor Security reasons, launching executables is not allowed in this context
on the Dolphin app, follow the steps below to resolve it.To resolve the aforementioned error:
- Click Dolphin's Hamburger menu.
- Hover over the Configure section and select the Configure Dolphin... option.
- In the General view, click the Confirmations tab.
- Set the When opening an executable file option to
Always ask
. - Click the Apply button and OK to save your changes.
- Retry running the 2ship.appimage file.
- When prompted by Dolphin, click the Execute button, and then again click the Continue button.
-
Once the game has finished generating the necessary
OTR
files and the game has been launched in a new window, close the game by clicking the X button in the top right corner of the window. -
Right click the 2ship.appimage file and select the Add to Steam context menu option.
[!TIP]
The Add to Steam context menu option may be under the Actions section in the right click context menu.[!NOTE]
If the Add to Steam context menu option is not available to you (i.e. on non-SteamOS distros), you will need to add the.appimage
file to Steam manually. -
Launch the Steam application.
-
Find the 2ship.appimage application from the Library section.
-
Select and right click the application.
-
Click the Properties context menu option.
-
In the newly opened Properties window:
-
Navigate to the Shortcut section.
-
Update the name of the application to
The Legend of Zelda: Majora's Mask
.
-
-
Close the Properties window.
-
You have now completed the installation and may launch the game from Steam.
[!NOTE]
You may also make optional aesthetic changes to the game on Steam such as adding custom artwork (i.e. using SteamGridDB on a SteamOS based distro).