You are not logged in.
NS2 was just released on Steam, and a lot of users have reported it working. Hooray!
Unfortunately when I launch the game, nothing happens. I ran ns2_linux32 manually and it reported a bunch of missing lib32 dependencies. So, I installed all of them, and now it just segfaults.
gdb reports:
Program received signal SIGSEGV, Segmentation fault.
0xf42b8c55 in XGetICValues () from /usr/lib32/libX11.so.6
(gdb) bt
#0 0xf42b8c55 in XGetICValues () from /usr/lib32/libX11.so.6
#1 0x08189ffa in X11_CreateWindow (_this=0x851d000, window=0x88ddb80) at /home/dushan/SDL2Release/src/video/x11/SDL_x11window.c:573
#2 0x08177e27 in SDL_CreateWindow (title=<optimized out>, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, flags=<optimized out>)
at /home/dushan/SDL2Release/src/video/SDL_video.c:1248
#3 ShouldUseTextureFramebuffer () at /home/dushan/SDL2Release/src/video/SDL_video.c:170
#4 0x081782ec in SDL_VideoInit (driver_name=<optimized out>) at /home/dushan/SDL2Release/src/video/SDL_video.c:516
#5 0x0813f074 in SDL_InitSubSystem (flags=16416) at /home/dushan/SDL2Release/src/SDL.c:166
#6 0x08076c24 in M4::ClientGame::Initialize (this=0xe86e5008) at ../Source/Spark_Client/ClientGame.cpp:430
#7 0x0806bded in M4::ClientEngine::Initialize (this=0xf4581170, commandLine=...) at ../Source/Spark_Client/ClientEngine.cpp:74
#8 0x0806a1c0 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>)
at ../Source/ShooterExe/Main.cpp:76
Any ideas?
Last edited by aport (2013-08-30 04:58:42)
Offline
Looks like it's a problem with GNOME 3 and ibus.
running
unset XMODIFIERS && /usr/bin/steam
allows the game to start.
Offline
Hi everyone,
i get a different problem
ns2_linux32: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Game removed: AppID 4920 "Natural Selection 2", ProcID 2897
i have checked what package contains that, and it's
pkgfile libgconf-2.so.4
extra/gconf
and i do have gconf installed, and the lib is there
whereis libgconf-2.so.4
libgconf-2.so: /usr/lib/libgconf-2.so /usr/lib/libgconf-2.so.4
any ideas? thanks.
Last edited by LyCC (2013-08-30 21:03:38)
Offline
Hi everyone,
i get a different problemns2_linux32: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory Game removed: AppID 4920 "Natural Selection 2", ProcID 2897
i have checked what package contains that, and it's
pkgfile libgconf-2.so.4 extra/gconf
and i do have gconf installed, and the lib is there
whereis libgconf-2.so.4 libgconf-2.so: /usr/lib/libgconf-2.so /usr/lib/libgconf-2.so.4
any ideas? thanks.
You need the 32-bit library: https://aur.archlinux.org/packages/lib32-gconf/
Offline
Thanks,
unfortunately it's a failure, i can't makepkg that, it requires lib32-polkit, which requires lib32-pam, which can't compile (dies with error, and i can't find any solution)
so that's that, i give up, thanks anyway.
edit: i realized that some deps ware compiled like before the dinosaurs walked the earth, so i recompiled all dependencies, now it starts, except maybe some bug, when i start the game after a couple of seconds in-game it runs out of the 4G memory i have and the kernel kills the process, oh well, there is an easy and cheap solution for this, buy another 4G memory thanks for the help.
Last edited by LyCC (2013-08-31 09:51:06)
Offline
Got a different kind of problem... I already have all dependencies installed, including everything multilib related & lib32-gconf + its dependencies.
But the game segfaults.
[ 94.172283] ns2_linux32[2807]: segfault at 3c ip 00000000f39f4fa6 sp 00000000ff9d0990 error 4 in libpthread-2.18.so[f39ec000+18000]
EDIT: Screw that, got it working. Ran the ns2_linux binary through gdb, installed every missing dependency on the host side (just to be sure, I don't trust that Ubuntu-based Steam-Runtime).
Found out that it required OpenGL 3.1 which Mesa 9.2 doesn't support yet, installed lib32-nvidia-utils for my Optimus setup (Kernel 3.9.9)... everything works now!! Stupid me.
Last edited by beidl (2013-08-31 14:48:42)
Offline
you dont need to compile gconf anymore.
its included in steam runtime now.. just have to opt into beta client iirc
Linux Gaming Videos:http://www.youtube.com/user/Xpander666
Offline
you dont need to compile gconf anymore.
its included in steam runtime now.. just have to opt into beta client iirc
excelent, thanks for the info, the question is now, is there an easy way to remove all these packages? (i will start a new thread on this, later on)
Offline
Hm my steam client is configured to participate in beta updates but I still get that missing libgconf error.. Any ideas?
I thought of installing it myself, but phew there really are a few dependencies.
Offline
Hm my steam client is configured to participate in beta updates but I still get that missing libgconf error.. Any ideas?
I thought of installing it myself, but phew there really are a few dependencies.
Same here. I get Steam updates every few days it seems, and have STEAM_RUNTIME=1, but the game still threw the libgconf error.
Offline
Resurrecting an old thread. Steam runtime seems to have all the required bits now. I can launch the game through the client and get as far as loading the "Optimize" or "Tutorial" map. But then it crashes with errors in the console:
(Awesomium:11756): Pango-WARNING **: /home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so: failed to map segment from shared object: Cannot allocate memory
(Awesomium:11756): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
/home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so: failed to map segment from shared object: Cannot allocate memory
Failed to load module: /home/rob/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
[1215/223442:ERROR:browser_main_loop_impl.cc(126)] Gdk: shmat failed: error 12 (Cannot allocate memory)
mmap() failed: Cannot allocate memory
Apparently, some people have been able to get it working by installing the linux-lts kernel, but I don't want to install a special kernel just to run a Steam game. Anyone managed to get past this? I'm running the stock 64-bit 3.12 kernel right now with 12 GB of RAM.
Offline
Hi Rob,
I have no trouble launching the game, and i have only 4gig of mem., the game doesn't start at all or it starts and exits with out of memory when loading a level (if so, then try to lower the resolution and/or the graphics detail - running it with everything on high, i too get out of mem., so i set it to medium and it runs fine - also try to close any other program than you are running, beside steam and ns).
Offline
Thanks for the suggestion. Unfortunately, turning down graphics quality didn't fix it for me. I've got 12 GB of RAM, although it seems NS2 is 32-bit so it's not getting all of it.
Offline
For others who may be encountering the memory allocation error, this is apparently a bug triggered by the 64-bit 3.12 kernel. There's a thread about it in the Natural Selection 2 tech support forum. I'll be following progress there.
http://forums.unknownworlds.com/discuss … ng-new-map
Last edited by Rob_H (2013-12-22 15:54:50)
Offline