Linux Gaming

15736 readers
24 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
1
 
 

Is there a way to make gamescope use my cursor theme?

Before I write an issue on the GitHub page I wanna ask if someone has a solution to this. It doesn't make a difference if its run with --force-grab-cursor or not, its always this ugly, tiny and barely visible default black X11 cursor. I cant remember when it happened exactly since most games overwrite the system cursor but my rough guess is around 3.15.5.

gamescope: 3.15.14

Plasma: 6.2.2 Wayland

default Plasma cursor theme Breeze

2
 
 

Is there a consensus on how to run Steam and games isolated from the main system? I've seen Flatpak mentioned in some Reddit post but I'm not sure how good the separation is. Everything about Flatpak sounds like an early work in progress, but I can be convinced otherwise.

I don't trust Steam or the closed source games at all. Currently I've got a second disk with a separate system for gaming, but I very rarely have the motivation to reboot. I want to game more (and spend less time on social media) but compromising my main OS is out of the question. Stuff in the home directory should be isolated from the games. Ideally no network access too, but Steam will not work in that case.

If someone has seen a ready made guide I'd be happy to read it. Any tips would be nice too.

3
4
 
 

My venerable Logitech Mouse a is nearing the end of it's life and I'm thinking about a replacement. Since I have no plans to switch my Gaming PC to Windows 11 I would like to have a mouse (and eventually a keyboard) that properly supports Linux.

I looked at the sites for Corsair, Logitech and Razer and the corresponding software is available for Windows (and sometimes MacOS for some reason) but no Linux Version.

Since I actually use some of the fancy Gaming-Gear functionality like setting up macros and variable DPI I'd like to use the software that is used to set these things up.
How do you guys deal with this?
Is there a manufacturer that offers their software for Linux?
Do these things run properly under Wine?

5
 
 

Hello guys. I posted this problem elsewhere but I've yet to find a solution. I'm experiencing an extremely annoying issue in which the monitor keeps disconnecting and reconnecting in loop post login after a system update. I've first experienced this issue with fedora after updating my system and installing nvidia graphics card. I then tried Bazzite, same exact issue, but at least with Bazzite I can roll back the update, which is a temporary solution. There are several culprits that could be causing this issue:

  1. Kernel update

  2. Nvidia drivers update

  3. Wayland

  4. All of the above

Is anyone else experiencing this exact issue? And if so, any solution besides rolling back the update? Any help is appreciated.

Relevant specs:

  1. Nvidia RTX 3060ti GPU

  2. Intel Core i5 11400F CPU

  3. Asus Prime B560M-K motherboard

  4. Samsung Odyssey G5 Monitor (connected through displayport)

6
 
 

Early days, but so far 20% of sales of The Protagonish on Linux, only 2% for Mac! @linux_gaming
https://store.steampowered.com/app/2994780/The_Protagonish/

#linux_gaming #indiedev

7
8
9
 
 
10
55
submitted 6 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

I currently use Mint, as do several family members and friends. Its been nothing short of impeccable. I was occasionally tweaking things until now sometimes the game crashes, PC freezes requiring hard reset. Everything used to work pretty flawless out the box. Should I reinstall my mint or look at PopOS, Bazzite, Nobara, Etc? I'm at the point in my life. Where we all need something to just turn on and play. I want some shit that just works. Or reinstall mint but how without losing all my files and settings? and keep it moving as usual as it used to be flawless. Tweaking is fun until you tweaked so much shit breaks lol. I'm over tweaking. Just wanna game. I keep seeing immutable is good so that's why I ask. Thanks!!

5600x 6700xt Its an all AMD build over here :)

Edit: You guys convinced me I'm booting it up now with KDE! I also plan to try PopOs. I'm excited. Thanks everyone!

11
 
 

I'm building a new controller "10ft" gaming PC for my living room. The CPU is a Ryzen 5 3600X and the motherboard is Asus ROG Strix X570-I. I have never done a Linux-based gaming PC before and I want everything to "just work" as best as possible.

I assume this means go with Bazzite and an AMD gpu? Anything else I need to be aware of? As I said the goal after configuring is for it to be entirely controller-controlled (8bitdo ultimate and DS4).

12
 
 

I don't own any controllers.

I started playing Dark Souls 3 which I now understand has a controller strongly recommended. I may as well just look into getting a controller of some kind as I have a few games that have somewhat janky kbm controls and are better enjoyed with a controller.

I just wanted to ask for general advice about what controller to get in terms of compatibility. Also if someone has made a controller that's more in the spirit of foss that also works fine with Steam and Proton games that would be nice?

I know Steam is pretty good with Playstation controllers and I used to use a PS controller (don't remember what generation) with some native Linux Steam games, not sure how the whole PS vs Xbox controller thing is affected by running games through Proton if at all? If it matters let me know, and I'll see if I can procure a controller for myself.

13
 
 

I want to get started with VR gaming in Linux and am looking at a headset. What are you guys using? Oculus 3 seems to be popular but I assume there are some caveats.

14
21
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

I've been having a couple of troubles playing Diablo IV, though they seem to be a lot worse with the new expansion. After a while of playing for a while, the game seems to leak VRAM and makes my desktop pretty unstable. Alt+tabbing occasionally breaks the game, the image freezes but I still hear the noises of the menus opening and such. If I don't alt-tab the game doesn't break.

I have found this reddit thread about setting a dxvk file to limit the amount of VRAM available to Diablo. I set up the max VRAM to 8gib but mangohud still reports 10gb being used. I tried setting the DXVK_CONFIG_FILE flag but that also doesn't seem to work. Mangohud report 10gb VRAM very fast. DXVK file contents:

dxgi.maxDeviceMemory=8192
dxgi.maxSharedMemory=8192

Decreasing the graphic settings just slows down the problem, it doesn't prevent it.

Launch options: DXVK_CONFIG_FILE=/gamedrive/dxvk.conf mangohud %command%

Specs:

Intel i7-12700K @ 4.900GHz
NVIDIA GeForce RTX 3080 (driver version: 560.35.03)
64GB DDR4
EndeavourOS Linux
6.11.3-zen1-1-zen
Hyprland
GE-Proton9-16

15
 
 

The Cursed! This free content update for all owners will be available to play starting this week on October 23, 2024, and will last through to November 6, 2024

16
17
 
 

Hi, I was curious to know if there is any way to connect my dualshock 4 via bluetooth to linux. Wired works fine but the USB port on the controller is very loose and the controller disconnects easily, which is very annoying.

On windows I used ds4windows which worked great. On Linux I tried ds4drv which worked at first but broke after I upgraded to mint 22, I tried a bunch of stuff to fix it but couldn't get it to work.

Any suggestions are welcome.

Update: on mint when you connect the dualshock controller the LED on it glows light blue and it doesnt work, then a notification appears asking you to authenticate the connection, click yes and the LED will turn blue and the controller will work ( you can test it on desktop by using the touchpad as a mouse). It seems either I missed this message before or it didnt appear for some reason.

18
 
 

Lately I've been suggesting Mint or PopOS for laymans looking to swap to linux, but do any of you know of any good gaming distros with a driver manager GUI built in ala Mint?

I've tested most gaming distros with latest (nvidia) hardware and they do not run most major titles out of the box due to driver issues. If there were a gui for driver rollbacks while having great general performance, I could see it beating out Mint/PopOS for my recommendation. Being able to install .deb files is quite nice for laymans too, though I don't know of any other deb based OSes that run well out of the box.

19
 
 

The Steam Deck has revolutionized the gaming handheld market. With the Linux-based immutable SteamOS, Valve has fostered an active community developing mods and alternative systems for this platform. Other manufacturers distribute Windows-based mobile consoles. However, time and time again it has been shown that they lag behind Linux in terms of software support.

But how easy is it to bring a Linux distribution, say openSUSE, to the Steam Deck?

In this talk, a prototype based on openSUSE's open technologies and infrastructure will be presented, which is already (almost) fully functional on the Steam Deck and many other devices.

20
21
22
 
 

For those who want a summary; it's been going okay, but could've gone better. I decided to space out my tinkering and keep going with life, since these days my life is not so bound to my desktop. (It's also possible some details weren't recorded quite right. Many search tabs were closed)

I've been aware of the impending death of W10 in October 2025, with fears that hackers will start taking over the OS at that time. My main reason for avoiding Linux was game support, but Valve has been handling that well.

I decided to set up a Linux Mint 21 drive, which at first was difficult because my first USB stick had corrupted sectors (took some time to determine that was the issue). Then, when I booted in...it didn't support my wi-fi (it claimed it did, then couldn't connect, even when pairing with my phone). My first plan was to set up a nice, isolated 500GB partition on my nvme SSD (a drive I'd mostly used to store games) for Linux, and have it refer to the NTFS partition for games. (I would later learn this doesn't work well, and Linux is optimized for ext4).

Then, I learned this NVME had an "MBR" partition table, and I still had to convert it to GPT. While there's several tools for this, they complained due to the placement of my partitions, not leaving enough space for the table. I tried moving the entire gaming partition 1MB to the right...and got the same error.

After deleting the (backed up) partition to finish GPT conversion, I learned two things. One, that it was actually complaining because when giving the converter the target Device, I had given it the "Device:" labeled in the Disk management, which was "/dev/nvmen0p1". Guess what the P stands for at the end? So, gentle tip: The "Device" is not the "device", it's the partition - and diskpart does not present the resulting error well. Second thing I learned was that Windows had somehow put some of its boot setup on the NVME back when I had installed it on my computer; so now Windows wouldn't boot. (I'll see if I can fix this later. Windows' fault, not Linux's)

The good news is, I had downloaded a copy of Mint 22 (1 up), and THIS got full wi-fi and audio support. A little strange I had to go so recent for basic old-hardware support, but it could've been something else odd going on. I installed Steam, got a cryptic error about 32-bit NVidia drivers I ignored, and with my library moved back (and fixing ownership through chown, something Steam thankfully provided a relatively clear error message on) it's been able to run a few test games!

Having my browser and some basics up, I can kick back on YouTube and tackle whichever pressing things I think of first. I don't have replacements for 2 or 3 Windows products I like, but overall the setup has gone well, and a few of my annoyances actually go to my USB drive store, and Windows. Overall, much better than a decade past when I last tried Linux.

To keep Windows as an option, I'm planning to run a Windows installer repair boot to my original drive; but am admittedly worried whatever caused it to install boot info to the NVME against my instructions last time will, once again, screw up Linux. I may also try seeing if GRUB can locate Windows and boot it successfully. I feel somewhat blind on the topic of setting up / fixing the OS bootup.

I can tell this process is much simpler if someone has only one drive, backs things up to an external device, and then installs cleanly. Only on that vein, I wouldn't mind recommending it to others. Still, that's only in part because Microsoft has steadily made things worse and worse on the Windows front. (And, of course, I'll still be using it for work)

EDIT on day 3:

It's still been rocky. I became a bit pinpoint-focused on Hitman 3/"WoA" as my testbed to verify gaming was working; as it was more demanding and had proton dependencies ready. I selected a mission, got into the loading screen, and...got a black screen on the level, before a crash to desktop. Interestingly, the system was pretty unresponsive during the crash. Checked ProtonDB, nothing familiar about the issues. Failing so early felt like a dead end for Linux Mint as a gaming system, especially as it was one of my favorite games.

I had mentioned in prior comments I had skipped Bazzite worrying it would be the equivalent of RGB lighting and mostly unnecessary for gaming. But, if it's their claim to fame, I may as well try it. I had partitioned the OS away from the /home folder where I had copied my backup Steam games, so I went ahead with the reinstall. The Fedora-based partition selector was not so clear about its errors/required fields, or good at suggesting defaults for /home, /boot, and /boot/efit mounting; I ended up looking up recommendations (200MB boot? etc) on another laptop. To be fair, it's probably a less common use case, but still worth highlighting this part could've been clearer.

Bazzite worked! It was quick to put up a working Steam install, and Hitman levels loaded great. It took some time getting used to the new OS layout, but I'm not strongly opposed to it - it's a bit tablet-like, which makes sense since the OS targets ROGAlly users as well. That, in itself, is something I can live with. Of note, I wasn't terribly offended by Windows 8's largely hated tile layout and lived with it for years. I did not even need to compile the Xbox One dongle controller driver from source, as I had from Mint - worked out of the box!

Some things that stood out to me as annoying: The distro obviously makes efforts to cut down on options/buttons to simplify the experience and avoid overwhelming people. The biggest place I saw this is the file explorer, which insists on keeping you out of "/" and hopes 90% of your interactions will be with Documents / Pictures / Music. Given how many drives I had to interact with, this felt pretty crippling. Even after auto-mounting old drives I'd like to fetch things from, it still didn't show them in Open File dialogs within apps.

Bazzite tries to rise above the package managers of other distros by running any other necessary OS in containers. I'm no container pro, I've used docker for my job at times, but I tried going ahead with documentation. Treating it as an Ubuntu or a Fedora install, I had an extremely hard time getting VeraCrypt (a familiar app from Windows) working; using official .deb downloads on the website, or the package managers that had it listed. When I did finally get it installed off COPR, the "distrobox-export" command documented to add the app to my "Applications" did no such thing, nor did it explain what kind of filesystem entry it was trying to create.

As of yet, I still don't actually know where Bazzite's list of Applications is physically located, even after running some "find -iname" / locate commands. This might be nice to get to because the right-click menu on each one is sparse (again, simplified for users), and doesn't let me customize a few .desktop files not launching how I want them to. (A long time ago, something that really bothered me was Windows calling Steam's taskbar entry "Steam Runtime Helper" with no known way for me to fix it. But for Linux to also seemingly lock me out of solutions feels frustrating)

Some other things became worse. I set certain preferred keyboard shortcuts for window management, and Bazzite overwrote them to defaults - MULTIPLE times. That really set me off. When in the Activity View, many of the GUI apps did not have close buttons. I'm practiced with using tapping WIN+1 multiple times to go to the "third open Firefox window" - this is something apparently not supported on Linux, and I can't understand why. The OS takes a long time to recover from sleep mode, and needs ~10 seconds to re-discover my mouse. A few times, I came back to find the visuals garbled from some sort of display driver failure.

And, while Bazzite was very very good with games, as we all know falling just short of what we're used to niggles at our senses. Helldivers 2 worked - but a white-bar border at the edge only went away after tweaking launch options from ProtonDB. I launched Dead by Daylight, and while everything was visually fine, there was notable input lag, most visible on the game's reflex-based "Skill checks". I play a lot of games, and had gotten VERY used to "Install > Play > Done", so thinking about being so unsure on every game purchase worried me.

I have a number of small indie games that don't receive Steam's attention - often coming in from the web browser as .zip files with an EXE somewhere at their root. It's common for me to only spend less than 30 minutes downloading, trying it out, and maybe commenting on the creator's page. This is not a good workflow for Linux, given that launchers like Lutris make you fill out a long form with the position and title of the app before you can launch it - and give no immediate feedback or log output towards its launch failures.

I did research some of the many things annoying me, but of course Bazzite is still a niche offering and I was unsure at times whether to expand my searches to, eg "fedora disable screen anchors" or "gnome disable screen anchors". Often, I guessed I was the first person getting an issue.

When browsing the web, handling basic communications, even some games, I'm kind of comfortable with Bazzite. It's very very possible that a number of these issues would go away with some time and practice. But, I'm at an age where time is at a premium and it's VERY valuable to get a number of things "just working" without much concern. For those reasons, I'm definitely strongly considering going back to Windows.

I really hesitate to blame the strong array of choice for linux distros here - it's highly possible some comment will shout "Try XXXdistro!" and that would be the one where I'd magically run into zero problems, and all UI annoyances are things I could configure. But, getting that right so quickly seems unlikely. I may have shot myself in the foot with Bazzite, but I knew I wanted gaming as a focus, while as a consequence I got a lot of things locked down - to the point I couldn't even find configuration to tweak the things most breaking my workflow.

23
 
 

Valve released a new update to the Steam Client Beta for Steam Deck and Desktop, with some Steam Input changes and some improvements for Linux too. It's the same across Desktop / Deck since it's a Steam Client update.

24
 
 

cross-posted from: https://lemmy.world/post/20962151

Hello Linux folks, i would like to share one little hack which i have found.

On fedora, zram-generator comes installed and configured by default with lz4 algorithm i believe, and no disk swap, if you have 8gb of ram or more, that is fine, but if you have 4gb or less, systemd-oomd either kills you games when they use too much memory, or you face an OOMD and get your system frozen.

When configuring fedora, normally i would create an in-disk swap, so that my computer wouldn't freeze but face a MASSIVE slowdown when on way too high memory usage, i also set zram-generator to use the zstd algorithm so that zram compression rate is higher but slightly slower, like that i can use my low memory more efficiently with a lower risk of OOMD.

I was watching a bringus studios video once, where he tried to run counter-strike 2 on a ps4 using linux and proton; the game would always use too much memory and that would freeze the system before it got a change to actually launch, the strange ps4 linux was using in-disk swap, and so, increasing swapiness to 100 bringus tried to leverage that to make the game run. He was sucessful. In disk swap is very slow, so the performance was crap, but that does not matter...

So i saw that, and had the idea to combine it with zram-swap to avoid the in-disk swap penalty, also using zstd as the algorithm to make the most out of the memory, and it was a massive sucess! Some games which would make my system very unstable or straight up freeze on certain launch attempts started launching and working just fine! and without dumb in-disk swap slowdowns!

While running modded Victoria 2 i have noticed my system is using about 3.3 to 3.4GB of swap, and about 3.5 gb of ram, so about 100 to 200MB of real uncompressed memory usage, assuming zstd is running at level 1 of compression, and achieving at least 3.0 as compression rate, in thesis, my system has now the equivalent to 10GB of ram, well about it's weight! even more impressing considering how low are the numbers we are working here!

tldr: setting your swapiness=100 while using zstd as your zram-generator compression algorithm, and no in-disk swap will help your system use the most out of your ram with negligible performance penalty

25
 
 

Okay so I don't have Linux, i honestly don't know much about it. But I have dreamed for a while now of a future in which I could use 2 MMO gaming mice to bring my computer usage to the next level. Now I don't think that most computers would know how to handle 2 mice, and I don't think a single game would either, but if there is any that could, it has to be a Linux right? Is that even theoretically possible? Do you think we could ever have that future?

view more: next ›