[Linux] Crash on launch after updating the alsa-libs, so don't update them
mock
Germany Join Date: 2014-03-28 Member: 195015Members, NS2 Playtester
Hej everyone.
I just ran a full system upgrade, and after that the game crashes on launch. Log doesn't say anything:
And indeed: during the system upgrade alsa-lib and lib32-alsa-lib where updated from 1.1.1-1 to 1.1.2-1. So reverting this upgrade fixes this problem, and not updating in the first place prevents it.
The question remains why once again this is only a problem for NS2 and no other game.
I just ran a full system upgrade, and after that the game crashes on launch. Log doesn't say anything:
Date: 08/14/2016
Time: 02:30:48 PM:
[ 0.004] Unbound/Unknown : Filesystem initialized, cache enabled
Build 307
Linux
Steam initialized
[INVENTORY] Granting Promo Items
Num displays: 2
OpenGL 3.1.0 NVIDIA 367.35 initialized (NVIDIA Corporation GeForce GTX 970/PCIe/SSE2)
GLSL version 1.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
But the next row in the log usually is
Time: 02:30:48 PM:
[ 0.004] Unbound/Unknown : Filesystem initialized, cache enabled
Build 307
Linux
Steam initialized
[INVENTORY] Granting Promo Items
Num displays: 2
OpenGL 3.1.0 NVIDIA 367.35 initialized (NVIDIA Corporation GeForce GTX 970/PCIe/SSE2)
GLSL version 1.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
Sound Device: default stereoI figured it must be the alsa-libs.
And indeed: during the system upgrade alsa-lib and lib32-alsa-lib where updated from 1.1.1-1 to 1.1.2-1. So reverting this upgrade fixes this problem, and not updating in the first place prevents it.
The question remains why once again this is only a problem for NS2 and no other game.
Comments
I'd take off the the Linux/SteamOS compatible tag in Steam store if I were a dev, since it's quite misleading.
I just don't understand, why every other game I have installed, many of which don't even get upgrades anymore, don't have a problem with any libs. Its always only NS2.
I had no problem on debian stable in the pre-january era, for about a year at least. But the last few months had been riddled with crashes.
And @AurOn2 can disagree all he wants, but since the robustness of the game is incomparable between linux and windows (hmm... devtools are not even available for linux), advertising it as supporting linux is simply misleading (and false).
Until there is only a boolean on/off in the steam store, it should be taken off.
Just imagine a new player starting it on linux and encountering the regular crashes. How preferable will his opinion be about the game?
You can bash the devs all you want, but at the end of the day it is your system that is fucked up somehow. Otherwise this game would run.
How come KSP never crashed for me? And how come NS2 started crashing after specific updates to it, without performing any package upgrades on the system?
Also, if NS2 needs specific package versions in the dependency tree and/or distro, where is the info about that?
The devs do deserve some bashing on this specific topic. Either fix it, or don't advertise falsehood.
I believe only @computerquip is the only guy who has real in depth knowledge regarding Linux systems for NS2, not sure if he is still around though.
In this case the question really is: why is it still promoted as Linux compatible, then!?
Turns out programs don't see PulseAudio as they have a separate local address. Because of that NS2 tried to launch its own pulseaudio process and probably failed as the hardware output has already been taken by another instance. Well, for it to use the main PA instance I've put this to ~/.config/pulse/client.conf : (that's the LAN IP of eth0)
99.99% of people won't ever need such tricks, I should admit. But anyway, inability to start an audio subsystem should never lead to a stupid segfault, there has to be a proper message shown with some debug info!