0
0

I am working with a pretty large code base (game). At any given time, sounds may be played. Sounds are normally extremely short and are played many times a second. One channel is dedicated to a looping audio sound which represents background music. This channel is never stopped, only paused and unpaused.

After a few minutes of game play, my sound effects randomly stop playing. My PlaySound function is being called but it never fails! It is as if FMOD fails but doesn’t return anything about it. The funny thing is, my looping background music doesn’t seem to be affected.

I suspect I’m somehow running out of channels. The FMOD documentation states that the ‘channel pool’ is handled internally, so I don’t need to ‘release’ a channel.

I will paste my PlaySound function below. Hopefully someone can explain why FMOD is doing this.

[code:26zxd2h4]
void AudioSession::PlaySound(int soundID, int volume)
{
if(soundID < 0 || soundID >= MAX_SOUNDS)
return;

SingleSound* sound = &amp;m_Sounds[soundID];

if(!sound-&gt;Sound)
    return;

//if(sound-&gt;Channel)
//    sound-&gt;Channel-&gt;stop();

// The song must be played but initially paused so we can set the volume
// without any noticable volume spikes between the beginning of the song and
// the point where the volume is actually modified.
FMOD_RESULT err;

err = m_System-&gt;playSound(FMOD_CHANNEL_FREE, sound-&gt;Sound, true, &amp;sound-&gt;Channel);

if(FMOD_OK != err)
    FatalError(err, &quot;System::playSound() Failed&quot;);

if(sound-&gt;Channel)
{
    // The whole volume thing is screwed up...
    err = sound-&gt;Channel-&gt;setVolume(volume / (float)MAX_VOLUME); // Volume 0 == 0.0f, Volume 256 == 1.0f

    if(FMOD_OK != err)
        FatalError(err, &quot;Channel::setVolume() Failed&quot;);

    err = sound-&gt;Channel-&gt;setPaused(false);

    if(FMOD_OK != err)
        FatalError(err, &quot;Channel::setPaused() Failed&quot;);
}

}[/code:26zxd2h4]

  • You must to post comments
1
0

OK. We have finally found the problem. It was because we set an event’s position to NAN (we are still investigating how could this happen, possibly a bug in our collision detection system). This !non-looped! event has never stopped and while it was played every other sound was silent. When new instances were started from the same type, the NAN event was stopped and every other sound came back.

  • You must to post comments
0
0

[quote="MrDoomMaster":1nz8l41u]After a few minutes of game play, my sound effects randomly stop playing. My PlaySound function is being called but it never fails! It is as if FMOD fails but doesn’t return anything about it. The funny thing is, my looping background music doesn’t seem to be affected.

I suspect I’m somehow running out of channels. The FMOD documentation states that the ‘channel pool’ is handled internally, so I don’t need to ‘release’ a channel.
[/quote:1nz8l41u]

You’re probably just playing more sounds than you have voices to play them on. Are you using hardware or software mixing? If you’re using hardware mixing, FMOD will only play as many sounds as your sound card can handle. If you play more than that, it will only play the sounds with the highest priority and volume. The rest will not be heard until sounds are stopped and hardware channels become available.

If you are using software mixing, you can control how many sounds can be mixed at one time by calling System::setSoftwareChannels(). You must do this before you call system::init(). The default is 32 sounds, so playing more than that will cause sounds to be priority culled.

-Chris

  • You must to post comments
0
0

Well I forgot to mention in my first post another very confusing and interesting symptom of the sound randomly going out. When I close the program and start it again, the sound does not play. Winamp, and other audio programs still work, but this particular program does not.

If I restart the computer, the program will begin playing sounds again until it decides to mess up again.

This is a very weird bug, and I don’t really have any explanation for it.

Before reading your reply, csakani, I made an attempt to check the number of playing sounds and return from my PlaySound function if the number of playing channels is greater than or equal to MAX_PLAY, which is 8 in this case. The problem still occured given this new code.

Since my function will not play a sound if there are no available channels, I have no idea what could be causing this.

Any further help would be greatly appreciated. Note also that I have no idea what hardware voices are, I’ll try to find some stuff to read on it.

Thanks!

::EDIT::

I was using hardware to play my sounds, but switching to software seemed to have fixed the problem… weird?

  • You must to post comments
0
0

[quote="brett":11is43zz]If you have a way to reproduce the issue out of your game please let me know.

Also you could try System::setHardwareChannels and set the maximum to 32 which might reveal a driver bug where it returns more channels on the soundcard than are actually available, which causes some strange behaviour sometimes.[/quote:11is43zz]

There’s really no specific “event” in the game which causes this behavior. It just so happens that after a random period of time, all sounds refuse to play although sound that was currently looping does not stop. Any calls to playSound (FMOD version) return FMOD_OK, but are actually not playing. A valid channel handle is also returned.

My program makes no attempt to ‘free’ a channel when it is done playing because the FMOD documentation explicitly states that FMOD pretty much does all that work. Whether this is true or not, I cannot say.

In any case, I’m blaming drivers. Trying to play sounds on hardware is a very ‘iffy’ process, because all hardware is different. There is also no guarrantee that the drivers are reliable enough for FMOD.

More than likely FMOD isn’t the problem. You guys do thorough testing on the API on many hardware types I’m sure. Blame the drivers, that’s all I can say. I would be more inclined to blame FMOD API if not for the following symptom: Once sounds go out in my game, CLOSE the game and open it again— Sounds still not working. Open Winamp, play a song— Works.

Thanks for everyone’s help and concern. If I find any reproducable case, I will most definitely let you guys know. In the meantime, I have used Everest (a hardware analysis utility) to generate a detailed report of the hardware configuration on this system. It’s not much, but perhaps it could help. Good luck guys and GREAT API!

::EDIT::

lol, the report was so big that the forum truncated it. Oh well, I hope it’s enough info anyway! I can email you the TXT file if you’d like, just let me know.

[code:11is43zz]——–[ EVEREST Corporate Edition (c) 2003-2006 Lavalys, Inc. ]——————————————————-

Version                                           EVEREST v2.80.534
Homepage                                          http://www.lavalys.com/
Report Type                                       Report Wizard
Computer                                          DFW-SV22 (DFW-SV22)
Generator                                         rdailey
Operating System                                  Microsoft Windows XP Professional 5.1.2600 (WinXP Retail)
Date                                              2006-03-15
Time                                              11:07

——–[ Summary ]—————————————————————————————————–

Computer:
  Computer Type                                     ACPI Multiprocessor PC
  Operating System                                  Microsoft Windows XP Professional
  OS Service Pack                                   Service Pack 2
  Internet Explorer                                 6.0.2900.2180 (IE 6.0 SP2)
  DirectX                                           4.09.00.0904 (DirectX 9.0c)
  Computer Name                                     DFW-SV22 (DFW-SV22)
  User Name                                         rdailey
  Logon Domain                                      SANTACRUZ
  Date / Time                                       2006-03-15 / 11:07

Motherboard:
  CPU Type                                          Intel Pentium 4, 2800 MHz (14 x 200)
  Motherboard Name                                  Dell Precision WorkStation 360
  Motherboard Chipset                               Intel Canterwood i875P/E7210
  System Memory                                     1536 MB  (PC3200 ECC DDR SDRAM)
  BIOS Type                                         Phoenix (10/20/03)
  Communication Port                                Communications Port (COM1)
  Communication Port                                Communications Port (COM2)
  Communication Port                                ECP Printer Port (LPT1)

Display:
  Video Adapter                                     RADEON 9800 XT SEC (Microsoft Corporation)  (256 MB)
  Video Adapter                                     RADEON 9800 XT  (256 MB)
  3D Accelerator                                    ATI Radeon 9800 XT (R360)
  Monitor                                           Dell P1130  [21&quot; CRT]  (6D2513BJ70AP)

Multimedia:
  Audio Adapter                                     Creative EMU10K2 Audigy Audio Processor

Storage:
  IDE Controller                                    Intel(R) 82801EB Ultra ATA Storage Controllers
  IDE Controller                                    Intel(R) 82801EB Ultra ATA Storage Controllers
  SCSI/RAID Controller                              D347PRT SCSI Controller
  Floppy Drive                                      Floppy disk drive
  Disk Drive                                        WDC WD1200JB-75CRA0  (111 GB, IDE)
  Optical Drive                                     Generic DVD-ROM SCSI CdRom Device
  Optical Drive                                     JLMS DVD-ROM XJ-HD166  (16x/48x DVD-ROM)
  SMART Hard Disks Status                           OK

Partitions:
  C: (NTFS)                                         114408 MB (10176 MB free)
  Z: (NTFS)                                         114408 MB (10176 MB free)
  Total Size                                        223.5 GB (19.9 GB free)

Input:
  Keyboard                                          HID Keyboard Device
  Mouse                                             HID-compliant mouse

Network:
  Primary IP Address                                10.65.0.72
  Primary MAC Address                               00-0C-F1-87-B2-E9
  Network Adapter                                   Intel(R) PRO/1000 MT Network Connection  (10.65.0.72)

Peripherals:
  Printer                                           \\http://10.65.0.251\Dell Laser Printer W5300
  FireWire Controller                               Creative Audigy IEEE1394 Firewire Controller (PHY: TI TSB41AB1/2)
  USB1 Controller                                   Intel 82801EB ICH5 - USB Controller [A-2/A-3]
  USB1 Controller                                   Intel 82801EB ICH5 - USB Controller [A-2/A-3]
  USB1 Controller                                   Intel 82801EB ICH5 - USB Controller [A-2/A-3]
  USB1 Controller                                   Intel 82801EB ICH5 - USB Controller [A-2/A-3]
  USB2 Controller                                   Intel 82801EB ICH5 - Enhanced USB2 Controller [A-2/A-3]
  USB Device                                        American Power Conversion USB UPS
  USB Device                                        USB Composite Device
  USB Device                                        USB Human Interface Device
  USB Device                                        USB Human Interface Device
  USB Device                                        USB Human Interface Device
  Battery                                           HID UPS Battery

DMI:
  DMI BIOS Vendor                                   Dell Computer Corporation
  DMI BIOS Version                                  A03
  DMI System Manufacturer                           Dell Computer Corporation
  DMI System Product                                Precision WorkStation 360
  DMI System Version                                
  DMI System Serial Number                          BLB5T31
  DMI System UUID                                   44454C4C-4C001042-8035C2C0-4F543331
  DMI Motherboard Manufacturer                      Dell Computer Corp.
  DMI Motherboard Product                           0W2563
  DMI Motherboard Version                           
  DMI Motherboard Serial Number                     ..CN481113AG01BJ.
  DMI Chassis Manufacturer                          Dell Computer Corporation
  DMI Chassis Version                               
  DMI Chassis Serial Number                         BLB5T31
  DMI Chassis Asset Tag                             
  DMI Chassis Type                                  Mini Tower

Problems &amp; Suggestions:
  Problem                                           Disk free space is only 9% on drive C:.
  Problem                                           Disk free space is only 9% on drive Z:.

——–[ DMI ]———————————————————————————————————

[ BIOS ]

BIOS Properties:
  Vendor                                            Dell Computer Corporation
  Version                                           A03
  Release Date                                      10/20/2003
  Size                                              512 KB
  Boot Devices                                      Floppy Disk, Hard Disk, CD-ROM, LS-120
  Capabilities                                      Flash BIOS, Shadow BIOS, Selectable Boot, EDD, BBS
  Supported Standards                               DMI, APM, ACPI, ESCD, PnP
  Expansion Capabilities                            PCI, AGP, USB

[ System ]

System Properties:
  Manufacturer                                      Dell Computer Corporation
  Product                                           Precision WorkStation 360
  Serial Number                                     BLB5T31
  Universal Unique ID                               44454C4C-4C001042-8035C2C0-4F543331
  Wake-Up Type                                      APM Timer

[ Motherboard ]

Motherboard Properties:
  Manufacturer                                      Dell Computer Corp.
  Product                                           0W2563
  Serial Number                                     ..CN481113AG01BJ.

[ Chassis ]

Chassis Properties:
  Manufacturer                                      Dell Computer Corporation
  Serial Number                                     BLB5T31
  Chassis Type                                      Mini Tower

[ Processors / Processor #1 ]

Processor Properties:
  Manufacturer                                      Intel
  External Clock                                    800 MHz
  Maximum Clock                                     3200 MHz
  Current Clock                                     2800 MHz
  Type                                              Central Processor
  Voltage                                           1.5 V
  Status                                            Enabled
  Upgrade                                           ZIF
  Socket Designation                                Microprocessor

[ Caches / Cache #1 ]

Cache Properties:
  Type                                              Internal
  Status                                            Enabled
  Operational Mode                                  Write-Back
  Associativity                                     4-way Set-Associative
  Maximum Size                                      8 KB
  Installed Size                                    8 KB
  Error Correction                                  None

[ Caches / Cache #2 ]

Cache Properties:
  Type                                              Internal
  Status                                            Enabled
  Operational Mode                                  Varies with Memory Address
  Maximum Size                                      512 KB
  Installed Size                                    512 KB
  Error Correction                                  Single-bit ECC

[ Memory Devices / CHANNEL A DIMM 0 ]

Memory Device Properties:
  Form Factor                                       DIMM
  Type                                              SDRAM
  Type Detail                                       Synchronous
  Size                                              512 MB
  Speed                                             400 MHz
  Total Width                                       72-bit
  Data Width                                        64-bit
  Device Locator                                    CHANNEL A DIMM 0

[ Memory Devices / CHANNEL B DIMM 0 ]

Memory Device Properties:
  Form Factor                                       DIMM
  Type                                              SDRAM
  Type Detail                                       Synchronous
  Size                                              512 MB
  Speed                                             400 MHz
  Total Width                                       72-bit
  Data Width                                        64-bit
  Device Locator                                    CHANNEL B DIMM 0

[ Memory Devices / CHANNEL A DIMM 1 ]

Memory Device Properties:
  Form Factor                                       DIMM
  Type                                              SDRAM
  Type Detail                                       Synchronous
  Size                                              512 MB
  Speed                                             400 MHz
  Total Width                                       72-bit
  Data Width                                        64-bit
  Device Locator                                    CHANNEL A DIMM 1

[ Memory Devices / CHANNEL B DIMM 1 ]

Memory Device Properties:
  Form Factor                                       DIMM
  Type                                              SDRAM
  Type Detail                                       Synchronous
  Speed                                             400 MHz
  Total Width                                       64-bit
  Data Width                                        64-bit
  Device Locator                                    CHANNEL B DIMM 1

[ System Slots / PCI1 ]

System Slot Properties:
  Slot Designation                                  PCI1
  Type                                              PCI
  Usage                                             Empty
  Data Bus Width                                    32-bit
  Length                                            Long

[ System Slots / PCI2 ]

System Slot Properties:
  Slot Designation                                  PCI2
  Type                                              PCI
  Usage                                             Empty
  Data Bus Width                                    32-bit
  Length                                            Long

[ System Slots / PCI3 ]

System Slot Properties:
  Slot Designation                                  PCI3
  Type                                              PCI
  Usage                                             Empty
  Data Bus Width                                    32-bit
  Length                                            Long

[ System Slots / PCI4 ]

System Slot Properties:
  Slot Designation                                  PCI4
  Type                                              PCI
  Usage                                             Empty
  Data Bus Width                                    32-bit
  Length                                            Long

[ System Slots / AGP1 ]

System Slot Properties:
  Slot Designation                                  AGP1
  Usage                                             In Use
  Data Bus Width                                    32-bit
  Length                                            Long

[ Port Connectors / PARALLEL ]

Port Connector Properties:
  Port Type                                         Parallel Port PS/2
  Internal Reference Designator                     PARALLEL
  Internal Connector Type                           None
  External Connector Type                           DB-25 pin female

[ Port Connectors / SERIAL1 ]

Port Connector Properties:
  Port Type                                         Serial Port 16550A Compatible
  Internal Reference Designator                     SERIAL1
  Internal Connector Type                           None
  External Connector Type                           DB-9 pin male

[ Port Connectors / SERIAL2 ]

Port Connector Properties:
  Port Type                                         Serial Port 16550A Compatible
  Internal Reference Designator                     SERIAL2
  Internal Connector Type                           None
  External Connector Type                           DB-9 pin male

[ Port Connectors / KYBD ]

Port Connector Properties:
  Port Type                                         Keyboard Port
  Internal Reference Designator                     KYBD
  Internal Connector Type                           None
  External Connector Type                           PS/2

[ Port Connectors / MOUSE ]

Port Connector Properties:
  Port Type                                         Mouse Port
  Internal Reference Designator                     MOUSE
  Internal Connector Type                           None
  External Connector Type                           PS/2

[ Port Connectors / USB1 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB1
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB2 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB2
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB3 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB3
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB4 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB4
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB5 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB5
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB6 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB6
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB7 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB7
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / USB8 ]

Port Connector Properties:
  Port Type                                         USB
  Internal Reference Designator                     USB8
  Internal Connector Type                           None
  External Connector Type                           USB

[ Port Connectors / ENET ]

Port Connector Properties:
  Port Type                                         Network Port
  Internal Reference Designator                     ENET
  Internal Connector Type                           None
  External Connector Type                           RJ-45

[ Port Connectors / MIC ]

Port Connector Properties:
  Port Type                                         Audio Port
  Internal Reference Designator                     MIC
  Internal Connector Type                           None
  External Connector Type                           Mini-jack (headphones)

[ Port Connectors / LINE-OUT ]

Port Connector Properties:
  Port Type                                         Audio Port
  Internal Reference Designator                     LINE-OUT
  Internal Connector Type                           None
  External Connector Type                           Mini-jack (headphones)

[ Port Connectors / LINE-IN ]

Port Connector Properties:
  Port Type                                         Audio Port
  Internal Reference Designator                     LINE-IN
  Internal Connector Type                           None
  External Connector Type                           Mini-jack (headphones)

[ Port Connectors / HP-OUT ]

Port Connector Properties:
  Port Type                                         Audio Port
  Internal Reference Designator                     HP-OUT
  Internal Connector Type                           None
  External Connector Type                           Mini-jack (headphones)

[ On-Board Devices / AC’97 Audio Controller ]

On-Board Device Properties:
  Description                                       AC'97 Audio Controller
  Type                                              Sound

——–[ Power Management ]——————————————————————————————–

Power Management Properties:
  Current Power Source                              AC Line
  Battery Status                                    100 % (High Level)
  Full Battery Lifetime                             Unknown
  Remaining Battery Lifetime                        Unknown

——–[ Portable Computer ]——————————————————————————————-

Centrino 1 Platform Compliancy:
  CPU: Intel Pentium M (Banias/Dothan)              No  (Intel Pentium 4)
  Chipset: Intel i855GM/PM                          No  (Intel Canterwood i875P/E7210)
  WLAN: Intel PRO/Wireless                          No
  System: Centrino 1 (Carmel) Compliant             No

Centrino 2 Platform Compliancy:
  CPU: Intel Pentium M (Dothan)                     No  (Intel Pentium 4)
  Chipset: Intel i915GM/PM                          No  (Intel Canterwood i875P/E7210)
  WLAN: Intel PRO/Wireless                          No
  System: Centrino 2 (Sonoma) Compliant             No

Centrino 3 Platform Compliancy:
  CPU: Intel Core (Yonah)                           No  (Intel Pentium 4)
  Chipset: Intel i945GM/PM                          No  (Intel Canterwood i875P/E7210)
  WLAN: Intel PRO/Wireless 3945ABG                  No
  System: Centrino 3 (Napa) Compliant               No

——–[ Sensor ]——————————————————————————————————

Sensor Properties:
  Sensor Type                                       Analog Devices ADM1027  (SMBus 2Eh)
  GPU Sensor Type                                   National LM63  (ATI-I2C 4Ch)

Temperatures:
  Motherboard                                       41 °C  (106 °F)
  CPU                                               46 °C  (115 °F)
  Aux                                               37 °C  (99 °F)
  GPU                                               49 °C  (120 °F)
  GPU Ambient                                       47 °C  (117 °F)

Voltage Values:
  CPU Core                                          1.46 V
  +2.5 V                                            1.50 V
  +3.3 V                                            3.28 V
  +5 V                                              5.05 V
  +12 V                                             11.81 V
  Debug Info F                                      FF FF FF FF FF FF FF FF
  Debug Info T                                      2E 29 25 80
  Debug Info V                                      73 7D BF C2 BD

——–[ CPU ]———————————————————————————————————

CPU Properties:
  CPU Type                                          Intel Pentium 4, 2800 MHz (14 x 200)
  CPU Alias                                         Northwood HyperThreading
  CPU Stepping                                      D1
  Instruction Set                                   x86, MMX, SSE, SSE2
  Original Clock                                    2800 MHz
  Min / Max CPU Multiplier                          14x / 14x
  Engineering Sample                                No
  L1 Trace Cache                                    12K Instructions
  L1 Data Cache                                     8 KB
  L2 Cache                                          512 KB  (On-Die, ECC, ATC, Full-Speed)

Multi CPU:
  Motherboard ID                                    DELL WS 360
  CPU #0                                            Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793 MHz
  CPU #1                                            Intel(R) Pentium(R) 4 CPU 2.80GHz, 2793 MHz

CPU Physical Info:
  Package Type                                      478 Pin uPGA
  Package Size                                      3.50 cm x 3.50 cm
  Transistors                                       55 million
  Process Technology                                6M, 0.13 um, CMOS, Cu, Low-K
  Die Size                                          131 mm2
  Core Voltage                                      1.475 - 1.55 V
  I/O Voltage                                       1.475 - 1.55 V
  Typical Power                                     38.7 - 89.0 W  (depending on clock speed)
  Maximum Power                                     49 - 109 W  (depending on clock speed)

CPU Manufacturer:
  Company Name                                      Intel Corporation
  Product Information                               http://www.intel.com/products/browse/processor.htm

CPU Utilization:
  CPU #1 / HTT Unit #1                              67 %
  CPU #1 / HTT Unit #2                              100 %

——–[ CPUID ]——————————————————————————————————-

CPUID Properties:
  CPUID Manufacturer                                GenuineIntel
  CPUID CPU Name                                    Intel(R) Pentium(R) 4 CPU 2.80GHz
  CPUID Revision                                    00000F29h
  IA Brand ID                                       09h  (Intel Pentium 4)
  Platform ID                                       1Fh  (Socket 478)
  IA CPU Serial Number                              Unknown
  Microcode Update Revision                         21
  HTT / CMP Units                                   2 / 0

Instruction Set:
  64-bit x86 Extension (AMD64, EM64T)               Not Supported
  AMD 3DNow!                                        Not Supported
  AMD 3DNow! Professional                           Not Supported
  AMD Enhanced 3DNow!                               Not Supported
  AMD Extended MMX                                  Not Supported
  Cyrix Extended MMX                                Not Supported
  IA-64                                             Not Supported
  IA MMX                                            Supported
  IA SSE                                            Supported
  IA SSE 2                                          Supported
  IA SSE 3                                          Not Supported
  IA SSE 4                                          Not Supported
  VIA Alternate Instruction Set                     Not Supported
  CLFLUSH Instruction                               Supported
  CMPXCHG8B Instruction                             Supported
  CMPXCHG16B Instruction                            Not Supported
  Conditional Move Instruction                      Supported
  MONITOR / MWAIT Instruction                       Not Supported
  RDTSCP Instruction                                Not Supported
  SYSCALL / SYSRET Instruction                      Not Supported
  SYSENTER / SYSEXIT Instruction                    Supported
  VIA FEMMS Instruction                             Not Supported

Security Features:
  Advanced Cryptography Engine (ACE)                Not Supported
  Data Execution Prevention (DEP, NX, EDB)          Not Supported
  Hardware Random Number Generator (RNG)            Not Supported
  Montgomery Multiplier &amp; Hash Engine               Not Supported
  Processor Serial Number (PSN)                     Not Supported

Power Management Features:
  Automatic Clock Control                           Supported
  Enhanced Halt State (C1E)                         Not Supported
  Enhanced SpeedStep Technology (EIST, ESS)         Not Supported
  Frequency ID Control                              Not Supported
  LongRun                                           Not Supported
  LongRun Table Interface                           Not Supported
  PowerSaver 1.0                                    Not Supported
  PowerSaver 2.0                                    Not Supported
  PowerSaver 3.0                                    Not Supported
  Processor Duty Cycle Control                      Supported
  Software Thermal Control                          Not Supported
  Temperature Sensing Diode                         Not Supported
  Thermal Monitor 1                                 Supported
  Thermal Monitor 2                                 Not Supported
  Thermal Monitoring                                Not Supported
  Thermal Trip                                      Not Supported
  Voltage ID Control                                Not Supported

CPUID Features:
  36-bit Page Size Extension                        Supported
  Address Region Registers (ARR)                    Not Supported
  CPL Qualified Debug Store                         Not Supported
  Debug Trace Store                                 Supported
  Debugging Extension                               Supported
  Fast Save &amp; Restore                               Supported
  Hyper-Threading Technology (HTT)                  Supported, Enabled
  L1 Context ID                                     Supported
  Local APIC On Chip                                Supported
  Machine Check Architecture (MCA)                  Supported
  Machine Check Exception (MCE)                     Supported
  Memory Configuration Registers (MCR)              Not Supported
  Memory Type Range Registers (MTRR)                Supported
  Model Specific Registers (MSR)                    Supported
  Page Attribute Table (PAT)                        Supported
  Page Global Extension                             Supported
  Page Size Extension (PSE)                         Supported
  Pending Break Event                               Supported
  Physical Address Extension (PAE)                  Supported
  Secure Mode Extensions (SMX)                      Not Supported
  Secure Virtual Machine Extensions (Pacifica)      Not Supported
  Self-Snoop                                        Supported
  Time Stamp Counter (TSC)                          Supported
  Virtual Machine Extensions (Vanderpool)           Not Supported
  Virtual Mode Extension                            Supported

CPUID Registers (CPU #1):
  CPUID 00000000                                    00000002-756E6547-6C65746E-49656E69
  CPUID 00000001                                    00000F29-00020809-00004400-BFEBFBFF
  CPUID 00000002                                    665B5001-00000000-00000000-007B7040
  CPUID 80000000                                    80000004-00000000-00000000-00000000
  CPUID 80000001                                    00000000-00000000-00000000-00000000
  CPUID 80000002                                    20202020-20202020-20202020-6E492020
  CPUID 80000003                                    286C6574-50202952-69746E65-52286D75
  CPUID 80000004                                    20342029-20555043-30382E32-007A4847

CPUID Registers (CPU #2 Virtual):
  CPUID 00000000                                    00000002-756E6547-6C65746E-49656E69
  CPUID 00000001                                    00000F29-01020809-00004400-BFEBFBFF
  CPUID 00000002                                    665B5001-00000000-00000000-007B7040
  CPUID 80000000                                    80000004-00000000-00000000-00000000
  CPUID 80000001                                    00000000-00000000-00000000-00000000
  CPUID 80000002                                    20202020-20202020-20202020-6E492020
  CPUID 80000003                                    286C6574-50202952-69746E65-52286D75
  CPUID 80000004                                    20342029-20555043-30382E32-007A4847

MSR Registers:
  MSR 00000017                                      000A-0000-0000-0000
  MSR 0000002A                                      0000-0000-0000-0080
  MSR 0000002C                                      0000-0000-0E12-000E
  MSR 0000008B                                      0000-0021-0000-0000
  MSR 0000019A                                      0000-0000-0000-0000
  MSR 0000019B                                      0000-0000-0000-0000
  MSR 0000019C                                      0000-0000-0000-0000
  MSR 000001A0                                      0000-0000-0000-0089

——–[ Motherboard ]————————————————————————————————-

Motherboard Properties:
  Motherboard ID                                    &lt;DMI&gt;
  Motherboard Name                                  Dell Precision WorkStation 360

Front Side Bus Properties:
  Bus Type                                          Intel NetBurst
  Bus Width                                         64-bit
  Real Clock                                        200 MHz (QDR)
  Effective Clock                                   800 MHz
  Bandwidth                                         6400 MB/s

Memory Bus Properties:
  Bus Type                                          DDR SDRAM
  Bus Width                                         64-bit
  DRAM:FSB Ratio                                    1:1
  Real Clock                                        200 MHz (DDR)
  Effective Clock                                   400 MHz
  Bandwidth                                         3200 MB/s

Chipset Bus Properties:
  Bus Type                                          Intel Hub Interface
  Bus Width                                         8-bit
  Real Clock                                        67 MHz (QDR)
  Effective Clock                                   267 MHz
  Bandwidth                                         267 MB/s

Motherboard Manufacturer:
  Company Name                                      Dell Computer Corporation
  Product Information                               http://www.dell.com
  BIOS Download                                     http://support.dell.com

——–[ Memory ]——————————————————————————————————

Physical Memory:
  Total                                             1534 MB
  Used                                              644 MB
  Free                                              890 MB
  Utilization                                       42 %

Swap Space:
  Total                                             2924 MB
  Used                                              927 MB
  Free                                              1996 MB
  Utilization                                       32 %

Virtual Memory:
  Total                                             4459 MB
  Used                                              1571 MB
  Free                                              2887 MB
  Utilization                                       35 %

Physical Address Extension (PAE):
  Supported by Operating System                     Yes
  Supported by CPU                                  Yes
  Active                                            No

——–[ SPD ]———————————————————————————————————

[ DIMM1: Infineon 72D64320GU5B ]

Memory Module Properties:
  Module Name                                       Infineon 72D64320GU5B
  Serial Number                                     01B3E721h (568832769)
  Module Size                                       512 MB (2 ranks, 4 banks)
  Module Type                                       Unbuffered
  Memory Type                                       DDR SDRAM
  Memory Speed                                      PC3200 (200 MHz)
  Module Width                                      72 bit
  Module Voltage                                    SSTL 2.5
  Error Detection Method                            ECC
  Refresh Rate                                      Reduced (7.8 us), Self-Refresh

Memory Timings:
  @ 200 MHz                                         3.0-3-3-8  (CL-RCD-RP-RAS)
  @ 166 MHz                                         2.5-3-3-7  (CL-RCD-RP-RAS)
  @ 133 MHz                                         2.0-2-2-6  (CL-RCD-RP-RAS)

Memory Module Features:
  Early RAS# Precharge                              Supported
  Auto-Precharge                                    Not Supported
  Precharge All                                     Not Supported
  Write1/Read Burst                                 Not Supported
  Buffered Address/Control Inputs                   Not Supported
  Registered Address/Control Inputs                 Not Supported
  On-Card PLL (Clock)                               Not Supported
  Buffered DQMB Inputs                              Not Supported
  Registered DQMB Inputs                            Not Supported
  Differential Clock Input                          Supported
  Redundant Row Address                             Not Supported

Memory Module Manufacturer:
  Company Name                                      Infineon Technologies AG
  Product Information                               http://www.infineon.com/cgi-bin/ifx/portal/ep/home.do?tabId=1

[ DIMM2: Infineon 72D64320GU5C ]

Memory Module Properties:
  Module Name                                       Infineon 72D64320GU5C
  Serial Number                                     011B1023h (588258049)
  Manufacture Date                                  Week 33 / 2004
  Module Size                                       512 MB (2 ranks, 4 banks)
  Module Type                                       Unbuffered
  Memory Type                                       DDR SDRAM
  Memory Speed                                      PC3200 (200 MHz)
  Module Width                                      72 bit
  Module Voltage                                    SSTL 2.5
  Error Detection Method                            ECC
  Refresh Rate                                      Reduced (7.8 us), Self-Refresh

Memory Timings:
  @ 200 MHz                                         3.0-3-3-8  (CL-RCD-RP-RAS)
  @ 166 MHz                                         2.5-3-3-7  (CL-RCD-RP-RAS)
  @ 133 MHz                                         2.0-2-2-6  (CL-RCD-RP-RAS)

Memory Module Features:
  Early RAS# Precharge                              Supported
  Auto-Precharge                                    Not Supported
  Precharge All                                     Not Supported
  Write1/Read Burst                                 Not Supported
  Buffered Address/Control Inputs                   Not Supported
  Registered Address/Control Inputs                 Not Supported
  On-Card PLL (Clock)                               Not Supported
  Buffered DQMB Inputs                              Not Supported
  Registered DQMB Inputs                            Not Supported
  Differential Clock Input                          Supported
  Redundant Row Address                             Not Supported

Memory Module Manufacturer:
  Company Name                                      Infineon Technologies AG
  Product Information                               http://www.infineon.com/cgi-bin/ifx/portal/ep/home.do?tabId=1

[ DIMM3: Infineon 72D64320GU5B ]

Memory Module Properties:
  Module Name                                       Infineon 72D64320GU5B
  Serial Number                                     01B3E823h (602452737)
  Module Size                                       512 MB (2 ranks, 4 banks)
  Module Type                                       Unbuffered
  Memory Type                                       DDR SDRAM
  Memory Speed                                      PC3200 (200 MHz)
  Module Width                                      72 bit
  Module Voltage                                    SSTL 2.5
  Error Detection Method                            ECC
  Refresh Rate                                      Reduced (7.8 us), Self-Refresh

Memory Timings:
  @ 200 MHz                                         3.0-3-3-8  (CL-RCD-RP-RAS)
  @ 166 MHz                                         2.5-3-3-7  (CL-RCD-RP-RAS)
  @ 133 MHz                                         2.0-2-2-6  (CL-RCD-RP-RAS)

Memory Module Features:
  Early RAS# Precharge                              Supported
  Auto-Precharge                                    Not Supported
  Precharge All                                     Not Supported
  Write1/Read Burst                                 Not Supported
  Buffered Address/Control Inputs                   Not Supported
  Registered Address/Control Inputs                 Not Supported
  On-Card PLL (Clock)                               Not Supported
  Buffered DQMB Inputs                              Not Supported
  Registered DQMB Inputs                            Not Supported
  Differential Clock Input                          Supported
  Redundant Row Address                             Not Supported

Memory Module Manufacturer:
  Company Name                                      Infineon Technologies AG
  Product Information                               http://www.infineon.com/cgi-bin/ifx/portal/ep/home.do?tabId=1

——–[ Chipset ]—————————————————————————————————–

[ North Bridge: Intel Canterwood i875P/E7210 ]

North Bridge Properties:
  North Bridge                                      Intel Canterwood i875P/E7210
  Supported FSB Speeds                              FSB400, FSB533, FSB800
  Supported Memory Types                            DDR-266 SDRAM, DDR-333 SDRAM, DDR-400 SDRAM
  Revision / Stepping                               02 / A2
  Package Type                                      1005 Pin FC-BGA
  Package Size                                      4.25 cm x 4.25 cm
  Core Voltage                                      1.5 V
  In-Order Queue Depth                              12

Memory Controller:
  Type                                              Dual Channel  (128-bit)
  Active Mode                                       Single Channel  (64-bit)

Memory Timings:
  CAS Latency (CL)                                  3T
  RAS To CAS Delay (tRCD)                           3T
  RAS Precharge (tRP)                               3T
  RAS Active Time (tRAS)                            8T
  Refresh Period (tREF)                             7.8 us

Error Correction:
  ECC                                               Supported, Enabled
  ChipKill ECC                                      Not Supported
  RAID                                              Not Supported
  ECC Scrubbing                                     Not Supported

Memory Slots:
  DRAM Slot #1                                      512 MB  (PC3200 ECC DDR SDRAM)
  DRAM Slot #2                                      512 MB  (PC3200 ECC DDR SDRAM)
  DRAM Slot #3                                      512 MB  (PC3200 ECC DDR SDRAM)

AGP Controller:
  AGP Version                                       3.00
  AGP Status                                        Enabled
  AGP Device                                        ATI Radeon 9800 XT
  AGP Aperture Size                                 256 MB
  Supported AGP Speeds                              1x, 2x, 4x, 8x
  Current AGP Speed                                 8x
  Fast-Write                                        Supported, Enabled
  Side Band Addressing                              Supported, Enabled

Chipset Manufacturer:
  Company Name                                      Intel Corporation
  Product Information                               http://www.intel.com/products/browse/chipsets.htm
  Driver Download                                   http://support.intel.com/support/chipsets/index.htm
  Driver Update                                     http://driveragent.com?ref=59

[ South Bridge: Intel 82801EB ICH5 ]

South Bridge Properties:
  South Bridge                                      Intel 82801EB ICH5
  Revision / Stepping                               C2 / A2/A3
  Package Type                                      460 Pin mBGA
  Package Size                                      3.1 cm x 3.1 cm
  Core Voltage                                      1.5 V

Chipset Manufacturer:
  Company Name                                      Intel Corporation
  Product Information                               http://www.intel.com/products/browse/chipsets.htm
  Driver Download                                   http://support.intel.com/support/chipsets/index.htm
  Driver Update                                     http://driveragent.com?ref=59

——–[ BIOS ]——————————————————————————————————–

BIOS Properties:
  BIOS Type                                         Phoenix
  System BIOS Date                                  10/20/03
  Video BIOS Date                                   03/09/18

BIOS Manufacturer:
  Company Name                                      Phoenix Technologies Ltd.
  Product Information                               http://www.phoenix.com/en/products/default.htm
  BIOS Upgrades                                     http://www.esupport.com/biosagent/index.cfm?refererid=40

Problems &amp; Suggestions:
  Suggestion                                        Are you looking for a BIOS Upgrade?  Contact eSupport Today!
  Suggestion                                        System BIOS is more than 2 years old. Update it if necessary.

——–[ Windows Video ]———————————————————————————————–

[ RADEON 9800 XT SEC (Microsoft Corporation) ]

Video Adapter Properties:
  Device Description                                RADEON 9800 XT SEC (Microsoft Corporation)
  Adapter String                                    RADEON 9800 XT
  BIOS String                                       113-A18802-104
  Chip Type                                         RADEON 9800 XT AGP (0x4E4A)
  DAC Type                                          Internal DAC(400MHz)
  Installed Drivers                                 ati2dvag (6.14.10.6517 - ATI Catalyst 5.3)
  Memory Size                                       256 MB

Video Adapter Manufacturer:
  Company Name                                      ATI Technologies Inc.
  Product Information                               http://www.ati.com/products/gamer.html
  Driver Download                                   http://www.ati.com/support/driver.html
  Driver Update                                     http://driveragent.com?ref=59

[ RADEON 9800 XT ]

Video Adapter Properties:
  Device Description                                RADEON 9800 XT
  Adapter String                                    RADEON 9800 XT
  BIOS String                                       113-A18802-104
  Chip Type                                         RADEON 9800 XT AGP (0x4E4A)
  DAC Type                                          Internal DAC(400MHz)
  Installed Drivers                                 ati2dvag (6.14.10.6517 - ATI Catalyst 5.3)
  Memory Size                                       256 MB

Video Adapter Manufacturer:
  Company Name                                      ATI Technologies Inc.
  Product Information                               http://www.ati.com/products/gamer.html
  Driver Download                                   http://www.ati.com/support/driver.html
  Driver Update                                     http://driveragent.com?ref=59

——–[ PCI / AGP Video ]———————————————————————————————

ATI Radeon 9800 XT (R360)                                                         Video Adapter
ATI Radeon 9800 XT (R360)                                                         3D Accelerator

——–[ GPU ]———————————————————————————————————

[ AGP 8x: ATI Radeon 9800 XT ]

Graphics Processor Properties:
  Video Adapter                                     ATI Radeon 9800 XT
  GPU Code Name                                     R360
  PCI Device                                        1002 / 4E4A
  Transistors                                       117 million
  Process Technology                                0.15 um
  Bus Type                                          AGP 8x @ 8x
  Memory Size                                       256 MB
  GPU Clock                                         412 MHz  (original: 412 MHz)
  RAMDAC Clock                                      400 MHz
  Pixel Pipelines                                   8
  TMU Per Pipeline                                  1
  Vertex Shaders                                    4  (v2.0)
  Pixel Shaders                                     1  (v2.0)
  DirectX Hardware Support                          DirectX v9.0
  Pixel Fillrate                                    3296 MPixel/s
  Texel Fillrate                                    3296 MTexel/s

Memory Bus Properties:
  Bus Type                                          DDR
  Bus Width                                         256-bit
  Real Clock                                        364 MHz (DDR)  (original: 365 MHz)
  Effective Clock                                   728 MHz
  Bandwidth                                         22.8 GB/s

Memory Timings:
  CAS Latency (CL)                                  4T
  RAS To CAS Delay (tRCD)                           3T
  RAS Precharge (tRP)                               3T
  RAS Active Time (tRAS)                            8T
  Row Refresh Cycle Time (tRFC)                     17T
  RAS To RAS Delay (tRRD)                           4T
  Write Recovery Time (tWR)                         2T

Graphics Processor Manufacturer:
  Company Name                                      ATI Technologies Inc.
  Product Information                               http://www.ati.com/products/gamer.html
  Driver Download                                   http://www.ati.com/support/driver.html
  Driver Update                                     http://driveragent.com?ref=59

ATI GPU Registers:
  ati-00F8                                          10000000
  ati-0140                                          0000002A
  ati-0144                                          1A29A222
  ati-0148                                          F7FFE800
  ati-0154                                          F0000000
  ati-0158                                          30420042
  ati-0178                                          0000402C
  ati-01C0                                          0CFF0080
  ati-4018                                          00010017
  ati-CLKIND-00                                     00000000
  ati-CLKIND-04                                     0003005A
  ati-CLKIND-0A                                     013D3604
  ati-CLKIND-0B                                     48001600
  ati-CLKIND-0C                                     0400BC30
  ati-CLKIND-0D                                     00DF8002
  ati-CLKIND-0E                                     0400BC00
  ati-CLKIND-0F                                     00000000
  ati-CLKIND-12                                     AA021212

——–[ Monitor ]—————————————————————————————————–

[ Dell P1130 ]

Monitor Properties:
  Monitor Name                                      Dell P1130
  Monitor ID                                        DEL5000
  Model                                             DELL P1130
  Monitor Type                                      21&quot; CRT
  Manufacture Date                                  Week 47 / 2003
  Serial Number                                     6D2513BJ70AP
  Max. Visible Display Size                         40 cm x 30 cm (19.7&quot;)
  Picture Aspect Ratio                              4:3
  Horizontal Frequency                              30 - 130 kHz
  Vertical Frequency                                48 - 170 Hz
  Maximum Resolution                                1600 x 1200
  Gamma                                             2.50
  DPMS Mode Support                                 Active-Off

Supported Video Modes:
  640 x 480                                         170 Hz
  800 x 600                                         170 Hz
  1024 x 768                                        160 Hz
  1152 x 864                                        140 Hz
  1280 x 1024                                       120 Hz
  1600 x 1200                                       100 Hz

——–[ Desktop ]—————————————————————————————————–

Desktop Properties:
  Device Technology                                 Raster Display
  Resolution                                        1600 x 1200
  Color Depth                                       32-bit
  Color Planes                                      1
  Font Resolution                                   96 dpi
  Pixel Width / Height                              36 / 36
  Pixel Diagonal                                    51
  Vertical Refresh Rate                             85 Hz

Desktop Effects:
  Combo-Box Animation                               Enabled
  Drop Shadow Effect                                Enabled
  Flat Menu Effect                                  Enabled
  Font Smoothing                                    Enabled
  Full Window Dragging                              Enabled
  Gradient Window Title Bars                        Enabled
  Hide Menu Access Keys                             Enabled
  Hot Tracking Effect                               Enabled
  Icon Title Wrapping                               Enabled
  List-Box Smooth Scrolling                         Enabled
  Menu Animation                                    Enabled
  Menu Fade Effect                                  Enabled
  Minimize/Restore Animation                        Enabled
  Mouse Cursor Shadow                               Enabled
  Selection Fade Effect                             Enabled
  ShowSounds Accessibility Feature                  Disabled
  ToolTip Animation                                 Enabled
  ToolTip Fade Effect                               Enabled
  Windows Plus! Extension                           Disabled

——–[ Multi-Monitor ]———————————————————————————————–

\\.\DISPLAY1        Yes  (0,0)          (1600,1200)

[/code:11is43zz]

  • You must to post comments
0
0

I am actually having the same problem. Not only does my fmod sound cut out (and I have to reboot to get it back), but I notice that my Windows (XP) title bars are messed up, and often windows will display things in a garbled manner.

While it may be drivers (I can see how bad drivers could cause this), other people running my code have reported a similar problem.

I’m fairly sure that it’s not a result of running out of sounds, as I rarely play more than 2 or 3 sounds at a time, and sometimes it can happen a few seconds after starting the game.

I’m checking the return values of the FMOD calls, and all are returning FMOD_OK.

I tried updating to the newest dll (fmodex.dll 0.4.3.2). I’m using Visual C++ 6.0 (fmodex_vc.lib).

I’m init’ing the system with FMOD_INIT_NORMAL. I create all my sounds with FMOD_DEFAULT, which I believe uses hardware. I can try switching to software to see what happens.

Timo

  • You must to post comments
0
0

FWIW, I’ve seen exactly the same problem too.

I play at most one sound every few seconds and very rarely more than one at once, but after about 30mins of this the sound cuts out completely and other artefacts outside my program occur (for example, the graphical glitches in Windows title bars mentioned above). This happened on a wide variety of hardware installs.

For me, changing the FMOD initialisation of the sounds from FMOD_HARDWARE to FMOD_SOFTWARE resolved this.

I presume that there’s some bug in the drivers that means that they slowly leak memory; using FMOD to handle the channels gets around this.

  • You must to post comments
0
0

Ugh. So i switched to FMOD_SOFTWARE and still had the problem. :(

Brett, I’ll try to build a simple program to randomly play a bunch of sound with my sound code to see if I can give you a case that you can look at. Hopefully I’ll have time to do that later in the week.

  • You must to post comments
0
0

We are using FMOD_SOFTWARE for some time and have the same issue.
I didn’t have the chance(time) to track it down if the problem is in our code or in FMOD. Checked our code though and fixed some special cases which could cause problems, but the sound cut is still there.

I don’t know how can it be reproduced. It happens rarely but 3+ testers reported this. The sound cuts out for little times contiuosly (1s silence then 1s sound for multiple times) OR they(looped sounds) “disappear” completely and when a new nonlooped sound (crash) played they “come back”.

In all cases there were lot of sounds maybe they’ve exceeded the virtual channel count (it is set to 256).

  • You must to post comments
0
0

Hmm. I’m not using any 3d sounds, though, so i don’t think that would cause my problems. Still haven’t been able to pinpoint how it happens.

  • You must to post comments
Showing 9 results
Your Answer

Please first to submit.