Hardware3D Sound enable = crashes to desktop

Problems with the Windows version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

fairuza
level0
Posts: 1
Joined: Mon Aug 29, 2005 6:33 am

Hardware3D Sound enable = crashes to desktop

Postby fairuza » Mon Aug 29, 2005 6:45 am

When I enable 'Hardware3D Sound' Darwinia crashes to desktop with an error box when I try to play a level. I have a Turtle Beach Santa Cruz soundcard with the latest drivers for it as well as DirectX 9.0c installed. My OS is Windows XP Pro SP2.

What does 'Hardware3D Sound' do exactly anyway. Does it provide better sound and/or enhancements or merely reduce CPU usage?

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : win32-full-v1.21
ERROR : 'DirectSound ERROR
C:\Development\Darwinia\code\sound\sound_library_3d_dsound.cpp line 561

Direct sound couldn't set channel frequency
Error Code : E_INVALIDARG
An invalid parameter was passed to the returning function'

=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.00
BypassNetwork = 1
SinglePlayer = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = dsound
SoundMixFreq = 44100
SoundMasterVolume = 255
SoundChannels = 64
SoundHW3D = 1
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 85
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlUp = key PGUP
ControlDown = key PGDN
ControlLeft = key LEFT
ControlBackwards = key DOWN
ControlRight = key RIGHT
ControlForwards = key UP
ControlChatLog = key CONTROL
ControlZoom = key END
ControlDeselect = key SPACE
ControlMouseButtons = 3
BootLoader = random
UserProfile = fairuza

=========================
====== STACKTRACE =======
=========================

retAddress = 0041F3E5
retAddress = 0047AD87
retAddress = 00478C82
retAddress = 0047FE9C
retAddress = 004AA68C
retAddress = 004AB140
retAddress = 00424A0F
retAddress = 004BF89A
retAddress = 7C816D4F
retAddress = 00000000

Note: I've tried chaning SoundMixFreq which didn't help.
User avatar
Dr4goN
level3
level3
Posts: 264
Joined: Tue Jul 12, 2005 5:54 pm
Location: Poland
Contact:

Postby Dr4goN » Mon Aug 29, 2005 9:36 am

Open up your preferences.txt file and find this line:

Code: Select all

SoundHW3D = 1
and change it to

Code: Select all

SoundHW3D = 0
I hope that helps.
User avatar
LLamaBoy
level5
level5
Posts: 1627
Joined: Sun Aug 18, 2002 12:18 pm
Location: Cyprus
Contact:

Postby LLamaBoy » Mon Aug 29, 2005 9:53 am

Basically 3D Hardware sounds adds echoey effects and stuff, makes the world sound more geniune.

As for your problem, I couldn't tell you want may be causing it, but guessing from the error message you could try setting a lower number of channels. 32 channels sounds just fine to me. Other than that, I'm afraid I couldn't suggest anything.
5th Earth
level0
Posts: 1
Joined: Sat Dec 10, 2005 5:41 am

Postby 5th Earth » Sat Dec 10, 2005 5:43 am

I have exactly the same problem--same error message, same soundcard. Haven't tried disabling the Hardware 3D yet, but I bet that solves it.

Introversion--looks like this is a real bug!
sPank4
level1
level1
Posts: 23
Joined: Thu Dec 15, 2005 7:30 pm
Location: Australia

Postby sPank4 » Thu Dec 15, 2005 10:16 pm

it sounds like your soundcard doesnt support Hardware3D, or rather the DirectX instructions for it.

are you able to enable hardware sound in other games...for instance half life or counter strike?
sPank4
level1
level1
Posts: 23
Joined: Thu Dec 15, 2005 7:30 pm
Location: Australia

Postby sPank4 » Thu Dec 15, 2005 10:21 pm

ignore what i said. googling around and ive found that it SHOULD support it. it is quite a basic feature.

im not sure if im reading it right, maybe its just how it is, but it sez your running 1.21?

have you installed the latest patch? or is it already installed and the executable just sez 1.21?
User avatar
Will Stanton
level0
Posts: 4
Joined: Fri Dec 16, 2005 8:59 am
Location: R'yleh

Postby Will Stanton » Fri Dec 16, 2005 9:16 am

Got the same problem (or similar). I've got a Soundblaster PCI512, which has supported 3D audio (Direct3D or EAX 2.0 and older) in most games I play. Here's my blackbox.txt:

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : win32-full-steam-v1.4
ERROR : 'DirectSound ERROR
C:\Development\Darwinia\code\sound\sound_library_3d_dsound.cpp line 263

Direct sound couldn't create a secondary buffer
Error Code : E_INVALIDARG
An invalid parameter was passed to the returning function'

=========================
====== PREFERENCES ======
=========================

ServerAddress = 127.0.0.1
BypassNetwork = 1
IAmAServer = 1
TextLanguage = english
TextSpeed = 15
HelpEnabled = 1
SoundLibrary = dsound
SoundMixFreq = 44100
SoundMasterVolume = 255
SoundChannels = 32
SoundHW3D = 0
SoundSwapStereo = 0
SoundMemoryUsage = 1
SoundBufferSize = 512
SoundDSP = 1
ScreenWidth = 1024
ScreenHeight = 768
ScreenWindowed = 0
ScreenZDepth = 24
ScreenColourDepth = 32
ScreenRefresh = 85
RenderLandscapeDetail = 1
RenderWaterDetail = 1
RenderBuildingDetail = 1
RenderEntityDetail = 1
RenderCloudDetail = 1
RenderPixelShader = 1
ControlMouseButtons = 3
ControlMethod = 1
BootLoader = random
UserProfile = NewUser
RenderSpecialLighting = 0

=========================
====== STACKTRACE =======
=========================

retAddress = 0042134F
retAddress = 0047FDAB
retAddress = 00480209
retAddress = 00483E15
retAddress = 00411479
retAddress = 004EE1D0
retAddress = 004D0120
retAddress = 004B31B2
retAddress = 004B3D1E
retAddress = 00425FA4
retAddress = 004D2576
retAddress = 7C816D4F
retAddress = 00000000
User avatar
Will Stanton
level0
Posts: 4
Joined: Fri Dec 16, 2005 8:59 am
Location: R'yleh

Postby Will Stanton » Fri Dec 16, 2005 9:44 am

Never mind. I just found out my sound drivers were just the basic XP ones. :oops: Installed the "latest" creative drivers from 2001 :wink: (which are about a *month* older than the default XP ones ). Fixed now.

Return to “Windows Issues”

Who is online

Users browsing this forum: No registered users and 2 guests