LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-16-2023, 10:50 PM   #1
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,662
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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

Last edited by GlennsPref; 12-17-2023 at 02:58 PM. Reason: kernel version.
 
Old 12-19-2023, 12:15 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,662

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
I can confirm the steam game Counter Strike 2 is running quite well with the changed settings.
 
Old 02-13-2024, 04:49 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,662

Original Poster
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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.
 
Old 03-25-2024, 09:08 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,831

Rep: Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007Reputation: 8007
Spammers reported.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
counter strike under slackware 12.1 (the game, not server) ninja master Slackware 1 06-02-2008 08:47 PM
Counter-Strike error memstd.cpp (143) : Assertion Failed: 0 smileCZ Linux - Games 0 05-21-2006 05:13 PM
Counter-strike,[color=orange]H L F - L I F E [/color],Counter-strike: Source. Dennisgoop Linux - Games 2 08-10-2004 03:03 AM
Counter-Strike works in Wine but the keyboard doesn't work in the game objorkum Linux - Games 2 01-12-2004 02:02 PM
WINE + Counter-strike,LAN game problem vykupitel Linux - Software 1 07-30-2003 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration