Opened 11 months ago

Closed 4 months ago

#15082 closed defect (worksforme)

AUDIO: Sound skips/pops/stutters on all ScummVM versions on Windows 10/7

Reported by: elvisish Owned by: sev-
Priority: high Component: Audio
Version: Keywords: skips, stutters, pops, audio, buffer
Cc: Game:

Description

I've been having this problem at least as as long version 2.5.0 and no amount of tweaking configurations or sound card settings seems to help: https://forums.scummvm.org/viewtopic.php?p=97729

Here's a few things I've attempted to solve it, but none has really worked long-term:

*Turn on VSync (if you have a monitor with GSync or FreeSync it should allow vsync to be turned on without the laggy mouse feel)
*Add audio_buffer_size=8192 to scummvm.ini (it'll disappear when you run scummvm, but it's still there it's just moved below subtitles)
*Run with compatibility mode for Windows Vista (7 and 8 might also work)
*Disable fullscreen optimizations
*Try your soundcard at 44100khz and/or set scummvm's output_rate to the same.

Particularly The Dig is causing me skips and stutters every few seconds, especially if I talk, and Sam And Max did it more often than anything else, especially with Nuked OPL enabled.

Change History (5)

comment:1 by tag2015, 11 months ago

Summary: Sound skips/pops/stutters on all ScummVM versions on Windows 10/7AUDIO: Sound skips/pops/stutters on all ScummVM versions on Windows 10/7
Version: gsoc

comment:2 by tag2015, 11 months ago

Thanks for the report, are you loading the game data from a local hard disk or something else (optical drive / usb / network mount ...)

Also, could you confirm that the issue also happens on non-scumm games? (If you don't have any available, you can get some freeware and demos from our site)

in reply to:  2 comment:3 by elvisish, 11 months ago

Replying to tag2015:

Thanks for the report, are you loading the game data from a local hard disk or something else (optical drive / usb / network mount ...)

It's from an SSD.

Also, could you confirm that the issue also happens on non-scumm games? (If you don't have any available, you can get some freeware and demos from our site)

It glitches on Laura Bow 2 and other Sierra games, although that's more of a glippy sound than popping, it still happens during any dialog (and pretty frequently).

comment:4 by elvisish, 11 months ago

It seems that setting the sound card sample rate to 4100hz fixes almost any glitches, but I often have it set it to 48000hz, can ScummVM not exclusively change the card's sample rate? I've tried setting it in the config but it never works.

comment:5 by sev-, 4 months ago

Owner: set to sev-
Resolution: worksforme
Status: newclosed

This is clearly a bug in your sound drivers. There is very little we can do, since the sound card itself is not visible to ScummVM, we talk to it via SDL which in turn talks to it via standard Windows API.

We request a specific output rate, and that's it. You can add the working rate to your ScummVM configuration.

Note: See TracTickets for help on using tickets.