Gameplay sound issues.

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

Moderators: Nexuiz Moderators, Moderators

Tue Apr 18, 2006 9:42 pm

  • The current [app] directory is not searched first when loading DLL as of Windows XP SP1. The default behavior is to look in all the system locations first and then the current [app] directory. Even if path is hardcoded into DP there could be conflict under specific circumstance. AFAIK anyhow I threw Windows in the trash.

    So my question is to anyone having this problem: do you have vorbis and ogg DLL files in the OS system folders?
    User avatar
    ds01
    Member
     
    Posts: 47
    Joined: Wed Mar 29, 2006 5:54 am
    Location: Lvl 7

Wed Apr 19, 2006 8:19 am

  • ds01 wrote:The current [app] directory is not searched first when loading DLL as of Windows XP SP1.

    WTF??? Why did microsoft change that? With the old behaviour one could make sure to have all the right libraries and versions when including them with the application. Now one has to hope that no other stupid application installs a different version in the system directories.. How is this dll hell supposed to get any better with such things?
    ds01: Do you have an idea how this does work? Is it using %PATH% or something hardwired? Would it help to set PATH to "" before starting Nexuiz just to make sure its only loading its own dlls?

    But its a good idea.. please look if you have those files (SDL.dll libogg.dll libvorbis.dll libvorbisfile.dll) in an other directory then your Nexuiz main directory..
    Last edited by esteel on Thu Aug 31, 2006 7:55 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Apr 19, 2006 8:33 am

  • esteel wrote:WTF??? Why did microsoft change that? With the old behaviour one could make sure to have all the right libraries and versions when including them with the application. Now one has to hope that no other stupid application installs a different version in the system directories.. How is this dll hell supposed to get any better with such things?

    Windows uses no versioning for dlls it separates them by name only, and since applications are allowed to add dlls with the same name as system dlls.. oh, the horror.
    the spice extend life!
    the spice expand conciousness!
    the spice is vital to space travel!
    sooooo.. tell me what you want, waht you really-really want
    I will proceed directly to the intravenous injection of hard drugs, please.
    User avatar
    tChr
    Forum addon
     
    Posts: 1501
    Joined: Tue Feb 28, 2006 9:11 pm
    Location: Trondheim, Norway

Wed Apr 19, 2006 9:33 am

  • tChr wrote:Windows uses no versioning for dlls it separates them by name only, and since applications are allowed to add dlls with the same name as system dlls.. oh, the horror.

    Yeah but as long as windows searched the dll in the application directory first you were as save as can be if you shipped all dlls with your application.
    You know how many applications install dll in the system directory.. Now its really dll hell if one application does misuse the system directory.
    Well without proper symlinks (which windows 3.x and 9x did not have) its hard to make a nice name scheme without wasting space..

    Hope we can solve your problems that way.. *crossing-fingers* meaning maybe you have other versions then the ones Nexuiz needs installed.
    Last edited by esteel on Thu Aug 31, 2006 7:55 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Apr 19, 2006 9:57 am

  • esteel wrote:But its a good idea.. please look if you have those files (SDL.dll libogg.dll libvorbis.dll libvorbisfile.dll) in an other directory then your Nexuiz main directory..

    I only have those files in my Nexuiz directories (one for playing online and another for testing purposes). Not one of those files is found anywhere else on my computer.
    Toets
    Member
     
    Posts: 34
    Joined: Wed Mar 01, 2006 10:14 am
    Location: Belgium

Thu Apr 27, 2006 7:58 am

  • Toets wrote:I only have those files in my Nexuiz directories (one for playing online and another for testing purposes). Not one of those files is found anywhere else on my computer.

    That would have been too easy.. life sucks :). Ok so now we are either left with 'broken drivers' or a 'bug in Nexuiz'. If its a bug its very hard to fix it if one can't reproduce it and sofar none of the developers has this problem. Could you send your computer to LordHavoc? 8) Guess not..
    And what i do not get is the the -sndstereo switch does not help. It should switch to using stereo only and that has always worked for me and should be very stable. Running Nexuiz on windows does seem to work fine with ac97 sound chips, at least it does for me. Running linux i had to use the -sndspeed 48000 switch to make to sound nice.
    Could you send me the console output when starting nexuiz? use +log_file log.txt and send me that file? Together with info about your hardware. I"m too lazy to search for it in the forum :)
    Last edited by esteel on Thu Aug 31, 2006 8:01 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Thu Apr 27, 2006 7:23 pm

  • esteel wrote:I"m too lazy to search for it in the forum :)

    Hehehe :lol:

    * Intel D915PSY Mobo
    * Intel P4 3.0 Ghz
    * 1 Gb RAM
    * ATI Radeon X300 256 Mb

    Running Win XP SP2 version 5.1.2600, ALL drivers up-to-date. I tried different versions of the sounddriver, but that doesn't make any difference.

    And here's the logfile. I guess that's about all you need to know right?
    Toets
    Member
     
    Posts: 34
    Joined: Wed Mar 01, 2006 10:14 am
    Location: Belgium

Thu Apr 27, 2006 8:46 pm

  • Hmm your onboard sound hardware seems to be able of 7.1 sound but you are using nexuiz.exe not nexuiz-sdl.exe. The first one can only do stereo, the later should theoreticly be able to use 7.1 sound. Do you have installed a 5.1 or 7.1 sound system like surround speakers or a surround headset? In case you have not but just a simple stereo head set.. in which plug did you put it? they have colors.. :)
    Last edited by esteel on Thu Aug 31, 2006 8:03 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Fri Apr 28, 2006 6:02 am

  • Anyone having this problem on Windows tried moving the "Slider" setting in the "Multimedia" Control Panel under the Audio Playback settings from Best Quality to Higher Performace. Turn it all the way to performance in all the panels. Does that make any difference at all? I've seen some audio drivers with really poor sample rate converters in my days...
    User avatar
    ds01
    Member
     
    Posts: 47
    Joined: Wed Mar 29, 2006 5:54 am
    Location: Lvl 7

Fri Apr 28, 2006 9:11 am

  • esteel wrote:in which plug did you put it? they have colors.. :)

    I cant' believe you just asked me this :shock: :lol:

    Anyway, my mobo is capeable of 5.1 sound (not 7.1) if configured that way, but since I only have these stereo speakers, it still has the default settings (stereo). And yes, they are plugged into the correct plug (the green one) :wink:

    I'll try ds01's suggestion later tonight...
    Toets
    Member
     
    Posts: 34
    Joined: Wed Mar 01, 2006 10:14 am
    Location: Belgium

Fri Apr 28, 2006 11:49 am

  • Toets wrote:I cant' believe you just asked me this :shock: :lol:
    Anyway, my mobo is capeable of 5.1 sound (not 7.1)
    And yes, they are plugged into the correct plug (the green one) :wink:

    I'll try ds01's suggestion later tonight...

    Hehe sorry.. Yeah the green one is the right one.
    I just noticed that not all speakers have proper colors, for example my 5.1 headset has purple, blue and red connectors.. while the soundcard correctly has green (front or stereo), black (rear) and yellow(center and subwoofer). And at the time i got it i did not find any clear documentation about this stuff..

    Just a side notice but intel does say on its site the 915P express chipset on your MoBo can do 7.1 maybe it was stripped down for your MoBo to be cheaper or something.. but as you only use 2.0 it should not matter :)
    Last edited by esteel on Thu Aug 31, 2006 8:04 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Fri Apr 28, 2006 12:35 pm

  • esteel wrote:Just a side notice but intel does say on its site the 915P express chipset on your MoBo can do 7.1 maybe it was stripped down for your MoBo to be cheaper or something.. but as you only use 2.0 it should not matter :)

    Yes you are correct, the 915P does support 7.1 for the higher versions of this type of mobo. Mine only supports 6 channels maximum. Some post above, I provided a link to my type of mobo, where you can see it only has 6 channels. Anyway, doesn't realy matter :wink:
    Toets
    Member
     
    Posts: 34
    Joined: Wed Mar 01, 2006 10:14 am
    Location: Belgium

Tue May 09, 2006 10:57 am

  • ds01 wrote:Anyone having this problem on Windows tried moving the "Slider" setting in the "Multimedia" Control Panel under the Audio Playback settings from Best Quality to Higher Performace. Turn it all the way to performance in all the panels. Does that make any difference at all? I've seen some audio drivers with really poor sample rate converters in my days...

    Tried several settings, but nothing really made any difference...
    Toets
    Member
     
    Posts: 34
    Joined: Wed Mar 01, 2006 10:14 am
    Location: Belgium

Wed Jun 07, 2006 8:12 am

  • Last weekend I wiped my drive and started fresh. 2 days ago I DL Nex again and while the sound still shows the same issues on speakers, on headphones it's working!!!
    Yay. The sound is still not as good as it was on 1.2.1 but it's a LOT better.
    Stahl, or anyone....any ideas why my headphones handle it better?
    I tested every other game I have as well and only nex shows a difference on headphones. Trem sounds the same, GTA SA is the same, etc. Just nex...
    I'm glad I got OK sound now though. We'll see how the new build does.

    P.S. @ stahl
    I havent tried with a new engine...figured 2.0 is coming out soon enough;)
    User avatar
    PHREAK
    Alien
     
    Posts: 153
    Joined: Mon Mar 06, 2006 6:54 pm
    Location: USA

Wed Jun 07, 2006 8:42 am

  • Hi Phreak. Woah that sounds crazy. Speakers and Headphones should not make any difference. Headphones are just smaller and closer to your ears. However i prefer headphones as they stop you from hearing other sounds (like from your computer and surroundings) and because of that its easier to hear things happening in the game. Do you connect the speakers and the headphones differently in ANY way? (Some computers have a extra headphone plug at the front)
    Part of the sound engine was being rewritten and tChr said that he thinks sound got a bit better for him.
    Ok, i guess some people might want to beat me for such a stupid question but did anyone try to play around with the "swap stereo" option?
    Last edited by esteel on Thu Aug 31, 2006 8:19 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Jun 07, 2006 9:03 am

  • I did actually use the front plug for the headphones, now that you mention it. I did not go straight to the sound card.
    I'll try the soundcard jack and see if there is a difference.
    User avatar
    PHREAK
    Alien
     
    Posts: 153
    Joined: Mon Mar 06, 2006 6:54 pm
    Location: USA

Mon Jun 12, 2006 11:09 pm

  • Well, the 2.0 forum release has the same sound issues for me when using my 2.1 speakers, but now I feel a lot more comfortable using my headphones that I really don't care about the issue anymore.
    Since I don't have the sound problem with the headphones, it must have something to do with my sound card/on board sound chip.
    User avatar
    PHREAK
    Alien
     
    Posts: 153
    Joined: Mon Mar 06, 2006 6:54 pm
    Location: USA

Mon Jun 12, 2006 11:13 pm

  • The soudbn is better for me now (2.0 forum version) . The mixing/interpolation seem crisper, and that was enough to make the distictions in direction more easy to figure out.
    the spice extend life!
    the spice expand conciousness!
    the spice is vital to space travel!
    sooooo.. tell me what you want, waht you really-really want
    I will proceed directly to the intravenous injection of hard drugs, please.
    User avatar
    tChr
    Forum addon
     
    Posts: 1501
    Joined: Tue Feb 28, 2006 9:11 pm
    Location: Trondheim, Norway

Tue Jun 13, 2006 7:10 am

  • That is good to hear!

    @Phreak: Could you please take a look at the new variable snd_channels. It should be 3 for 2.1 sound. It should also be available in the Options/Sound menu.. Maybe its detecting a wrong number of channels..
    Last edited by esteel on Thu Aug 31, 2006 8:22 pm, edited 1 time in total.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Tue Jun 13, 2006 7:34 am

  • I'll try that in the morning.
    Can't really test it out this time of night since cops would show up at my door ;)
    I'll report the results, however i've grown to love headphones. No I can hear every little detail, and music on top of it without anything blending the way it shouldnt. Not just with nex but other games as well. I have good phones to so that might be why i love it.
    I do think there is something wrong with my sound chip since if I use the fron plug, sound is perfect, if i use the rear one, it's muffled.
    Maybe it's really time for me to upgrade and maybe use this one as a server.
    User avatar
    PHREAK
    Alien
     
    Posts: 153
    Joined: Mon Mar 06, 2006 6:54 pm
    Location: USA

Tue Jun 13, 2006 7:58 am

Previous


Return to Nexuiz - Support / Bugs




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