by coffeebeqn · 2y ago · 0 comments
After hearing people be ecstatic, I thought I’d go full-in on Linux gaming. I have a pretty bog-standard gaming PC that is very Linux-compatible (Intel i5 + Radeon 6800XT) and on there Apex Legends has horrid frame pacing issues, Mirror’s Edge doesn’t work with wireless Xbox controllers. You lose out on a lot of GPU suite features that Windows has. Gnome doesn’t support VRR. Etc etc.
There’s so many small issues it’s held me back from deleting my Windows partition. Maybe in a year or two?
That said, these things work flawlessly on the Deck.
For Mirror's Edge, were you using Steam Input?
> For Mirror's Edge, were you using Steam Input?
Yes. The problem lies in the fact that only the Xone driver properly supports the Xbox wireless adapter, but it doesn’t play nice with Mirror’s Edge. Xpad and XpadNeo do work, but those require USB or Bluetooth.
And me having to tweak a million things tells why gaming on Linux still sucks, aside from Deck’s blessed config. I don’t want to deal with a thousand papercuts, I want to boot my system and play. Windows is still closer to that experience than Linux.
But if it's the difference between gaming working or not for you, wouldn't you rather use it? Surely you barely interact with it anyway while gaming, only to get into Steam?
If this is a machine you use for something else too, you could just have a gaming user that logs in to KDE and your normal user that uses Gnome?
The calculator app just recently did this, and now I have to type and enter one line of numbers before the text control realizes it's too small and resizes itself. That first line of numbers is nearly invisible. Happens again every time it's opened.
I'm not sure who decided that desktop apps need to look and feel like touchscreen-first mobile apps, but I don't particularly like it. KDE still feels like a desktop environment, so it's my strong preference. I'll put up with a very slightly less polished experience if it means stuff stops rearranging itself just for the sake of change every couple of weeks.
(Aside from KDE, Cinnamon is pretty solid and less feature packed, maybe give it a whirl?)
You know that linux distros are multiusers/multiseats systems right? You can perfectly use Gnome as default desktop and live switch to a dedicated gaming user with kde plasma desktop that is only used to launch games.
Kde plasma shoudln't be buggy if only used as a game launcher and disable baloo file indexing if you want to limit kde memory usage to minimum.
You can install it upon Arch from AUR.
Putting that aside:
Windows users always find a reason not to switch to Linux because some missing feature. In two years? There will be another new feature or game on Windows. I remember people insisting on using Windows because it support their „3D-Shutter glasses“ or their card from Nvidia. Either you want use Linux or not :)
Why are many features initially only available on Windows?
First. That is wrong. Important features like cgroups, namespace and containers/Flatpak where novelly developed upon Linux.
Second? MBAs only look at past numbers. So Windows often get traditional Windows stuff first. You make guess it, innovative companies care about what will be possible in future. Valve for example.
The MBA style thinking is also in many consumers. Still buying Nvidia? Because they were faster in the paper sheet? I prefer the cards which works well with Linux, so AMD or Intel. Frames actually generated are more worth than problems with proprietary drivers.
PS: Linux has maybe won the war against drives. Seems like Nvidia open most stuff slowly and feature land in the nouveau-module or mesa. A decade to late. I’m already in Team AMD ;)
I'm not sure how this is a bad thing. I don't run Linux to run games because Windows is a better supported platform for running games. I'm not "looking at past numbers", I'm looking at the situation in front of me as it exists, setting aside my personal feeling on what might have been and instead focusing on what actually exists, today, for the problem I am looking to solve today.
Because the OS is a tool, not a religious/political statement.
Therefore I'll use it if it works the way I need it and it solves my problem, or not use it if it doesn't work the way I want it and ends up creating more problems for me than it solves. Simple.
I get your overall point, but the first "process containers" code that later became cgroups was merged to the kernel in 2007. Windows came out with the Job Objects API in Windows 2000 (NT 5.0) in 2000.
Steam Input is rapidly becoming the Google Play Services of the desktop linux world. On Steam Deck for a long time you couldn't even use the touchpads without the Steam client running.
I find it helps with pacing. It also supports VRR with a commandline argument, '--adaptive-sync'.
VRR may need support in the environment to work, I'm not sure. Sway/wlroots does it fine. Presumably KDE does/can too since that's what the Deck uses in 'desktop' mode (otherwise, gamescope).
edit: I see in another post - you have! Agreed on KDE being scattershot. I hope the Gnome people clear things up for you. I wouldn't go so far as to suggest i3/Sway, even though I'm happy with them
env DXVK_ASYNC=1 SDL_VIDEODRIVER=x11 gamemoderun taskset --cpu-list 0-7,16-23 gamescope -W 3840 -H 2160 -r 160 -o 160 --borderless --fullscreen --rt --steam -- %command%
Gamescope has become odd with the introduction of '--expose-wayland'.I think the 'SDL_VIDEODRIVER=x11' part may be key; I didn't need this before, but now I often do. Not every game requires it. It's weird.
It helps if something crashes because "wayland isn't available". Adding '|& tee /tmp/game.log' is useful for debugging.
Pinning (taskset)/gamemode stuff left for context. This example gives a game the cache-rich threads on a 7950X3D.
Beyond '--adaptive-sync'... I believe VRR calls for the feature to be enabled on the output in Sway.
See 'man 5 sway-output', looking for 'adaptive_sync' for more info on that
edit: One last note. I'm on Fedora - the libraries here are so new that Flatpak-based Steam tends to work best.
May i ask what driver features are you missing? I only want some decent fan control instead of relying on random scripts off github. AMD has to release some sort of GUI panel for sure.
Have you tried CoreCtrl [0]?
> My 5800x3D and 6800XT deliver an outstanding Linux gaming experience.
I have a 7900XTX and performance under Linux has been at least on par with Windows, sometimes better (though not by much).
> May i ask what driver features are you missing?
I'm not GP but I'd love to see frame gen and stuff like anti-lag and upscaling integrated into amdgpu with some sort of official way of setting it (though looking at Adrenaline it might actually be best if it's left up to the community to create the GUIs).
I'm told it's better in Mesa 23.3 though, haven't tested.
Apex Legends run flawlessly for me, but only on KDE/X11 with Nvidia reflex enabled[0].
If you are on Radeon though, I bet the problem is your window manager. I have the frame pacing issues on:
- hyprland/wayland (even with no_direct_scanout = true; and floating game windows) - KDE/wayland
I also had a weird issue using gamescope as my DM where apex got resized into a tiny frame in the top left that was like 200 pixels or so wide.
> That said, these things work flawlessly on the Deck.
Likely due to running into these graphics driver -> WM and similar compatibility issues and fixing them. The other performance improvements from kernel changes probably don't hurt either.
0: Requires unreleased proton-ge build: https://github.com/GloriousEggroll/proton-ge-custom/pull/104...
Valve should be the only one that is worried about your opinion here. I think they develop SteamOS as a backup plan, though, in case Microsoft ever starts to take their own App Store seriously.
While that was obviously speculation, at least the dates match up (October 26, 2012 for Microsft Store launch and December 13, 2013 from SteamOS launch according to Wikipedia)
Anyway, agree—I wasn’t trying to belittle Valve’s motivations, just wanted to include a thought about why they seem to be happy serving both platforms.
For example: Halo Infinite works fine, but Destiny and Call of Duty don't.
This is true for at least EAC/EasyAntiCheat. This covers a lot, sure, but not everything!
When I start a game and I see an Easy Anti-Cheat banner I think to myself "Great now I can be killed by an aimbot while simultaneously hosting a root-kit voluntarily."
Why do you think these systems are advertised like that, at the forefront of the game load? It's so that the developers create a false trust in the playerbase that they're doing their damnedest to prevent cheaters, when the reality is that they paid a small amount of cash to a third party to use a system that does a piss-poor job at everything aside from being a symbol of effort and adding incompatibilities where there shouldn't be.
eac bypassing is trivial to a laymen, that doesn't bode well as a defense against people that have made cheating their hobby.
and to be clear : I use EAC as the example because to me it symbolizes the 'security theatre' side of the effort. Real anti-cheat efforts exist, and those should be applauded. EAC ain't it, but it's the industry standard... worrisome.
That user would happily play that game, but the game publisher doesn't want them.
Incredible.
Let Valve do the needful for running them under GNU/Linux, if at all.
One is that developers now a specific hardware + software combo to test their games with. Even if it’s the same build they’re sending out, they’re still testing their game on the Deck and fixing issues, leading to a better (but not perfect) experience for Linux gamers. Here’s a video of Swen Vincke, CEO of Larian studios playing a game released by his studio on the Steam Deck - https://youtu.be/kzfEkSGa45k. He’s very pleased and promises to test future games released by his studio on the Deck. And he stuck to that promise - Larian released several fixes specifically for the Steam Deck to make Baldur’s Gate III run better. Linux gamers benefit from that.
Second, this increases the % of gamers using Linux. After the Deck’s success in the last couple of years Linux is at 1.91% of the respondents of the Steam Hardware Survey for Nov 2023. Linux was at 1.15% 18 months ago. Doesn’t sound impressive, but if that growth continues and it reaches 3-4%, at that point developers will find shipping native Linux builds more attractive.
Studios don't care about native GNU/Linux, despite the games being shipped with Android/NDK, PlayStation POSIX environment, and the available APIs on Switch OS.
All of them much easier than porting from Windows/XBox, almost straight ports if coming from Android/NDK.
OSes are irrelevant these days and having basically libwindows.so these days only underlines that.
Ah well, it's funny to see people complaining because it really solos out the OS you're using. Windows users have native DirectX, Linux users have near-flawless DXVK, and Mac users... well, Mac users get what Apple gives them, and they have to learn to be happy with it.
Game studios aren't FOSS indie devs stressing out about 3D APIs.
They are used to specific hardware since the Atari and Magnavox.
You should tell them that, they must not be aware considering all the APIs they pass over and platforms they avoid.
From a quick search this is the best description of it I found: https://github.com/ValveSoftware/steam-runtime