this post was submitted on 06 Aug 2023
101 points (95.5% liked)

Linux Gaming

14957 readers
82 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
 
all 28 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (1 children)

Meanwhile, me running my whole Steam library off ZFS over NFS 😅

[–] [email protected] 3 points 1 year ago (1 children)

That sounds... slow. How is it working out?

[–] [email protected] 2 points 1 year ago (1 children)

NFS can achieve very high speeds. Unsurprisingly the biggest bottleneck is network bandwidth but if you have 10G or more dedicated it'll be fine

[–] [email protected] 4 points 1 year ago

Yes, high total throughout, but latency would be bad, no? So things like dynamically loading new areas would behave more like a HDD instead of a RAID or local SSD.

[–] [email protected] 8 points 1 year ago (3 children)

I mean...Linux now has a good, mainlined NTFS driver. Sure you could use exfat, but even if you don't plan ahead NTFS works fine nowadays

[–] [email protected] 13 points 1 year ago (1 children)

There were a lot of problems getting proton to work on NTFS, but that's only because the COMPATDATA directory must not be located on NTFS. Worked fine the moment you symlinked COMPATDATA to your ext4 drive.

There was a time, where this problem got discussed almost weekly on reddit.

[–] [email protected] 2 points 1 year ago

yeah, those were the days I got into Linux gaming and I was dual booting with steam games on ntfs partition. Pain, only pain

[–] [email protected] 4 points 1 year ago

The problem is that the way NTFS works will not allow you to do symlinks and there are some permissions issues.

There are some workarounds but these might still cause issues.

[–] [email protected] 2 points 1 year ago

That mainlined ntfs driver is fast but occasionally drilles holes in ntfs so I have to chkdsk on Windows. Also NTFS is not mount & play, you need to configure it with right permissions etc.

[–] [email protected] 5 points 1 year ago (1 children)

Wait, why not? I've been doing this for a few games so I can play on Linux or boot to Windows and play there if I need more reliable remote play or better performance. I haven't had any major issues, just annoying occasional proton reinstallation when I'm in Linux.

[–] [email protected] 6 points 1 year ago (4 children)

Wait a minute, Proton didn't shit the bed when you run games off of NTFS? Did you happen to set permission masks or smth?

[–] [email protected] 4 points 1 year ago

the issue probably is that you had the proton/wineprefixes on ntfs which will not work

[–] [email protected] 2 points 1 year ago

@MyFairJulia wait, you can run games from ntfs drives with linux? what ntfs driver is recommended for that? is ntfs3g broken? I'm asking because each time I try to do something like that, I do get permission issues, as you say. Worse, each time windows would make a file, the linux side would come up with a permission error when trying to access it. That's why, I don't use ntfs stuff anymore at all

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I symlinked the game folders from a NTFS drive to steamapps/common/ on my ext4 drive, and it works fine. Of course the compatdata and shader caches are on the ext4 drive.

[–] [email protected] 1 points 1 year ago

I run overwatch and rdr2 from ntfs partition with no problems. I just created a symlink from the default install path.

[–] [email protected] 5 points 1 year ago (1 children)

As a windows user, this meme both confused and frightened me.

[–] [email protected] 4 points 1 year ago

Windows users don't need to worry about Wine/Proton

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (3 children)

Ah I wish I read that sooner, when the ntfs3 driver was released I moved my games to an NTFS partition, i don't remember precisely but some wouldn't work, and then unlike my ext4 or btrfs partition which were unbreakable, a lot of things became unreadable and undeletable after a forced shutdown. Probably my fault, but in any case i think it's not worth the hassle. I only had games on it fortunately so didn't lose anything significant

...and now I'm planning on making a btrfs partition for my games and using winbtrfs to use it on windows as well, probably another bad idea but I wanna do it so badlybadly

EDIT: Yup, it was a bad idea, sometimes getting blue screens when trying to empty the trash on the btrfs

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Winbtrfs has some really funky bugs (some apps like Aseprite will somehow make files which get padded up to the minimum file size on disk which breaks things, even though it doesn't do that on NTFS or FAT), is way slower on Windows, the extra permissions make managing it annoying, and symlimks generally just don't work on both Linux and Windows at the same time no matter the FS which can occasionally be annoying. I really wouldn't bother with winbtrfs for games

[–] [email protected] 0 points 1 year ago

ah too bad, I thought I finally had a solution for the lack of storage.. I'll probably do it anyway just in case I need quick access to one Linux game but the rest of the time I'll keep them on the ntfs

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

That's the NTFS3 driver for you. Corrupter of partitions... I had so many hassles, and it's still happening to others recently, I don't know why that thing is included honestly.

I was doing the same with winbtrfs, and it's pretty good overall but kind of a mixed bag sometimes. The biggest pain is file permissions since winbtrfs isn't sane and use something like uid 1000. So when you write or alter files or you'll get file permissions errors on the Linux side. It's workable just changing the permissions back when in Linux if that happens

[–] [email protected] 0 points 1 year ago (1 children)

I read on the github that there is a registry key to set to fix this problem

[–] [email protected] 1 points 1 year ago

Yeah,performance overhead aside, in Windows it reads and writes fine because of that. Anything thqt changes in Windows however will write the uid of that file as the windows SID I believe, either way I was using regularly the chown -Rf commands to reclaim files back in Linux.

It's mostly a problem with how steam handles updates downloading to temp folders, etc... It's the sharing of steam libraries that this happens to most often if you're back and forth between os's

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

when the ntfs3 driver was released I moved my games to an NTFS partition, i don't remember precisely but some wouldn't work, and then unlike my ext4 or btrfs partition which were unbreakable, a lot of things became unreadable and undeletable after a forced shutdown

Did you symlink the compatdata folder?

now I'm planning on making a btrfs partition for my games and using winbtrfs

I heard that with winbtrfs, you run into permission issues where every time you boot back into Linux, you'd need to chown any files you'd created in Windows, which would be a PITA. Also, I heard winbtrfs in Windows isn't as stable as ntfs3 in Linux. Neither solution is unfortunately perfect so you may need to try and see what works best for you.

In general though, I believe regardless of what filesystem you choose, it's recommend to NOT share everything and instead maintain a copy of the library native to each OS, and just share the "common" and maybe the "download" folder, and let Steam discover the existing files when you proceed to install the game.

[–] [email protected] 3 points 1 year ago

I heard that with winbtrfs, you run into permission issues where every time you boot back into Linux, you'd need to chown any files you'd created in Windows, which would be a PITA.

You can set up mappings between windows and linux users so that btrfs will automatically set the correct permissions for files created in windows: https://github.com/maharmstone/btrfs#mappings