I just found out that the current version of Steam Proton (version 5.13 and above) wont be able to play games in default Manjaro kernel. Turns out it require bubblewrap sandbox with setuid enabled. After installing bubblewrap-suid package all Proton games are now playable. Anyway, is it OK to run Proton in setuid enabled bubblewrap?
I change the title to include bubblewrap. This might have to do with that package and disabled unprivileged userns clone / hardened kernel.
OK, this short out the problem. Only install bubblewrap-suid if you have this error when launching Proton games:
`bwrap: No permissions to creating new namespace, likely because
the kernel does not allow non-privileged user namespaces. On e.g. debian
this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'`
I didn’t even know this was a thing.
I have some trouble running games for the first time. After a games has launched successfully, it later launches without any problem.
All you have to do is install bubblewrap-suid from pacman?
Are you sure there are no other reason why you would need that package? I don’t have any issue running any of my games, with any Proton version. I use official kernels from repositories, I use Steam from the repositories. I do not have this bubblewrap-suid package installed.
Well, I wonder why I got this error if I don’t have bubblewrap-suid. bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
It’s mentioned in the link above by someone else too.
Note: As far as I know about this, enabling userns clone is considered unsafe.
It obviously doesn’t NEED it as me, and all the others confirming it, do not have bubblewrap-suid, and have absolutely no issue playing any game with Proton. Maybe you meant “for a specific game”, so if you specify which game NEEDS that, it could start to make sense, but you said “wont be able to play games in default Manjaro kernel” so it means all games.
Hmm, I haven’t check about this but I’m playing games on multi-user setup. Is there any of you guys using multi-user setup and having this problem too? Maybe because my user account that I use to play games doesn’t have permission access to create namespace is what causing bwrap error.
Does Manjaro use hardened kernel? If not, then I might have disabled unprivileged userns clone sometime in the past that causing this.
The link I gave you doesn’t mention that this is a specific games error. So, my assumption was that this problems occur in any proton games. Well, I wonder why too. Why do I (and the user in valve’s github) are having this problem. That is why I’m asking people here.
Maybe you could define that for someone from Manjaro Team to answer specifically, but I don’t think Manjaro is using much additional patches on the kernels, maybe it is detailed on their Gitlab Manjaro · GitLab
I recently came back from Fedora because of issues with Steam. The one thing that has me off is that I updated from 34-35, and I could’ve sworn up until the update that I had been getting Steam from the RPM fusion repos… not Flatpak… kind of makes sense now.