LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Counter Strike 2, game would not start. Creating New Namespace Failed. (https://www.linuxquestions.org/questions/linux-games-33/counter-strike-2-game-would-not-start-creating-new-namespace-failed-4175731879/)

GlennsPref 12-16-2023 10:50 PM

Counter Strike 2, game would not start. Creating New Namespace Failed.
 
Counter Strike 2, game play.

The game would not start in steam.

Eventually I saw an error in the steam diagnostics (thank the devs for that).

The last 2 lines...
Code:

pressure-vessel-wrap[2596]: E: Diagnostic output:
bwrap: Creating new namespace failed: nesting depth or /proc/sys/user/max_*_namespaces exceeded (ENOSPC)

I saw that the setting on my system was not set.
I looked at some of the other settings and presumed it needed the same range as the others.

I found it set to 0

I can insert the code required to set this parameter for the linux kernel.

Code:

echo "user.max_user_namespaces = 63505" > /etc/sysctl.d/max_user_namespaces.conf
Reboot to set the namespaces parameter.
check the list with...
Code:

sysctl -a
Code:

glenn@GamesBox ~ $ uname -a
Linux GamesBox 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux

I hope this will help.

<edit>
Tested over a 1 hour playing games.
I only wonder if the figure "63505" is overkill. I'll have to find out if it was the kernel version or if I arranged for it.

Thank you

GlennsPref 12-19-2023 12:15 AM

I can confirm the steam game Counter Strike 2 is running quite well with the changed settings.

GlennsPref 02-13-2024 04:49 PM

Hi, Thanks for your tips, SauriNN. I'll check vpesports out.

I haven't run the game as Admin... But have verified the game files over and over again.

I found this error about "max_user_namespaces" by using steam's file and system integrity check, "diagnostics".

Not sure what bwrap (bubblewrap?) is for, a sand box or file compression?

Anyhow, I'll keep checking things.

The game runs now, although I prefer CSS where I have over a 100 maps I play offline with 22 bots (10 or 11 per side).

Thanks again.

TB0ne 03-25-2024 09:08 AM

Spammers reported.


All times are GMT -5. The time now is 03:51 AM.