Can't get 5.1 sound

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

Moderators: Nexuiz Moderators, Moderators

Can't get 5.1 sound

Postby Melcar » Thu Apr 30, 2009 4:41 am

Question: Is there a bug with Pulseaudio that prevents Nexuiz from using 5.1 sound? Under Intrepid 5.1 sound worked fine, but now with Jaunty the speaker slider keeps reverting to "Stereo" and I get this message:

Code: Select all
S_Startup: initializing sound output format: 48000Hz, 16 bit, 6 channels...
SndSys_Init: using the ALSA module
SndSys_Init: PCM device is "surround51"
SndSys_Init: can't open audio device "surround51" (No such file or directory)
S_Startup: sound output initialization FAILED
S_Startup: initializing sound output format: 48000Hz, 16 bit, 2 channels...
SndSys_Init: using the ALSA module
SndSys_Init: PCM device is "default"


Only difference that I can think of that relates is that under Intrepid I wasn't running Pulseaudio (purged it because it was buggy as hell). I tried that "pasuspender" from the sticky but to no result. I am getting sound, I just can't get anything other than "Stereo". Used both the SDL and GLX binaries with the same result.

Running Nexuiz 2.5 on Ubuntu Jaunty 64bit.
Melcar
Member
 
Posts: 14
Joined: Thu Apr 30, 2009 3:58 am

Postby Mizu Kitsune » Sun May 31, 2009 7:54 am

download different sound drivers.
Mizu Kitsune
Alien trapper
 
Posts: 362
Joined: Sat Apr 11, 2009 7:51 pm
Location: Maridia

Postby drjoms » Tue Jun 02, 2009 11:48 pm

i had similar issue.

asus xonar card was only working in stereo for some reason.

i have killed ESD process, and now everything works fine.

Good chance you have same story there. turn off any jacl/pulseaudio/esd and use bare alsa and alsa only turn off mp3 player to see if its any different.

S_Startup: initializing sound output format: 48000Hz, 16 bit, 6 channels...
SndSys_Init: using the ALSA module
SndSys_Init: PCM device is "surround51"
Sound format: 48000Hz, 6 channels, 16 bits per sample
S_SetChannelLayout: using ALSA speaker layout for 3D sound

i didnt have a chance to hear sound yet, my speakers are cooked, so i am using 2.1 stereo or stereo...
drjoms
Newbie
 
Posts: 1
Joined: Tue Jun 02, 2009 11:44 pm

Postby Melcar » Sun Jun 07, 2009 11:05 pm

Managed to fix it. The problem was PA afterall, but instead of removing it (why should I? It works for everything else) I found a solution by modifying its configuration file.
PA for some reason is configured for 2 channel sound by default, so to get anything else you need to configure it. PA options are stored inside /etc/pulse/daemon.conf, and this is where I made all the changes. For proper 5.1 sound with PA, you need to configure 2 options:

Code: Select all
;default-sample-channels = 2

changes to...

default-sample-channels = 6

#this gives you 5 channel sound


Code: Select all
;disable-lfe-remixing = yes

changes to...

disable-lfe-remixing = no

#this gives you your subwoofer back
Melcar
Member
 
Posts: 14
Joined: Thu Apr 30, 2009 3:58 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron