[LINUX] FMOD fails to initialize -> no sound at all.

DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
I've had this problem for a couple of builds, after one update the game just didn't produce sound anymore even though my system is exactly the same as before, except that I upgraded from Ubuntu 13.10 to 14.04 ( both 64bit).

I didn't report it before because reporting Linux specific issues was the surest way to never ever receive an answer or attention from the devs let alone a patch.
But now that the community team has taken over I will give it another shot.

As I said, I don't get any sound in game, the log only says FMOD failed to initialize and then complains about not being able to do sound-y things.

Log:
Date: 08/06/14
Time: 12:29:24:
Build 267
Ubuntu x86_64
Steam initialized
Num displays: 2
OpenGL 3.1.0 NVIDIA 340.24 initialized (NVIDIA Corporation GeForce GTX 650 Ti/PCIe/SSE2)
GLSL version 1.40 NVIDIA via Cg compiler
ARB_texture_storage extension present
ARB_get_program_binary extension present
Error: eventSystem->init (Error initializing output device. )
Error: SoundSystem::Initialize - Failed to initialize FMOD event system
Sound disabled
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/alien/infestation/build' (project didn't exist)
Loading config://ConsoleBindings.json
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/alien/infestation/build' (project didn't exist)
Resampling uncompressed animations at 1/2 frame rate to conserve memory
Loading config://FavoriteServers.json
Loading config://HistoryServers.json
Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. )
Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. )
Error: CreateDSP:addDSP (An invalid object handle was used. )
Error: CreateDSP:addDSP (An invalid object handle was used. )
Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. )
Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. )
Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. )
Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. )
Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. )
Error: CreateDSP:createDSPByType (This command failed because System::init or System::setDriver was not called. )
Error: CreateDSP:addDSP (An invalid object handle was used. )
Error: CreateDSP:addDSP (An invalid object handle was used. )
Error: SetDSPActive:setBypass() (An invalid object handle was used. )
Error: SetDSPFloatParameter(getParameterInfo) (An invalid object handle was used. )
Main Menu Initialized at Version: 267
Steam Id: 10189767
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/menu_loop' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/ambient/beep' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/give_order' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/ambient/beep' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/open' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/ambient/beep' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/ambient/beep' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/marine/commander/hover_ui' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/button_click' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Couldn't load 'sound/NS2.fev'
Error: Couldn't load 'sound/NS2.fev/common/hovar' (project didn't exist)
Error: Attempted to load remote options from a file that does not exist.
CinematicsUpdate: exit
ClientGame::UpdateWorld: exit
CollectGarbage: exit

System Specs:
Processor Information:
Vendor: AuthenticAMD
CPU Family: 0x10
CPU Model: 0x4
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 3000 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Unsupported
SSE4a: Supported
SSE41: Unsupported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
Ubuntu 14.04.1 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 3.13.0-32-generic
X Server Vendor: The X.Org Foundation
X Server Release: 11501000
X Window Manager: Compiz
Steam Runtime Version: steam-runtime-release_2014-07-22

Video Card:
Driver: NVIDIA Corporation GeForce GTX 650 Ti/PCIe/SSE2

Driver Version: 4.4.0 NVIDIA 340.24
OpenGL Version: 4.4
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID: 0x10de
DeviceID: 0x11c6
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 3840 x 1080
Primary Display Size: 20,91" x 11,77" (23,98" diag)
53,1cm x 29,9cm (60,9cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1024 MB
Supported MSAA Modes: 2x 4x 8x 16x

Sound card:
Audio device: Realtek ALC888

Memory:
RAM: 6977 Mb

Miscellaneous:
UI Language: English
LANG: de_DE.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 300618 Mb
Largest Free Hard Disk Block: 22141 Mb

Comments

  • murraymurray Join Date: 2012-12-22 Member: 175880Members, NS2 Playtester, Pistachionauts
    Maybe you are missing a 32 bit lib?
    Can you check the library dependencies of the ns2 binary?
    cd SteamApps/common/Natural\ Selection\ 2/
    ldd ./ns2_linux32
    
  • DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
    edited August 2014
    ldd ./ns2_linux32 | grep "not found"
    libudev.so.0 => not found
    libudev.so.0 => not found

    Which is normal because 32bit and 64bit udev are mutually exclusive. Everything else is there. (Also in general it can be misleading asking people to run ldd on a Steam game's binary against your normal system because some dependencies might be covered by the Steam-runtime.)

    Every other games that uses FMOD runs with sound for me, 64bit and 32bit, Steam and non-Steam.

    EDIT: Yeah, I just checked the Steam-runtime and 32bit udev is in there. So, again: No ldd of Steam games against the base system.
  • murraymurray Join Date: 2012-12-22 Member: 175880Members, NS2 Playtester, Pistachionauts
    edited August 2014
    DerRidda wrote: »
    (Also in general it can be misleading asking people to run ldd on a Steam game's binary against your normal system because some dependencies might be covered by the Steam-runtime.)
    Yeah, thats right in general.
    But on my system the game only starts, if I make symlink against the global libudev.

    Can you tell more about your sound system? Are you using Alsa? Or Pulseaudio?

    Btw. I found a similar problem in this thread with possible solutions:
    http://forums.unknownworlds.com/discussion/132931/linux-no-sound-with-pulse-on-arch-linux
  • DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
    I'm using Pulse, I've got my ALSA plugins and I also tried setting SDL_AUDIODRIVER (I even tried OSS for Pete's sake). Nothing in that thread applies.

    Literally every other FMOD game I have installed works without any tinkering on my part and in general I never have audio issues of this nature.
  • DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
    edited December 2014
    I would really love if the CDT could try to use a newer (maybe even older) version of Fmod 4.44. Don't Starve runs on an older version of 4.44 (.07) and has no problems for me. So if the license allows it, testing a newer version would be very welcome.

    By now I have a new mainboard, CPU, RAM and soundcard and the issue persists. I literally can not get a handle on why this only happens with NS2 and at this point I'm thinking this might just be a bug with that version, Ubuntu 14.04 LTS 64bit and something NS2 does uniquely.

    For example: Does NS2 use the CELT codec? 4.44.18 fixes a bug with that on Linux and there are some other Linux specific and general fixes. http://www.fmod.org/files/revision_4.44.txt


  • ceribikceribik Join Date: 2009-11-24 Member: 69492Members, Reinforced - Supporter, Reinforced - Silver
    I fixed the same issue a while back by using this launch option:

    LD_LIBRARY_PATH="/usr/lib32:$LD_LIBRARY_PATH" %command%

    You can also try some other troubleshooting steps I added here:
    https://wiki.archlinux.org/index.php/Steam/Game-specific_troubleshooting#Natural_Selection_2
  • DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
    I've found those and tried thoem with no success. I guess some Arch users were seeing other issues which could be fixed like that but my issue is definitely not related. Judging from http://forums.unknownworlds.com/discussion/132931/linux-no-sound-with-pulse-on-arch-linux it doesn't even seem to fix it for all Arch users.
  • ceribikceribik Join Date: 2009-11-24 Member: 69492Members, Reinforced - Supporter, Reinforced - Silver
    DerRidda wrote: »
    I've found those and tried thoem with no success. I guess some Arch users were seeing other issues which could be fixed like that but my issue is definitely not related. Judging from http://forums.unknownworlds.com/discussion/132931/linux-no-sound-with-pulse-on-arch-linux it doesn't even seem to fix it for all Arch users.

    Another thing you may want to try is running ns2 directly (not from steam) - ns2_linux32 IIRC. This also brought back sound for me (as it doesn't use steam's libraries). The terminal output may even give you additional errors to investigate.
  • DerRiddaDerRidda Join Date: 2012-08-03 Member: 154647Members
    edited December 2014
    Thanks, that pointed me the right way. It didn't instantly work because it was missing 32bit libudev0 which is normally provided by the Steam runtime.
    Ubuntu 14.04 doesn't provide libudev0 anymore just libudev1 and I have to manually symlink to that. Now I have sound again but only when starting from outside of Steam.

    The conclusion here is that for some reason NS2 doesn't play ball with libudev0 or something else in the Steam runtime on Ubuntu 14.04 64bit (at least for me) in a way that basically only affects this specific version of FMOD.
Sign In or Register to comment.