# [bug] TV audio stops when you look away from or walk away from a playing TV (video keeps playing) — Jason's house #361
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#361
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?
@GreatJack12 on GitHub · 2026-12-05 23:33 UTC · original
What happens
In Jason's house, the TV can be turned on and watched. If you turn it on and then
look away from it, or walk away from it, the TV's audio stops — but the video keeps
playing on the screen. Walking back / looking back at it does not always bring the sound back
immediately.
The asymmetry is the interesting part: the TV is still visibly playing, so the emitter still exists
and is still being simulated and drawn — only its audio has been cut.
Environment
bin\larp.exe, 16,025,600 bytes, SHA-2562D173388768F288D6F7EF35D280DD31471A72E62560ECACB803B7F33D65B0B5Fseries-sSteps to reproduce
screen.
Expected
The TV audio continues while the TV is still playing — it should only attenuate with distance, the
way any other world emitter does, not cut out.
Actual
TV audio cuts entirely while the TV keeps rendering. This is not a distance attenuation curve that
sounds wrong — the sound is gone, then the video is still moving.
What I could and could not confirm in the logs
I checked whether this is the layer dropping the voice. In this run the title sends only these
coprocessor commands:
All four are implemented in
larp-hle/src/modules/audio.rs, so this is not the"acknowledged but not carried out" shortcut path — nothing here is silently dropped by the layer for
lack of emulation. I want to be clear about that rather than pointing at the wrong thing.
But two things from the source seem relevant, and I'd rather flag them than guess:
audio.rsstates the layer is decoder-only. The module header says, verbatim:So the layer does not reproduce the console's SHAPE mixing/flowgraph stage, and mixes through the
host's WASAPI instead. If the TV audio path depends on anything that stage would have done, the
layer cannot be assumed to behave like a console here.
DISABLE_XMA(command 7) is actively sent during play. The title does disable XMA voices atruntime. If the TV's voice is an XMA voice and the title itself disables it on distance or
visibility, the layer is faithfully obeying — and then this is the title's own emitter culling and
the layer can only work around it.
I could not distinguish those two cases from the logs, because nothing is logged when a voice is
disabled or when it goes silent. There is no audio event in
play.logcorresponding to walkingaway from the TV.
What would pin this down
LARP_VOICE_LOGexists in the source as a diagnostics-feature switch (LARP_VOICE_LOG=<ms>,a line per enabled voice with samples decoded into / taken from its ring). It is not present in
the v1.1.3 release binary — I checked, 0 hits for the string. If that switch shipped in release
builds, we could capture whether the TV's voice stops being fed (title culled it) or stops being
played (layer dropped it). That single distinction decides whether this is fixable in larp at all.
command 7) with its context index and thereason would be enough.
Honest note on scope
This is cosmetic/low severity compared to the menu wedge I reported separately — the game stays
playable and saves are unaffected. I'm reporting it because it is deterministic and easy to reach, so
it makes a clean first test case for the audio path. If the TV emitter is the title's own distance
culling, feel free to close this as upstream and I'll stop chasing it.
Logs/settings available via
bin\larp.exe zip-logsif useful.@gamingwithhomie on GitHub · 2026-12-06 00:20 UTC · original
Noted - TV audio dropping with distance/facing while video plays suggests the titles spatial/positional audio path (the same ISpatialAudioClient setup behind the #211 lock fix). To correlate: does it also happen with Windows Spatial sound OFF for your output device, and is it on speakers or headphones? A play.log from a session where it happens (note the timestamp you walk away) would show whether the audio engine reports no output. Keeping open.
@GreatJack12 on GitHub · 2026-12-06 00:49 UTC · original
Correction on the TV audio — it isn't spatial. New observation that reframes it:
Standing in front of the TV: audio and video play continuously. Turn the camera so the TV model leaves the screen: both audio and video stop. Look back: both resume. Distance and facing alone don't attenuate it — it's a hard stop tied to the object being off-screen.
That's not ISpatialAudioClient behaviour, and it's consistent with what's in your binary:
hook: tex_bink_writeback_frame_planes not placed: the pager's windows are not known;
video planes get no statement of their write-back (texture events)
If that hook bails, video planes have no write-back record, so once the plane is evicted or culled the decoder has no reason to keep running. In-world video (TVs) going through Bink planes would match exactly.
Same session as the wedge, regions was erroring on windows:
00:26:35 ERROR window of title memory made partly over a GPU buffer
00:28:56 ERROR x2
00:29:00 WARN windows of title memory already over a buffer when it was taken (mirrored as before) (said once; diagnostics builds count them)
Worth checking whether the pager window resolution failing is also why tex_bink_writeback_frame_planes didn't place — they look like one root cause.
One caveat in my favour of ruling myself out: I run --stream-budget 2000 (8 GB card), which halved the pool from 3977 MB to 2000 MB. I'm A/B-ing on default to confirm whether that's the amplifier. Will report.
@GreatJack12 on GitHub · 2026-12-06 00:56 UTC · original
#361 follow-up — TV audio is not spatial, it's
stream_budgetCorrection first
My original report framed this as positional audio. That was wrong, and I want to
retract it before it sends anyone down the
ISpatialAudioClientpath.The audio was never the problem. In-world video stops, and the audio stops with it.
Repro
Standing in front of an in-world TV:
Distance and facing don't attenuate it. It's a hard stop tied to the object leaving
the frustum, and video and audio stop together. That's not spatial mixing.
Cause:
stream_budgetbelow defaultMy 8 GB card was running
--stream-budget 2000(your FAQ #6). What that did:Halving the pool means the TV's streamed video plane gets evicted once it culls out of
view, so the decoder has nothing to write into and stops. Audio is tied to that playback.
A/B, same install, same title, one variable
stream_budget = 2000stream_budget = defaultlarp_gpu::regionserrorslowered from 3977 MB to 2000 MBregionson the 2000 MB run, immediately before the only successful map open:Zero of those at default. So
regionsand the TV bug look like the same evictionpressure, not two bugs.
The actual defect underneath
v1.1.6 contains:
If that hook placed, the pager would know the video plane is live and shouldn't be
evicted. It doesn't place, so eviction of a playing video is possible — the reduced
budget just makes it certain. At default there's no pressure, so the bug stays hidden.
This is worth fixing regardless of budget, because it's why the FAQ setting breaks video.
Why this matters beyond my setup
The FAQ recommends
stream_budget = 2000for 8 GB cards. Following it breaks allin-world video on a device that's still playing. Nobody would connect "the TV stops when
I look away" to a setting they changed days earlier — I didn't, and I filed it as an audio bug.
Caveat
Default costs VRAM: 6.8 GB of 8 GB (83%) vs ~5 GB at 2000, flat not creeping over 5 min,
no crash. That's close enough to the
0x887A0005cliff that I keep the 1024 MiB shaderheap (
nv-profile --mb 1024) active. If it faults I'll go back to 2000 and accept thebroken video.
Separately, unrelated to this thread
The startup advisor is telling me:
That's on an i5-14400F with 16 GB, and it's a real miss on a CPU-bound title — worth
surfacing more prominently than a log line, since it's free performance.
@GreatJack12 on GitHub · 2026-12-06 01:26 UTC · original
#361 follow-up — TV audio is not spatial, it's
stream_budgetCorrection first
My original report framed this as positional audio. That was wrong, and I want to
retract it before it sends anyone down the
ISpatialAudioClientpath.The audio was never the problem. In-world video stops, and the audio stops with it.
Repro
Standing in front of an in-world TV:
Distance and facing don't attenuate it. It's a hard stop tied to the object leaving
the frustum, and video and audio stop together. That's not spatial mixing.
Cause:
stream_budgetbelow defaultMy 8 GB card was running
--stream-budget 2000(your FAQ #6). What that did:Halving the pool means the TV's streamed video plane gets evicted once it culls out of
view, so the decoder has nothing to write into and stops. Audio is tied to that playback.
A/B, same install, same title, one variable
stream_budget = 2000stream_budget = defaultlarp_gpu::regionserrorslowered from 3977 MB to 2000 MBregionson the 2000 MB run, immediately before the only successful map open:Zero of those at default. So
regionsand the TV bug look like the same evictionpressure, not two bugs.
The actual defect underneath
v1.1.6 contains:
If that hook placed, the pager would know the video plane is live and shouldn't be
evicted. It doesn't place, so eviction of a playing video is possible — the reduced
budget just makes it certain. At default there's no pressure, so the bug stays hidden.
This is worth fixing regardless of budget, because it's why the FAQ setting breaks video.
Why this matters beyond my setup
The FAQ recommends
stream_budget = 2000for 8 GB cards. Following it breaks allin-world video on a device that's still playing. Nobody would connect "the TV stops when
I look away" to a setting they changed days earlier — I didn't, and I filed it as an audio bug.
Caveat
Default costs VRAM: 6.8 GB of 8 GB (83%) vs ~5 GB at 2000, flat not creeping over 5 min,
no crash. That's close enough to the
0x887A0005cliff that I keep the 1024 MiB shaderheap (
nv-profile --mb 1024) active. If it faults I'll go back to 2000 and accept thebroken video.
Separately, unrelated to this thread
The startup advisor is telling me:
That's on an i5-14400F with 16 GB, and it's a real miss on a CPU-bound title — worth
surfacing more prominently than a log line, since it's free performance.