No Sound

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Tue Apr 21, 2009 9:44 pm

  • Hey guys,

    I'm kind of new to Nexuiz and so far it seems pretty cool. However I am unable to get sound at any point during the game, this includes game intro screens, menus and in-game play. I've tried checking around but I haven't found anything useful. I'll supply relevant system specs and the terminal output.

    Specs:
    Open Sound System 4.1
    Debian Etch n Half

    Terminal Output:
    Code: Select all
    couldn't exec data/campaign.cfg
    couldn't exec autoexec.cfg
    Draw_CachePic: failed to load gfx/complete
    Draw_CachePic: failed to load gfx/inter
    Draw_CachePic: failed to load gfx/finale
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    SndSys_Init: using the SDL module
    Failed to open the audio device! (No available audio device)
    S_Startup: SndSys_Init failed.
    Draw_CachePic: failed to load gfx/m_white
    g_maplist: Map 'bleach' not found in database - ignored
    g_maplist: Map 'dieselpower' not found in database - ignored
    g_maplist: Map 'bluesky' not found in database - ignored
    g_maplist: Map 'desertfactory' not found in database - ignored
    g_maplist: Map 'ruiner' not found in database - ignored
    g_maplist: Map 'basement' not found in database - ignored
    g_maplist: Map 'basementctf' not found in database - ignored
    g_maplist: Map 'evilspace' not found in database - ignored
    g_maplist: Map 'aneurysm' not found in database - ignored
    g_maplist: Map 'runningman_1on1remix' not found in database - ignored
    g_maplist: Map 'aggressor' not found in database - ignored
    g_maplist: Map 'farewell' not found in database - ignored
    g_maplist: Map 'final_rage' not found in database - ignored
    g_maplist: Map 'ons-reborn' not found in database - ignored
    g_maplist: Map 'stormkeep' not found in database - ignored
    g_maplist: Map 'accident' not found in database - ignored
    g_maplist: Map 'racetrack' not found in database - ignored
    g_maplist: Map 'runningman' not found in database - ignored
    g_maplist: Map 'reslimed' not found in database - ignored
    g_maplist: Map 'downer' not found in database - ignored
    g_maplist: Map 'slimepit' not found in database - ignored
    g_maplist: Map 'silvercity' not found in database - ignored
    g_maplist: Map 'eggandbacon' not found in database - ignored
    g_maplist: Map 'dismal' not found in database - ignored
    g_maplist: Map 'bloodprison' not found in database - ignored
    g_maplist: Map 'warfare' not found in database - ignored
    g_maplist: Map 'toxic' not found in database - ignored
    g_maplist: Map 'runningmanctf' not found in database - ignored
    g_maplist: Map 'bloodprisonctf' not found in database - ignored
    g_maplist: Map 'strength' not found in database - ignored
    g_maplist: Map 'starship' not found in database - ignored
    g_maplist: Map 'skyway' not found in database - ignored
    g_maplist: Map 'darkzone' not found in database - ignored
    g_maplist: Map 'soylent' not found in database - ignored
    VM_localsound: Failed to play announcer/male/welcome.ogg for menu !
    VM_localsound: Failed to play misc/menu1.wav for menu !
    VM_localsound: Failed to play misc/menu1.wav for menu !
    VM_localsound: Failed to play misc/menu2.wav for menu !
    VM_localsound: Failed to play misc/menu1.wav for menu !
    VM_localsound: Failed to play misc/mouseclick.wav for menu !


    I left out all the stuff that didn't present an error.

    Any help?
    Redbaron
    Last edited by Redbaron on Wed Apr 22, 2009 10:09 pm, edited 1 time in total.
    Redbaron
    Newbie
     
    Posts: 5
    Joined: Tue Apr 21, 2009 9:33 pm

Wed Apr 22, 2009 6:00 am

  • Try:

    export SDL_AUDIODRIVER=dsp

    before starting Nexuiz.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Apr 22, 2009 8:40 pm

  • Still not getting any sound
    Redbaron
    Newbie
     
    Posts: 5
    Joined: Tue Apr 21, 2009 9:33 pm

Mon May 04, 2009 12:08 am

  • Hi Redbaron if you have alsa mixer try to change him with kmix in adept .
    stoichev
    Newbie
     
    Posts: 2
    Joined: Sun May 03, 2009 10:52 am

Mon May 04, 2009 9:33 pm

  • I run OSS not ALSA and Nexuiz doesn't show in my mixer window(ossxmix).
    Redbaron
    Newbie
     
    Posts: 5
    Joined: Tue Apr 21, 2009 9:33 pm

Mon May 04, 2009 9:52 pm

  • Is there a specific reason why you use OSS rather than ALSA? Does your sound hardware not play well with ALSA? I know there are specific chips which just don't work with ALSA but with OSS using really deprecated modules. This is the only case I would even attempt to use OSS in with a modern kernel although I have previously forgone sound altogether on very old chips that are not supported in ALSA and just don't work well in OSS.

    Edit:
    There is an ALSA emulation module(?) for OSS, are you running this? I'm also assuming you have no other sound problems. Your sound chipset might be useful to know.
    Ed
    Forum addon
     
    Posts: 1172
    Joined: Wed Mar 01, 2006 12:32 am
    Location: UK

Mon May 04, 2009 10:28 pm

  • I know OSS is deprecated but I've been using it for a while, I was having issues with ALSA so I switched. Not getting sound to work in Nexuiz is the only problem I have so far had with OSS. I'm not sure about the ALSA emulation module for OSS?
    Is it possible to bring up my chipset specs via command line? I don't know that exact chipset off-hand.
    Redbaron
    Newbie
     
    Posts: 5
    Joined: Tue Apr 21, 2009 9:33 pm

Tue May 05, 2009 12:40 pm

  • With OSS usually only one application can have access to the soundcard. So if some sound demon (esd, pulseaudio or similar) is running or some other app (like firefox) is accessing the soundcard Nexuiz can't do sound. Besides maybe it worthwhile to find out why ALSA has problems on your computer and fix those?

    Those are the sound related startup options for the engine:
    Sound: -nocdaudio disables CD audio support
    Sound: -nosound disables sound (including CD audio)
    Sound: -novorbis disables ogg vorbis sound support
    Sound: -simsound runs sound mixing but with no output
    Sound: -sndbits bits chooses 8 bit or 16 bit sound output
    Sound: -sndmono sets sound output to mono
    Sound: -sndquad sets sound output to 4 channel surround
    Sound: -sndspeed hz chooses sound output rate (supported values are 48000, 44100, 32000, 24000, 22050, 16000, 11025 (quake), 8000)
    Sound: -sndstereo sets sound output to stereo
    Linux ALSA Sound: -sndpcm devicename selects which pcm device to us, default is "default"
    Linux Sound: -cddev devicepath chooses which CD drive to use

    However the thing posted by divVerent still will only work if no other app is accessing the soundcard at the time.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue May 05, 2009 1:05 pm

  • Another alternative is compiling the engine from source with the added parameter DP_SOUND_API=OSS. Then nexuiz-glx it will use OSS instead of ALSA.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Tue May 05, 2009 2:39 pm

  • Use SDL_AUDIODRIVER=oss instead of dsp (which is usually created by alsa for oss emulation)
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Sun May 10, 2009 2:48 pm

  • My sound works fine with two audio sources running at once, I can hear both. DivVerent how do I compile the engine from source using the DP_SOUND_API=OSS parameter?
    Redbaron
    Newbie
     
    Posts: 5
    Joined: Tue Apr 21, 2009 9:33 pm



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest