Difference between revisions of "Getting started with Linux"

From Linux Gaming
Jump to navigation Jump to search
 
(151 intermediate revisions by 14 users not shown)
Line 5: Line 5:
I recommend reading the whole article, but if you feel overwhelmed with too much information or too many options, [[Getting started (short version)|here is a short version that should work]].
I recommend reading the whole article, but if you feel overwhelmed with too much information or too many options, [[Getting started (short version)|here is a short version that should work]].


I recommend reading the short version first, it will give a good overview about what to expect.
It's probably a good idea to read the short version first, it will give a good overview about what to expect.


== Getting Started ==
== Getting Started ==


So, you want to get started in Linux. The most important thing you need to remember is that you're using '''Linux'''.
So, you want to get started with Linux. The most important thing you need to remember is that you're using '''Linux'''.


Now that might seem obvious, but you'd be surprised how often you'll see "Why isn't this easy like in Windows?" or "I just want it to act like my Mac."
Now that might seem obvious, but you'd be surprised how often you'll see "Why isn't this easy like in Windows?" or "I just want it to act like my Mac."
Line 19: Line 19:
Want to checkout the latest news for Linux gaming? Take a trip to [https://www.gamingonlinux.com/ GamingOnLinux]. They also have a great [https://www.gamingonlinux.com/wiki/ wiki] that covers more topics.
Want to checkout the latest news for Linux gaming? Take a trip to [https://www.gamingonlinux.com/ GamingOnLinux]. They also have a great [https://www.gamingonlinux.com/wiki/ wiki] that covers more topics.


== The software ==
== Software ==


Perhaps the biggest hurdle of using Linux is compatibility issues with the software you currently use. Before you get started on your journey, I would '''highly''' recommend you do a bit of prep work here.
Perhaps the biggest hurdle of using Linux is compatibility issues with the software you currently use. Before you get started on your journey, I would '''highly''' recommend you do a bit of prep work here.
Line 38: Line 38:
In order to catalog your list into these four outcomes, you grab the first item on the list. If it's a game, check in [https://steamdb.info/ SteamDB] if the game does have Linux support (Note: Sometimes the game offers Linux support even if it's not listed here or in steam). In 2018, Valve released a compatibility software called [https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561 Proton] that is based on [https://appdb.winehq.org/ Wine]. Check [https://www.protondb.com/ ProtonDB (used to be called Steam Compatibility Reports)] to see if your Windows only games run fine under it. If it's software, just check in the official website if there's a Linux version.
In order to catalog your list into these four outcomes, you grab the first item on the list. If it's a game, check in [https://steamdb.info/ SteamDB] if the game does have Linux support (Note: Sometimes the game offers Linux support even if it's not listed here or in steam). In 2018, Valve released a compatibility software called [https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561 Proton] that is based on [https://appdb.winehq.org/ Wine]. Check [https://www.protondb.com/ ProtonDB (used to be called Steam Compatibility Reports)] to see if your Windows only games run fine under it. If it's software, just check in the official website if there's a Linux version.


If you've done that and there's no Linux support, we go to the next step. Bring up [https://www.winehq.org/search the Wine AppDB] and put there the name of your software. Click on the link that fits the most your search (Usually the first link, ignore all the [Bug XXXXX] results) and check the rating of the game. Generally you'll be able to use it if it's not bronze or garbage. If you click in the version of the software, you'll see reports of people who have tried to run it, known bugs and general instructions and steps to follow. For now we're just cataloging the software, so we'll see how to actually install it later. If there's no search results there's still hope. Do a quick google search (probably "NameOfTheSoftware Wine support") and see what happens. If the software you want to use is really small and unknown probably nobody tried it, but just leave it marked as "dubious" or something because you may be able to run it anyways.
=== Windows Compatibility ===
Full article: [[Windows Compatibility]]
 
If there's no Linux support, we go to the next step.
 
For Steam games you can just use [[Steam]]. For games that are not on Steam, use [[Lutris]]. For other programs, [https://github.com/bottlesdevs/Bottles Bottles] might be good option. Check [https://www.protondb.com/ www.protondb.com] for Steam game compatibility, and [https://appdb.winehq.org appdb.winehq.org] for other games.


If what you want to run shows as garbage in there (and most of the times bronze, you seriously want to read the reports to see what works and what doesn't) you just put it in the "I won't be able to run it" section. Now repeat with each element of the list until you've gone through your list.
If what you want to run shows as garbage in there (and most of the times bronze, you seriously want to read the reports to see what works and what doesn't) you just put it in the "I won't be able to run it" section. Now repeat with each element of the list until you've gone through your list.


There is also a paid for solution called [https://www.codeweavers.com/ Crossover] made by CodeWeavers. CodeWeavers are the same minds behind Valve's Proton so you should expect a pretty good product in general. They have a [https://www.codeweavers.com/compatibility search feature that you should also use].
I will mention that some games are more problematic than others. For example, League of Legends is notorious for needing custom versions of Wine to get working. Thankfully, it has a dedicated subreddit [https://www.reddit.com/r/leagueoflinux /r/leagueoflinux] which has the latest news and tends to be very helpful.


I will mention that some games are more problematic then others. For example, League of Legends is notorious for needing custom versions of Wine to get working. Thankfully, it has a dedicated subreddit [https://www.reddit.com/r/leagueoflinux /r/leagueoflinux] which has the latest news and tends to be very helpful.
Otherwise, if your software is not mentioned there, bring up [https://www.winehq.org/search the Wine AppDB] and put there the name of your software. Click on the link that fits the most your search (Usually the first link, ignore all the [Bug XXXXX] results) and check the rating of the game. Generally you'll be able to use it if it's not bronze or garbage. If you click in the version of the software, you'll see reports of people who have tried to run it, known bugs and general instructions and steps to follow. For now we're just cataloging the software, so we'll see how to actually install it later. If there's no search results there's still hope. Do a quick google search (probably "NameOfTheSoftware Wine support") and see what happens. If the software you want to use is really small and unknown probably nobody tried it, but just leave it marked as "dubious" or something because you may be able to run it anyways.


=== Other Solutions ===
You got your list and a general idea of what you can run and what you can't run and at which degree you will be able to use it. If you have something that needs to be run but you can't run, here's a small list of alternatives you can use.
You got your list and a general idea of what you can run and what you can't run and at which degree you will be able to use it. If you have something that needs to be run but you can't run, here's a small list of alternatives you can use.


* Look for an alternative. If it's a game I'd say that you should look for games with similar tags in steam. If it's software use something like [http://alternativeto.net/ alternativeto]
* Look for an alternative. If it's a game I'd say that you should look for games with similar tags in steam. If it's software use something like [http://alternativeto.net/ alternativeto], or just search for ''"<task to achieve> Linux"''.
* Use a windows VM. Useful if the software you want to run is not resource intensive (99% of the time games won't like this, so don't use this for games unless you're going to attempt the GPU passthrough option)
* Use a windows VM. Useful if the software you want to run is not resource intensive (99% of the time games won't like this, so don't use this for games unless you're going to attempt the GPU passthrough option)
* Dual boot.
* Dual boot.
* GPU passthrough. This is hard. You need to met a lot of requirements and invest time, but if you can pull it out you can get the best of both worlds. The [https://forum.level1techs.com/tags/passthrough Level1Techs forum] has been one of the driving forces behind using this technology and has a lot of information on the subject. (You can also check out their [https://www.youtube.com/channel/UCOWcZ6Wicl-1N34H0zZe38w Linux Youtube channel])
* GPU passthrough. This is hard. You need to meet a lot of requirements and invest time, but if you can pull it out you can get the best of both worlds. The [https://forum.level1techs.com/tags/passthrough Level1Techs forum] has been one of the driving forces behind using this technology and has a lot of information on the subject. (You can also check out their [https://www.youtube.com/channel/UCOWcZ6Wicl-1N34H0zZe38w Linux Youtube channel])
 
== Distributions, or &quot;versions&quot; of Linux==
== The swap (Distributions, or &quot;versions&quot; of Linux) ==


If you are here, congratulations! You want to get started with Linux and you have all your software narrowed down. In order to get started in the odyssey of Linux, you have to think about what distribution (informally referred to as <code>distro</code>) you want to use. The distribution is just the flavor of Linux you want to use. Just to be clear from the start, '''pretty much every distribution is equally capable of gaming and running software.''' The differences between them are:
If you are here, congratulations! You want to get started with Linux and you have all your software narrowed down. In order to get started in the odyssey of Linux, you have to think about what distribution (informally referred to as <code>distro</code>) you want to use. The distribution is just the flavor of Linux you want to use. Just to be clear from the start, '''pretty much every distribution is equally capable of gaming and running software.''' The differences between them are:
Line 59: Line 64:
** Some are more minimalist than others, but all of them can run the same software. With enough patience, you can turn one distribution into another just by installing and removing stuff.
** Some are more minimalist than others, but all of them can run the same software. With enough patience, you can turn one distribution into another just by installing and removing stuff.
* The update frequency.
* The update frequency.
** Some distros release updated software faster than others. Distros that push out updated software with minimal testing are known as <code>bleeding edge</code> distros or <code>rolling release</code> distros. If you want to be up to date with features, you want a bleeding edge distro, but in exchange for the latest and greatest features you run an increase risk of running into bugs. <code>Stable Release</code> distros usually have to wait longer for updates, but those updates are often heavily vetted before being pushed out.
** Some distros release updated software faster than others. Distros that push out updated software with minimal testing are known as <code>rolling release</code> distros. If you want to be up to date with features, you want a rolling release distro, but in exchange for the latest and greatest features you run an increase risk of running into bugs. <code>Stable Release</code> distros usually have to wait longer for updates, but those updates are often heavily vetted before being pushed out. It is to be noted, that ''stable'' does not mean that it has less bugs, it just means that it changes less often. A bug that is present in a ''stable'' release is not going to be fixed until the next major version upgrade, even if it is already fixed in a rolling release.  
* The community.
* The community.
** Different distros have different communities. The distros that are perceived to be easier or more user friendly tend to have communities that are quicker to help with easy to follow instructions.
** Different distros have different communities. The distros that are perceived to be easier or more user friendly tend to have communities that are quicker to help with easy to follow instructions.
* The other minor things including default configurations, art, fonts, etc.
* The other minor things including default configurations, art, fonts, etc.
But the most obvious difference is the desktop environment (also called ''DE''). The desktop environment is what you see, what you interact with, and what you would probably think "is Linux". You don't like that you can't put icons on your desktop? This is not a limitation of Linux, this is a limitation of the DE you chose. Your windows look ugly? Also the DE (or probably rather a theme for the DE). You don't like the menu system? This is also part of the DE and there are alternatives. The most popular desktop environments are KDE Plasma, Gnome, Mate, Cinnamon, LXDE, LXQt, and Xfce. Out of this list, KDE and Gnome are the most modern desktops, and also have the best support for gaming.
*The package manager.
**You don't need to worry about this. All of them are fine.
**This is the program that installs, upgrades, configures, and removes packages. Packages are archives containing all of the compiled files of an application, and metadata(data providing info about other data) such as application name, version, dependencies(other packages required in order to function), etc.
**Every package manager has a package format that it uses. For example, APT, which is used by Debian and its derivatives(Ubuntu, Pop!_OS, Linux Mint), manages DEBs. DNF, which is used by Fedora and its derivatives, manages RPMs. Pacman, used by Arch and it's derivatives, uses .pkg.tar.zst, and so on and so forth.
But the most obvious difference is the desktop environment (also called ''DE''). The desktop environment is what you see, what you interact with, and what you would probably think "is Linux". You don't like that you can't put icons on your desktop? This is not a limitation of Linux, this is a limitation of the DE you chose. Your windows look ugly? Also the DE (or probably rather a theme for the DE). You don't like the menu system? This is also part of the DE and there are alternatives. The most popular desktop environments are KDE Plasma, GNOME, Mate, Cinnamon, LXDE, LXQt, and Xfce. Out of this list, KDE and GNOME are the most modern desktops, and also have the best support for gaming.
 
=== Desktop Environments ===
The desktop environment (short ''DE'') is the user interface that you interact with. When you think of Windows, it's the task bar, start menu, file explorer, context menu, settings, control panel, task manager, etc. Basically everything that you can see on a fresh install. On Linux you can choose the DE, and even combine different ones, for example you could use KDE but use the file manager from GNOME. Some DEs that you can use on Linux are described in the following.
{| class="wikitable"
|+
!DE
!Notes
!Comparable to
!Approximate RAM usage
!More Infos
|-
|KDE Plasma
|Very customizable, and full featured. Windows 10 and 11 look a lot like default KDE. But if you don't like that, you can customize it, so that it looks and feels completely different. This doesn't mean only colors. For example you can create a MacOS clone, or basically whatever you want. It also has a lot of nice-to-have features that make your life easier. This is the default DE in SteamOS and Nobara.
|Windows 10/11
|500MB
|[https://www.youtube.com/watch?v=dZ6bojRSIw0 short video] [https://www.youtube.com/watch?v=3nX1YEQg5Z0 longer video] [https://kde.org/plasma-desktop/ website]
|-
|GNOME
|Very clean, but not easy to customize. The default workflow is very different from Windows, but definitely has it's strengths. It's perfect if you like it. You can customize it, but it's not as easy as KDE Plasma, and the options are a bit more limited. However, it's still a lot easier to customize than Windows. For example, there are ways to change the Workflow to be more comparable with Windows (Nobara GNOME does this, for example). Customizing GNOME often works with addons, and those addons tend to break with major upgrades. Use them with caution.
It has great touchpad and touchscreen support, and works really well with convertible devices.
|MacOS
|1GB
|[https://www.youtube.com/watch?v=wbDLfRjam0E longer video] [https://www.youtube.com/watch?v=gmalyo_RVoQ longer video]  [https://www.gnome.org/ website]
|-
|Cinnamon
|Easy to use, but might feel a little old. Customization is easier than on GNOME, but there are not as many options as on KDE.
|Windows 7
|1GB
|
|-
|Xfce
|Very customizable, but not as easy as KDE. Also not as full featured as KDE. Feels a bit older.
|Windows XP
|500MB
|
|-
|LXDE
|Perfect for very old computers. However, it lacks some features. You can customize it, but the options are a bit more limited.
|Windows 2000
|100MB
|
|-
|Mate
|
|
|
|
|-
|Unity
|
|
|
|
|-
|Pantheon
|You cannot disable the compositor on X11, which makes it bad for gaming.
|
|
|
|}


=== Avoid Problems ===
If you want to avoid problems:
If you want to avoid problems:


* Choose something with KDE or Gnome.
* Choose something with KDE Plasma or GNOME. KDE Plasma is usually more lightweight.
* Don't choose a &quot;stable&quot; distribution because &quot;stable&quot; usually means &quot;old&quot;.
* Don't choose a ''&quot;stable&quot;'' distribution because ''&quot;stable&quot;'' usually means ''&quot;old&quot;''. You don't need this as long as you're not trying to run a server with 100% uptime.
* Don't choose a niche distribution because this probably means that you don't have good software availability.
* Don't choose a niche distribution because this probably means that you don't have good software availability, and many bugs.
* Don't choose something with Wayland if you can't use FreeSync.
* Don't choose something with Wayland if you can't use FreeSync.
*Some distributions make problems if you change the default desktop environment. For example, if you want to use Ubuntu with KDE, choose Kubuntu.
*Some distributions make problems if you change the default desktop environment. For example, if you want to use Ubuntu with KDE, choose Kubuntu.


Now that I've explained that, let's have a look at different distributions.
Now, let's have a look at different distributions.


=== Recommendations ===
First a list of some &quot;easy&quot; distributions:
First a list of some &quot;easy&quot; distributions:


Line 81: Line 152:
!Distribution !! Explanation
!Distribution !! Explanation
|-
|-
| [https://system76.com/pop Pop!_OS]
|[https://nobaraproject.org/ Nobara]
| Pop!_OS is a Linux distribution developed by System76 based on Ubuntu, using the GNOME Desktop Environment. Has a Nvidia and a AMD/Intel image for convenience. ([https://www.youtube.com/watch?v=Co6FePZoNgE Recommended by LTT]) <code>'''If you don't know what to choose, pick this one.'''</code>
|Based on Fedora, and specifically made to be great for gaming. Has three versions: Official (KDE with modifications), GNOME, and KDE. It's very new (as of 09/2022), so there could still be issues, but the developer is ''very'' reputable (Glorious Eggroll, Red Hat employee best known for Proton-GE). With other words: It will probably be great, but there is a chance that it won't work for you. It will give you better performance than most other distributions, and it will probably be less problematic than most other distributions.
 
 
<code>'''If you don't know what to choose, pick this one.'''</code>
|-
|-
| [https://www.ubuntu.com/download/desktop Ubuntu LTS]
| [https://pop.system76.com/ Pop!_OS]
| The latest Ubuntu LTS (20.04 as of this writing). Ubuntu also has a new-user-friendly community but is heavily discussed because of some design choices. Comes with Gnome, but also offers other ''flavors'' with different desktop environments, for example Kubuntu with KDE Plasma.
| Pop!_OS is a Linux distribution developed by System76 based on Ubuntu, using the GNOME Desktop Environment. Has an Nvidia and an AMD/Intel image for convenience, and comes with some tweaks that make it better for gaming. It's been there for quite some time, and should be a solid choice. ([https://www.youtube.com/watch?v=Co6FePZoNgE Recommended by LTT])
|}
|}


Line 93: Line 167:
|+ Advanced distributions
|+ Advanced distributions
!Distribution !! Explanation
!Distribution !! Explanation
|-
|[https://fedoraproject.org/ Fedora]
|Made by Red Hat, one of largest open source companies, and has a lot of [https://spins.fedoraproject.org/ officially supported desktop environments]. Packages are up to date, but well tested.
|-
| [https://ubuntu.com/ Ubuntu LTS]
| The latest Ubuntu LTS (22.04 as of this writing). Ubuntu also has a new-user-friendly community but is heavily discussed because of some design choices. Comes with GNOME, but also offers other ''flavors'' with different desktop environments, for example Kubuntu with KDE Plasma.
|-
|[https://endeavouros.com/ EndeavourOS]
| EndeavourOS is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Very minimal. You will need to use the terminal. Basically a graphical installer for Arch, and coming with a very helpful community. If you want to try Arch, this might be a good choice.
|-
|-
| [https://garudalinux.org/ Garuda]
| [https://garudalinux.org/ Garuda]
| Garuda is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Ships with useful software for gaming, and useful presets like Zen kernel. Is made to be a user-friendly gaming-distribution. Comes highly themed and with many effects like wobbly windows. This can be disabled if you don't like it.
| Garuda is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Ships with useful software for gaming, and useful presets like Zen kernel. Is made to be a user-friendly gaming-distribution. Comes highly themed and with many effects like wobbly windows. This can be disabled if you don't like it.
|-
|-
| [https://manjaro.org/ Manjaro]
|[https://getsol.us/ Solus]
| Based on ArchLinux, but uses its own repositories and includes other features like automatic graphic card drivers installation. Is made to be user friendly. ([https://www.youtube.com/watch?v=Co6FePZoNgE Recommended by LTT])
|Solus brings updates to its users by means of a curated rolling release model.
|-
|-
| [https://endeavouros.com/ Endeavour]
|[https://www.opensuse.org/ openSUSE]
| Endeavour is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Very minimal. You will need to use the terminal. Basically a graphical installer for Arch, and coming with a very helpful community. If you want to try Arch, but don't want to go through the installation process, this is a good choice.
| Comes with YAST, a tool similar to the Control Panel that makes configuring the system easier, since for many functions it is thus not necessary to use a terminal, or to edit config files. Offers both a rolling release (Tumbleweed) and a regular release (Leap) option. You probably want to use Tumbleweed.
|-
|-
| [https://getfedora.org/ Fedora]
|[https://chimeraos.org/ ChimeraOS]
| Made by Red Hat, one of largest open source companies, which use the <code>dnf</code> package manager and has a lot of [https://spins.fedoraproject.org/ officially supported desktop environments].
|If you are looking for a Steam-centric, couch-gaming-friendly Linux distribution, this might be what you are looking for. Don't use this if you want a traditional desktop experience.
|-
|Others
| There are a ton of Linux distros out there. Just know that they might come with problems. The mentioned distros are popular for a reason, and this reason is that they work well.
|}
{| class="wikitable"
|+Questionable Choices
!Distribution
!Explanation
|-
|-
| [https://getsol.us/home/ Solus]
|[https://archlinux.org/ Arch Linux]
| Solus brings updates to its users by means of a curated rolling release model.
|Arch Linux is not beginner friendly, but it'd be an opportunity for you to learn a lot about Linux at the same time, especially that you got the Arch Wiki which is considered the best Linux Wiki and a very important and reliable source of information that covers nearly everything. Arch is one of the best distributions for gaming, because it comes raw and pulls straight from sources with no pre-configuration. Therefore, you will have a minimal base system and add the extra essentials by yourself (which is optimal for gaming, since you don't want things you don't need slowing down your computer). Obviously you need to do the correct choices if you want good performance. If you don't configure your system enough, it will probably be worse than other distributions. Only choose this option if you have time and are willing to learn. Contrary to popular belief, installing Arch is not too hard if you follow carefully the installation guide; it's even simpler with the provided archinstall script, although "''it's not the recommended way''". It will take long though.
You should keep in mind, that you will have to spend ''a lot'' of time if you really want to use Arch. You will have to do ''everything'' yourself. You want to have a graphical user interface? [https://wiki.archlinux.org/title/Category:Graphical_user_interfaces Read the wiki]. You want to use a printer? [https://wiki.archlinux.org/title/CUPS Read the wiki]. You want GPU drivers? [https://wiki.archlinux.org/title/AMDGPU Read] [https://wiki.archlinux.org/title/Intel_graphics the] [https://wiki.archlinux.org/title/NVIDIA wiki]. You have a problem? [https://wiki.archlinux.org/ Read the wiki]. Don't even try to ask stupid questions in the Arch forum. They will just tell you to read the friendly wiki. And the wiki is great, seriously. But if you want to use Arch, you have to read and understand it yourself.
 
Make sure to tell everyone [https://knowyourmeme.com/memes/btw-i-use-arch you use Arch btw].
|-
|-
| [https://www.opensuse.org/ openSUSE]
|[https://www.gentoo.org/ Gentoo]
| Offers both a rolling release (Tumbleweed) and a regular release (Leap) option. You probably want to use Tumbleweed.
|Gentoo Linux is a source-based ''meta''distribution; it means it comes raw and with nothing, just like Arch, but is also ''the'' best when it comes to performance, as it allows you to compile all programs specifically configured for your own setup! BUT, it makes it a double-edged sword! Not only are the performance gains not massive; it also means it will take quite longer to install and update software! Thankfully, you don't have to compile huge software like web browsers (or even the kernel, though you will lose the benefits). Adding to that, it is notorious for being hard to install, although it's as hard or even easier to install than Arch Linux as long as you follow the installation guide. It will take extremely long though: count more than two hours of setting things up!
 
Gentoo also has the benefits of supporting nearly every architecture there is, including ARM.
 
Do note that, just like Arch, if you don't configure much (including compiler flags!!), you will probably end up with no better, or worse, than other distros, considering you also rarely get grand performance gains!
|-
|-
| [https://linuxmint.com/ Linux Mint]
|[https://manjaro.org/ Manjaro]
| Offers two versions. &quot;Linux Mint&quot; is based on Ubuntu and &quot;LMDE&quot; is based on Debian. The default desktop environment of Linux Mint, ''Cinnamon'' is nice, but doesn't get the most attention. You might face problems here, [[Improving performance|especially regarding performance and input lag]]. If you choose Mint, don't use Cinnamon.
|Based on ArchLinux, but uses its own repositories and includes other features like automatic graphic card drivers installation. Is made to be user friendly. ([https://www.youtube.com/watch?v=Co6FePZoNgE Recommended by LTT])
However, it is criticized for being unreliable. Such issues are listed [https://manjarno.snorlax.sh/ here], and include:
 
* compatibility issues with Arch User Repository (AUR) packages;
* development team rushed Asahi Linux (Linux on Apple Silicon) support, shipping potentially broken kernels to Manjaro users;
* its package manager took down the AUR twice: first time for all users, second time for Manjaro users;
* development team forgot to renew SSL certificates five times in the past;
You should instead consider EndeavourOS, or Arch Linux using archinstall, if you want an installer-driven experience.
|-
|-
| [https://elementary.io/ elementary OS]
|[https://www.debian.org/ Debian]
| Based on Ubuntu, elementary OS strives to be user-friendly and deliver a cohesive aesthetic and user experience. Comes with Pantheon, a modern, good looking DE that is only available here.
|Has a strong focus on reliability and not changing much. That's great for servers or if you just need something that works for basic tasks, but unless you know ''why'' you want Debian, it's probably not the best choice for gaming. It could be a good choice for very old hardware.
|-
|-
| [https://gamer-os.github.io/ GamerOS]
|[https://linuxmint.com/ Linux Mint]
| If you are looking for a Steam-centric, couch-gaming-friendly Linux distribution, this might be what you are looking for. Don't use this if you want a traditional desktop experience.
|Nice distribution, but probably not the best for gaming. You might face weird bugs<ref>https://www.reddit.com/r/Lutris/comments/i66650/comment/g0w24so/?context=3</ref><ref>https://github.com/lutris/website/pull/581</ref>. Cinnamon has issues with performance, and [[Compositor#Cinnamon|with disabling composition]]!
Offers two versions. &quot;Linux Mint&quot; is based on Ubuntu and &quot;LMDE&quot; is based on Debian.
|-
|-
| Others
|[https://elementary.io/ elementary OS]
| There are a ton of Linux distros out there. Just know that they might come with problems. The mentioned distros are popular for a reason, and this reason is that they work well.
|Based on Ubuntu, elementary OS strives to be user-friendly and deliver a cohesive and aesthetic user experience. Comes with Pantheon, a modern, good looking DE that is only available here. Unfortunately it is not possible to [[Compositor|disable composition]] which makes it a bad choice for gaming. Only use this if you really don't care about performance ''at all.''
|}
|}
<div style="border: 1px solid #cc8400; background: #fff6e5; margin: 5px 0 5px 0; padding: 10px;">
<div style="border: 1px solid #cc8400; background: #fff6e5; margin: 5px 0 5px 0; padding: 10px;">
If you really want to use a distribution that's not mentioned here, '''don't use one of the following!'''
If you really want to use a distribution that's not mentioned here, at least '''don't use one of the following!''' These distributions are known to have '''big''' problems!
{| class="wikitable"
{| class="wikitable"
|+Anti recommendations: DO NOT USE THESE DISTRIBUTIONS!
|+Anti recommendations: DO NOT USE THESE DISTRIBUTIONS!
! Distribution
!Distribution
!Explanation
!Explanation
|-
|-
|Deepin  
|HoloISO
|It might look pretty, but it '''ships with spyware!''' Do not use it!  
|Unofficial Desktop-Version of SteamOS 3, as it's available on the Steam Deck. This might sound like a good idea, but it appears to be abandoned, is not easy to install, and doesn't work properly.
|-
|Deepin
|It might look pretty, but it '''ships with spyware'''<ref>https://www.fosslinux.com/48103/deepin-linux-safe-spyware.htm</ref>'''!''' Do not use it!
|-
|-
| Puppy Linux
|Puppy Linux
|Sometimes recommended as being extra light weight. You might think this makes it great for gaming, but this is not the case! It's not secure, not good to use, and doesn't come with good driver support!
|Sometimes recommended as being extra light weight. You might think this makes it great for gaming, but this is not the case! It's not secure, not good to use, and doesn't come with good driver support!
|-
|-
Line 141: Line 249:
|Same as Puppy
|Same as Puppy
|-
|-
|AmogOS
|Linux From Scratch (LFS)
| It might have a funny name, and even good ideas. But it's not a mature distribution.
| Even more complicated than Gentoo, it involves building your own system. No one should use this (unless for your own education on how Linux works), especially since there is no package manager.
|-
|-
| Arch
|Kali
|It's actually a great distribution, especially for gaming. BUT: It's very complicated, and if you're reading this guide, you're probably not even able to install it. You will not have a good time, and you will probably hate Linux. However, the [https://wiki.archlinux.org/ Arch wiki] is a great source of information. If you're able to read and understand it, you might actually be fit to try to [https://wiki.archlinux.org/title/Installation_guide install] it. Installing Arch is valuable experience that helps you understand how Linux works.
|Not meant for daily usage. This distribution is meant for pentesting and (ethical) hacking only! Your games will probably not work, and you might have all kinds of problems like no audio.
|-
|Gentoo
|Same as Arch, but it's even more complicated.
|-
|LFS
|Even more complicated than Gentoo. No one should use this.
|}
|}
</div>
</div>


'''If you are having trouble deciding, just start with Pop!_OS.''' It's not the flashiest, but you're almost guaranteed to find an answer to your problem if you search &quot;My Problem Pop!_OS&quot; or &quot;My Problem Ubuntu&quot; (Pop!_OS is very similar to Ubuntu) in your favorite search engine (make sure to limit the search to only things from the past year). You can always switch later.
'''If you are having trouble deciding, Pop!_OS is good for beginners.''' It's not the flashiest, but you're almost guaranteed to find an answer to your problem if you search &quot;My Problem Pop!_OS&quot; or &quot;My Problem Ubuntu&quot; (Pop!_OS is very similar to Ubuntu) in your favorite search engine (make sure to limit the search to only things from the past year). You can always switch later.


Most of them will let you install next to Windows and set up a dual boot automatically. Be careful though, Windows Updates have a bad habit of changing the boot loader and it will look like your Linux OS vanished. '''REMEMBER TO DO BACKUPS.''' Things can always go wrong and you don't want to lose anything. It's FOSS has a [https://www.youtube.com/watch?v=u5QyjHIYwTQ video on dual booting] if you'd like a visual example, but it basically boils down to you clicking an option that says &quot;Install along side Windows&quot;.
Most of them will let you install next to Windows and set up a dual boot automatically. Be careful though, Windows Updates have a bad habit of changing the boot loader and it will look like your Linux OS vanished. '''REMEMBER TO DO BACKUPS.''' Things can always go wrong and you don't want to lose anything. It's FOSS has a [https://www.youtube.com/watch?v=u5QyjHIYwTQ video on dual booting] if you'd like a visual example, but it basically boils down to you clicking an option that says &quot;Install along side Windows&quot;.


=== Window Managers ===
Window managers have the job of moving windows. They do things like the title bar, and the border around windows. If you really want, you can choose which window manager you want to use. You can even choose, to not use a desktop environment, and just use a standalone window manager. If you ever saw ''really cool'' looking images of Linux desktops, that's ''probably'' a standalone window manager. This is not something you have to do, and if you don't want to spend '''''a lot''''' of time on customization, just skip this. However, if you really want to dive deep, [[Window Manager|click here]].


==The habit (what to do after the installation)==
==What to do after the installation==


So, you've installed your distro and you have your computer running Linux. Congratulations! The absolute most important part of becoming a Linux user is to consistently use Linux! The last step is to get all of your software back running so you can use your computer as a daily driver.
So, you've installed your distro and you have your computer running Linux. Congratulations! The absolute most important part of becoming a Linux user is to consistently use Linux! The last step is to get all of your software back running so you can use your computer as a daily driver.
Line 170: Line 274:
Second, use the internet! Everyone starts as a beginner at some point. You might be very comfortable in Windows or macOS now, but at some point you had no idea what you were doing. That's very normal! As you use Linux more and more you'll gain the knowledge and experience needed and eventually it will feel like home. There's absolutely no shame in asking questions!
Second, use the internet! Everyone starts as a beginner at some point. You might be very comfortable in Windows or macOS now, but at some point you had no idea what you were doing. That's very normal! As you use Linux more and more you'll gain the knowledge and experience needed and eventually it will feel like home. There's absolutely no shame in asking questions!


If you are coming from Windows, you are probably used to search for an .exe and install it by double clicking. Things are way different here. Installing software individually is often discouraged. The reasons for this varies, but security and compatibility are the main reasons. So what do you do in Linux? You use a package manager. Think of it as being similar to the Play store, but instead of random people uploading software to it, everything is maintained by your distribution's software team.
===Installing Software===
If you are coming from Windows, you are probably used to search for an .exe and install it by double clicking. Things are way different here. Installing software individually is often discouraged. The reasons for this varies, but security and compatibility are the main reasons. So what do you do in Linux? You use a package manager. Think of it as being similar to the Play store, but instead of random people uploading software to it, everything is maintained by your distribution's software team. This also applies to drivers, including GPU drivers, even though AMD and Nvidia both offer a download. '''Don't use it! It will probably break your system!'''


Package managers have a lot of benefits that may not be immediately obvious to new users. The package manager knows what other software is required to work on your system and can manage updating all of the software pieces you have without you manually having to handle it. As I mentioned earlier, since your distribution's software team creates these packages, the chances of installing malware on your system is very slim.
Package managers have a lot of benefits that may not be immediately obvious to new users. The package manager knows what other software is required to work on your system and can manage updating all of the software pieces you have without you manually having to handle it. As I mentioned earlier, since your distribution's software team creates these packages, the chances of installing malware on your system is very slim.


Remember when I said don't be afraid of the terminal? Here's a good example as to why. To install [[Steam]] on Ubuntu, Linux Mint, Pop!_OS, or most other distros that derive from Ubuntu, all you have to do is open a terminal and type:
Remember when I said don't be afraid of the terminal? Here's a good example as to why. To install [[Steam]] on Ubuntu, Linux Mint, Pop!_OS, or most other distros that derive from Debian, all you have to do is open a terminal and type:


<pre>sudo apt install steam</pre>
<pre>sudo apt install steam</pre>
Line 180: Line 285:


<pre>sudo apt upgrade</pre>
<pre>sudo apt upgrade</pre>
Let's break those two lines down a bit so you know what's going on. <code>sudo</code> stands for &quot;super user do&quot;. You can think of this like right clicking and choosing the &quot;Run As Administrator&quot; in Windows. <code>apt</code> is the package manager's name. <code>install</code> is the command to install programs. <code>steam</code> is the steam software. So in English we just said. &quot;Please install the &quot;steam&quot; program as administrator (called root on Linux).&quot;
Let's break those two lines down a bit so you know what's going on. <code>sudo</code> stands for &quot;super user do&quot;. You can think of this like right clicking and choosing the &quot;Run As Administrator&quot; in Windows. <code>apt</code> is the package manager's name. <code>apt</code> is used by distributions based on Debian. <code>install</code> is <code>apt</code>'s command for installing programs. <code>steam</code> is the Steam software. So in English we just said. &quot;Please install the &quot;steam&quot; program as administrator (called root on Linux).&quot;


Now, if you wanted to use the graphical way, I'd have to post pictures from Ubuntu, Mint, etc and they all look slightly different and you have to find their front end in different places. It's just easier this way.
Now, if you wanted to use the graphical way, I'd have to post pictures from Ubuntu, Mint, etc and they all look slightly different and you have to find their front end in different places. It's just easier this way. But generally, you would open your software store (or whatever it is called), and search for the program you want to install, click ''"update"'', or whatever else.


So what do you do if the software you need isn't in your package manager? The next best thing is to add a 3rd party repository to your package manager. As an (educational) example, let's add Google Chrome. Note, that the following procedure is not recommended for various reasons, including, but not limited to Chrome being considered spyware<ref>https://fossforce.com/2021/10/googles-new-spyware-in-chrome-94/</ref>. UbuntuUpdates.org give the following instructions<ref>https://www.ubuntuupdates.org/ppa/google_chrome</ref>:
So what do you do if the software you need isn't in your package manager? The next best thing is to add a 3rd party repository to your package manager. As an (educational) example, let's add Google Chrome. Note, that the following procedure is not recommended for various reasons, including, but not limited to Chrome being considered spyware<ref>https://fossforce.com/2021/10/googles-new-spyware-in-chrome-94/</ref>. UbuntuUpdates.org give the following instructions<ref>https://www.ubuntuupdates.org/ppa/google_chrome</ref>:
Line 191: Line 296:
sudo apt-get install google-chrome-stable</pre>
sudo apt-get install google-chrome-stable</pre>
That looks a bit scary, but it's just adding the security key and repository to your system and then installing Google Chrome. You'll want to use a PPA of your software when possible since it will update with the rest of your system.
That looks a bit scary, but it's just adding the security key and repository to your system and then installing Google Chrome. You'll want to use a PPA of your software when possible since it will update with the rest of your system.
However, what about distros that don't use apt? For example, let's say you installed Fedora instead. Fedora uses DNF. Unfortunately, Steam is not in Fedora's default repository, so we will have to enable the RPMFusion repositories with this command:
sudo dnf install <nowiki>https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm</nowiki> -E %fedora).noarch.rpm <nowiki>https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm</nowiki> -E %fedora).noarch.rpm
Then we enter:
sudo dnf install steam
As you can see, instead of using apt to call in apt, we used dnf to call in dnf.


===Improving performance===
===Improving performance===


Since you want to play games, you probably want to have the best performance that your hardware is capable of. The default settings are usually bad, though. Read [[Improving performance|this article]] to see how you can improve them for a flawless experience.
Since you want to play games, you probably want to have the best performance that your hardware is capable of. The default settings are usually bad, though. Read [[Improving performance|this article]] to see how you can improve them for a flawless experience.
== Windows compatibility==
So you can't find a Linux version of that software you want to install? Our last step is to try [https://appdb.winehq.org/ Wine]. Wine is a compatibility layer that tries to translate Window Binaries (.exes) calls into Linux calls. Sometimes this works really well, and other times nothing happens at all.
For Steam games you can just use Steam. For games that are not on Steam, use [[Lutris]]. Your last resort is the following:
First, let's install Wine.
<pre>sudo apt install wine</pre>
On some systems, installing Wine allows you to double click an .exe and it will try to run just like in Windows, but if not, you'll want to open a terminal and type (credit to [[u/whyhahm|/u/whyhahm]] for suggesting <code>cd</code> to directory before running):
<pre>cd /path/to/program; wine file.exe</pre>
Remember to check the ratings and know issues in the wine AppDB so you know what you can expect, and you should be golden. [https://wiki.archlinux.org/index.php/Wine Here's an in-depth guide of wine stuff] but again, google and find how stuff works and it works. If you don't understand, please ask! The community is usually happy to help!
There are also other programs that try to help you with Wine, like [https://www.playonlinux.com/en/ PlayOnLinux].
===DXVK/D9VK/Gallium Nine/VKD3D===
What are DXVK/D9VK/VK9/Gallium Nine? I'll let the projects explain themselves:
[https://github.com/doitsujin/dxvk DXVK]: Vulkan-based D3D11, D3D10, and now D3D9, implementation for Linux / Wine
[https://github.com/Joshua-Ashton/d9vk D9VK]: Used to be separate from DXVK, but now they are one project. Kept separate on this page for searching.
[https://github.com/iXit/wine-nine-standalone Gallium Nine]: Gallium Nine allows to run any Direct3D 9 application with nearly no CPU overhead, which provides a smoother gaming experience and increased FPS. Gallium Nine requires you to be using the Mesa3D driver though, so Nvidia users are out of luck. (Thanks to [[u/MicroToast|/u/MicroToast]] for the clarification)
[https://source.winehq.org/git/vkd3d.git/ VKD3D] (and its currently more active [https://github.com/HansKristian-Work/vkd3d-proton -proton fork]): Translates D3D12 to Vulkan. Still in its early stages, but is already capable of running most games.
Okay, but what does that mean?
Direct3D (the graphical part of the DirectX API) is what most Windows game built after ~2000 use. You don't really need to know any technically details about it other than the fact that it's a Windows' only API. For the longest time, one of the biggest bottle necks for gaming on Linux was translating the Direct3D calls to OpenGL (a cross platform graphical API that works on Linux/most other OSes).
All of these projects attempt to translate Direct3D calls to something that Linux understands. As far as I'm aware, the most used one is DXVK.
Proton and [[Lutris]] both have support for automatically using these technologies, so you don't have to worry about what to do in order to take advantage of them.


Using these technologies you can get very good performance, sometimes even better than on Windows! Cyberpunk 2077 for example gets 40% more FPS in [https://www.youtube.com/watch?v=sL_d_5MWPfQ this video]. Note, that this is not true for all games, though. Some games still run with less FPS, in general you can expect about the same performance. Also note, that this is not the default experience, but a heavily [[Improving performance|optimized Linux install]]. Your default experience will be worse.
=== Nice things===
==Nice things==
Look at other articles in this wiki to see what you might want to use. Most of what you are used to from Windows is possible, including [[Misc#Game Streaming|game streaming]], [[modding]], [[FSR - FidelityFX Super Resolution|up]]-/[[Misc#Downsampling|downscaling]], [[Misc#Noise Cancelling|noise cancelling]], and much more.
Look at other articles in this wiki to see what you might want to use. Most of what you are used to from Windows is possible, including [[Misc#Game Streaming|game streaming]], [[modding]], [[FSR - FidelityFX Super Resolution|up]]-/[[Misc#Downsampling|downscaling]], [[Misc#Noise Cancelling|noise cancelling]], and much more.
===Going further ===


==Downloading stuff from GitHub/GitLab==
Learn using the [[terminal]]. While you might not necessarily need it, it makes many things easier.
 
You might find yourself in the situation where you want to download something from GitHub or GitLab. Don't do it, as long it's not absolutely necessary. This is usually a bad idea. Try to find a better solution, for example, read the description about how to install it, there might be a package for your distribution, a ppa (for Pop!_OS, Ubuntu, etc), an AUR package (for Garuda, Manjaro, Arch, etc.), or something similar for your distribution. Or post in a forum, and try to get help there. But here is how to do it:
#Install git. If you're on Pop!_OS or other Ubuntu/Debian-based distributions: <code>sudo apt install git</code>
#On GitLab there is a button called ''&quot;Clone&quot;'', on GitHub it's called ''&quot;Code&quot;''. Click it. You will see an URL like this: <code>https://gitlab.com/some/stuff</code>. Copy it (for example by clicking the button right next to it).
#Open a terminal, and navigate to the folder where you want your stuff. For example, by typing <code>cd repos</code> if you have a folder <code>repos</code> in your home folder.
#Type <code>git clone</code> (and type a space). Then paste the URL by pressing <code>ctrl</code> + <code>shift</code> + <code>v</code>. Then press <code>Enter</code>.


==Troubleshooting==
==Troubleshooting==
*Google
*Join the IRC channel of the distribution that you are using
*Join the IRC channel of the distribution that you are using
*Join the [https://discord.gg/linuxgaming /r/linux_gaming discord channel]
*Join the [https://discord.gg/linuxgaming /r/linux_gaming discord channel]
*[https://www.reddit.com/r/linux_gaming Ask in one of the linux subreddits]
*[https://www.reddit.com/r/linux_gaming Ask in one of the linux subreddits]
*Ask in forums
*Ask in forums
*Google away


When asking about your problems, remember to give as much info as you can. For example, include what Distro you're on, what you have already tried, any error messages that come up, anything you've changed recently, etc.
When asking about your problems, remember to give as much info as you can. For example, include what Distro you're on, what you have already tried, any error messages that come up, anything you've changed recently, etc.
Line 255: Line 325:


'''Vulkan games (native, Proton, Wine with DXVK) don't run (no Vulkan support)'''
'''Vulkan games (native, Proton, Wine with DXVK) don't run (no Vulkan support)'''
* Ensure that Vulkan drivers are installed, including the 32-bit drivers
*Ensure that Vulkan drivers are installed, including the 32-bit drivers
*For users of older AMD GCN 1 or 2 cards, [https://www.reddit.com/r/linux_gaming/wiki/drivers#wiki_amd_hd_7xxx_and_newer ensure that the AMDGPU kernel driver is used instead of radeon]
*For users of older AMD GCN 1 or 2 cards, [https://www.reddit.com/r/linux_gaming/wiki/drivers#wiki_amd_hd_7xxx_and_newer ensure that the AMDGPU kernel driver is used instead of radeon]
==Going further ==
Learn using the [[terminal]]. While you might not necessarily need it, it makes many things easier.
==The end==
==The end==
u/PBLKGodofGrunts put this guide under the [http://www.wtfpl.net/txt/copying/ WTFPL License.] Please attach this license when sharing or modifying this guide. I hope that this is helpful to someone.
u/PBLKGodofGrunts put this guide under the [http://www.wtfpl.net/txt/copying/ WTFPL License.] Please attach this license when sharing or modifying this guide. I hope that this is helpful to someone.
== References ==
<references />

Latest revision as of 12:23, 1 January 2024

Prelude

This is a community-maintained version of the Guide: Migrating to Linux in 2020 written by u/PBLKGodofGrunts.

I recommend reading the whole article, but if you feel overwhelmed with too much information or too many options, here is a short version that should work.

It's probably a good idea to read the short version first, it will give a good overview about what to expect.

Getting Started

So, you want to get started with Linux. The most important thing you need to remember is that you're using Linux.

Now that might seem obvious, but you'd be surprised how often you'll see "Why isn't this easy like in Windows?" or "I just want it to act like my Mac."

While I do understand that it's hard to get used to something you're not familiar with, I promise that, in time, it will be just as comfortable as Windows or macOS.

Curious to see Linux gaming in action before getting your feet wet? /u/PCgamingFreedom has an amazing thread with a huge list of Youtubers that play games on Linux.

Want to checkout the latest news for Linux gaming? Take a trip to GamingOnLinux. They also have a great wiki that covers more topics.

Software

Perhaps the biggest hurdle of using Linux is compatibility issues with the software you currently use. Before you get started on your journey, I would highly recommend you do a bit of prep work here.

  • Which software do I commonly use?
    • Get a pen and paper and start writing a list. Include your most played games (and the ones that you are sure that you will want to play in the future) and the software you need for a computer to be your daily driver (Office, Photoshop, etc).

Now that you have a list, let's check. There are four possible outcomes for each item in your list.

  • You will be able to run it natively.
    • This is almost always the best case scenario, since it's the one where you will get all the performance and compatibility without drawbacks.
  • You will be able to run it, but not natively.
    • You'll most often find this with Proprietary software and is the nature of using closed source software. We have a few tricks up our sleeves that we can try and we'll get to those a little later.
  • Cloud Software (SaaS or Software as a Service)
    • Though not ideal, especially in a world where owning your own software is becoming less and less common, a lot of business and professional software can be run "in the cloud". Office 365 is a prime example and allows people like me to work on Linux computers at work since I can still access all the Microsoft Office applications required to interact with my coworkers.
  • You won't be able to run it.
    • This is the big one, the one that will hold you back. Sometimes, and it's not your fault, there is a killer app that you absolutely need in order for your computer to be useful to you. While it would be great if the OSS community provided a good alternative to you, we understand that this is not always the case. There's no shame in this. Thank you for trying.

In order to catalog your list into these four outcomes, you grab the first item on the list. If it's a game, check in SteamDB if the game does have Linux support (Note: Sometimes the game offers Linux support even if it's not listed here or in steam). In 2018, Valve released a compatibility software called Proton that is based on Wine. Check ProtonDB (used to be called Steam Compatibility Reports) to see if your Windows only games run fine under it. If it's software, just check in the official website if there's a Linux version.

Windows Compatibility

Full article: Windows Compatibility

If there's no Linux support, we go to the next step.

For Steam games you can just use Steam. For games that are not on Steam, use Lutris. For other programs, Bottles might be good option. Check www.protondb.com for Steam game compatibility, and appdb.winehq.org for other games.

If what you want to run shows as garbage in there (and most of the times bronze, you seriously want to read the reports to see what works and what doesn't) you just put it in the "I won't be able to run it" section. Now repeat with each element of the list until you've gone through your list.

I will mention that some games are more problematic than others. For example, League of Legends is notorious for needing custom versions of Wine to get working. Thankfully, it has a dedicated subreddit /r/leagueoflinux which has the latest news and tends to be very helpful.

Otherwise, if your software is not mentioned there, bring up the Wine AppDB and put there the name of your software. Click on the link that fits the most your search (Usually the first link, ignore all the [Bug XXXXX] results) and check the rating of the game. Generally you'll be able to use it if it's not bronze or garbage. If you click in the version of the software, you'll see reports of people who have tried to run it, known bugs and general instructions and steps to follow. For now we're just cataloging the software, so we'll see how to actually install it later. If there's no search results there's still hope. Do a quick google search (probably "NameOfTheSoftware Wine support") and see what happens. If the software you want to use is really small and unknown probably nobody tried it, but just leave it marked as "dubious" or something because you may be able to run it anyways.

Other Solutions

You got your list and a general idea of what you can run and what you can't run and at which degree you will be able to use it. If you have something that needs to be run but you can't run, here's a small list of alternatives you can use.

  • Look for an alternative. If it's a game I'd say that you should look for games with similar tags in steam. If it's software use something like alternativeto, or just search for "<task to achieve> Linux".
  • Use a windows VM. Useful if the software you want to run is not resource intensive (99% of the time games won't like this, so don't use this for games unless you're going to attempt the GPU passthrough option)
  • Dual boot.
  • GPU passthrough. This is hard. You need to meet a lot of requirements and invest time, but if you can pull it out you can get the best of both worlds. The Level1Techs forum has been one of the driving forces behind using this technology and has a lot of information on the subject. (You can also check out their Linux Youtube channel)

Distributions, or "versions" of Linux

If you are here, congratulations! You want to get started with Linux and you have all your software narrowed down. In order to get started in the odyssey of Linux, you have to think about what distribution (informally referred to as distro) you want to use. The distribution is just the flavor of Linux you want to use. Just to be clear from the start, pretty much every distribution is equally capable of gaming and running software. The differences between them are:

  • The preinstalled software.
    • Some are more minimalist than others, but all of them can run the same software. With enough patience, you can turn one distribution into another just by installing and removing stuff.
  • The update frequency.
    • Some distros release updated software faster than others. Distros that push out updated software with minimal testing are known as rolling release distros. If you want to be up to date with features, you want a rolling release distro, but in exchange for the latest and greatest features you run an increase risk of running into bugs. Stable Release distros usually have to wait longer for updates, but those updates are often heavily vetted before being pushed out. It is to be noted, that stable does not mean that it has less bugs, it just means that it changes less often. A bug that is present in a stable release is not going to be fixed until the next major version upgrade, even if it is already fixed in a rolling release.
  • The community.
    • Different distros have different communities. The distros that are perceived to be easier or more user friendly tend to have communities that are quicker to help with easy to follow instructions.
  • The other minor things including default configurations, art, fonts, etc.
  • The package manager.
    • You don't need to worry about this. All of them are fine.
    • This is the program that installs, upgrades, configures, and removes packages. Packages are archives containing all of the compiled files of an application, and metadata(data providing info about other data) such as application name, version, dependencies(other packages required in order to function), etc.
    • Every package manager has a package format that it uses. For example, APT, which is used by Debian and its derivatives(Ubuntu, Pop!_OS, Linux Mint), manages DEBs. DNF, which is used by Fedora and its derivatives, manages RPMs. Pacman, used by Arch and it's derivatives, uses .pkg.tar.zst, and so on and so forth.

But the most obvious difference is the desktop environment (also called DE). The desktop environment is what you see, what you interact with, and what you would probably think "is Linux". You don't like that you can't put icons on your desktop? This is not a limitation of Linux, this is a limitation of the DE you chose. Your windows look ugly? Also the DE (or probably rather a theme for the DE). You don't like the menu system? This is also part of the DE and there are alternatives. The most popular desktop environments are KDE Plasma, GNOME, Mate, Cinnamon, LXDE, LXQt, and Xfce. Out of this list, KDE and GNOME are the most modern desktops, and also have the best support for gaming.

Desktop Environments

The desktop environment (short DE) is the user interface that you interact with. When you think of Windows, it's the task bar, start menu, file explorer, context menu, settings, control panel, task manager, etc. Basically everything that you can see on a fresh install. On Linux you can choose the DE, and even combine different ones, for example you could use KDE but use the file manager from GNOME. Some DEs that you can use on Linux are described in the following.

DE Notes Comparable to Approximate RAM usage More Infos
KDE Plasma Very customizable, and full featured. Windows 10 and 11 look a lot like default KDE. But if you don't like that, you can customize it, so that it looks and feels completely different. This doesn't mean only colors. For example you can create a MacOS clone, or basically whatever you want. It also has a lot of nice-to-have features that make your life easier. This is the default DE in SteamOS and Nobara. Windows 10/11 500MB short video longer video website
GNOME Very clean, but not easy to customize. The default workflow is very different from Windows, but definitely has it's strengths. It's perfect if you like it. You can customize it, but it's not as easy as KDE Plasma, and the options are a bit more limited. However, it's still a lot easier to customize than Windows. For example, there are ways to change the Workflow to be more comparable with Windows (Nobara GNOME does this, for example). Customizing GNOME often works with addons, and those addons tend to break with major upgrades. Use them with caution.

It has great touchpad and touchscreen support, and works really well with convertible devices.

MacOS 1GB longer video longer video website
Cinnamon Easy to use, but might feel a little old. Customization is easier than on GNOME, but there are not as many options as on KDE. Windows 7 1GB
Xfce Very customizable, but not as easy as KDE. Also not as full featured as KDE. Feels a bit older. Windows XP 500MB
LXDE Perfect for very old computers. However, it lacks some features. You can customize it, but the options are a bit more limited. Windows 2000 100MB
Mate
Unity
Pantheon You cannot disable the compositor on X11, which makes it bad for gaming.

Avoid Problems

If you want to avoid problems:

  • Choose something with KDE Plasma or GNOME. KDE Plasma is usually more lightweight.
  • Don't choose a "stable" distribution because "stable" usually means "old". You don't need this as long as you're not trying to run a server with 100% uptime.
  • Don't choose a niche distribution because this probably means that you don't have good software availability, and many bugs.
  • Don't choose something with Wayland if you can't use FreeSync.
  • Some distributions make problems if you change the default desktop environment. For example, if you want to use Ubuntu with KDE, choose Kubuntu.

Now, let's have a look at different distributions.

Recommendations

First a list of some "easy" distributions:

Easy distributions
Distribution Explanation
Nobara Based on Fedora, and specifically made to be great for gaming. Has three versions: Official (KDE with modifications), GNOME, and KDE. It's very new (as of 09/2022), so there could still be issues, but the developer is very reputable (Glorious Eggroll, Red Hat employee best known for Proton-GE). With other words: It will probably be great, but there is a chance that it won't work for you. It will give you better performance than most other distributions, and it will probably be less problematic than most other distributions.


If you don't know what to choose, pick this one.

Pop!_OS Pop!_OS is a Linux distribution developed by System76 based on Ubuntu, using the GNOME Desktop Environment. Has an Nvidia and an AMD/Intel image for convenience, and comes with some tweaks that make it better for gaming. It's been there for quite some time, and should be a solid choice. (Recommended by LTT)

If you're feeling particularly adventurous, there are other distributions, that might work great for you. Particularly Arch and Arch based distributions are known to work great for gaming, but also to require more knowledge. You might have a good experience, if you have the knowledge to fix a couple minor problems.

Advanced distributions
Distribution Explanation
Fedora Made by Red Hat, one of largest open source companies, and has a lot of officially supported desktop environments. Packages are up to date, but well tested.
Ubuntu LTS The latest Ubuntu LTS (22.04 as of this writing). Ubuntu also has a new-user-friendly community but is heavily discussed because of some design choices. Comes with GNOME, but also offers other flavors with different desktop environments, for example Kubuntu with KDE Plasma.
EndeavourOS EndeavourOS is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Very minimal. You will need to use the terminal. Basically a graphical installer for Arch, and coming with a very helpful community. If you want to try Arch, this might be a good choice.
Garuda Garuda is an ArchLinux based distro. Uses the offical ArchLinux software repositories. Ships with useful software for gaming, and useful presets like Zen kernel. Is made to be a user-friendly gaming-distribution. Comes highly themed and with many effects like wobbly windows. This can be disabled if you don't like it.
Solus Solus brings updates to its users by means of a curated rolling release model.
openSUSE Comes with YAST, a tool similar to the Control Panel that makes configuring the system easier, since for many functions it is thus not necessary to use a terminal, or to edit config files. Offers both a rolling release (Tumbleweed) and a regular release (Leap) option. You probably want to use Tumbleweed.
ChimeraOS If you are looking for a Steam-centric, couch-gaming-friendly Linux distribution, this might be what you are looking for. Don't use this if you want a traditional desktop experience.
Others There are a ton of Linux distros out there. Just know that they might come with problems. The mentioned distros are popular for a reason, and this reason is that they work well.
Questionable Choices
Distribution Explanation
Arch Linux Arch Linux is not beginner friendly, but it'd be an opportunity for you to learn a lot about Linux at the same time, especially that you got the Arch Wiki which is considered the best Linux Wiki and a very important and reliable source of information that covers nearly everything. Arch is one of the best distributions for gaming, because it comes raw and pulls straight from sources with no pre-configuration. Therefore, you will have a minimal base system and add the extra essentials by yourself (which is optimal for gaming, since you don't want things you don't need slowing down your computer). Obviously you need to do the correct choices if you want good performance. If you don't configure your system enough, it will probably be worse than other distributions. Only choose this option if you have time and are willing to learn. Contrary to popular belief, installing Arch is not too hard if you follow carefully the installation guide; it's even simpler with the provided archinstall script, although "it's not the recommended way". It will take long though.

You should keep in mind, that you will have to spend a lot of time if you really want to use Arch. You will have to do everything yourself. You want to have a graphical user interface? Read the wiki. You want to use a printer? Read the wiki. You want GPU drivers? Read the wiki. You have a problem? Read the wiki. Don't even try to ask stupid questions in the Arch forum. They will just tell you to read the friendly wiki. And the wiki is great, seriously. But if you want to use Arch, you have to read and understand it yourself.

Make sure to tell everyone you use Arch btw.

Gentoo Gentoo Linux is a source-based metadistribution; it means it comes raw and with nothing, just like Arch, but is also the best when it comes to performance, as it allows you to compile all programs specifically configured for your own setup! BUT, it makes it a double-edged sword! Not only are the performance gains not massive; it also means it will take quite longer to install and update software! Thankfully, you don't have to compile huge software like web browsers (or even the kernel, though you will lose the benefits). Adding to that, it is notorious for being hard to install, although it's as hard or even easier to install than Arch Linux as long as you follow the installation guide. It will take extremely long though: count more than two hours of setting things up!

Gentoo also has the benefits of supporting nearly every architecture there is, including ARM.

Do note that, just like Arch, if you don't configure much (including compiler flags!!), you will probably end up with no better, or worse, than other distros, considering you also rarely get grand performance gains!

Manjaro Based on ArchLinux, but uses its own repositories and includes other features like automatic graphic card drivers installation. Is made to be user friendly. (Recommended by LTT)

However, it is criticized for being unreliable. Such issues are listed here, and include:

  • compatibility issues with Arch User Repository (AUR) packages;
  • development team rushed Asahi Linux (Linux on Apple Silicon) support, shipping potentially broken kernels to Manjaro users;
  • its package manager took down the AUR twice: first time for all users, second time for Manjaro users;
  • development team forgot to renew SSL certificates five times in the past;

You should instead consider EndeavourOS, or Arch Linux using archinstall, if you want an installer-driven experience.

Debian Has a strong focus on reliability and not changing much. That's great for servers or if you just need something that works for basic tasks, but unless you know why you want Debian, it's probably not the best choice for gaming. It could be a good choice for very old hardware.
Linux Mint Nice distribution, but probably not the best for gaming. You might face weird bugs[1][2]. Cinnamon has issues with performance, and with disabling composition!

Offers two versions. "Linux Mint" is based on Ubuntu and "LMDE" is based on Debian.

elementary OS Based on Ubuntu, elementary OS strives to be user-friendly and deliver a cohesive and aesthetic user experience. Comes with Pantheon, a modern, good looking DE that is only available here. Unfortunately it is not possible to disable composition which makes it a bad choice for gaming. Only use this if you really don't care about performance at all.

If you really want to use a distribution that's not mentioned here, at least don't use one of the following! These distributions are known to have big problems!

Anti recommendations: DO NOT USE THESE DISTRIBUTIONS!
Distribution Explanation
HoloISO Unofficial Desktop-Version of SteamOS 3, as it's available on the Steam Deck. This might sound like a good idea, but it appears to be abandoned, is not easy to install, and doesn't work properly.
Deepin It might look pretty, but it ships with spyware[3]! Do not use it!
Puppy Linux Sometimes recommended as being extra light weight. You might think this makes it great for gaming, but this is not the case! It's not secure, not good to use, and doesn't come with good driver support!
Tiny Core Same as Puppy
Linux From Scratch (LFS) Even more complicated than Gentoo, it involves building your own system. No one should use this (unless for your own education on how Linux works), especially since there is no package manager.
Kali Not meant for daily usage. This distribution is meant for pentesting and (ethical) hacking only! Your games will probably not work, and you might have all kinds of problems like no audio.

If you are having trouble deciding, Pop!_OS is good for beginners. It's not the flashiest, but you're almost guaranteed to find an answer to your problem if you search "My Problem Pop!_OS" or "My Problem Ubuntu" (Pop!_OS is very similar to Ubuntu) in your favorite search engine (make sure to limit the search to only things from the past year). You can always switch later.

Most of them will let you install next to Windows and set up a dual boot automatically. Be careful though, Windows Updates have a bad habit of changing the boot loader and it will look like your Linux OS vanished. REMEMBER TO DO BACKUPS. Things can always go wrong and you don't want to lose anything. It's FOSS has a video on dual booting if you'd like a visual example, but it basically boils down to you clicking an option that says "Install along side Windows".

Window Managers

Window managers have the job of moving windows. They do things like the title bar, and the border around windows. If you really want, you can choose which window manager you want to use. You can even choose, to not use a desktop environment, and just use a standalone window manager. If you ever saw really cool looking images of Linux desktops, that's probably a standalone window manager. This is not something you have to do, and if you don't want to spend a lot of time on customization, just skip this. However, if you really want to dive deep, click here.

What to do after the installation

So, you've installed your distro and you have your computer running Linux. Congratulations! The absolute most important part of becoming a Linux user is to consistently use Linux! The last step is to get all of your software back running so you can use your computer as a daily driver.

A few things first:

This is rather controversial, but you do not be afraid of the terminal. While the terminal is absolutely not required to do your normal day to day activities, you'll often find solutions to your problems require you to enter a few lines into the terminal. This isn't any sort of magic and it's nothing to be fearful of using, if you want you can think of it a bit like a voice assistant that works with text. The reason for this is because the terminal is, generally, distro agnostic and it's easier to explain one line of code instead of having lots of different pictures showing you what to click in each distro.

Second, use the internet! Everyone starts as a beginner at some point. You might be very comfortable in Windows or macOS now, but at some point you had no idea what you were doing. That's very normal! As you use Linux more and more you'll gain the knowledge and experience needed and eventually it will feel like home. There's absolutely no shame in asking questions!

Installing Software

If you are coming from Windows, you are probably used to search for an .exe and install it by double clicking. Things are way different here. Installing software individually is often discouraged. The reasons for this varies, but security and compatibility are the main reasons. So what do you do in Linux? You use a package manager. Think of it as being similar to the Play store, but instead of random people uploading software to it, everything is maintained by your distribution's software team. This also applies to drivers, including GPU drivers, even though AMD and Nvidia both offer a download. Don't use it! It will probably break your system!

Package managers have a lot of benefits that may not be immediately obvious to new users. The package manager knows what other software is required to work on your system and can manage updating all of the software pieces you have without you manually having to handle it. As I mentioned earlier, since your distribution's software team creates these packages, the chances of installing malware on your system is very slim.

Remember when I said don't be afraid of the terminal? Here's a good example as to why. To install Steam on Ubuntu, Linux Mint, Pop!_OS, or most other distros that derive from Debian, all you have to do is open a terminal and type:

sudo apt install steam

Video example. And that's it. Steam is installed, from a trusted source and with everything it needs. Do you want to update all the stuff installed in your system?

sudo apt upgrade

Let's break those two lines down a bit so you know what's going on. sudo stands for "super user do". You can think of this like right clicking and choosing the "Run As Administrator" in Windows. apt is the package manager's name. apt is used by distributions based on Debian. install is apt's command for installing programs. steam is the Steam software. So in English we just said. "Please install the "steam" program as administrator (called root on Linux)."

Now, if you wanted to use the graphical way, I'd have to post pictures from Ubuntu, Mint, etc and they all look slightly different and you have to find their front end in different places. It's just easier this way. But generally, you would open your software store (or whatever it is called), and search for the program you want to install, click "update", or whatever else.

So what do you do if the software you need isn't in your package manager? The next best thing is to add a 3rd party repository to your package manager. As an (educational) example, let's add Google Chrome. Note, that the following procedure is not recommended for various reasons, including, but not limited to Chrome being considered spyware[4]. UbuntuUpdates.org give the following instructions[5]:

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable

That looks a bit scary, but it's just adding the security key and repository to your system and then installing Google Chrome. You'll want to use a PPA of your software when possible since it will update with the rest of your system.

However, what about distros that don't use apt? For example, let's say you installed Fedora instead. Fedora uses DNF. Unfortunately, Steam is not in Fedora's default repository, so we will have to enable the RPMFusion repositories with this command:

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Then we enter:

sudo dnf install steam

As you can see, instead of using apt to call in apt, we used dnf to call in dnf.

Improving performance

Since you want to play games, you probably want to have the best performance that your hardware is capable of. The default settings are usually bad, though. Read this article to see how you can improve them for a flawless experience.

Nice things

Look at other articles in this wiki to see what you might want to use. Most of what you are used to from Windows is possible, including game streaming, modding, up-/downscaling, noise cancelling, and much more.

Going further

Learn using the terminal. While you might not necessarily need it, it makes many things easier.

Troubleshooting

When asking about your problems, remember to give as much info as you can. For example, include what Distro you're on, what you have already tried, any error messages that come up, anything you've changed recently, etc.

Common issues

Vulkan games (native, Proton, Wine with DXVK) don't run (no Vulkan support)

The end

u/PBLKGodofGrunts put this guide under the WTFPL License. Please attach this license when sharing or modifying this guide. I hope that this is helpful to someone.

References