Steam for Linux

Steam for Linux

Unable to add mounted NTFS partition to steam (Kubuntu 25.04)
I am unable to add my NTFS partition that I have set to mount automatically to steam. When I try, it vomits error messages relating to read-only file system (most of these are snap related and I don't know why it's trying to seek out the snap directories when I'm using the official steam deb package from valve). I've been tweaking to see how to get this mounted filesystem to work and it's still causing problems.
Couldn't write /snap/bare/5/.steam_exec_test.sh: Read-only file system Couldn't write /snap/core22/1908/.steam_exec_test.sh: Read-only file system Couldn't write /snap/core22/2133/.steam_exec_test.sh: Read-only file system Couldn't write /snap/cups/1100/.steam_exec_test.sh: Read-only file system Couldn't write /snap/gnome-42-2204/202/.steam_exec_test.sh: Read-only file system Couldn't write /snap/gtk-theme-breeze/5/.steam_exec_test.sh: Read-only file system Couldn't write /snap/gtk-common-themes/1535/.steam_exec_test.sh: Read-only file system Couldn't write /snap/icon-theme-breeze/5/.steam_exec_test.sh: Read-only file system Couldn't write /snap/snapd/23771/.steam_exec_test.sh: Read-only file system Couldn't write /snap/snapd/25202/.steam_exec_test.sh: Read-only file system Couldn't write /snap/inkscape/10823/.steam_exec_test.sh: Read-only file system Couldn't write /snap/thunderbird/706/.steam_exec_test.sh: Read-only file system Couldn't write /snap/thunderbird/796/.steam_exec_test.sh: Read-only file system Couldn't write /boot/efi/.steam_exec_test.sh: Permission denied sh: 1: /extra/.steam_exec_test.sh: Permission denied Failed system("/extra/.steam_exec_test.sh") in execute test: 32256

fstab entry:
UUID=24A81CCDA81C9EFC /extra ntfs3 defaults,rw,auto,user,,uid=1000,gid=1000,nofail 0 0

Distribution: Kubuntu 25.04
Kernel: 6.14.0-29
DE: KDE Plasma 6.3.4
Graphics (Integrated): AMD Radeon 610M
Graphics (Discrete): Nvidia RTX 4070 Laptop
< >
正在显示第 1 - 15 条,共 15 条留言
Buildershed 9 月 19 日 下午 10:36 
I am trying to use the newer NTFS3 driver built into the kernel instead of the archaic NTFS-3G driver if that's needed information
Brynvagn 9 月 19 日 下午 10:37 
yep, known issue/incompatibility... format the drive ext4 (or linux format of your choice) and it will work.
最后由 Brynvagn 编辑于; 9 月 19 日 下午 10:37
Buildershed 9 月 20 日 上午 1:29 
引用自 Brynvagn
yep, known issue/incompatibility... format the drive ext4 (or linux format of your choice) and it will work.

I would if I wasn't using it with Windows

This was running just fine when I had it set up on Arch, which I ended up forgetting what I set up in fstab then.
Ayiar 9 月 20 日 上午 5:57 
ntfs sucks for linux, get btrfs, ext4 or another linux format u want
WarnerCK 9 月 20 日 上午 7:43 
引用自 Buildershed
(most of these are snap related and I don't know why it's trying to seek out the snap directories when I'm using the official steam deb package from valve)
Steam tries to write to every available filesystem as a means to produce a list of filesystems that it could use. Snaps present to the system as a read-only filesystem. You can ignore all of the "tried to write to filesystem -- couldn't" messages from Steam.

You shouldn't use NTFS for Steam on Linux, especially if you're using the same partition from Windows. There is a workaround to make up for some of the failings of NTFS, but just don't.
Brynvagn 9 月 20 日 上午 8:38 
引用自 WarnerCK
Snaps present to the system as a read-only filesystem.
Good call! Much better and more informative feedback than my generic (although not incorrect) response as it likely explains why the OP's Arch experience was different than with Snaps under Ubuntu.

At the high level, aren't snaps (and perhaps flatpaks to some extent) akin to sandboxing?
Yoth 9 月 20 日 上午 10:24 
NTFS, exFAT and FAT32 don't work with Steam. The games won't start when installed to any of those filesystems. There is no fix and no workaround. You also shoudn't share a Steam library with Windows because saves get stored in different locations
Windows = C:\Users\<user>\AppData\Local
Linux = SteamLibrary/steamapps/compatdata/<gameid>/pfx/drive_c/users/steamuser/AppData/Local
and you risk losing them. Please put your SteamLibrary folder on an ext4 or btrfs formatted drive and make sure your user owns the entire SteramLibrary folder.

Snap and Flatpak are unsupported, untested and have many issues that Valve will not fix. Please use the distro packages for your own sanity.

Also consider disabling your integrated graphics or you'll run into issues (i.e. games selecting the wrong GPU by default with no easy way to change it).
最后由 Yoth 编辑于; 9 月 20 日 上午 10:34
Buildershed 9 月 20 日 上午 10:32 
引用自 Brynvagn
引用自 WarnerCK
Snaps present to the system as a read-only filesystem.
Good call! Much better and more informative feedback than my generic (although not incorrect) response as it likely explains why the OP's Arch experience was different than with Snaps under Ubuntu.

At the high level, aren't snaps (and perhaps flatpaks to some extent) akin to sandboxing?
I already said I am using the official steam deb package.
Buildershed 9 月 20 日 上午 10:33 
引用自 Yoth
NTFS, exFAT and FAT32 don't work with Steam. The games won't start when installed to any of those filesystems. There is no fix and no workaround. You also shoudn't share a Steam library with Windows because saves get stored in different locations (Windows = C:\Users\<user>\AppData\Local, Linux = SteamLibrary/steamapps/compatdata/<gameid>/pfx/drive_c) and you risk losing them. Please put your SteamLibrary folder on an ext4 or btrfs formatted drive and make sure your user owns the entire SteramLibrary folder.

Snap and Flatpak are unsupported, untested and have many issues that Valve will not fix. Please use the distro packages for your own sanity.

Also consider disabling your integrated graphics or you'll run into issues (i.e. games selecting the wrong GPU by default with no easy way to change it).
Integrated Graphics seems to be solved right now.
And NTFS has worked with steam on here before, I need a partition for games that can work between Windows and Linux
Buildershed 9 月 20 日 上午 10:38 
Managed to solve it

Apparently the Arch Wiki had a solution to it

UUID=24A81CCDA81C9EFC /extra ntfs3 rw,uid=1000,gid=1000 0 0
Brynvagn 9 月 20 日 上午 10:47 
the archwiki is a treasure trove of knowledge

Looking back at your original post, I see you had a double comma that might have causing you grief.
最后由 Brynvagn 编辑于; 9 月 20 日 上午 10:48
DaMu 9 月 20 日 上午 11:21 
Everyone is vouching against NTFS completely clueless about the Windows requirement in OP.

The problem was permissions, and the ArchWiki advised adding the necessary user and group id for the mount to the fstab. That was the solution,

Edit: also yes, the double comma was the subtle but damning issue.
最后由 DaMu 编辑于; 9 月 20 日 上午 11:22
Buildershed 9 月 20 日 下午 8:56 
引用自 DaMu
Everyone is vouching against NTFS completely clueless about the Windows requirement in OP.

The problem was permissions, and the ArchWiki advised adding the necessary user and group id for the mount to the fstab. That was the solution,

Edit: also yes, the double comma was the subtle but damning issue.
Yeah, I discovered the double comma and removed it first thing when I was checking the fstab earlier and fixing it.
Buildershed 9 月 20 日 下午 8:57 
引用自 Brynvagn
the archwiki is a treasure trove of knowledge

Looking back at your original post, I see you had a double comma that might have causing you grief.
I remember a Youtuber a while back recommended the Arch wiki as a good source for information for all of Linux and to be fair, he wasn't wrong with how much it tends to help, even with Debian descendant distributions.
Cray 9 月 21 日 下午 5:35 
I know others advised against using NTFS for steam and games.

It can work. Sometimes. Then randomly it may not work on some games or after an update. Keep it in mind if you run into new issues in the future. NTFS isn't technically supposed to work for this, but sometimes it does.

Purging snap completely can be a hassle (one reason i stopped using ubuntu), but was worth it when I was still using ubuntu because snaps lead to so many problems. All the negative criticism snap gets is legitimate and well earned. It's pretty poorly designed and not very well thought through.

So just my two cents. Use the NTFS drive if you have to, keep in mind that results may vary. Purge snap from the system if you can - there's debs for everything anyway, which are more efficient and better tested.

Kubuntu used to be my goto. Over the years ubuntu/kubuntu has piled on so many annoyances and ubuntu-specific crap I never want to touch it again. Mint does it right.
< >
正在显示第 1 - 15 条,共 15 条留言
每页显示数: 1530 50