More sound problems

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

Moderators: Nexuiz Moderators, Moderators

Postby DrDoom » Wed Mar 22, 2006 5:55 pm

I also compiled the glx version myself, because of a problem with glibc 2.3.6, but that also didnt help. The sound is now always that badly scrambled/has echos that I had to turn it off completely.
DrDoom
Member
 
Posts: 20
Joined: Tue Mar 21, 2006 1:40 pm

Postby KadaverJack » Wed Mar 22, 2006 7:00 pm

DrDoom wrote:I also compiled the glx version myself, because of a problem with glibc 2.3.6, but that also didnt help. The sound is now always that badly scrambled/has echos that I had to turn it off completely.

Have you tried the parameters "-sndspedd 48000" and/or "-sndstereo" yet?
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby esteel » Wed Mar 22, 2006 9:07 pm

DrDoom wrote:I did not find a solution for it, but I get almost acceptable sound with setting _snd_mixahead "1000" and running Nexuiz with a really strange -sndsterio -sndspeed 24000.

KadaverJack wrote:Have you tried the parameters "-sndspedd 48000" and/or "-sndstereo" yet?

I would suppose so as he even tried some really strange values :)
Last edited by esteel on Thu Aug 31, 2006 7:17 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby DrDoom » Wed Mar 22, 2006 9:13 pm

Yes I did. Also the .asoundrc, posted here. That also didnt help.
Also the sdl-version does not produce any sound. Ill check wheter this is a compilation problem (missing libsdl-mixer-dev package or so).
Yes, forgot libsdl-mixer-dev package. Sound works perfect, but only 2/6 channels are active. -sndstereo is needed to get unscrambled sound.
DrDoom
Member
 
Posts: 20
Joined: Tue Mar 21, 2006 1:40 pm

Postby Willis » Sun Mar 26, 2006 10:56 am

I don't have much linux experience, but perhaps you could try compiling with an alternative sound mixer?

I believe it would be "make cl-nexuiz DP_SOUND_API=OSS" where ALSA is likely the default, OSS is another option to try.
--Willis
Willis
Site Admin
 
Posts: 168
Joined: Tue Feb 28, 2006 7:00 pm
Location: Wisconsin, USA

Postby dfkgmasdfnasodrg » Sun Mar 26, 2006 12:49 pm

tZork, Why do you have both soundcards enabled? do you really need ehm both?
one was onboard and the other is ???

In most cases the onboard soundcards are lacking mmap function and thats why there are a lot of problems. If one uses something like a Soundblaster live or newer this problem should go away. I would recomend trying to disable the onboard card and then maybe try KadaverJacks fix again.
dfkgmasdfnasodrg
Alien
 
Posts: 153
Joined: Sat Mar 04, 2006 4:21 pm

Postby divVerent » Tue Mar 28, 2006 8:37 pm

Another trick that may help:
Code: Select all
$ export SDL_AUDIODRIVER=dma

or
Code: Select all
$ export SDL_AUDIODRIVER=oss

before starting the SDL version. This goes over ALSA's OSS emulation and skips .asoundrc and similar files.
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby tZork » Tue Mar 28, 2006 8:56 pm

Vociferous wrote:tZork, Why do you have both soundcards enabled? do you really need ehm both?
one was onboard and the other is ???

In most cases the onboard soundcards are lacking mmap function and thats why there are a lot of problems. If one uses something like a Soundblaster live or newer this problem should go away. I would recomend trying to disable the onboard card and then maybe try KadaverJacks fix again.


Need is maybe the wrong word, but i do use them both. mainly i use the addon card for skype and the onbord for everythign else. True thet onbord's usualy aint the best things under the sun, but it does work fine in windows so it should be possible to make it work fine in linux too. I havent had time to debug this stuff eny futher lately, hope i will get some time to do it next weak or so.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Kubuntu sound latency

Postby ds01 » Thu Mar 30, 2006 4:33 am

Are you using Arts (the KDE sound server artsd - is it running)? I run Nexuiz 1.5 on OS X and notice a slight delay for the sound on item pickups, but virtually no delay at all when firing weapons etc. - this is an SDL version.

If you have any sound servers running on Linux, they can sometimes interfere with the otherwise normal operation of the sound subsystem. For example on KDE usually artsd is enabled by default, and in Gnome there is usually esd. If either of those is enabled or running, try disabling (or just killing them). There's a control panel for Arts in KDE that lets you do this, for ESound you may need to use the gnome config editor to change the value (or add it) in a gconf to disable an auto-start of esd.

You try those already?
ds01
Member
 
Posts: 47
Joined: Wed Mar 29, 2006 5:54 am
Location: Lvl 7

Postby titi » Wed Jun 28, 2006 1:54 pm

I had the same problems with my sound (0.5 seconds delay)
But i have only 1 soundcard ( only onboard sound ).

I'm running Nexuiz on Linux ( Ubuntu 6.06 64-bit ).

the sdl-version (the default in the startscript) has this strange bug, but
the glx-Version works fine for me.

Whith WindowsXP ( same machine ) i have no problems.
I killed OBI (Be) !!!

.... when he was drunken
titi
Member
 
Posts: 33
Joined: Thu May 11, 2006 9:05 am
Location: Northern Germany

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron