- Before Starting
- Get Started
- Conclusion
Genshin Impact - Genshin Impact Linux Guide
🇹🇷 Türkçe Çevirisi - Genshin Impact Linux Rehberi
Minecraft - Minecraft Linux Guide
🇹🇷 Türkçe Çevirisi - Minecraft Linux Rehberi
The Sims 2 - The Sims 2 Linux Guide
🇹🇷 Türkçe Çevirisi - The Sims 2 Linux Rehberi
Note
Rehberin Türkçe çevirisi buradadır. Birebir çeviri değildir fakat içerik aynıdır.
- Hello! This guide aims to help you understand how gaming on Linux works, how to prepare your system for gaming and how to optimize your system for higher performance.
- If you are ready, let's begin!
Note
- Linux gaming is swiftly improving. Every passing day, more users switch to Linux. In this context, the market share of Linux gaming is increasing.
- This guide aims to be useful for everyone who wants to play games on Linux but does not know where to start.
- After reading this guide, feel free to check out Game-Specific Guides if any of the listed games interest you.
- You can play most of the Windows games on Linux. However, this does not mean that there are no native Linux games. Some native Linux games are:
- Generally, native Linux games do not require any extra steps unless they do not require Vulkan. If they do, you need to install Vulkan drivers which is explained in this guide.
- Windows games require some essential tools in order to run on Linux and these tools are:
WINE / Proton - WINE is a compatibility layer which directs Windows library files into Linux library files. It works the same as the compatibility mode on Windows.
- DXVK - DXVK translates DirectX 8-11 calls into Vulkan to make Windows games run on Linux. DXVK is not included in
WINE but you still do not need to install DXVK manually because most of the Linux gaming software and custom
WINE/Proton builds include DXVK for users.
- There are some other tools that are used for similar purposes as DXVK, these tools are:
- VKD3D - VKD3D translates DirectX 12 calls into Vulkan which DXVK cannot yet. VKD3D serves as the fallback if the game you are trying to play is a DirectX 12 game. Just like DXVK, VKD3D is automatically included in most of the Linux gaming software and custom
WINE/Proton builds. - WINED3D - WINED3D translates DirectX 8-11 calls into OpenGL instead of Vulkan. WINED3D serves as the fallback if your system does not have Vulkan drivers installed. However, since DirectX calls will be translated into OpenGL, you are likely to experience poor performance because OpenGL is deprecated. Unlike DXVK and VKD3D, WINED3D is included in
WINE.
- VKD3D - VKD3D translates DirectX 12 calls into Vulkan which DXVK cannot yet. VKD3D serves as the fallback if the game you are trying to play is a DirectX 12 game. Just like DXVK, VKD3D is automatically included in most of the Linux gaming software and custom
- There are some other tools that are used for similar purposes as DXVK, these tools are:
+------------------+ DirectX: Windows-specific graphics library
| WINE | Vulkan: Both Windows & Linux native graphics library
+------------------+ OpenGL: Both Windows & Linux native graphics library (deprecated)
||
||
+----------------------------++--------------------------+
| DXVK || VKD3D |
| (DirectX 8-11 -> Vulkan) || (DirectX 12 -> Vulkan) |
+----------------------------++--------------------------+
||
+--------------------------+
| WINED3D |
| (DirectX 8-11 -> OpenGL) |
+--------------------------+
Note
You do not need to manually install
WINE because
WINE is installed automatically when you install a gaming software such as
Lutris.
Warning
NVIDIA is phasing out the proprietary drivers for their 4xxx and 5xxx series because
NVIDIA is attempting to be more open source for their recent and future cards.- However, for older cards, you still have to use proprietary drivers for better compatibility and performance.
- Also, you should not use
Wayland unless you use one of the recent
NVIDIA GPUs that are mentioned above because it is likely for you to experience glitches and performance issues. Using
X11 is a better option for now.
- There are not too many issues when it comes to gaming on Linux. However, the main limitation is kernel-level anti-cheat software. These anti-cheat software are not able to run on Linux.
- The reason why is a kernel-level anti-cheat software that is developed for a Windows game means that the anti-cheat software requires a kernel called "Windows NT", which is only available for Windows.
- Some examples of kernel-level anti-cheat software are:
Easy Anti-Cheat and
BattlEye have Linux-compatible versions. That's why some developers may enable Linux compatibility with their anti-cheat software specifically for
WINE/Proton.
- In addition to enabling Linux-compatible configurations, some games only use the user-mode module of these anti-cheat software, which makes them playable on Linux.
- Except
VANGUARD, we cannot make a definitive statement about playability of a game that uses one of the anti-cheat software mentioned above.
Note
- If you are using
NVIDIA, please follow
Lutris' Community Guide. - If you use
Intel/AMD, you get your Vulkan drivers preinstalled when you install a gaming software such as
Steam using your package manager.
- Some popular gaming software that are available on Linux are:
| Steam
| Heroic Games Launcher -
Heroic is a useful game launcher for playing games from
Epic Games,
GOG and
Prime Gaming platforms.
| Lutris -
Lutris is a feature-rich game launcher for playing Windows games. You can directly install some gaming software platforms such as
Epic Games,
Battle.net,
Ubisoft etc. and run them using Lutris but you can also play games that are not tied to a certain platform.
AAGL -
AAGL (An Anime Game Launcher) is a feature-rich game launcher for playing
Genshin Impact, which disables telemetry and applies patches automatically to keep the game working after updates.
| ProtonPlus - You can install custom
WINE/Proton builds for better compatibility and performance using
ProtonPlus. Custom
WINE/Proton builds are supported by
Lutris,
Steam and
Heroic.
| Sober -
Sober is a game launcher for playing
Roblox's
Android version on Linux. In the past, it was possible to run the Windows version of
Roblox through
VinegarHQ. However, it is borked now due to the anti-cheat configuration. That's why
Sober is the new way of playing
Roblox on Linux.
Prism Launcher -
Prism Launcher is a feature-rich game launcher for playing
Minecraft.
- I have a
Minecraft guide for configuring and optimizing Minecraft, if you are interested.
- I have a
Waydroid -
Waydroid is is a container-based compatibility layer that allows
Android to run on Linux. So you can play
Android games on Linux using
Waydroid.
- I have a
Waydroid guide for your questions in mind, installation and configuration steps, if you are interested.
- I have a
Tip
- If your system has two GPUs (1 integrated + 1 dedicated), it is recommended to install Vulkan drivers for both hardware and set games to run through your dedicated GPU.
- To run games using your dedicated
AMD GPU, use the following command:
DRI_PRIME=1
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
- There are four ways of running games through your dedicated GPU:
- 1 - Terminal Method

- 2 - Desktop Shortcut Method 🖥️
- 3 - For Steam Games

- 4 - For Lutris & Heroic Games

- 1 - Terminal Method
Simply, launch terminal and execute the command for your GPU like in the example:
DRI_PRIME=1 prismlauncher
- Create a .desktop file on your desktop.
- This is an example .desktop file content to run
Prism Launcher through an
NVIDIA GPU. The line you should pay attention is the line that starts with Exec:
[Desktop Entry]
Version=1.0
Type=Application
Name=Prism Launcher
Comment=Prism Launcher
Exec=env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia prismlauncher
Icon=/path/to/your/game/icon.png
Terminal=false
Categories=Game;
- Simply, you should add
envfirst and the command for your GPU. Finally, the package name of the game.
Add the command for your GPU in the launch options of your games. Do not forget to add %command% at last like in the example:
DRI_PRIME=1 %command%
Note
If you are going to additionally use other launch options and run games through your dedicated GPU, make sure that all the commands are written before %command% like in the example:
DRI_PRIME=1 gamemoderun %command%
| Lutris - On the left side bar, click the settings icon that appears when you point your mouse cursor on Wine.System Options-Enable Advanced-Display-GPU
| Heroic - Settings-Game Defaults-Other-Use Dedicated Graphics Card
Note
- If your external disk is internally connected, you might be able to use it out of the box depending on your Linux distribution. However, if you are using your external disk through an SSD case (USB), you should configure it manually.
- These steps also apply if your disk is internally connected but still not working properly.
Caution
- I strongly suggest that you format your disk to change its file system from NTFS to a Linux-compatible one because write support for NTFS is experimental on Linux and it might corrupt your drive!!! You have been warned.
- Install
gpartedusing your package manager and follow the next steps, making sure your external disk is unmounted while it is physically connected.Launch GParted-select your external disk from the top right-delete all the partitions-Add- Next -
File system: ext4 (or xfs, if you wish)-Label: anything you wish-Add - Finally -
Apply All Operations
- First of all, install
gnome-disk-utilitypackage using your package manager.- If you insist about using your external disk as NTFS anyway, additionally install
ntfs-3gpackage using your package manager.
- If you insist about using your external disk as NTFS anyway, additionally install
- After the installation, launch
Disksapp from your application launcher. - Then, find your external disk from the menu on the left and click this button under
Volumes:
- From the menu, click
Take Ownership (Recursive)and confirm. - After taking the ownership, open the same menu and click
Edit Mount Options.- Now disable
User Session Defaultsand checkMount at system startup. - Next, find the box that does not have a label that is under
Symbolic Icon Namebox and make sure you only have these mount options:nofail,x-gvfs-show,rw,user,exec
- If you are going to use your external disk as NTFS, you should additionally include
ntfs-3goption like in the example:nofail,x-gvfs-show,rw,user,exec,ntfs-3g
- Finally, change
Identify Asvalue to/dev/disk/by-label/your-diskand click OK.
- Now disable
- Now you are ready to use your external disk(s)!
Tip
- When you reduce the resolution of a game, less pixels will be rendered and it will result in less loads on your hardware, leading to higher performance.
- When you play with the lowest graphics settings, less details will be rendered, leading to higher performance.
- Both are going to increase performance while reducing visual quality. You can experiment to find your own balanced settings.
It is possible to play your games in lower resolutions while not losing anything from visual quality thanks to
Lossless Scaling. However, you must purchase the app from
Steam to be able to use it.
- After purchasing
Lossless Scaling, you should install lsfg-vk to be able to use it on Linux.
- However, your GPU must support Vulkan and your system must have Vulkan drivers installed in order to use this feature!
| Arch Linux and Derivatives: CachyOS Kernel 
| Fedora Linux and Derivatives: CachyOS Kernel Port For Fedora 
| Debian/Ubuntu Linux and Derivatives: XanMod Kernel 
- Gamemode is a tool that temporarily changes your system configurations to increase performance during the gameplay.
Note
gamemoderun %command%
You can use these launch options for higher performance while gaming:
DXVK_LOG_LEVEL=none- It suppresses all DXVK logs to increase performance as gaming software will not spend time processing and writing log data. - Medium impact on performanceWINEDEBUG=-all- It suppresses all debug outputs of
WINE. - Low impact on performanceWINE_LARGE_ADDRESS_AWARE=1- It allows 32-bit applications to consume up to 4 GB RAM instead of 2 GB. - Variable impact depending on the game, generally medium.MESA_GLTHREAD=true- It improves OpenGL performance on
Intel/AMD GPUs. - High impact on performance__GL_THREADED_OPTIMIZATIONS=1- It improves OpenGL performance on
NVIDIA GPUs. - High impact on performance
| Steam - You can simply use these commands in launch options section that is previously mentioned.
| Lutris - System Options-Environment Variables-Add
Warning
If you are using
Wayland, disabling the compositor is not possible. These steps are only available for
X11.
- A disabled compositor simply means disabled animations and transparency. Also, it causes screen tearing which reduces visual quality while improving performance.
- This step is explained in
Linux Gaming wiki.
This guide was about Linux gaming. Thank you for reading. I hope this guide has helped you prepare your system for gaming on Linux. Happy gaming! ![]()