Gameplay sound issues.

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

Moderators: Nexuiz Moderators, Moderators

Postby ds01 » 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?
ds01
Member
 
Posts: 47
Joined: Wed Mar 29, 2006 5:54 am
Location: Lvl 7

Postby esteel » 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.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby tChr » 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.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby esteel » 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.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Toets » 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

Postby esteel » 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.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Toets » 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

Postby esteel » 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.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby ds01 » 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...
ds01
Member
 
Posts: 47
Joined: Wed Mar 29, 2006 5:54 am
Location: Lvl 7

Postby Toets » 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

PreviousNext

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron