[Linux] No sound
devel
Join Date: 2014-09-13 Member: 198444Members
Current Ubuntu 15.04.
Earlier (maybe on Ubuntu 14.04 or maybe because of different NS2 build), I had around 50% probability that game launches with sound.
Now on every launch there is no sound.
MSI Z97 Pc Mate LGA1150 motherboard.
Earlier (maybe on Ubuntu 14.04 or maybe because of different NS2 build), I had around 50% probability that game launches with sound.
Now on every launch there is no sound.
MSI Z97 Pc Mate LGA1150 motherboard.
Date: 07/19/2015 Time: 09:59:38 PM: -------------------------------------------------------------- Build 274 Ubuntu x86_64 Steam initialized Num displays: 1 OpenGL 3.1.0 NVIDIA 340.76 initialized (NVIDIA Corporation GeForce GTX 760/PCIe/SSE2) GLSL version 1.40 NVIDIA via Cg compiler ARB_texture_storage extension present ARB_get_program_binary extension present [ 0.620] MainThread : Error: eventSystem->init (Error initializing output device. ) [ 0.620] MainThread : Error: SoundSystem::Initialize - Failed to initialize FMOD event system Sound disabled Loading config://ConsoleBindings.json [ 1.818] Worker 03 : Error: Couldn't load 'sound/NS2.fev' [ 1.818] Worker 03 : Error: Couldn't load 'sound/NS2.fev/alien/infestation/build' (project didn't exist) Loading config://FavoriteServers.json Loading config://HistoryServers.json [ 1.871] Worker 03 : Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. ) [ 1.871] Worker 03 : Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. ) [ 1.871] Worker 03 : Error: CreateDSP:addDSP (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: CreateDSP:addDSP (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. ) [ 1.871] Worker 03 : Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. ) [ 1.871] Worker 03 : Error: CreateDSP:addDSP (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: CreateDSP:addDSP (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPActive:setBypass() (An invalid object handle was used. ) [ 1.871] Worker 03 : Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. ) Resampling uncompressed animations at 1/2 frame rate to conserve memory Main Menu Initialized at Version: 274 Steam Id: 53953834 [ 3.196] MainThread : Error: Couldn't load 'sound/NS2.fev' [ 3.196] MainThread : Error: Couldn't load 'sound/NS2.fev/common/menu_loop' (project didn't exist) [ 4.509] MainThread : Error: Couldn't load 'sound/NS2.fev' [ 4.509] MainThread : Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist) [ 4.510] ClientGame::UpdateWorld : Error: Couldn't load 'sound/NS2.fev' [ 4.510] ClientGame::UpdateWorld : Error: Couldn't load 'sound/NS2.fev/ambient/beep' (project didn't exist) [ 4.911] MainThread : Error: Attempted to load remote options from a file that does not exist. CinematicsUpdate: exit ClientGame::UpdateWorld: exit CollectGarbage: exit
Comments
Otherwise you might want to look into using the last stable version of Pulseaudio.
PulseAudio is at 6.0. It is the last version.
NS2 doesn't work with the Steam Runtime correctly. To make it run at least I had to copy /usr/lib/i386-linux-gnu/libasound.so.2.0.0 to the game root directory and make a symlink libasound.so.2 -> libasound.so.2.0.0
This way it starts but there's no sound just as @devel said. When it works, log.txt is pretty small:
I've already verified the game cache, everything is fine.
please? For me it's 7dc6b3a901c307d853160b7bd786a718.
New NS2 build doesn't crash for me. But the sound problem is the same.
Workaround to link libasound in "SteamApps/common/Natural Selection 2" works:
Not using steam beta and I couldn't find that lib in that folder, but i found the same file with the same md5sum in
./bin32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2.0.0
This is a new installation from ~ month ago and so that is probably why. I actually used to have the sound issue on my old arch desktop, but I fixed it by overriding the steam libraries as I've described here:
https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting#Natural_Selection_2
My sound stopped working a week ago. It took me a week to figure out that it was Arch's fault. Arch updated pulseaudio from 6.99 to 7.0. But it seems pulseaudio 7 does not work with NS2. Maybe just a missing dependency? If so, it would me much appreciated if the devs would consider it in the next update.
I had the exact same issue and just downgraded to 6.x in the meantime (and blacklisted pulseaudio from updating). I imagine this will affect the more friendly distros in the future once they update to PA 7.
After all, check if NS2 is using PA at all (and not just talks to hardware directly via hw:0) with pavucontrol or my small humble utility.
Stupid Arch. Maybe I should switch to something more stable.
It worked fine for me (ALSA 1.1.0 on arch).
Strange. Could you tell me where your libasound.so.2.0.0 in the program directory is pointing at? Because mine is pointing at /usr/lib/i386-linux-gnu/libasound.so.2.0.0, except there is no i386-linux-gnu directory in my libs...
I don't see a libasound.so* file in "~/.steam/steam/steamapps/common/Natural Selection 2" at all. I don't have a "/usr/lib/i386-linux-gnu/" folder either.
I do have this file in the steam runtime though.
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2.0.0
And if I check what lib is used when ns2 is run:
$ sudo pldd PID | grep sound
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2
(points to libasound.so.2.0.0)
Do you have lib32-alsa-lib installed?
Yes, all the lib32 libraries are installed, but it looks like NS2 is just not able to find them. gives me
libgthread-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libcairo.so.2 => not found
libpango-1.0.so.0 => not found
libfreetype.so.6 => not found
libfontconfig.so.1 => not found
libXrender.so.1 => not found
libnss3.so => not found
libnssutil3.so => not found
libsmime3.so => not found
libplc4.so => not found
libnspr4.so => not found
libpng12.so.0 => not found
libudev.so.0 => not found
libcups.so.2 => not found
libgcrypt.so.11 => not found
But ALL of those can be found in /usr/lib32.
And why is NS2 the only game having problems with this at all?
The trick is to change the NS2 launch option in steam, so that the game uses /usr/lib instead of steam's libs:
Works for me. At least on Kubuntu 15.10. Tomorrow I'll check if it fixes it on Arch, or at least Manjaro.