[sound refactor] Monsters become mute

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3205
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

[sound refactor] Monsters become mute

Post by drfrag »

I was playing cpd.wad and in the middle of MAP32 all monsters became mute, sounds could be heard only within a few meters from them even in the same sector. That level has commander keens and wolfenstein ss soldiers. Seems sounds were played either at full volume or not played at all. May be it's a problem with OpenAL itself.
I can't reproduce it even killing all the monsters and spawning new ones. It was LZDoom but Major Cooke has experienced it in GZDoom too.
It's rare and very hard to reproduce.
User avatar
Chris
Posts: 2979
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: [sound refactor] Monsters become mute

Post by Chris »

drfrag wrote:I was playing cpd.wad and in the middle of MAP32 all monsters became mute, sounds could be heard only within a few meters from them even in the same sector. That level has commander keens and wolfenstein ss soldiers. Seems sounds were played either at full volume or not played at all. May be it's a problem with OpenAL itself.
The symptoms suggest maybe there's sounds that follow within a few meters, and a new sound needs to get closer to override it and play. If it happens again, what does "stat sound" show with the number sources in use? Does snd_reset in the console fix it?
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [sound refactor] Monsters become mute

Post by _mental_ »

I experienced this as well. I didn’t try stat, but snd_reset had no effect on this issue. It went away only after exiting and running GZDoom again.
The main problem is a quite rare repro indeed.
User avatar
Major Cooke
Posts: 8215
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [sound refactor] Monsters become mute

Post by Major Cooke »

I find it's as rare as GZDoom eating the ini file. It feels like since this is a random chance, that something's not initializing properly or doesn't set up the defaults before use.
User avatar
Chris
Posts: 2979
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: [sound refactor] Monsters become mute

Post by Chris »

_mental_ wrote:I experienced this as well. I didn’t try stat, but snd_reset had no effect on this issue. It went away only after exiting and running GZDoom again.
What if you make a save after the problem starts, then quit/restart GZDoom, and load that save? Does it still happen immediately upon loading, or start happening soon after, or just have the usual low chance of happening? My thinking is perhaps the mod is bugging out and spawning a bunch of nearby quiet sounds that can only be temporarily overridden by nearer sounds. Otherwise, I'd need to know if it's happening due to hitting the source limit (which "stat sound" would show as having no free sources), or if there's something preventing the sound from even trying to play despite having the resources to.
User avatar
Major Cooke
Posts: 8215
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [sound refactor] Monsters become mute

Post by Major Cooke »

It's completely sporadic based on loading GZDoom only for me. Not a saved game.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: [sound refactor] Monsters become mute

Post by _mental_ »

Post Reply

Return to “Closed Bugs [GZDoom]”