[performance][audio] Entire game audio mix stutters during gameplay with ray tracing off #156

Open
opened 2026-12-04 00:04:21 +00:00 by Nazzgy · 6 comments

What you see

During normal gameplay, the entire game audio mix cuts out intermittently, including music, dialogue and sound effects. The game remains playable, but the audio interruptions are distracting. This occurred with ray tracing off and with a preloaded shader cache.

To reproduce, start the release below with the listed settings, load into gameplay and continue playing with music, dialogue and effects audible. The interruptions are intermittent. A specific location or action that reproduces every interruption has yet to be identified. Expected behaviour is continuous audio playback during gameplay.

While the issue was being reported, the play log showed roughly 13–17 rendered FPS. One sample showed 13.3 FPS (75.0 ms/frame), with 46.9 ms spent preparing GPU work. Individual audio interruptions were not timestamped, so their relationship to frame time is unconfirmed. A similar symptom was reported upstream in VIctory-NVIDIA #4172.

GPU and driver

NVIDIA GeForce RTX 3080 10 GB, driver 621.40.

CPU, RAM and Windows version

AMD Ryzen 9 5900X (12 cores, 24 threads), 32 GB DDR4-3600 (2 × 16 GB), Windows 11 Pro 25H2 (build 26200.9974). Audio output was ROG Pelta headphones over 2.4 GHz.

Darner release or commit

v2026.12.03.01, release build.

Settings

  • Series S, 1280 × 720 internal resolution, 1920 × 1080 output.
  • DLSS Quality upscaling, FSR 3 Frame Generation 2×, ray tracing off.
  • Frame-rate cap 30, texture quality Half.
  • MFG Unlocker was not loaded. The log shows DARNER_HELPER_PRIORITY=1 and XMA decoder priority 1.

Logs

The sanitised play-log excerpt covers audio initialisation, frame timing and FSR activity around the report. The audio DSP connected, the XMA decoder started at priority 1, and the sampled FSR intervals showed zero preparation failures. The release log did not record individual audio interruptions. There is no crash log for this session because the game continued running.

Are you working on a fix?

I'd like to, with some pointers

### What you see During normal gameplay, the entire game audio mix cuts out intermittently, including music, dialogue and sound effects. The game remains playable, but the audio interruptions are distracting. This occurred with ray tracing off and with a preloaded shader cache. To reproduce, start the release below with the listed settings, load into gameplay and continue playing with music, dialogue and effects audible. The interruptions are intermittent. A specific location or action that reproduces every interruption has yet to be identified. Expected behaviour is continuous audio playback during gameplay. While the issue was being reported, the play log showed roughly 13–17 rendered FPS. One sample showed 13.3 FPS (75.0 ms/frame), with 46.9 ms spent preparing GPU work. Individual audio interruptions were not timestamped, so their relationship to frame time is unconfirmed. A similar symptom was reported upstream in [VIctory-NVIDIA #4172](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/4172). ### GPU and driver NVIDIA GeForce RTX 3080 10 GB, driver 621.40. ### CPU, RAM and Windows version AMD Ryzen 9 5900X (12 cores, 24 threads), 32 GB DDR4-3600 (2 × 16 GB), Windows 11 Pro 25H2 (build 26200.9974). Audio output was ROG Pelta headphones over 2.4 GHz. ### Darner release or commit v2026.12.03.01, release build. ### Settings - Series S, 1280 × 720 internal resolution, 1920 × 1080 output. - DLSS Quality upscaling, FSR 3 Frame Generation 2×, ray tracing off. - Frame-rate cap 30, texture quality Half. - MFG Unlocker was not loaded. The log shows `DARNER_HELPER_PRIORITY=1` and XMA decoder priority `1`. ### Logs The sanitised play-log excerpt covers audio initialisation, frame timing and FSR activity around the report. The audio DSP connected, the XMA decoder started at priority 1, and the sampled FSR intervals showed zero preparation failures. The release log did not record individual audio interruptions. There is no crash log for this session because the game continued running. ### Are you working on a fix? I'd like to, with some pointers
Owner

Your excerpt points at the processor, not the audio code itself. At 13-17 fps, 37-50 ms of each frame goes to preparing (copies and reading back), while the GPU works only 0-2.6 ms. When those threads are that busy, the audio decoder thread can fall behind; its output runs dry, and every sound cuts at once.

Things to try, one at a time:

  • DARNER_XMA_PRIORITY=2 in darner-settings.txt: the decoder thread runs above the GPU helpers (they run at 1 in your log).
  • Frame generation off, same place, as an A/B.
  • If the cuts stay, please attach the full darner-play log (not an excerpt) from a run where they happened.

Pointers if you want to look into it yourself: the decoder thread and its rings are in crates/darner-hle/src/modules/audio.rs (the comment above the decoding thread explains the priority choice, #1970), and the per-frame prepare breakdown is the "preparing per frame, the submitting thread" line in the log.

Your excerpt points at the processor, not the audio code itself. At 13-17 fps, 37-50 ms of each frame goes to preparing (copies and reading back), while the GPU works only 0-2.6 ms. When those threads are that busy, the audio decoder thread can fall behind; its output runs dry, and every sound cuts at once. Things to try, one at a time: - `DARNER_XMA_PRIORITY=2` in darner-settings.txt: the decoder thread runs above the GPU helpers (they run at 1 in your log). - Frame generation off, same place, as an A/B. - If the cuts stay, please attach the full darner-play log (not an excerpt) from a run where they happened. Pointers if you want to look into it yourself: the decoder thread and its rings are in `crates/darner-hle/src/modules/audio.rs` (the comment above the decoding thread explains the priority choice, #1970), and the per-frame prepare breakdown is the "preparing per frame, the submitting thread" line in the log.
Author

I tried DARNER_XMA_PRIORITY=2 on the same release and save with ray tracing off and FSR 3 at 2×. The startup log confirms the override. I still hear the same cut-outs across the whole game mix. I have yet to test with frame generation off.

I tried `DARNER_XMA_PRIORITY=2` on the same release and save with ray tracing off and FSR 3 at 2×. The startup log confirms the override. I still hear the same cut-outs across the whole game mix. I have yet to test with frame generation off.
Author

I repeated the test on the same release and save with frame generation disabled, ray tracing off, and DARNER_XMA_PRIORITY=1. The whole-mix cut-outs were still present and sounded unchanged. I attached a sanitised log covering startup and the affected gameplay, with title data and local identifiers removed.

I repeated the test on the same release and save with frame generation disabled, ray tracing off, and `DARNER_XMA_PRIORITY=1`. The whole-mix cut-outs were still present and sounded unchanged. I attached a sanitised log covering startup and the affected gameplay, with title data and local identifiers removed.
Owner

The FG-off run rules frame generation out. Two things would still help:

  • DARNER_XMA_PRIORITY=2 (your log shows 1, the same level as the GPU helpers; 2 puts the decoder above them).
  • The full darner-play log, unedited. The title's own lines and the audio timing lines are what show whether the decoder ran dry.
The FG-off run rules frame generation out. Two things would still help: - `DARNER_XMA_PRIORITY=2` (your log shows 1, the same level as the GPU helpers; 2 puts the decoder above them). - The full darner-play log, unedited. The title's own lines and the audio timing lines are what show whether the decoder ran dry.
Author

I repeated the diagnostic run with DARNER_XMA_PRIORITY=2, ray tracing off, and frame generation off. The log confirms decoder priority 2. The whole audio mix still cut out around 00:28:26 UTC. I attached the full-session play log, with sensitive paths, identifiers, and title data redacted as required by the repository. Audio timing and voice-position lines are included.

I repeated the diagnostic run with `DARNER_XMA_PRIORITY=2`, ray tracing off, and frame generation off. The log confirms decoder priority 2. The whole audio mix still cut out around 00:28:26 UTC. I attached the full-session play log, with sensitive paths, identifiers, and title data redacted as required by the repository. Audio timing and voice-position lines are included.
Owner

This log rules out the decoder priority. DARNER_XMA_PRIORITY=2 took effect, and the sound still cut out at 00:28:26. The audio thread was not starved either: its waits stayed at 1-3 ms around the cut.

Two other things happen at the same moment:

  • The PC ran short of free memory. At 00:28:27 the log has "host memory pressure", with about 3 GB of your 32 GB left free.
  • The frame rate dropped to 11-12 fps (85-93 ms a frame).

This run also had DARNER_VOICE_LOG=100 and the audio capture on. They wrote about 1,200 audio lines a second, which can cause stalls of their own.

For the next run, please:

  • remove --set 'DARNER_VOICE_LOG=100' and the DARNER_AUDIO_CAPTURE setting from your start line;
  • close browsers and other large programs before starting.

Then say whether the sound still cuts out, and roughly when. Attach that run's darner-play log.

This log rules out the decoder priority. DARNER_XMA_PRIORITY=2 took effect, and the sound still cut out at 00:28:26. The audio thread was not starved either: its waits stayed at 1-3 ms around the cut. Two other things happen at the same moment: - The PC ran short of free memory. At 00:28:27 the log has "host memory pressure", with about 3 GB of your 32 GB left free. - The frame rate dropped to 11-12 fps (85-93 ms a frame). This run also had DARNER_VOICE_LOG=100 and the audio capture on. They wrote about 1,200 audio lines a second, which can cause stalls of their own. For the next run, please: - remove `--set 'DARNER_VOICE_LOG=100'` and the `DARNER_AUDIO_CAPTURE` setting from your start line; - close browsers and other large programs before starting. Then say whether the sound still cuts out, and roughly when. Attach that run's darner-play log.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TrustNo1/Darner#156
No description provided.