Repository navigation
feat(diagnostics): record where TrueHD Atmos heights are lost without Debug Logging - #714
Conversation
… Debug Logging A tester reports TrueHD Atmos objects folded into the floor speakers on Apple TV and no LFE on AirPods, and the diagnostics report they sent could not say which stage lost them: the TrueHD Atmos decision went only to the system log, and the engine's audio lines needed Debug Logging. - [CMP-ATMOS] records the setting, the rendering mode tvOS reported when the decision was made, and the rendering Silo asked AetherEngine for. - [CMP-AUDIO] records the audio pipeline the engine built once it settles, once per load. - AetherDiagnosticsBridge sends the engine's TrueHD Atmos, bed-level, master-audio, audio-route and route-downmix lines to the essential tier with their own severity. Route lines lose user-chosen device names first; an HDMI sink keeps its EDID name. - AetherEngine is pinned to 8ff23f87, which writes those lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s ports by type The cross-provider review showed a device name can imitate the route line's own fields and slip past any host-side scrub. AetherEngine 59d84062 stops writing port names into route lines, so the scrub goes and the bridge keeps only the media redaction. Pins AetherEngine to 59d84062. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Picks up Silo-Server/AetherEngine#17's fix for TrueHD Atmos resumes: a session resumed mid-stream was reported as a dead APAC decoder after 64 packets, went to an error state while it played, and ignored every seek after it. Also adds the LFE element's input level and metadata gain to the bed-level line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Picks up Silo-Server/AetherEngine#17's fix for an audio-track switch that a concurrent session rebuild reverted: a TrueHD pick on a file with an E-AC-3 Atmos track came back on E-AC-3. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…3' into feat/atmos-height-diagnostics
Silo-Server/AetherEngine#17 with main merged in, which also observes rendering-capability changes in the audio route line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…3' into feat/atmos-height-diagnostics
Same refresh as the base branch, for this branch's own AetherEngine revision line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pins the AetherEngine merge commit for Silo-Server/AetherEngine#17. THIRD_PARTY_NOTICES.md and the bundled OpenSourceLicenses/README.txt named AetherEngine b1e4879e (upstream 7.13.0) and FFmpegBuild 3.4.0 as the shipped LGPL sources; they now name ef0d2c7f (upstream 7.28.3 through dd1d5f88), FFmpegBuild 3.6.0 (fda08325) and FFmpeg n8.1.3. The reviewed build-input snapshot is refreshed for the new pin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Related issue: N/A
Validation tasks: none
A tester playing TrueHD Atmos on an Apple TV 4K into a Sony HT-ST5000 hears the objects come out of the floor speakers, and another reports no LFE with AirPods. The diagnostics report they sent could not say which stage lost them. Silo's TrueHD Atmos decision went only to the system log, which reports never include, and AetherEngine's audio lines reach a report only with Debug Logging on.
Solution
A report captured without Debug Logging now shows each stage:
[CMP-ATMOS]: the TrueHD Atmos setting, the rendering mode tvOS reported when Silo decided, and the rendering Silo asked AetherEngine for.[CMP-AUDIO]: the audio pipeline the engine built once it settles (for exampleTrueHD Atmos → APAC 7.1.4), once per load.AetherDiagnosticsBridgekeeps a short list of engine lines at the always-captured tier: TrueHD Atmos and APAC decisions, the bed levels, the master's audio attributes, the audio route (rendering mode, channel labels, height count), the item's spatialization setting, and the engine's warnings when the route has fewer channels than the track. They keep the engine's ownERRORandWARNINGseverity. Every other engine line still needs Debug Logging.ef0d2c7f, the merge of feat(diagnostics): log where TrueHD Atmos heights and LFE are lost AetherEngine#17, which writes the new engine lines and fixes a TrueHD Atmos resume and a track switch that the 7.28.3 engine sync would otherwise ship (a resumed session ignored every seek; a TrueHD pick reverted to E-AC-3).docs/tvos-player/aetherengine-replacement-spec.mdnow says which engine lines are essential.THIRD_PARTY_NOTICES.mdand the bundledOpenSourceLicenses/README.txtnamed AetherEngineb1e4879e(upstream 7.13.0) and FFmpegBuild 3.4.0 as the shipped LGPL sources. They now nameef0d2c7f(upstream 7.28.3 throughdd1d5f88), FFmpegBuild 3.6.0 (fda08325) and FFmpegn8.1.3.scripts/ci/select-apple-platforms.pyand the selector seal are refreshed for the newproject.yml.Validation
ef0d2c7fpin (84 tests);select-apple-platforms.test.pypasses (51 tests). The allowlist tests use lines AetherEngine wrote inaetherctland on the tvOS simulator.6ca8e82f(engine59d84062) ran on an Apple TV 4K (2nd generation), tvOS 27, into an HDMI soundbar. Its diagnostics report from TrueHD Atmos and E-AC-3 Atmos sessions carried every new line:[CMP-ATMOS],[CMP-AUDIO], the bed levels, the master's audio attributes, the item's spatialization setting and the route. It also showed the resume bug fixed in feat(diagnostics): log where TrueHD Atmos heights and LFE are lost AetherEngine#17. Debug Logging was on for that report, so capture with it off rests on the unit tests.Evidence: https://evidence.siloserver.org/r/silo-apple/pr-714/
Risks
EngineLog.handlerhands the host text only. A future engine rewording would drop a line back to Debug Logging. The tests pin the wording to lines the engine writes today.Follow-ups
CHANNELSon the APAC rendition.AI disclosure
claude-opus-5-5, wrote the change and tests.gpt-6.1-sol(xhigh) ran one adversarial round. Fixed from them: device names that could survive the route-line scrub (now never written), the pipeline line missing for a second item on the same pipeline, engine errors recorded at info level, the downmix warnings left at Debug Logging, a non-exhaustive rendering label, and the privacy spec still saying engine lines need Debug Logging.🤖 Generated with Claude Code
Note
Log TrueHD Atmos and audio-route diagnostics as essential lines in
AetherDiagnosticsBridgeDiagnostics that show where Atmos heights are lost no longer require Debug Logging. The bridge now classifies each Aether engine line instead of forcing all lines to verbose/debug.
CMP-ATMOSlog on each Aether load in PlayerViewModel.swift with the Atmos setting, rendering mode, output capability, and object-audio rendering name.CMP-AUDIOline per distinct load-epoch, decoder, and delivery combination.Macroscope summarized 1dcf09b.