Audio comes out as static from the first menu sound (RTX 4050 Laptop, integration-main of #2057) #2209
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2209
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@iNaxxs on GitHub · 2026-11-25 09:49 UTC · original
What happens
On the
integration-mainbranch of PR #2057 (f7e08e6), the title's audiocomes out as static. Not silence and not distortion of something
recognisable: noise, from the first sound in the menus onward. The menu UI
sounds and the intro both do it.
The decode path is reached: the log shows an Opus packet decoded just before
the title's movie starts, and no error around it. So something downstream of
the decode, or the format handed to the host, looks like the place to look
rather than the decoder failing outright.
I have not dumped anything yet. I can run with
XCL_OPUS_WAV/XCL_OPUS_DIRand attach what they produce if that is the useful next step:tell me which and I will.
Machine
WaveLaneCountMax32x86_64-pc-windows-msvc, Windows SDK 10.0.26100.0, DXC 1.9.2602How I ran it
Context for every run
XCL_DEVICE_TYPE=lockhartwas a wrong choice of mine and cost me severalruns: as Series S the title dies at frame ~594 having initialised none of its
own allocators (every pool and memory counter 0/0 in its own crash report, 0
script threads), with an exception 0x80000003 at
game_scarlett_master.exe+0xb18de7. As Series X (anaconda, thexcl.tomldefault) the title initialises properly: real pool figures, 5 script threads,
TileHeap total 6236Mb, and it reaches the loading screens.I also made XStore answer, which removed the two
XErrorReport 0x89240107it logs when the store is unavailable: the crash didnot move at all, so XStore was not the cause of it either.
As Series X the wall on this machine is memory, not the title: video-memory
heap creation fails with
E_OUTOFMEMORYduring the load. I never got past theloading screens, so everything below is from the menus and the load.
Menus hold 30.0 fps at 1920x1080.
@Chrysana on GitHub · 2026-11-25 14:45 UTC · original
Thanks for the detailed report. A few pointers from reading
main(06c9f55) and from our own runs, which may save you a run or two.The two switches don't dump what the title plays:
XCL_OPUS_DIRonly tells XCL where to find a libopusopus.dll. XCL uses it only when Windows' ownMSOpusDecoder.dllcan't make a decoder (e.g. under Wine).XCL_OPUS_WAVis read only by the unit testdecodes_a_game_sound, which also needsXCL_SAMPLE_AWC(one Opus sound file from your copy of the game). It writes that one sound, decoded on your machine, to a WAV. That could still help: if the WAV is static too, the decoder on your Windows is the place to look.Lines from your
xcl.logthat would narrow it down:Opus: decoder = …: which decoder your machine ended up withXAudio2: CreateMasteringVoice …line: a retry with defaults, or a failurexapu: decoder connected …Why the intro matters. In our runs (RX 9070 XT, 2026-11-24) the intro's sound didn't go through XCL's Opus path:
report.json's xapu counters stayed at the same 23 Opus packets whether the intro's sound played or not. It comes from the title's own mix. So if the intro is static for you too, the cause is more likely on the output side (the mastering voice or the audio device) than in the decoder. A quick check on that side: does it change with headphones or another output device, or with the device's default format (Sound settings → the device → Advanced) set to 16-bit, 48000 Hz?What we hear here: the last time we listened (
mainwith #300 and #451, both merged since), the intro played with clean sound. The only audio change onmainsince then is6aba068(#525, a cached XMA gain table whose test checks it is bit-identical). We haven't run #2057's branch; its diff againstmaindoesn't touchxaudio2.rs,opus.rsorxma2.AI use: Claude Code (Claude Opus 5.5) read the code and drafted this comment; I checked it before posting.