Performance When Playing FOSS Games on Libre Kernel

Performance When Playing FOSS Games on Libre Kernel

Postby PublicLewdness » 14 Mar 2021, 03:48

I am not sure about rules regarding necroing threads so while I saw some similar threads they were from almost a year ago so I decided to start a new one.

My question is whether trying to play FOSS games on a FSF approved OS is a fools goal ? I have been trying it out the last six months or so on a spare system and can't say I am seeing it as a viable option. So right away by doing this I am currently limited to an Intel HD 4600 GPU on my i7-4770 or a GTX 760 using Nouveau drivers if I embark on this path. I have tried games like Red Eclipse; Super Tux Kart; and Yorg so far and the results have been basically an average of 30-40 FPS on lowest settings using the HD 4600 and an average of 20-30 FPS on the GTX 760. I also tried a GTX 780 Ti using Nouveau and at best could match the HD 4600 and other times lose to it as well. I could try to upgrade the CPU to a newer Intel model but not sure even the Xe models could give me what I want. On my main system which uses an RX 580; Manjaro and a non libre kernel I am used to 100+ FPS at highest settings.

It seems that when you try to go too pure you reach a point of dimenshing reults in other areas very fast. The easy answer is to simply continue to use a non libre kernel and enjoy my FOSS games but the logic I keep bumping against in my head is if I accept that then why deprive myself of non free games ? Curious to hear other opinions or ideas I hadn't thought of.
PublicLewdness
 
Posts: 7
Joined: 14 Mar 2021, 01:00
Location: Canada

Re: Performance When Playing FOSS Games on Libre Kernel

Postby PeterX » 14 Mar 2021, 19:38

I assume with non-libre kernel you mean the proprietary Nvidia 3D driver. Yes, without it 3D games like STK are slow. I personally would use the proprietary drivers, but I can understand Richard Stallman refusing to use ANY non-libre software. So it's your decision in the end.

EDIT: I occasionally (but very rarely) play proprietary games, too.

Greetings
Peter
User avatar
PeterX
 
Posts: 270
Joined: 01 Oct 2020, 21:44

Re: Performance When Playing FOSS Games on Libre Kernel

Postby Julius » 14 Mar 2021, 23:58

Aside from signed firmware issues (which I personally find less problematic), modern AMD GPUs work great with the Mesa drivers.
User avatar
Julius
Community Moderator
 
Posts: 3297
Joined: 06 Dec 2009, 14:02

Re: Performance When Playing FOSS Games on Libre Kernel

Postby Technopeasant » 10 Apr 2021, 01:30

Yes, AMD or Intel are safer bets. I never buy NVDIA for that reason.
User avatar
Technopeasant
 
Posts: 176
Joined: 22 Feb 2017, 03:38

Re: Performance When Playing FOSS Games on Libre Kernel

Postby Wuzzy » 10 Apr 2021, 18:12

I am on a fully libre kernel (Linux-libre, to be precise) and system for years and get 60 FPS for the games I care about.

The key to everything is the hardware. You need to research and check whether a libre Linux officially supports it. Make sure all the hardware you have is supported.

If you have a hardware that's not supported (or not supported well enough) by a libre kernel, the only reasonable thing to do is to replace it. Don't try to “force” a hardware to work (e.g. by searching the Internet for weird workarounds) if you know it's not well-supported by your kernel or software anyway; this is just going to be a huge waste of time, will seriously frustrate you and even if you somehow manage to get it to work, the result will disappoint. I did the exact mistake as you in my early days of Linux: I had banged my head for months trying to get an old sound board to work on Linux, searching dozens of forums with no success until I finally realized there just isn't any Linux driver or anything I could "install" to make it work. It's just not supported because the driver I need doesn't exist. Keep in mind a lot of the hardware isn't manufactured with Linux in mind.
So if a hardware is not supported on Linux, accept it, move on and find a replacement.

As far as graphics go, NVIDIA hardware has to fly out of the window, as the libre driver performs worse and it's probably not worth your effort. Why is that? Because the libre driver (Nouveau) developers are forced to reverse-engineer everything of NVIDIA hardware because NVIDIA hates free software and doesn't support the FOSS community at all. It's no surprise the libre driver underperforms. Thankfully, NVIDIA does NOT have a monopoly on computer graphics. :D

What you want to use instead is some other graphics hardware for which you know you can get first-class libre drivers for (i.e. definitely not NVIDIA). I personally use Intel hardware btw, it's well-supported on Linux.

My key point here is: You absolutely can have a functional performant gaming system even if you go 100% FOSS mode. High-performance FOSS gaming is possible, and it's real. But it requires research and patience to set up a good system first.

Note your gaming system might probably not be the highest end ever, since the super duper graphics hardware might be locked behind proprietary drivers, unfortunately. But chances are, you probably don't need the latest and greatest hardware anyway; what's much more important that it fits well into your overall system and is compatible with everything else. Maybe one day the FOSS movement will be strong enough to even “infect” hardware manufacturing (there's still so many trade secrets that drive libre driver authors mad), but we're still far away from that.

And finally, the biggest limitation that you can't work around in FOSS gaming, obviously is still the games themselves. Games are still very dominated by proprietary software, that's the harsh truth, but who knows what the future will bring? :)

Anyway, it can still be a fun excercise to build up a gaming system that is built on 100% FOSS, and I hope I could help you a bit.
User avatar
Wuzzy
 
Posts: 989
Joined: 28 May 2012, 23:13

Re: Performance When Playing FOSS Games on Libre Kernel

Postby PublicLewdness » 11 Apr 2021, 17:31

Wuzzy {l Wrote}:I am on a fully libre kernel (Linux-libre, to be precise) and system for years and get 60 FPS for the games I care about.

The key to everything is the hardware. You need to research and check whether a libre Linux officially supports it. Make sure all the hardware you have is supported.

If you have a hardware that's not supported (or not supported well enough) by a libre kernel, the only reasonable thing to do is to replace it. Don't try to “force” a hardware to work (e.g. by searching the Internet for weird workarounds) if you know it's not well-supported by your kernel or software anyway; this is just going to be a huge waste of time, will seriously frustrate you and even if you somehow manage to get it to work, the result will disappoint. I did the exact mistake as you in my early days of Linux: I had banged my head for months trying to get an old sound board to work on Linux, searching dozens of forums with no success until I finally realized there just isn't any Linux driver or anything I could "install" to make it work. It's just not supported because the driver I need doesn't exist. Keep in mind a lot of the hardware isn't manufactured with Linux in mind.
So if a hardware is not supported on Linux, accept it, move on and find a replacement.

As far as graphics go, NVIDIA hardware has to fly out of the window, as the libre driver performs worse and it's probably not worth your effort. Why is that? Because the libre driver (Nouveau) developers are forced to reverse-engineer everything of NVIDIA hardware because NVIDIA hates free software and doesn't support the FOSS community at all. It's no surprise the libre driver underperforms. Thankfully, NVIDIA does NOT have a monopoly on computer graphics. :D

What you want to use instead is some other graphics hardware for which you know you can get first-class libre drivers for (i.e. definitely not NVIDIA). I personally use Intel hardware btw, it's well-supported on Linux.

My key point here is: You absolutely can have a functional performant gaming system even if you go 100% FOSS mode. High-performance FOSS gaming is possible, and it's real. But it requires research and patience to set up a good system first.

Note your gaming system might probably not be the highest end ever, since the super duper graphics hardware might be locked behind proprietary drivers, unfortunately. But chances are, you probably don't need the latest and greatest hardware anyway; what's much more important that it fits well into your overall system and is compatible with everything else. Maybe one day the FOSS movement will be strong enough to even “infect” hardware manufacturing (there's still so many trade secrets that drive libre driver authors mad), but we're still far away from that.

And finally, the biggest limitation that you can't work around in FOSS gaming, obviously is still the games themselves. Games are still very dominated by proprietary software, that's the harsh truth, but who knows what the future will bring? :)

Anyway, it can still be a fun excercise to build up a gaming system that is built on 100% FOSS, and I hope I could help you a bit.


What are the games that you care about and get 60 FPS on ? What CPU; GPU; and distro are you on ?
PublicLewdness
 
Posts: 7
Joined: 14 Mar 2021, 01:00
Location: Canada

Who is online

Users browsing this forum: No registered users and 1 guest

cron