Linux Gaming

15126 readers
97 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
1
2
3
4
 
 

Nice to see this will be finally fixed. You have to make a udev rule to work around this at the moment.

5
 
 

Does the community have any thoughts on Bazzite for a desktop gaming machine?

My primary use with be mouse and keyboard, but the deck interface looks nice for the 10% of the time I want to use a controller. I also hear that HDR and VRR work better under it then most of the DEs.

Anyone out there using Bazzite for a similar use case? I'd also be curious to here about other ways people are using it.

6
 
 

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

7
 
 

Proton:

  • import upstream makefile changes
  • import upstream proton changes
  • import upstream steam_helper changes
  • import upstream vkd3d-shader changes
  • update wine to latest bleeding edge
  • updated dxvk to latest git
  • update vkd3d-proton to latest git
  • update dxvk-nvapi to e4bad70

Protonfixes:

  • fixed issue with game_titles not being pulled correctly for UMU
  • game_titles are now looked up as part of included umu-database csv instead of trying to send online website api call
  • games run with UMU will now have /mnt,/run/media,/media/, and the user's home folder added as drives u:,v:,w:,x: respectively inside the prefix if they are not empty. This is to allow users to install or import games outside of the prefix more conveniently. A typical scenario for this would be if you have your games pre-installed on a different mounted drive, or somewhere else in your home folder outside of the prefix and you want to add them without reinstalling the game, OR if you want to install the game to one of those mounts instead of the C:\ drive inside the wine prefix. With steam, users don't really have to worry about this because steam handles the drive mounts and the install locations, however we found that outside of steam users were trying to use the Z: drive (which is symlinked to root (/)) -- which is of course containerized and read only, and therefore also unable to provide a proper drive size, resulting in users being told they don't have enough space. With the new drives added into the prefix it should fix this, allowing users to access their mount locations or existing game folders for installation or importing via the new drives instead of Z:.
  • Mod support for various bethesda games has been added (Thanks Root-Core). If a mod executable is found for bethesda games it will launch the mod executable instead of the original: mapping = { '22380': ('FalloutNV.exe', 'nvse_loader.exe'), # Fallout New Vegas '22370': ('FalloutLauncher.exe', 'fose_loader.exe'), # Fallout 3 '377160': ('Fallout4Launcher.exe', 'f4se_loader.exe'), # Fallout 4 '22330': ('OblivionLauncher.exe', 'obse_loader.exe'), # Oblivion '72850': ('SkyrimLauncher.exe', 'skse_loader.exe'), # Skyrim '489830': ('SkyrimSELauncher.exe', 'skse64_loader.exe'), # Skyrim SE '1716740': ('Starfield.exe', 'sfse_loader.exe') # Starfield }.get(game_id, ('', ''))
  • protonfix added for metal gear solid 2 (thanks FranjeGueje)
  • protonfix for Kindom Hearts HD Remix added for steam version (already existed for egs version) (thanks Internetbestfriend)
  • protonfix added for Gothic Playable Teaser (thanks Root-Core)
  • Star Citizen protonfix updated (no longer requires EAC workaround)
8
 
 

Steam is so easy to enter game launch parameters. Why is Heroic so difficult? I'm having a terrible time playing Bioshock remastered, the wait times for saving, hacking, and purchases at the Gatherers Gardens are anywhere from 2-5 minutes. I found a parameter that should help but I have no idea if I'm entering it in the right location.
Where do i enter the parameters in Heroic Game Launcher?

9
10
 
 

Does anyone know how to set a custom mouse acceleration curve on Sway? man sway-input does mention mouse acceleration but unfortunately it's one of those "you won't learn anything new unless you already knew it before" type of manpage.

I also found this project https://github.com/N-R-K/leetmouse which I will probably use in the end but I would also like to hear if anyone of you has any experience with custom acceleration profile, in case there is a better way or whatever.

Edit: I will use leetmouse (different branch tho), because libinput's acceleration is not very good for gaming (see comments for sources)

https://github.com/systemofapwne/leetmouse

11
 
 

Hi so i have been thinking to my self which type of distros gives fps boost is it gonna be gaming or the lightweight low resource usage
I cannot find anything its just all revive your old pc and its seperate
Pc specs:
mid-high end anything that is classified as "gaming"

for example garauda/ cachy(ik this isnt a gaming distro but alr) vs smth like antix or mxlinux

thanks for any answers,

12
 
 

Since a few days (maybe weeks, i just don't used it) my remote play from my steam deck to my linux machine (inhouse) isn't working anymore. I just get a loading screen, the sound from my host is playing but the screen stays black or the loading screen is loading to all eternity. Does someone also have this kind of problem? If someone fixed this kind of problem please let me know. Thanks for your help :)

13
 
 
14
15
16
17
 
 

This is one is very confusing, which probably speaks to the current UI in Heroic. I just want to say, run this game in gamescope, so I can use HDR.

I have the latest version of Heroic, installed via Flatpak as the devs recommend. If I go to configure the game in the UI it has an entire settings page dedicated to Gamescope but nothing that says "enable gamescope".

Anyone get this working?

18
19
20
238
submitted 2 weeks ago* (last edited 2 weeks ago) by monolalia@lemmy.world to c/linux_gaming@lemmy.world
 
 

As per the linked FAQ,

What platforms will Sid Meier's Civilization VII be available on?

Sid Meier's Civilization VII will be available on PS5, PS4, Xbox Series X|S, Xbox One, Nintendo Switch, and PC via Steam (which also supports Mac and Linux) and the Epic Games Store.

The Steam store (preorder) listing shows all three platform icons so I’m guessing they’re not just talking about making it work with Proton.

No mention yet of Aspyr (who ported Civ 5 & 6) as far as I can see.

21
 
 

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

For those unaware, about umu-launcher

This is a unified launcher for Windows games on Linux. It is essentially a copy of the Steam Runtime Tools and Steam Linux Runtime that Valve uses for Proton, with some modifications made so that it can be used outside of Steam.

22
 
 

Hotfix build:

Proton:

  • Updated wine to latest bleeding edge -- fixes regression in video playback from 9-14

  • Updated dxvk to latest git -- fixes regression which causes black textures and stuttering on NVIDIA cards.

  • Updated vkd3d-proton to latest git

  • import upstream changes for lsteamclient

  • update xalia to 0.4.4

Protonfixes:

  • Remove deprecated workaround for Total War Rome 2
23
24
 
 

A really great and easy to understand article about BTRFS snapshots.

25
 
 

Warning: You might brick your controller! (Do this at your own discretion.)

Sister Reddit post

Preamble

About a month ago, Sony decided to forgo their still-functional Firmware Updater Tool (you get a "can't connect to the server" message and it doesn't let you download the firmware) and replace it with the PlayStation Accessories app.

This new app does not run on wine at all from what I can see, so I decided to try and get the previous tool (I'll call it FWUpdater) working again.

PlayStation Accessories, on launch, connects to playstation's server (https://fwupdater.dl.playstation.net/fwupdater/info.json) and checks if it's version is up-to-date, then checks if there is a new firmware for the controllers. As it seems, FWUpdater uses the same URL to check its version as well. As these are completely different programs, and the server reports the latest version for PlayStation Accessories only, FWUpdater gets confused and just displays "can't connect to the server" (correct me if I'm wrong).

After some experimentation, I figured out I could just spoof the version reported from the server (with mitmproxy) and get FWUpdater to fetch the necessary firmware.

Prerequisites (Ensure everything is up-to-date)

  • Python
  • Wine
  • Browser
  • Terminal-feet

Process

Step 1: mitmproxy

a. Install mitmproxy from your package manager (or grab the latest binaries from
mitmproxy.org and open a terminal in the mitmproxy folder.)

b. Run mitmweb, this should launch a web UI in your browser:

c. Select File in the upper left corner and then Install certificates. This will open up another page:

d. Setup your browser (in the browser setting) to connect to mitmproxy:

e. Reload the previous page and you should see the certificates for various platforms:

f. Download the Linux certificate and install them to your system trust store, following the instructions on the above page for your specific distro (for Arch Linux, you move the certificate into /etc/ca-certificates/trust-source/anchors/).

g. Revert the proxy settings in your browser.

Step 2: FWUpdater

a. Download the FWUpdater and extract it.

b. Create a new empty file, paste this in and save it as a python script (.py).

from mitmproxy import ctx
from mitmproxy import http
import json

def response(flow: http.HTTPFlow) -> None:
    if flow.request.pretty_url.endswith("/fwupdater/info.json"):
        data = json.loads(flow.response.get_text())
        data["ApplicationLatestVersion"] = "1.5.0.2"
        flow.response.text = json.dumps(data)

b. Start mitmproxy in a terminal with the script:

mitmproxy -s "path/to/the/above/script.py"

c. Start FWUpdater with the following command:

HTTP_PROXY="http://localhost:8080/" wine "path/to/FWUpdater.exe"

d. Profit.

Troubleshooting

1. "FWUpdater doesn't detect controller"

a. Run wine control joy.cpl, change any one of these settings (unchecking "Disable hidraw" should fix it in most cases), and run FWUpdater again:

Hope this helps (And I hope I didn't miss anything lmao)

view more: next ›