Proton don't run in chroot
I had a distro called Kiss linux it uses musl and libressl so i use a chroot of void linux with glibc to run steam and my games and it works well with native games but don't with proton games, every time i run plants vs zombies with proton experimental version and it gave me this.
pressure-vessel-wrap[2683]: E: Cannot run bwrap: wait status 256 pressure-vessel-wrap[2683]: E: Diagnostic output: bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.
i use the kernel of kernel.org maybe it need set some options but i don't know whats options, i also use the default config and used a little custom for my kernel.
Hello @Mederim, since the error message is coming from pressure-vessel-wrap, that indicates your issue is with running Pressure Vessel, not Proton itself.
Starting with Proton 5.13, Proton is being run inside the Steam Linux Runtime - Soldier container environment, and Pressure Vessel is what sets that up.
As indicated by the error message, it's most likely that the kernel config you've chosen to use is lacking features needed for this to work. You probably want to look for the CONFIG_NAMESPACES and CONFIG_USER_NS options in your kernel config.
Possibly related: https://github.com/ValveSoftware/steam-runtime/issues/320
bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.
What the message said. If you are building your own kernel, then you're responsible for making sure it has all the features you need; neither Kiss Linux nor Void Linux is a supported distribution for running Steam.
Even after resolving that, I'm not sure whether bwrap can work in a chroot environment. You might find that you need to make sure that the root directory of the chroot is a mount point (see containers/bubblewrap#135 and containers/bubblewrap#214, and particularly https://github.com/containers/bubblewrap/issues/135#issuecomment-270442503).
What the message said. If you are building your own kernel, then you're responsible for making sure it has all the features you need; neither Kiss Linux nor Void Linux is a supported distribution for running Steam.
For information I reproduce the issue running Ubuntu 20.04 LTS on both the host and the (s)chroot running Steam. I know Proton worked in chroot before.