Reddit Linux_Gaming
Some helpful bash scripts for steam
Finding proton compadata and game save directories has been a minor annoyance for me, so I made some scripts to make it easy for myself. Figured I'd share them here for y'all. Just add them into your ~/.bashrc or ~/.zshrc or whatever applies to you, and you should be able to run them from any terminal.
(edit: It does require you to have all your steam drives mounted at /mnt/. it'd be trivial to change the locations in the functions though)
syntax examples each of the 4 commands: #Go to the proton prefix for Robocop: Rogue City gotoCompatData "RoboCop" #go to the steam cloud save location for Robocop: Rogue City gotoCompatDataSave "roboCop" #Cycle through random steam games until you enter "y", then the game launches launchRandomSteamGame #Launch satisfactory launchSteamGame satisfactory CompatData FunctionsI use these in Dolphin to open the directory containing the game's prefix and save data respectively
#Opens the compat folder for a given acf - searches all mounted drives in dir /mnt gotoCompatData() { #pretty yucky way of doing things, but not including the echo results in bash trying to execute lines of the ACF for some reason acf=$(echo $(grep -ln -i -e "$1" /mnt/*/SteamLibrary/steamapps/*.acf| head -1)) appId=$(echo$(cat $acf | grep appid)) #ONLY matching regex o flag appId=$(echo $appId | grep -e '[0-9]*' -o) gameName=$(echo$(cat $acf | grep name)) gameName=$(echo $gameName | grep -P "(?![\"name\"]).*" -o) storage=$(echo "$acf"| grep -e "[/]mnt[/].[0-9A-Za-z]*" -o) echo "$gameName found - going to compatData for $appId" cd "$storage/SteamLibrary/steamapps/compatdata/$appId/pfx/drive_c/" } #Finds the compat folder for a given acf - searches all mounted drives in dir /mnt, then opens the save folder gotoCompatDataSave() { gotoCompatData $1 #Find a file named steam_autocloud.vdf - this is what steam uses to mark a folder as a cloud save folder #The head pipe limits the result to only 1 vdf=$(find . -name 'steam_autocloud.vdf' -type f| head -n 1) #Removes all of string after the last / character vdf=${vdf%/*} echo "Steam save location found - going to $vdf" cd "$vdf" } Game LauncherI've got a lotta games installed, so opening one at random is fun sometimes - no shady website or waiting for animations required
``` #Takes a string and launches the first installed steam game it can match to # Why? dunno. launchSteamGame(){ acf=$(echo $(grep -ln -i -e "$1" /mnt/*/SteamLibrary/steamapps/*.acf| head -1)) appId=$(echo$(cat $acf | grep appid)) #ONLY matching regex o flag appId=$(echo $appId | grep -e '[0-9]*' -o) gameName=$(echo$(cat $acf | grep name)) gameName=$(echo $gameName | grep -P "(?![\"name\"]).*" -o) echo "Launching $gameName" steam steam://rungameid/$appId & } #Lets the user randomize their installed steam games over and over until they find something they want to play launchRandomSteamGame(){ #Get count of games cd "/mnt" total=$(/bin/ls /mnt/*/SteamLibrary/steamapps/*.acf | wc -l) lines=($(/bin/ls /mnt/*/SteamLibrary/steamapps/*.acf */)) play="n" while [[ "$play" != "Y" && "$play" != "y" ]]; do pick=$((1+ $RANDOM %$total)) acf=$lines[$pick] acf=$(echo $acf) appId=$(echo$(cat $acf | grep appid)) appId=$(echo $appId | grep -e '[0-9]*' -o) gameName=$(echo$(cat $acf | grep name)) gameName=$(echo $gameName | grep -P "(?![\"name\"]).*" -o) echo "$pick/$total" echo -n "Do you want to play $gameName? y/n:" read play done echo "Launching $gameName" steam steam://rungameid/$appId & } ``` submitted by /u/mgooisu[link] [comments]
Question
Do you think in future steam will become like Desura where all our games are lost. Post Gabe
submitted by /u/BulkyHuckleberry9960[link] [comments]
The Indie Scene’s Most Tragic Story - Dead As Disco Linux Footage
Help me out here
Steam Cloud saves not working.
Hello, up until tonight I had been playing Balatro on my Steamdeck and my windows PC. I had no issues with my cloud saves syncing up. Today I installed pop_os and when I try to launch balatro it tells me the cloud saves are up to date but the game has 0 progress like I never played it at all. Does anyone have a fix for this?
submitted by /u/k0fi96[link] [comments]
Cloud Gaming (Open for Tester)
Cloud gaming is here 🚀 You can now play AAA games straight from the cloud — no high-end PC needed.
We’re opening Storm for early testers ⚡️
Available on Mac, Windows, & Linux. Join the community and get early access 👇 🎮 Discord: https://discord.gg/PNbZZ597
submitted by /u/Hero_Sharma[link] [comments]
How to configure G502 Hero (wired) side buttons?
I've tried Piper and Solaar. Solar is a confusing mess that doesn't seem to actually do anything and Piper only managed to actually assign about half the buttons, the rest either seem to do nothing or do what I mapped them to with an added shift, i.e. even though I mapped "7" I got "&".
Edit: forgot to add that I’m using bazzite and installed Piper as a flatpack.
I dug into it more and it does look like some buttons are getting what I actually assign, some are getting what I assign plus a seemingly random selection of modifiers, and one button is doing god knows what. It does change when I change what’s assigned to it but I can’t figure out what it actually is
submitted by /u/TheFlamingDiceAgain[link] [comments]
Has anyone else gotten an unreasonable dip in performance in OW2 very recently?
I'm not sure if this is an Overwatch thing or a Linux thing. I switched from Windows 11 earlier this week to Silver Blue and have found it to be a pleasant transition, no performance issues whatsoever. I installed Overwatch 2 and found no difference in performance compared to Windows 11. However, it seems just recently like literally today, there was an update to the game (I run it through Steam), and it's as if this update caused an unreasonable dip in performance. I went from easily 160-180FPS on the ultra preset to literally 30-40 FPS on lower presets (I tried lowering from ultra to high to see what would happen). I then changed my power setting from balanced to performance, launched the game again, and found the same extreme dip in performance. I have no idea what exactly the cause of this issue would be and am wondering if anyone else has had a similar experience.
submitted by /u/BananaExcellent2318[link] [comments]
Games sometimes flickering
I've noticed this in two games now (path of exile 2 and persona 3 reload) but I sometimes have some games flicker, almost like it's going dark every second frame pr something. I'm assuming it's a framerate/screen refresh rate issue, but I'm not entirely sure where to start trouble shooting it.
Im on Arch with latest nvidia drivers with KDE plasma. Pretty sure I have VRR turned on in the plasma settings, but only the two games do this and it's only sometimes. I haven't played path of exile for several months so I don't think it's a specific driver or proton version issue.
submitted by /u/Jas0rz[link] [comments]
Skyrim SE loads in VR mode
I'm trying to get Skyrim running, but it's currently loading into VR mode.
Things I've tried: - Checked ini files for stereo, none found; even hardcoded off - Ran in D3D mode, fixes it, but gives unplayable texture flickering - Different proton modes
$ glxinfo | grep "OpenGL version" OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.70ubuntu0.24.04.2 ... Device: AMD Radeon RX 7700 XT (radeonsi, navi32, LLVM 20.1.2, DRM 3.61, 6.14Running Ubuntu 24.04.3 LTS
submitted by /u/badillustrations[link] [comments]
Games refusing to open
I'm running Arch Linux, and for some reason, most or all of my games instantly close when I try to open them. My internal HDD is refusing to mount on startup as well, but it's happening to games on both my internal and external HDD. I have no games installed aside from Sober (Roblox app on Linux) on my main SSD, and Sober runs just fine, though it may be a Steam thing. I selected my proper drivers with the archinstall as well.
submitted by /u/MaddieOfLines[link] [comments]
Issues with Hogwards Legacy - Bazzite RTX 5060 Ti
Hello everyone, Just build my wife a PC, and initially wanted to install windows, but as it would require more pain for signing her up and everything, I decided to transfer her to Linux as well, with Bazzite being the choice for simplicity and it working, POP OS would likely be the other choice. Now her primary game is Hogwards Legacy and I am not sure if anyone here plays it or experiences the similar issues, but game loads fast, and on Medium setting 1440p runs well, but it is getting a huge frame drops, which hitch anytime casting spells or even entering new toom. I have not encountered same issues on my main Fedora 43 system, although I am not as far in the game as she is.
Computer Specs:
Ryzen 7950x (105W Eco mode as her cooler cant handle much more)
RTX 5060 Ti
32 GB 6000 MHz CL36
B850M Motherboard,
1000W Psu
Samsung 990 Pro
As for the temperatures I see the CPU hovering around 90 degrees in game with frequency fluctuating between 4.4 and 5 GHz or so not sure if that would be it.
GPU is at comfortbale 60 degrees.
Running proton experimental. Started from big picture mode as well as KDE desktop
Game Settings:
Initially All HIGH with DLLS Set to Quality - Huge stutters when casting spells but else around 70 FPS
Now All MEDIUM native 1440p - stutters decreased but still when casting spells, the 1% lows drop alot. Besides that around 120-150 FPS.
GPU is always around 97-99% utilized.
I am looking around to see what it could be as not sure if its the CPU potentially or if the game just does not perform well at all, and if anyone has encountered a potential fix or solution that worked for them.
submitted by /u/QuantumIQWho[link] [comments]
It looks like Valve Anti-Cheat for Deadlock is improving, with no kernel-level snooping without your consent
How do i fix game streaming on linux?
- OS: Arch Linux
- Kernel: 6.12.51-1-lts
- Window Manager (WM): Hyprland
- CPU: AMD Ryzen 5 7600X @ 5.45 GHz
- GPU:
- AMD Radeon RX 6700 XT
- AMD Raphael
- Driver: amdgpu
- Memory:
When i try to connect to it on my MacBook, it is just loading infinitely. Furthermore, when I try to connect to my Mac mini, it instantly detects it and prompts for a code.
This is using the steam link app for mac on the app store.
I really wanna be lazy and stream my games from the comfort of my couch, if someone has this issue please help me fix it.
submitted by /u/RedEforIT3[link] [comments]
Skyrim modding seens still hard
Tried to mod using bottles + vortex (I want nemesis or pandora + bodyslide) and it simply wont work. Nemesis will crash or bodyslide will not apply the body presets.
Tried using mo2 and it simply dont open.
its still super hard.
Using manjaro linux.
submitted by /u/SrPentelho[link] [comments]
Can't play arc raiders anymore after recent update?
I was able to play the game fine but after the most recent update I started crashing today and it shows me this error on launch I'm on pop os Linux and my build is ryzen 5 5500 rx5700xt
submitted by /u/VixxLynny[link] [comments]
[Need Help] Why factorio runs slow on Linux on my PC?
I dual boot Windows 11 and CachyOS. Today I tried to run factorio (installed via Steam, linux native version) on Cachy and I noticed my save runs at lower fps/ups than I would normally run on Windows.
So I went to the benchmark website (FactorioBox) and ran two benchmarks.
This is from Linux (181 fps) FactorioBox Results
This is from Windows (227 fps) FactorioBox Results
Not sure why and what I can do to find the problem.
submitted by /u/Strong-Success9639[link] [comments]
problemas de instalacion lsfg-vk
Buenas. Tengo un problema de instalacion de lsfg-vk que cuando pongo el comando respectivo para abrirlo, me aparece el mensaje ''se ha suministrado el fichero no admitido" alguna solución?
submitted by /u/BigChip793[link] [comments]
How can I play games on Ubuntu?
I'm referring to what the best method is, since I'm eager to play Warcraft 3.
submitted by /u/ProbablyNotAProblem_[link] [comments]
