Gaming on Linux, Proton to the Rescue
Tags: linux, beginners, gaming, proton
Published: 2020-08-23 06:44:56

People trying to switch to Linux have always been plagued with issues as limited app support and most importantly, games have been primarily developed for the Windows platform. The pro by day and gamer by night faction have had to make a lot of compromises. Not anymore as gaming on Linux has been constantly improving and it just might be the best time to game on Linux.

Somehow Linux has become a serious gaming platform, something must've happened for sure, right?
&nbsp;
###**Well, Proton happened**

For starters, [Proton](https://github.com/ValveSoftware/Proton#introduction) has done a great job at that. Its an open-source compatibility layer funded by [Valve](https://www.valvesoftware.com/en/), built upon [WINE](https://www.winehq.org/) and developed by [CodeWeavers](https://www.codeweavers.com/).

Proton has made gaming on Linux as easy as pressing the play button on Steam to run the game. Along with WINE proton also makes use of [DXVK](https://github.com/doitsujin/dxvk) (a vulkan based implementation of Direct3D 9/10/11 APIs) and other Vulkan implementations of Direct3D that the gamer would otherwise have to install on his own. Proton is still in its infancy but is requalarly improving.

Before proton, its not that we didn't have choices, some games could be run using WINE or [Lutris](https://lutris.net/). Some older titles would run just fine like Crysis3 in my experience performs similarly on just WINE while others could be prove to be a real pain.

A website by the name [protondb](https://www.protondb.com/) maintains a comprehensive database of user reports on games which run on Linux and also on how well they run. With about 80% of all games in the top 100 on steam have a Gold++ or better rating, which means that they do run on Linux without any configuration and the performance is quite comparable to Windows.

At the time of writing about 11,339 out of 14,715 games reported do run on Linux according to the data on protondb.

![Perormance comparision](https://thumbor.forbes.com/thumbor/960x0/https%3A%2F%2Fblogs-images.forbes.com%2Fjasonevangelho%2Ffiles%2F2019%2F07%2FSystem76-Oryx-Pro-_-1080p-Gaming.jpg)
######_(SOURCE- [forbes](https://www.forbes.com/sites/jasonevangelho/2019/07/17/these-windows-10-vs-pop-os-benchmarks-reveal-a-surprising-truth-about-linux-gaming-performance/#291109a45e74))_

&nbsp;
##**Open-Source Radeon drivers rock**

AMD has a history of using and contributing to open-source alternatives comapred to their green rivals. With the announcement of linux kernel 5.8 we saw quite a host of improvements for both AMD's APUs and GPUs.

AMD might be reliant on open-source alternatives mainly because of the disparity between the reseach budgets among its competition, who knows?

Whatever it might be it certainly has provided performance improvements over the past year especially with the introduction of [HWE kernels](https://wiki.ubuntu.com/Kernel/LTSEnablementStack).
&nbsp;
###**NVIDIA still hates open-source?**

The [Nouveau project](https://nouveau.freedesktop.org/wiki/) has attempted to bring open-source drivers for nVidia cards on Linux but good luck with that as it will only perform as good as a fraction of the original performance of the card beacuase nVidia decided to lock the performance on drivers that aren't digitally signed by nVidia themselves. I know not cool.

![Nouveau vs Proprietary Drivers](https://miro.medium.com/max/875/1*89uaNBNhXTYotH19tGbuzQ.jpeg)
######_(SOURCE- [usejournal](https://blog.usejournal.com/6-months-without-windows-the-ugly-truth-about-gaming-on-linux-c5bae50fdea9))_

People with nvidia hardware have no choice other than to give up software freedom for state of the art gaming. Having to install a proprietary driver only to game isn't a just cause for giving up open-source principles and just the thought of it makes the heart ache. NVIDIA has the majority of the market share in the discrete graphics sector and still decides to just flat out reject any open-source involvement.

You'd expect the proprietary drivers to be quite good but not actually. NVIDIA's implementation of the Intel internal and discrete nVidia GPU setup called optimus is quite complicated (this [Arch wiki article](https://wiki.archlinux.org/index.php/NVIDIA_Optimus) might help understanding). You can use one or the other gpu primarily which nulls the benefits of the multi gpu setup otherwise applications need to be manually switched to make use of the NVIDIA GPU using PRIME render offload (the official method supported by nVidia). And lets not talk about Wayland support. Intel, AMD basically everyone but nVidia have decided to support wayland development.

Changelogs of nVidia's pre-release builds of the 450 series driver does seem to address some major issues wile others remain as is. It'll be interesting to see what happens in the future as the [description of GTC session 2020](https://www.forbes.com/sites/jasonevangelho/2019/12/06/nvidia-is-prepping-an-unexpected-surprise-for-linux-users-in-2020/#457f599b6390) states that nVidia will be and I quote "supporting Nouveau for NVIDIA GPUs".

Color us surprised and damn excited, as long as the announcement is substantive. 

Even though you decide on installing proprietary drivers the process is not very complicated most distributions have graphical installers, detailed descriptions of the various methods, comprehensive tutorials and great communities. Pop!_OS goes a step further by including proprietary drivers in the iso itself. Not a big fan but a great starting point for newbies.

Linux gaming wasn't considered the best gaming experience but if you ask me for a privacy centric, more secure, customisable OS that doesn't break my system after an update is enough for me to sacrifice a few fps. 

Something strange happened last year when Linux started to outperform Windows on certain titles. This [video](https://www.youtube.com/watch?v=13BQljK9ZwM) from Citrus Tech Tips is here to emphasize.

Valve has been continually contributing to the linux kernel and is helping gaming on linux. The ACO compiler replacing the LLVM compiler will reduce compile times by about 50% and greatly improving game performance.

![ACO vs LLVM](https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/07/fps-improvement-amd.png?w=937&ssl=1)
######_(SOURCE- [forbes](https://www.forbes.com/sites/jasonevangelho/2019/07/17/these-windows-10-vs-pop-os-benchmarks-reveal-a-surprising-truth-about-linux-gaming-performance/#3b3030335e74))_
&nbsp;
###**Takeaways**

Some people might be concerned about relying on proton to run games might deincentivise game developers to build native games but I feel its more of a platform which more people use might encourage developers to eventually support linux natively. Like this [new gaming platform](https://www-forbes-com.cdn.ampproject.org/v/s/www.forbes.com/sites/jasonevangelho/2020/02/19/meet-the-new-pc-gaming-platform-where-linux-support-is-not-optional/amp/?usqp=mq331AQFKAGwASA%3D&amp_js_v=0.1#aoh=15975870347328&referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=https%3A%2F%2Fwww.forbes.com%2Fsites%2Fjasonevangelho%2F2020%2F02%2F19%2Fmeet-the-new-pc-gaming-platform-where-linux-support-is-not-optional%2F) for native linux games.

Linux gaming is still not better but its certainly getting there. Linux is certainly the future. Running non-native apps close to its native performance says quite a lot. Someday we might even exceed gaming performance on Windows and people will no longer have reason to stick to Windows and move to an operating system that values the users' privacy, is fully custiomisable and doesn't update when you dont want it to.

The future does look very bright for gaming on linux. In the meantime for all the people not on linux, do certainly give it a go. All it takes is a flash drive to try linux no install required.

For more news related to gaming on Linux check this [Phoronix news archive](https://www.phoronix.com/scan.php?page=news_topic&q=Linux%20Gaming)

******
_We hope you found this insightful._
Do visit our [website](https://nitdgplug.org/) to know more about us and also follow us on :
* [Facebook](https://www.facebook.com/nitdgplug)
* [Instagram](https://www.instagram.com/nitdgplug/)
* [Linkedin](https://www.linkedin.com/company/lugnitdgp/)
* [YouTube](https://www.youtube.com/channel/UCYZPnN5vP5B1sINLLkI1aDA)

Also do not forget to like and comment.

Until then, 
_stay safe, and May the Source Be With You!_

![Star Wars Who?](https://dev-to-uploads.s3.amazonaws.com/i/cplzcsry6s5r8m1pale8.gif)