Linux - Games This forum is for all discussion relating to gaming in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-16-2023, 10:50 PM
|
#1
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,696
|
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:
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.
|
|
|
12-19-2023, 12:15 AM
|
#2
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,696
Original Poster
|
I can confirm the steam game Counter Strike 2 is running quite well with the changed settings.
|
|
|
02-13-2024, 04:49 PM
|
#3
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,696
Original Poster
|
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.
|
|
|
03-25-2024, 09:08 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Spammers reported.
|
|
|
09-25-2024, 02:40 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by arkansawdave74
You're on the right track with adjusting the user namespace settings for your Linux system. I've encountered similar issues when running games on Linux, especially with newer kernel versions. The default settings can sometimes be too restrictive for games like CS2 that rely on sandboxing or containerization features. Setting the user namespaces value higher is a good call. However, 63505 might be overkill, so you could try scaling it down and testing different values.
If you're still having trouble or notice any performance issues, keep tweaking it. Also, if you want to upgrade your CS2 skins for the next match, <USE MY SPAM LINK> for some quick and easy options.
|
And you're on the wrong track trying to spam. Noticed and reported.
|
|
|
03-27-2025, 08:39 AM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721
|
Quote:
Originally Posted by willemra
I've been playing CS2 for a while now, and my ranking feels slightly different compared to CSGO. The new ranking system in CS2 seems to put more emphasis on individual performance rather than wins, which can be a good or bad thing, depending on how you play. CSGO felt more win-based and sometimes frustrating when teammates dragged you down.
|
And your three fluff/bot posts have been reported.
|
|
|
All times are GMT -5. The time now is 01:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|