Gaming on Ubuntu Desktop

Well… it seems I was forced to come here for help. As a project I use to make gaming work on my Ubuntu has been side tracked from Ubuntu’s side, not intentionally obviously.

https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/23#issuecomment-1078073699

This has been the only kernel that has provided stability for my and for few other computers I maintain, and like the comment says, Ubuntu has dropped something somewhere, and we can’t get Ubuntu specific kernels now.

And yes, by stability I mean gaming on Ubuntu without this kernel, on my Ryzen and my friends intel machines with AMD gpu’s would be constant crashing.

So I wish this project could do something where the stuff was dropped. Having a stable GPU has been essential for gaming on Ubuntu and AMD has always needed the latest stuff to be actually working. Ironically NVIDIA has never been a issue on my Ubuntu install (after finding the perfect ppa)

Without this kernel project from M-Bab i would have probably dropped Ubuntu long time ago.

The state of the Wine packages are a bit questionable. Stable is at version 6 and wine-development as well. Upstream stable is at version 7.

Maybe more resources can be shifted to that.

2 Likes

Imho, the wine ppa is a must.
I tend towards some kind of official gaming repo, to keep the drivers and tools updated and packaged there there but not endanger the upstream stability of the underlying base Ubuntu.

1 Like

As an FPS gamer, I think GNOME settings should expose the “Flat” acceleration profile under the mouse settings. In a game like Apex Legends the default profile makes aiming feel too sensitive and unwieldy. Flat IMO makes it feel more like what I’m used to when using Windows.

2 Likes

Once upon a time, Ubuntu/Mint gaming wasn’t up to par, but the latest kernels and Mesa have eliminated that. My Linux machines have beaten my Windows machines in response and overall performance since the advances.

5 Likes

PSA Unreal Engine have released pre-built binaries for Unreal Engine 5 for Ubuntu 22.04, you can download the engine here (if you have signed up for an Epic Account), and it makes it very simple to get up and running with the editor now. :slight_smile:

2 Likes

Where are we with Gaming on Ubuntu? We mentioned missing apps and parts of the main distro that need to be bleeding edge for a good user experience.
I’d say an official and curated repository on top of the main one might be the way to go here in addition to work with hardware partners on upstream hardware enablement.

1 Like

Ah, the ol’ gaming on Linux thing. Maybe it’s about time we started considering the possibility of admitting one day that Linux just doesn’t work for gaming. Maybe it just isn’t the right tool for this job, maybe it was designed for something else…

Check the various gaming related talks on the Ubuntu Summit 2023

It works better than ever, we just need a bit more help from Canonical to make it viable by default without too much intervention and knowledge from the user.

IIRC, this is why Canonical decided on Snaps instead of Flatpak – it’s all about security.

Any plans on boosting the default vm.max_map_count?

https://github.com/ValveSoftware/Proton/issues/6510#issuecomment-1422699309

One thing that I think would really help gaming on Ubuntu at this point would be to carry the Mutter-VRR patch in 24.04+ to add variable refresh rate support in Gnome/Wayland.
There is obviously an upstream MR to add support, but it’s over 3 years old at this point and is currently locked. There is also a proposed roadmap to add experimental support in Gnome 46 which was promising, but there doesn’t appear to have been any activity in a month and am really dubious at this point that it will make it before feature freeze.

Meanwhile “Mutter-VRR” with the patch been available on Arch (AUR) and Nobara/Fedora (Copr) for a few releases now and reportedly works great. Someone could potentially provide a PPA for Ubuntu of course, but it would be amazing if it was available by default (i.e. installable and/or behind a hidden gsettings flag).

I understand that it takes a resources and commitment to support a downstream patch, but it would really show that Ubuntu is serious about gaming and would hopefully push upstream to finally accept the MR (additional testing/interest). It would really be great to not go through another LTS cycle without VRR support.

Food for thought…thanks!

3 Likes

We have until February 29th for feature freeze, so there’s still a little time.

I have been developing games for quite a while and recently made the switch to using Ubuntu as my primary operating system. I was pleasantly surprised that it was easier than expected to be able to write games natively for Linux using the Ubuntu desktop distribution. I am getting better performance than Win10 doing the exact same thing. Cpu, Gpu, I/O, and so forth have been much faster, and sometimes double the speed in certain cases. Ubuntu seems to be absolutely great for gaming from my initial impressions.

Now, most of the other game developers that I speak to were aware of this fact many years ago. Ubuntu seems to have everything going for it and most game developers know that. But the adoption seems to be slow from the gaming community, and this is what is keeping game developers away as well. And so, I would like to throw some suggestions out there.

First, while small changes and driver fixes are great, it won’t do much to move the gaming market over to Ubuntu anytime soon. There needs to be a huge push from Canonical towards gaming. And with the competition making more mistakes than ever, now would be a great time to capture that opportunity.

There needs to be a desktop distribution of Ubuntu that has Steam preinstalled, working, and pinned to the hot bar. Nvidia App and AMD Adrenaline need to be pre-installed and updating to the latest game ready driver each month. Working with all the peripheral vendors such as Logitech to port their G Hub type tools needs to happen as well.

I get phone calls from Nvidia to make sure I am not having any issues getting their latest ray tracing or DLSS tech working in my games. I don’t ask them to call me, I don’t pay them, they just do it to ensure their product stays on top. I think Canonical needs to do the same kind of outreach to get all the vendors on board with Ubuntu.

Secondly you need to work with the major publishers and indies to offer assistance in getting their games written native for Ubuntu. The majority of games released recently may not need a native port, but I can tell you the biggest games are barely making 60fps as is, and they can’t afford the overhead of Unity or Unreal. Most of us are already porting our games to as many platforms as possible, adding Ubuntu to that list is something most of us would consider if there was a straight forward way of doing so.

Third, there needs to be a desktop consumer friendly webpage. Arriving at a webpage that talks about modern enterprise open source makes people think they clicked on the wrong link. Have a page for Ubuntu business, and a page for Ubuntu home users. Make it simple. The Ubuntu desktop page should show mom and dad doing their spreadsheets and word processing, while the kid is playing games on the Ubuntu desktop platform.

Fourth, get involved with gaming laptop and desktop vendors and sell those products right on your front page. Have Ubuntu branded laptops with a big Ubuntu logo on them. Make sure those products are rock solid and get them out to the influencers.

Thanks.

1 Like

Basically a GameBuntu Flavour.
Proper LTS based repository, but with a few relevant exceptions.
My first move usually was adding deb-get , topgrade and enable heroic games launcher and the bi-weekly wine releases from their ppa (and a few other things to get deb packages instead of default snaps)
A lot of gamer hardware , rgb management, special keys , water cooling, fan management, already works, but it needs to be installed by default and updated a bit more often.
We need to package stuff, find a good mix between pre-installed and “installed if detection says, supported hardware exists” and have faster updates for gaming related components.

It of course can also help to talk to companies and projects and work together on fixing issues and closing gaps. Streaming Hardware and Elgato might need a little bit of a push for example.