Repository navigation
Description
Split out of #459, which is closed: the defect that issue was filed on (HDR and Dolby Vision titles labelled as converted to SDR on a box whose output is locked to HDR) is fixed in 6.82.0 and confirmed on two boxes. This is the residual classicjazz found while running the full matrix on build 30, and it is the opposite direction: a label that claims MORE than the HDMI output carries.
The case
Apple TV 4K, output parked in 4K HDR (not 4K Dolby Vision), Match Dynamic Range off, Match Frame Rate on, source is Dolby Vision Profile 7, panel is a DV-capable LG OLED.
The TV reports HDR10 for the title. Stats read Dolby Vision P7, with no arrow. By the label's own rule the honest value is Dolby Vision P7 -> HDR10.
Why it happens
The Dolby Vision term in the capability clamp is AVPlayer.availableHDRModes, which answers what the DISPLAY can present. It does not follow the box's current output-format setting, exactly as eligibleForHDRPlayback does not: the pair of force-quit readouts on #459 read byte-identical with the output locked to 4K Dolby Vision and to 4K SDR, two configurations whose correct answers are opposite.
effectiveVideoFormat therefore resolves .dolbyVision, and the acceptance readout added in 6.82.0 cannot supply the missing half. Acceptance proves the panel presents HDR, never which HDR mode: with the output parked in 4K HDR the Apple TV takes the Dolby Vision master and converts it, so there is no -11868 refusal to read. Compare a panel with no Dolby Vision in its EDID at all (Samsung HDR10+, DrHurt): the table names no .dolbyVision, the clamp resolves .hdr10, and the arrow appears correctly.
So the row names the best format the chain can carry, and in this one configuration that is one step above what leaves the HDMI port.
Why the obvious narrowing is not the fix
Publishing the base layer whenever the HDR proof came only from acceptance would relabel every Dolby Vision title on a box parked in 4K Dolby Vision with Match Dynamic Range off. That is the configuration both reporters on #459 actually run, and most likely the common one. It trades a rare wrong arrow for a frequent one.
Any real fix needs the value no public API exposes: the output mode the box is currently in. isDisplayCriteriaMatchingEnabled is a single combined flag covering Match Dynamic Range and Match Frame Rate, so it cannot even tell the two configurations apart, and currentEDRHeadroom is measured silent on a parked box (#459, three boxes, three OS versions).
What would confirm the mechanism
One diagnostic line, taken with the output locked to 4K HDR on a DV-capable panel:
[HLSVideoEngine] serving on ... (dvModeAvailable=... effectiveDvMode=... useMaster=...)
dvModeAvailable=true there is the table answering capability rather than presentation, which is what this issue assumes.
Status
Known limitation rather than work in flight. Tightening one thing this line overstated: no Feedback Assistant number is recorded here or anywhere in the repo, and nobody has said on #459 that a report went in, so the section below is data ready for one rather than an anchor to a report that exists. The route was discussed there as one to take from a box that reproduces it, which is not this one. What otherwise keeps this open is the measurement nobody has taken: Match Dynamic Range off with the output parked in 4K HDR on a DV-capable panel, which needs a by-hand Settings flip on physical hardware. Nothing here affects the picture: the Apple TV converts, and the title plays in the mode the output is parked in either way.
Activity
cmcpherson274 commentedon Sep 16, 2026
Data for the Feedback Assistant report, not a second reading of the defect above — and first, what we cannot give you.
Your diagnostic line wants that
serving on …line taken with the output locked to 4K HDR on a DV-capable panel, in a case whose other half is Match Dynamic Range off. Match Dynamic Range is on here —matching=onon 88 of our 91 distinct panel readouts is your combined flag, and the Dynamic Range half of it shows in the panel engaging the engine's HDR criteria — so the output follows the source and there is nothing for the table to diverge from. Our closest leg is a P8.4 title, served asmaster.m3u8withdvModeAvailable=true: the engine wroteSET: format=dolbyVision codec=dvh1 rate=default(24) extensions=HDRand the panel took it —panel proven to engage HDR (headroom 1.20), thenswitch settled via modeSwitchEnd (… panel 24.001Hz, the requested rate). That is the configuration your issue contrasts with, not the one it is about. Turning Match Dynamic Range off is a by-hand tvOS Settings flip on a shared bench box that no driver of ours can script; we have not run it.What we do hold is the same property reading two different answers, twice, on one Apple TV.
Bench: Apple TV 4K gen 3, tvOS 26.6 (23L773), a DV-capable panel, AetherEngine 6.81.0 (
c7e7adb5), measured 2026-09-12. Upstream is 7.1.0 today; every anchor below is opened at both tags.Corpus, recounted for this comment: 58 retained device slices from that bench session, carrying 103
[DisplayCapabilities] observed:lines. 102 readhdr=true hdr10=true hlg=false dv=true; one reads all-false. The slices overlap (our harness keeps re-cuts), so deduplicated that is 75 distinct readings against the one.matching=readson122 /off4 raw, 88 / 3 deduplicated — the threeoffreadings are the two episodes below.Episode A — 12:51, across a process boundary
The outgoing process, mid-teardown:
Same process, 106 ms apart, both sites reading the identical expression —
AVPlayer.eligibleForHDRPlaybackatAetherEngine.swift:1325, feedingsupportsHDR:at:1328, composed once per load at:3516and printed at:3523; and the same expression again atDisplay/DisplayCriteriaController.swift:1185. At 7.1.0 the read, the compose and the emit are byte-identical (:1352,:3659,:3666), and so is the criteria readout (:1209). The one line that moved is:1328— the table is assembled elsewhere now, below.The next process — a fresh launch whose first log line is 10.4 s after that background, tuning at
.309— read all-false. Our own call toAVPlayer.availableHDRModeshad come back EMPTY 85 ms earlier, from a second call site in our process rather than a second source (one of its 69 readings in the corpus, and its only false one):A Profile 5 title clamped to
effective-format=sdrand served media-direct, master withheld, on a box that readsdv=trueon the other 102 readings. The item itself still reported#1 item videoFormat=dolbyVision subType='dvh1' transfer=SMPTE_ST_2084_PQ— P5 carries its DV in-band. What mode the panel was actually in is unmeasured; the frame we captured cannot say.Episode B — four hours earlier, one process, an HDR10+ title
One launch, no second process, and the flip falls either side of the background transition:
The first readout is 0.4 s after launch, the last 3 m 32 s later; the closing pair is 77 ms apart, and that readout contradicts itself on its own line —
hdrEligible=no provenHDR=yes. Both loads resolvesource-format=hdr10 effective-format=hdr10.What does and does not explain it
headroomLimitreadsunspecifiedon all 126 readouts in the corpus (91 distinct) — neveractive, neverinactive— so the term you print for precisely this class says nothing here. Your own doc block, quoting the header, names an app's windows being in the background as a case where HDR headroom use is disabled, and an ACTIVE limit as what caps the headroom properties (Display/DisplayCriteriaController.swift:641-644at 6.81.0; the same text at:669-672at 7.1.0).7.1.0 moves it neither way.
DisplayCapabilities.observedPerModeTable(PlayerState.swift:295-298) floors HDR10 and HLG on eligibility, so on an all-false reading it computesfalse || falsetwice and the table is byte-identical to 6.81.0's; andsupportsHDR: hdrEligiblewas already the rule at 6.81.0, so an||floor can only add.The bracket the two same-process contradictions share: each sits inside an audio-route-death reload that opened 2.53 s (A) and 2.40 s (B) after
[session] app → background. Episode B is the sharper half —matching=on hdrEligible=yesat its first load,matching=off hdrEligible=noafter it backgrounded, one process, one expression. Two candidates, neither established: (a) a backgrounded or not-yet-frontmost app being answered for its own UI state rather than for the display; (b) an HDMI re-handshake after the previous session's teardown-time criteria reset.The corpus's third route-death reload (11:58:28.878) is the nearest thing to a control, and not a clean one. Its process launched 9.8 s after the previous leg's
app → background— Episode A's shape — and readhdr=trueat both call sites (.796ours,.896yours); the reload 4.3 s later readhdr=trueagain, with no backgrounding inside that process. So the launch shape alone does not produce the all-false reading. But that leg ran under our ownJF_AETHER_CRITERIA=matcherrig — the host assertspanelIsInHDRMode, you answerpanelReadout=suppressed, the slice carries nohdrEligibleterm at all — so criteria ownership differs from both episodes and we do not read it as a control.What we did not read. We emit
app → background(50 distinct lines) and no foreground or active counterpart anywhere in the corpus, so neither episode can be placed against our own lifecycle at the instant; and we never read the panel's actual mode.Not a reproduction. One box, two episodes, one day. A leg is queued for our next bump: a deep-link tune 2–15 s after a backgrounded teardown, the capability line read against app lifecycle lines we have to add first, repeated enough to say whether it recurs. The real-world analogue is live in our Release build — a Top Shelf
tevemate://play/<id>deep link during a cold launch, where an HDR title would start media-direct. We will report either way.superuser404notfound commentedon Sep 17, 2026
Thank you, this is useful well beyond what the issue asked for. Every anchor checks out at both tags:
c7e7adb5is 6.81.0, and the read, compose and emit sit at:1325/:3516/:3523there and:1352/:3659/:3666at 7.1.0, withDisplayCriteriaController.swift:1185→:1209. Understood on Match Dynamic Range: with it on there is no parked output to diverge from, and your P8.4 master leg is the contrasting case. #535 stays as it was, waiting on that one line.On the two episodes, one term in your own readouts narrows the candidates more than the eligibility flip does:
matching=off.isDisplayCriteriaMatchingEnabledanswers a tvOS Settings preference. An HDMI re-handshake has no way to change it, and nobody changed it by hand. Yet across your 91 distinct readouts it readsoffonly 3 times, and all 3 sit in your two episodes, each next tohdrEligible=no: Episode A's outgoing readout, the fresh process in Episode A, and Episode B after the background transition. When a user preference and a display property flip together, the display didn't change. What changed is whether the process is allowed to ask. That points at candidate (a), the app being answered for its own non-frontmost state, and away from (b). It doesn't settle it: the fresh process in Episode A still has no lifecycle line.Two more details from the same lines:
[DisplayCapabilities] observed:line readhdr=true dv=true(A.290, B.539), and the criteria readout of the same load readhdrEligible=no matching=off106 ms and 77 ms later. Both sit about 2.4 to 2.5 s afterapp → background. So the revocation lags the transition by a couple of seconds and doesn't happen at the notification. A read taken right atdidEnterBackgroundwould probably still see the old answers.truereading and resolvedhdr10 → hdr10. Only Episode A's fresh process composed from an all-false table, which is how a Profile 5 title ended upeffective-format=sdrand media-direct.The engine side of this, stated plainly: on tvOS, a video session that exists at
didEnterBackground(no PiP) is torn down, and the host is expected to reload on return. Aload()issued after that, while still backgrounded, isn't caught by that policy. It composes its route and applies criteria from whatever the platform answers in that state, and nothing re-reads the table atdidBecomeActive. Episode B's route-death reload is exactly that shape. I'm not changing behaviour on one box and one day. If your queued leg shows the all-false reading recurring on a load issued before the app is active, that gap is where the fix goes, in the engine and not in a host.For that leg, the term that decides it is
UIApplication.shared.applicationState(or the scene'sactivationState) read on the same run loop turn as each capability read, not just lifecycle notifications around it. A notification can only tell you a transition happened. It can't tell you whether a read 30 ms after launch came before activation. A control with the app already frontmost when the deep link arrives would separate "launched by a deep link" from "read before active".cmcpherson274 commentedon Sep 18, 2026
The line is in. And before the leg meant to exercise it ran, the transient recurred on its own.
Bench: Apple TV 4K gen 3, tvOS 26.6 (23L773), a DV-capable panel; pin 7.1.3 (
13a86172), measured 2026-09-17. Corpus: 57 retained device slices at 7.1.3 — 88[DisplayCapabilities] observed:lines, 87panel readout before applylines (104 readouts of both kinds), 58app → background, 2audio route died— plus 5 slices from a 6.81.0 control build of our app, run on the same box the same afternoon (dev-e7-control.stdout.log:3,revision": "c7e7adb5). Unlike the E-6 corpus, these slices do not overlap: for all four line types above the raw and deduplicated counts are equal.1. The lifecycle line exists.
App/RootView.swift:203emitsapp → active (fresh process)whenscenePhasegoes.activewith no recorded background transition. 56 of the 57 slices at 7.1.3 carry exactly one, none carries two, and the 57th is 0 bytes — our harness lost that launch. The five 6.81.0 control slices carry none. Examples:DEV-E7-440-rejoin-u12.log:340at15:27:27.898,DEV-E7-sdrvod-attempt.log:148at14:33:40.714.Its limit is the one you named. In the slice below, that process's first capability read is ours at
14:54:19.755(App/DisplayModeMatcher.swift:315, off theAVPlayer.availableHDRModesquery at:307), your[DisplayCapabilities] observed:follows 90 ms later, and the lifecycle line lands at14:54:20.645— 890 ms after the first read. A notification cannot bracket a read that early.2. The same-turn state read is not wired.
grep -rn 'applicationState\|activationState' App/returns one hit,App/DisplayModeMatcher.swift:93, a scene lookup forAVDisplayManager— not a read beside our own capability read atApp/DisplayModeMatcher.swift:307. It is queued with the leg (a deep-link tune 2–15 s after a backgrounded teardown, repeated, plus the already-frontmost control). None of that ran this session.3. It recurred at 7.1.3, incidentally rather than by design. One process, in
DEV-E7-audiosync-reset-a.prev-145735.log, during an audio-sync leg. The app backgrounded at14:54:35.095— the log does not say what backgrounded it, and our next leg did not launch until14:55:20(DEV-E7-audiosync-reset-b.prev-145835.meta) — and the route died 696 ms later (App/AetherPlayerEngine.swift:1787guardsoldDeviceUnavailable,:1799emits the line):Those are
:159,:169,:175,:190,:191. Oneengines:line in the file (:3), so everything from:3on is one process; 15.9 s before that all-false read the same process had readhdr=true hdr10=true hlg=true dv=true(:32) andmatching=on hdrEligible=yes(:50), and served a master (:75). A second reload at14:54:37.910, our own audio-delay correction, read all-false again (:280,:298). Deltas fromapp → background: +696 ms, +698 ms, +719 ms. The two episodes were +2.53 s and +2.40 s, so the lag is not fixed at a couple of seconds, and here the answers were already revoked at ~0.7 s.And it came back. The same process logged
app → active (backgrounded 37s)at14:55:12.569—DEV-E7-audiosync-reset-b.prev-145835.log:3; that slice's first 146 lines are still this process, the nextengines:is:147, and the(backgrounded 37s)form renders only when a background transition was recorded inside the same process (App/RootView.swift:193-195). 8 ms after it, thepanel readout before resetreadsmatching=on hdrEligible=yes(:6); 133 ms after it,hdr=true hdr10=true hlg=true dv=true(:29). One process, one expression, revoked while backgrounded and reading true again 133 ms after the app came back — both directions in one process, which the E-6 episodes could not give. When it was restored is unread: the 34.8 s between the last false read and that one carries no capability read at all.The control the E-6 corpus lacked. The other route death at 7.1.3 —
DEV-E7-dv-p5.log:192,15:48:21.634— sits 28.7 s after its own process'sapp → active (fresh process)(:68), with no background transition inside that process before it (the slice opens with the previous process's background at:1; this process begins at:14). It readshdr=true hdr10=true hlg=true dv=true(:198) andmatching=on hdrEligible=yes provenHDR=yes(:211). And the sweep behind it: across the 58app → backgroundlines in the 57 slices, exactly one process took any[DisplayCapabilities] observed:read while backgrounded — noapp → activeand noengines:in between — and it took two, both all-false, at +0.698 s and +2.82 s after the transition. The other 86 split three ways against our own lifecycle lines, and the largest part is unread: 38 follow anapp → activeline in the same slice; the other 48 are taken 0.66–0.87 s before their own process'sapp → active (fresh process)(median 0.795 s, 0 exceptions) — the window yourapplicationStateterm is for, and one a lifecycle line cannot resolve. All 86 readhdr=true hdr10=true hlg=true dv=true. Consistent with candidate (a); one box, and not the reproduction.What the revoked flag is taken to mean. Every
matching=offreadout we hold — 2 at 7.1.3, 4 raw / 3 distinct in the 09-12 corpus, none in the five 6.81.0 control slices — is followed on the same millisecond or the next by[DisplayCriteria] skipped: Match Content disabled (both Dynamic Range AND Frame Rate off). The revoked read is consumed as the user's setting.4. There are two capability reads on a native load, and twice they disagreed. On "Episode B never reached routing": the table you print is composed at
AetherEngine.swift:3516(6.81.0),:3659(7.1.0),:3669(7.1.3) — andAetherEngine+Loading.swift:739, that same line at all three tags, re-readsSelf.displayCapabilitiesfor the HLS session it constructs insideloadNative(:674at 7.1.3), printing only its deriveddvModeAvailable=anddisplaySupportsHDR=. A load that never reaches the HLS server takes only the first read — §6's three software-route loads. Two E-6 loads disagree across that pair. The first is Episode B:08:53:26.539observed: … dv=true→08:53:26.742serving on …/media.m3u8 (dvModeAvailable=false … displaySupportsHDR=false … sourceIsHDR=true useMaster=false videoRange=pq …), 203 ms apart (DEV-E6-rewound-hold.prev-121530.log:2649/:2715) — so that HDR10+ title did lose its master. The second is11:58:28.938→11:58:29.477, 539 ms apart (DEV-E6-hdr-after-matcher.log:211/:270) — the matcher-rig leg, whose criteria ownership differs and which we do not read as a control; it kept its master (useMaster=true), and nothing above depends on it. On tvOSdisplaySupportsHDRis inert for that decision —builtInPanelEngagesOnDemandis false,HLSVideoEngine.swift:1997-2003— so the withheld master followspanelIsHDR=false; what the second read does change on tvOS isdvModeAvailable(AetherEngine+Loading.swift:744), false there on a box readingdv=trueon 102 of 103 lines that day.5. AE#459's HLG floor, on one panel. 86 of the 88 readings at 7.1.3 are
hlg=true; the other two are the all-false pair.14:08:35.023through15:51:23.743. The five 6.81.0 control slices, same panel, straddled in time by those, readhlg=false6 of 6,14:44:23.296to14:49:02.262.observedPerModeTable(PlayerState.swift:291-299, byte-identical at 7.1.0 and 7.1.3) against 6.81.0'sAetherEngine.swift:1327-1332. Nothing we ran turns on it, and your own doc block says why:PlayerState.swift:287-290records thatsupportsHLGis consulted only for a DV source with an HLG base layer — Profile 8.4 — and that a plain HLG title was never clamped by any of it. Recorded as a reading, not a report.6. The E-6 gate and 6.82.0's attempt at 7.1.3.
panelIsInHDRMode not asserted …59 times across the 7.1.3 slices (plus 6 in the 6.81.0 controls — it is our gate, not the engine's, so it reads the same at both pins); the only three assertions are our ownassert/matcherrig legs. The unproven-panel attempt does fire on ordinary SDR VOD here —09-17 14:33:39.956 [DisplayCriteria] panel unproven but HDR-eligible: serving the master and letting AVPlayer answer (refusal costs one in-place media fallback)(DEV-E7-sdrvod-attempt.log:52), 54 lines, none of them in the 6.81.0 control slices. The route is unchanged on all 54, by three paths: 51 reach routing and every one of them isvideoRange=sdr, 49 of those already forced to the master by the audio rendition and 2 byvideoCodecNeedsMasterSignaling(HEVC,HLSVideoEngine.swift:1964;DEV-E7-axis-seek-4200.log:55→:89,DEV-E7-axis-cues-pgs.log:68→:105, bothaudioLang=none); the other 3 never reach the HLS server at all and take the software route (DEV-E7-vod-hevc.log:66with:84,DEV-E7-escape-native.log:222with:237,DEV-E7-escape-real2.log:212with:224).HLSVideoEngine.swift:2064-2065carries all three terms. It is absent on live (DEV-E7-live-attempt-control.log, 0 hits;panelIsHDR=false … useMaster=falseonmedia.m3u8at:180). Neither refusal line (AetherEngine.swift:2326,:2342) appears in the device corpus — both do appear on the simulator, in our ownassert/matcherrig legs:12:53:46.491 panel refused an HDR master (code=-11868); this process routes HDR sources media-direct until it restarts→.492 AVPlayer rejected the master (code=-11868); falling back to media playlist … at 0.00s(SIM-E7-hdr-assert-matcher.log:170/:171). The eleven-11868lines in the 7.1.3 slices, plus the one in the 6.81.0 control (DEV-E7-ctrl-vod-hdr10-dts.log:285), are allfailedToPlayToEndTime 'Cannot open'at leg teardown, e.g.DEV-E7-vod-hdr10plus-eac3.log:260, witht+70.11son:262, 466 ms beforeapp → background(:263).The leg still owes you the
applicationStateread on the same run-loop turn as the capability read. We will report either way.Merge fix/535-one-capability-table-per-load: a session reads the disp…
superuser404notfound commentedon Sep 18, 2026
Your §4 is a defect, and it was mine, not the platform's. Shipped in 7.5.0 (
36d4d2b7).The two reads are one read now. You anchored it exactly:
AetherEngine.swift:3669composes the table,AetherEngine+Loading.swift:739re-read the property for the session it builds, and the comment over that second read said it was the first one's table. It was not, and the comment over the FIRST read is worse, because it states the guarantee outright: "Composed once, so the format clamp below and the served DV route cannot disagree about the same display." Two reads of a property that answers at call time are not one table, and your Episode B is what that costs:observed: … dv=trueat08:53:26.539,dvModeAvailable=false displaySupportsHDR=false … useMaster=falseat.742. The table now travels as aloadNativeparameter, so the compiler asks every caller which table it means, and a second read beside the session is a red test rather than a comment that lies again.The rebuild routes on the load's table. Your 7.1.3 recurrence is the case I said the fix would go into, and it arrived with more than I asked for: one process, both directions, revoked at +0.696 s and reading
hdr=true hdr10=true hlg=true dv=trueagain 133 ms afterapp → active (backgrounded 37s). That is the same shape AE#541 already settled for the panel readout, one level down, so it follows the same rule: an in-place rebuild is not a fresh look at the display, and it composes from the table its load composed. When the carried table and a read taken now differ, the rebuild says so:That second read exists for that line and never for the route. Your two audio-sync reloads at
14:54:35.793and14:54:37.910are exactly where it should appear.What this does not reach, stated plainly so the next leg is not spent on it: a process whose FIRST read falls in that window. Episode A's fresh process has nothing behind it to carry, and no table to fall back on. The real-world analogue you named, a Top Shelf deep link into a cold launch, is that case and not this one.
Two things in your data changed my reading of it.
matching=offand the all-false table are now measured moving together in one process and coming back together, which is as close to settling candidate (a) as a single box gets. An HDMI re-handshake cannot restore a Settings preference 133 ms after a foreground transition and leave it alone for the 34.8 s before.And the window is narrower than "before the process is active". All 48 of your reads taken 0.66 to 0.87 s BEFORE their own
app → active (fresh process)readhdr=true, with no exceptions. So a read that merely precedes activation is not revoked. The only revoked reads in 104 readouts sit inside a process that had backgrounded. That distinction matters for the leg: the control worth running is not "before active" but "launched without ever being frontmost", which is what a deep-link tune after a backgrounded teardown produces and what an already-frontmost launch does not. IfapplicationStatereads.backgroundon the same turn as an all-false table and.inactiveon the same turn as a true one, that is the whole answer and the fix has a place to sit.On your §5, the HLG reading:
observedPerModeTablefloors HLG on eligibility since 6.82.0, so a panel that readhlg=falseat 6.81.0 andhlg=trueat 7.1.3 with eligibility true is the floor working, not the panel changing its mind. Nothing routes on it for a non-DV source, as the doc block says, so I read your six control lines the same way you filed them: a reading.On §6, the unproven-panel attempt firing on SDR VOD: the route being unchanged on all 54 is the intended shape rather than a lucky one. The attempt only ever moves
panelIsHDR, and an SDR source resolvesvideoRange=sdreither way. It is noise in the log on those legs and I would rather have it than gate the line on a term that would hide the case it exists for.#535 stays open, on your queued leg. Nothing in this release touches Match Dynamic Range being off, which is still what the issue itself is about.
fix(engine): a session reads the display once, and every route answer…
cmcpherson274 commentedon Sep 23, 2026
The read is wired, it is compiled into Release, and on 356 launches the state it reports is
inactive—never
background— on all 350 that read before activation. The thing your fix line was aimed at did not fireon our bench at all, with a denominator, below. And four route-death reloads did recur, two of them in a
process that was never backgrounded, which is the half of this I would read first.
Two pins, each measurement labelled with its own. Our
applicationStatefield is ours, in our app, andlanded in the same change set as the 7.1.3 → 7.7.1 carrier move, so it was live for every leg at both bench
pins: 7.7.1 (
fa67d586), measured 2026-09-19 and again on 09-21, and 7.8.1 (b89240af), measured2026-09-21/22 — the pin we have adopted (our
mainhas carried it since 2026-09-22, with this field in it). Office2,Apple TV 4K (3rd gen) —
AppleTV14,1, 5 active CPUs, 3.88 GB, tvOS 26.6 (23L773) (read off a tvOSdiagnostic report of 2026-09-19), a DV-capable panel; plus the
Apple TV 4K (3rd generation)simulatoron tvOS 26.5 (23L470), which reports no HDR modes at all, so its table is all-false by construction and
is never a revocation. Our app rebuilt on Xcode 27.0 / Swift 6.4.
Every slice below is labelled by the pin its own binary carried — read from the install marker of the build
that wrote it, never from which directory it sits in. Two arms would be mis-filed by the directory: our
7.7.1 hold ran two legs on a 7.1.3 control build of our own
mainas it stood on 09-19, in the same hour on the same box; and a7.7.1 arm on 09-21 — three device legs and one simulator leg — wrote into the 7.8.1 hold's log directory. Each is excluded from the pin it is
filed under and counted only at the pin its own binary carried.
Engine source line numbers are at 7.8.1. At 7.7.1 each one below sits 27 lines earlier in
AetherEngine+Loading.swiftand 38 earlier inAetherEngine.swift(44 forload(url:…)); at 7.14.0 — read, notrun — the two passages §4 walks are byte-identical to 7.8.1's, 33 and 82 lines later. Our own app line
numbers are at commit
d0e0656f.App/DisplayModeMatcher.swift's executable code is byte-identical in everyfield-carrying build the legs below ran on, so its line numbers move between those builds and its code does not;
the §3 guard in
App/AetherPlayerEngine.swiftand theApp/RootView.swiftlines §5 cites are unchanged acrossthem, and in the 7.1.3 control build as well. Counts are over the
retained corpus as it stood at 2026-09-22 08:05 EDT. Prefixes trimmed, tails and inner clauses elided
(
…); the rest verbatim. Bare:Nare lines in the named log.1. The same-turn read
One file,
App/DisplayModeMatcher.swift. One private helper, one statement, one appended field::331-341. The capability query islet modes = AVPlayer.availableHDRModesat:362; the state read islet appState = Self.applicationStateToken()at:397; the line is at:405, still gated on change at:403-404. Both statements sit in the same synchronous computed propertystatic var current(:353)with no
await, noTaskand no completion handler between them, so "same run-loop turn" is structuralrather than a timing result; the helper adds no suspension point either —
MainActor.assumeIsolatedruns itsclosure inline on the calling thread.
The bridge is there because the two halves disagree about isolation:
UIApplicationisNS_SWIFT_UI_ACTORand
applicationStatetakes noNS_SWIFT_NONISOLATED(tvOS 27 SDK,UIApplication.h:84and:137; theopt-out is two lines below, on
backgroundTimeRemainingat:139), whileDeviceCapabilities.currentisnonisolated and is genuinely reached from a nonisolated context (a stored-property default in a struct with
no actor annotation).
off-mainis a reading, not a failure: it would say the capability read did not happenon the main thread and UIKit could not be asked.
It is compiled into Release — there is no
#if DEBUGanywhere in the file and the logger isunconditional. That is a code reading, not an observation: every build on this bench is Debug, so we have not
watched the line come out of a Release binary. It is a log field with no viewer-visible effect and no new
branch in any decision; its marginal cost is one
Thread.isMainThread, the executor check insideMainActor.assumeIsolatedand one property read, on a statementthat already pays for
AVPlayer.availableHDRModes. The cadence is per tune, per audio or subtitle pick, pernegotiation, per panel build and per detail-screen appearance — plus a SwiftUI
bodypass of analready-open panel, which is added to that list rather than replacing it and which pays the read twice. Never
a decode loop, never a frame callback: the drivers are discrete presses, and the two surfaces that could tick
do not (the drawer owns its focus state privately and the player's clock is deliberately unsubscribed). We
have not micro-benchmarked it and are not claiming a number for it.
The line, byte-identical up to the new field:
The first two are measured on the bench (counts below).
backgroundhas not occurred, and neither haveoff-mainorunknown; that third rendering is what the code would print, not something we have seen.2. What 356 launches say
The population is every process that reaches a negotiation and takes the capability read — the change
gate then makes that the process's first read and no other. (The exception is our own forced-DV rig: 10
simulator processes at each pin take an early return at
:356-361that queries nothing, and logdisplay DV capability: FORCED on (JF_FORCE_DV)with no field. They are not in what follows.) Across the twopins, 356 readings in 356 distinct processes, no duplicates:
applicationStateinactive100true/true, 100inactive69true/true, 69inactive90,active3false/false, 93inactive91,active3false/false, 94All 356 paired activations are
app → active (fresh process)— no backgrounded resume anywhere in thecorpus — and the token agrees with the timestamp ordering 356 of 356: every
inactivereading precedesits own process's activation, and the six
activeones follow it.Four of those six are the control you asked for on 09-17 — "a control with the app already frontmost
when the deep link arrives". Three simulator legs, twice each, and they are not the same shape, so it is
worth being exact about which is which. Two of the three are your control precisely: the driver launches the
full app with no deep link at all, waits for the Home tab, and only then sends
tevemate://play/<id>intothe already-up process — and the read follows activation by 2.354 s (
SIM-E8-tc14-023.log:34andSIM-E8-tc14-023-restart.log:34; the same two at 7.7.1 at −2.362 and −2.350 s). Neither of those two is afault: one carries no fault rig at all, and in the other our engine-stop rig does not fire until
:168,12.3 s after the read. The third is not your control and we are not offering it as one — it is a
guide open launched with a rig env rather than a deep link, whose read simply lands 0.738 s after
activation (
SIM-E8-pig.log:50; −0.768 s at 7.7.1). So the token separates "launched by a deep link" from"read before active" exactly as you framed it on 09-17 — though on the simulator, whose table is
constructionally all-false, that is all it can separate. These four are not the control your 09-18 note named as
the one worth running, "launched without ever being frontmost": they are the already-frontmost launches you set
against it, so they show the token's
activeside, and that leg is §6's.The window, as a distribution rather than the single 890 ms example in our last comment —
app → activeminus the read:
inactive)inactive)One reading in full, the first launch that ever carried the field (simulator, 7.7.1,
SIM-E8-build1-vod-harm.log)::2,:14,:85— 599 ms before activation, ininactive. Its 7.8.1 twin is 494 ms(
SIM-E8-build5-vod-harm.log:16/:81, 09-22 06:41:17.439 → .933).And one on the device where your own read sits beside ours
(
DEV-E8-hdr-after-audioswitch-shipped.log, 7.8.1)::2,:13,:28,:31,:71,:74. Ours and yours 95 ms apart, same answer; activation 874 ms afterours.
What that does and does not settle. It confirms your narrowing empirically, on a much larger sample than
the 48 reads it was made on: a read that merely precedes activation is not a revoked read. All 169 device
first-reads were taken before activation and every one read a true table, and across those same 169 device
launches the engine's own composed table read
hdr=true hdr10=true hlg=true dv=trueon all 288[DisplayCapabilities] observed:lines — 179 at 7.8.1 and 109 at 7.7.1, not one all-false and not one mixedreading at either pin. (291 if the two 7.1.3 control processes are counted; they carry no
applicationStatefield, so they are not among the 169.) It also names the state that window actually is:
inactive, neverbackground, 350 of 350.It does not give you the pairing you asked for. We have no
backgroundreading at all, so we have no.background-beside-an-all-false-table half, and the 187 all-false tables we do hold are the simulator'sdisplay, not a revocation — they read
falseidentically ininactive(181) and inactive(6), which iswhat tells a constructional false from a transient one.
3. The limit of our own line, stated before the null
Two limits, both ours:
:403-404), so a later read in the same processwhose DV answer had flipped would emit a second line. On our bench it is a first-read instrument anyway,
and limit 2 is why.
DeviceCapabilities.currentour wrapper takes while building a load's options isApp/AetherPlayerEngine.swift:970, and it is behindif hdrClaimed, options.suppressDisplayCriteria || panelHDRRig == "assert"at:969. With criteriaengine-owned that read is not taken, and the
else ifat:975-976says so out loud —[Aether] panelIsInHDRMode not asserted …, 102 lines across 97 of the 100 device slices that carry acapability read at 7.8.1 and 71 across 66 of the 69 at 7.7.1; at both pins the other three are the same
three legs, our own
assertandmatcherrigs, and at both pins no device slice without a capabilityread carries one, so the partition is exact at both. (The only two device processes anywhere in the
corpus that log this line with no field of ours beside it are the two legs run on the 7.1.3 control build,
which predates the field — which is a check on the labelling rather than an exception to it.) A route-death rebuild on
the shipped path therefore takes no capability read of ours to attach a state token to. Your
AE#535line is the instrument for that case, not ours.
4.
AE#535did not fire, with the denominatorZero occurrences. 0 across the 139 scored 7.8.1-build leg slices, and 0 across every retained log at both
pins — our own census over all 208 app-log slices whose binary carried 7.8.1 and all 175 that carried 7.7.1, taken
with Python rather than a driver's summary count.
That is the absence of a trigger, and here is how small the opportunity was. The emit sits in
reloadWithAudioOverride(AetherEngine+Loading.swift:2278-2286at 7.8.1;:2251-2259at 7.7.1), andreloadAtCurrentPosition()reaches that function only on itsisCustomSourcebranch(
AetherEngine.swift:4796, calling it at:4816); a URL-backed session goes toload(url:…)at:4870instead. So of the 83
#460: reload applying …corrections the engine logged at 7.8.1 (69 slices), none reached it. The whole7.8.1 corpus entered that function three times — every one an in-place audio-track switch
(
selectAudioTrack: scheduling switch …→reload begin: audioStream=2 …) — of which two took thenative branch that can emit:
DEV-E8-hdr-after-audioswitch-shipped.log:224,:228,:281.AE#541's emit (:2263) andAE#535's(
:2280) sit in the same function with only the table compose between them —reloadDisplayCapabilitiesat
:2269-2272and the second read at:2276-2277— and no early exit, andreload: loadNative done(
:2313) is below both; so both native rebuilds provably ran theAE#535gate, and on neither diddisplayCapsNowdiffer fromreloadDisplayCaps. On the one above, the load composed its table at18:31:11.765and the rebuild read it again 28.87 s later and got the same answer.At 7.7.1 the same shape: three entries, two native,
AE#5350,AE#5411. (A fourthreload beginin that hold's logs is the 7.1.3 control build and is not counted.)
A null, and only a null. Two opportunities is not a test of the fix. What it does rule out is that we
silently had the case and missed the line.
5. What did recur — four route-death reloads, and two of them never backgrounded
This is the part we did not go looking for. Across the two pins, four
audio route diedreloads on thedevice, and a perfect one-to-one correspondence with
matching=off: of every line carryingmatching=inthe device corpus — 192 at 7.8.1 (190
on, 2off) and 120 at 7.7.1 (118on, 2off) — all fouroffreadouts sit inside their own leg's route-death reload, 99 ms to 554 ms after it, and each route deathhas exactly one.
All four processes run the identical arc. First readout of the process
currentEDR=1.00 … matching=on hdrEligible=yes provenHDR=no; thenpanel proven to engage HDR (headroom 1.20); …; thenswitch settled via modeSwitchEnd (… the requested rate); then the route death; then:DEV-E8-dv-p5.log:150,:152,:157,:170,:171,:194at 7.8.1. Three things in it:observed:reads all-true 54 ms after the route death, and thereadout reads
matching=off hdrEligible=no45 ms after that. That is Episode A's shape again — thecapability table reading true and the criteria readout reading revoked inside one load, 106 ms apart
there and 45 ms here — but with the table on the true side. The route decision held: all four served
master.m3u8withpanelIsHDR=true … useMaster=true. The master itself did not. On three of the four —both at 7.8.1 and one of the two at 7.7.1 — AVPlayer failed the item with
-11868 'Cannot open', 19 and22 ms after the
serving online at 7.8.1 and 74 ms after it at 7.7.1; your engine loggedpanel refused an HDR master (code=-11868); this process routes HDR sources media-direct until it restartsand fell backto the media playlist at the same position, where each fallback item reached
readyToPlaywith a PQ videotrack (
DEV-E8-dv-p5.log:234/:240,DEV-E8-hdr-after-engine.log:274/:284,p771/DEV-E8-dv-p81-dvh1.log:245/:259). The fourth, the 7.7.1p771/DEV-E8-hdr-after-audioswitch-assert.log, ends 79 ms after itsserving online (:494), so itsoutcome is unread.
currentEDR=1.20besidehdrEligible=no, on both 7.8.1 cases. The panel's measured headroom says itis in HDR on the same line that says the process is not eligible for HDR playback. The two 7.7.1 cases read
currentEDR=1.00there, as all three episodes of our two earlier comments did (two at 6.81.0, one at 7.1.3).provenHDR=yeson all four, but the proof is not what served the master. Every one of these loadslogs
skipped: Match Content disabled, andapply()clearslastCriteriaWasHDRahead of that guard(
Display/DisplayCriteriaController.swift:711, the guard at:724-726; the file is byte-identical atboth pins), so
criteriaAttributioncannot return.engineHDR(:263-264) andpanelPresentsHDRnever consults the proof (
:258-259). At 7.8.1currentPanelIsHDR()answered from the live headroom —the readout line reads
currentEDR=1.20— and neither load logs an unproven-panel attempt or a hostassertion. At 7.7.1, with the headroom at 1.00, it answered false on both: one load served on your
unproven-panel attempt (
p771/DEV-E8-dv-p81-dvh1.log:192), whose eligibility term is the composed table(
observedDisplayCaps.supportsHDR), not the readout'shdrEligible=no, and the other on our ownassertrig, whose host-assertion line reads
panelReadout=false(p771/DEV-E8-hdr-after-audioswitch-assert.log:470).And two of the four were never backgrounded. The 7.7.1 pair sits either side of your 2.4–2.5 s lag —
app → backgroundatp771/DEV-E8-dv-p81-dvh1.log:160then the route death at:170, +2.325 s (75 msunder your range); and
p771/DEV-E8-hdr-after-audioswitch-assert.log:420→:432, +2.481 s (insideit). The 7.8.1 pair has no
app → backgroundanywhere before it: one
engines:line in the slice,app → active (fresh process)atDEV-E8-dv-p5.log:56and the route death at:150+2.645 s after activation, andDEV-E8-hdr-after-engine.log:74→:172+3.646 s after activation. So on this benchmatching=offwithhdrEligible=nois reachable in a process that had already reached.activeand was never backgrounded,which our 6.81.0 and 7.1.3 corpora did not show. The common term across all four is the route death and the mode switch that precedes it, not
the backgrounding.
It does not follow that the app was in
.activeat that instant, and one detail says it probably was not.Both 7.8.1 slices carry a second
app → active (fresh process)later in the same process —:385at19:37:33.597and:438at18:27:54.472— with noengines:and noapp → backgroundbetween. Ouremitter prints that form only when
scenePhasereaches.activewith no background transition recorded(
App/RootView.swift:192-205, with.inactivefalling todefault: breakat:205), so each of thoseprocesses left
.activeand returned without backgrounding, and the revoked readout falls inside thatwindow. We do not log
.inactive, so when inside it is unread. One number bounds how ordinary that is:a second in-process activation occurs in 2 of 100 device processes at 7.8.1 — exactly these two — and in
0 of 69 at 7.7.1. So it is rare, and it is not necessary — the 7.7.1 pair revoked without one. Whether it is
sufficient this corpus cannot say: the one other process in it that re-activated without backgrounding, a 7.1.3
control leg on 09-19, took no panel readout after doing so.
The control for the mode switch is in the same corpus:
switch settled via modeSwitchEndoccurs 17 times ateach pin, and of the readouts taken after a settle in the same process, six at 7.8.1 and five at 7.7.1 read
matching=onagainst twooffat each. A mode switch alone does not produce it.We are not claiming a cause. What the four say is that on this box the
matching=off/hdrEligible=norevocation travels with an audio-route death that follows a display mode switch, that it happens in a process
that was never backgrounded as well as in one that was, and that a composed true table and
provenHDR=yesdid not keep the master through it: on three of the four, all three on the shipped path, AVPlayer refused
the master and the process latched
panelRefusedHDRMaster— twice at 7.8.1, in the two processes that werenever backgrounded. The case your 7.5.0 note excludes is still the one where the table itself would be
wrong: a process whose first read falls in such a window and has no table to carry. These four carried a
true table, and three of them lost the master all the same.
6. What is not run, and a correction to our own sizing
The dedicated leg — the one your 09-18 note calls the control worth running, "launched without ever being
frontmost", which repeated deep-link tunes after a backgrounded teardown produce, beside already-frontmost
launches — has not run. Before it is bought, a correction to our own sizing, which we never sent you: our internal
planning figure was "about 25 launches for a 9-in-10 chance", which needs roughly one clean signature in eleven
launches. The measured rate does not support it. Taking the signature as a process whose composed table came
back all-false, and counting every device process whose composed table we logged at all, each at the pin its
own binary carried — processes, not slices, since the 09-12 slices overlap and two of them ran a 6.66.0 build that cannot print the table: 1 in 56 at 6.81.0 (51 in the
2026-09-12 corpus of our first comment, plus the five 6.81.0 control processes our second one named), 1 in 58
at 7.1.3 (56 in the 09-17 corpus of our second, plus the two 7.1.3 control legs named above), and 0 in 169 at
7.7.1 and 7.8.1 — 288 device
observed:lines, every one all-true. That is 1.79 % per launch at the mostfavourable pin and 0.71 % pooled over all four, so 25 launches buys 36 % at best and 16 % pooled, and
nine-in-ten needs N ≈ 128 to 325. That is a device window we have not booked and is not ours to schedule
unilaterally, so we are not promising that run.
What we can say is that the deterministic half arrives on every launch, including N = 1, and is in this
comment: what state the app is in when it takes its first capability read, beside the table it took.
And the issue's own question is still not ours to answer. Match Dynamic Range is on here; we have never run
the output parked in 4K HDR with it off, and nothing above changes that.
superuser404notfound commentedon Sep 23, 2026
Your §5 is a defect, and the fix is up as #612.
The latch took a refusal that the window fully explains.
panelRefusedHDRMasteranswers "does this output configuration accept an HDR master", and that question only exists while the display is eligible for HDR at all. On your four route-death reloads the readout 45 ms before the refusal sayshdrEligible=no, so AVPlayer's-11868(no compatible alternate) is exactly what an ineligible display produces. It said nothing about the panel, and the engine latched it for the process anyway. The AE#588 clear only runs on a real return from the background, so on your two 7.8.1 processes that never backgrounded, the latch would still have held on 7.10.1 and later, and every later HDR title in the session would have gone media-direct, taking the DV signalling and the subtitle renditions with it.The AE#588 doc comment already stated the premise this breaks: "the latch can only be set while
eligibleForHDRPlaybackis true". That was an assumption, and your corpus measured it false. #612 enforces it: the latch now also needsAVPlayer.eligibleForHDRPlaybackto read true at the moment of the refusal. The item still takes its in-place media fallback either way. A refusal that does not latch says so:So on your bench, a route death after a mode switch should now cost that one item its master and nothing after it. The next HDR load asks the display again.
A correction to my 18 September note. I wrote that your two audio-sync reloads "are exactly where [the
AE#535 rebuild routes on the load's tableline] should appear". Your §4 is right that they cannot:reloadAtCurrentPosition()reachesreloadWithAudioOverrideonly on a custom source, and a URL-backed session, which is what both of our apps run, goes through a fullload(url:)that reads the display fresh. The 7.5.0 carry is real, but on your shipped path it only covers the in-place audio-track switch, which is the two native entries you counted. Your null is the correct null for that reason.On §2: 350 of 350 pre-activation reads in
.inactive, never.background, on a table that read true on every device launch. That settles the narrowing from our side, and I am not reading anything more into the two backgrounded revocations of the earlier corpora until one shows up with the state beside it.On §6: agreed with your arithmetic, and I am not asking for the 128 to 325 launch run. The first-read-in-the-window case stays documented as unexplained rather than bought at that price.
#535 stays open. Match Dynamic Range being off, with the output parked in 4K HDR, is still the issue's own question and nothing here touches it.
superuser404notfound commentedon Sep 23, 2026
The refusal-latch fix from #612 is released in 7.15.1 (
b93f9c4b): a master refused whileeligibleForHDRPlaybackreads false no longer latches, and the unlatched refusal says so in the log.cmcpherson274 commentedon Sep 24, 2026
Thank you for #612, and for going back over your 18 September note.
No audio route death hit an HDR title while it played on our 7.15.1 Office2 run, so there is no after arm yet. We have the before arm at 7.15.0, where the latch cost the rest of a sitting its master; one
-11868refusal at 7.15.1 under our assert rig, after a leg's end, which logged your new line; and the simulator's flip.Pins, each reading labelled with its own: our app on 7.15.0 (
654d0f2c) and on 7.15.1 (b93f9c4b), both Debug builds, run on 2026-09-23 on Office2 (tvOS 26.6 (23L773), read from AVPlayer's User-Agent in bothvod-hdr10-dtslogs) and on the tvOS simulator. Engine line numbers are at the tag written beside them. Prefixes trimmed, elisions marked…; bare:Nare lines in the named log.Before: 7.15.0, one process, never backgrounded
Our
vod-hdr10-dtsleg: a 4K HEVC HDR10 Matroska title resumed at 300 s, no rig. Oneengines:line (:2),app → active (fresh process)at:41, the display mode switch settled at:153,startedat:173. Then two audio route deaths, 21.4 s apart:DEV-E9-vod-hdr10-dts.logat 7.15.0::208,:214,:248,:250,:273,:307,:312,:313,:426,:430,:464,:488.hdrEligible=no64 ms before AVPlayer failed the item and 68 ms before the latch line.:250). Its eligibility term is the composed table (observedDisplayCaps.supportsHDR,AetherEngine.swift:4298at 7.15.0), which readhdr=trueinside the window (:214).media.m3u8withpanelIsHDR=false. It read the same table and the same readout as the first (:430,:464), and our attempt option stays at your default, true, so the term that turned the attempt off is the latch set at:312(AetherEngine.swift:4295-4299andAetherEngine+Probe.swift:910at 7.15.0).#3) and the second reload's item (#4) both played, a PQ video track in each (:352,:353;:533,:537). There is noapp → backgroundbefore:650, the leg's own end. The secondapp → active (fresh process)at:595comes 19.3 s after the second route death, the same ordering our two 7.8.1 processes showed.So the cost you described, on a later load of the same title: after the first refusal, the one later reload went media-direct.
After: 7.15.1, the same leg, no route death
Same deep link, same title, same resume point, the same mode switch settling (
:153),startedat:161, and one serve, on the master withpanelIsHDR=true(:102). No audio route death in the 55.7 s fromstartedto the leg's end (:262); at 7.15.0 the first came 9.9 s afterstarted. The log ends as the same leg's did at 7.8.1, on a-11868failedToPlayToEndTime0.5 s before the background (:259) and an item-death reload that has not served yet (:275), with no refusal line in either spelling (DEV-E9-vod-hdr10-dts.logat 7.15.1;DEV-E8-vod-hdr10-dts.log:254,:267at 7.8.1, 2026-09-21, which had no route death either). We cannot make that route death happen on demand, and we are not substituting a rig for the missing arm.The one
-11868refusal Office2 logged at 7.15.1 has the shape of our §5's fourth case: ourJF_AETHER_PANEL_HDR=assertrig and a route death after the leg had gone to the background (DEV-E9-hdr-after-assert.log:30,:259,:273). It logged your unlatched line (DEV-E9-hdr-after-audioswitch-shipped.log:8; that log's first 33 lines are the end of this process). The same leg's same tail latched at 7.15.0 (DEV-E9-hdr-after-assert.logat 7.15.0::260,:275,:376). It is a rig reading taken after the leg's end, not a viewer's sitting, and the next leg's launch replaced that process 8.9 s later, so it does not test "the next HDR load asks the display again".Simulator: both of our forcing arms flip
The simulator reports no HDR modes, so its readout says
hdrEligible=no: 85 of 85 readouts in our two 7.15.1 simulator batteries. Our two arms that force the master there (JF_FORCE_DV=1withJF_AETHER_CRITERIA=matcheror withJF_AETHER_PANEL_HDR=assert, on a DV Profile 5 title, each leg a fresh process) went from the latched line at 7.15.0 to the unlatched one at 7.15.1:7.15.0 → 7.15.1:
SIM-E9-hdr-assert-matcher.log:163→:162,SIM-E9-hdr-assert-ab.log:167→:167. The media fallback line beside it is unchanged at both pins, and so is the-11833on the fallback item (the simulator's AVPlayer cannot decode HEVC).Next
When a route death hits an HDR title while it plays, on any of our legs at 7.15.1 or later, we will post here which line fired at each refusal and what each later reload served, with its pin. From the code (
AetherEngine.swift:2461-2475,:4316-4320and:3749at 7.15.1), we expect the unlatched line at the first refusal and, since the composed table readhdr=trueat the 7.15.0 second reload (DEV-E9-vod-hdr10-dts.log:430), a second route death in the same window to offer the master again. At the second refusal: the unlatched line again with its own fallback; an accepted master, if eligibility has come back; or, if eligibility has come back and the master is still refused, the latched line in its new spelling. That is an expectation, not a reading.superuser404notfound commentedon Sep 24, 2026
Thank you. Keeping the arms apart and not letting a rig stand in for the missing one is exactly the right call.
Your expectation matches 7.15.1 as I read it. At a refusal while
AVPlayer.eligibleForHDRPlaybackreads false, the process does not latch, so the next reload in the same window goes throughsessionRoutesAsHDRPanelagain. The composed table readhdr=trueinside the window at 7.15.0, so that reload is offered the master again, and a second refusal costs that item its own in-place fallback and nothing after it. The latched line only fires when eligibility reads true at the refusal, and its current spelling is… routes HDR sources media-direct until it returns from the background (#588).The
-11868failedToPlayToEndTime0.5 s before the leg's background goes through the item-death path, not the master-rejection path. That item had already been accepted and was playing, so no refusal line in either spelling is the expected reading there, at 7.8.1 and at 7.15.1.Nothing to do on my side until the after arm shows up. #535 stays open for its original question.
cmcpherson274 commentedon Oct 11, 2026
The after arm has shown up in our ordinary runs five times since your note of 24 September, at 7.17.1, 7.24.0 (twice), 7.27.3 and 7.28.3 (the same Apple TV 4K, tvOS 26.6, Debug builds, no rig on the display path). Each time an HDMI audio route death hit a playing HDR title about a second in, our app reloaded in place (the #460 correction to
surroundCompat, route max 2 ch), the reload was served the master as the first load had been, and AVPlayer refused it with-11868. Each refusal logged the unlatched form and was the item's own media fallback. Nothing here is about the original question (the stats label on a parked output): Match Dynamic Range is on in our setup, and each of these processes readmatching=onat its first load.Setup. Each process started its title on the master after a mode switch that settled, and played. The route died, our app reloaded, and the readout quoted below is the one the reload took before the master was served again. Positions are the fallback's own
at …s; the start mark is our app's own line and the times are the log's timestamps.currentEDR=1.20 … matching=off hdrEligible=no provenHDR=yesAE#535 HDR master refused (code=-11868) while the display reads hdrEligible=no; this item falls back, the process does not latch the refusalHDR master refused (code=-11868) while the display reads hdrEligible=no switching=no (#535, #667); this item falls back, the process does not latch the refusalcurrentEDR=1.20 … matching=on hdrEligible=yes provenHDR=yes(the criteria write skipped as unchanged)currentEDR=1.20 … matching=on hdrEligible=yes provenHDR=yes(the write skipped as unchanged)What it shows: a refusal on a route-death reload cost the item one in-place media fallback, and the item played on. Every refusal line read
hdrEligible=no, so the engine logged each one as not latched, as #612 says. On the 7.27.3 and 7.28.3 reloads the panel readout still readhdrEligible=yes166 ms and 73 ms before the refusal line readno; on the three 7.17.1 / 7.24.0 reloads it already readno(withmatching=off, during the route change). What it does not show: the next load in the same process being offered the master again, because no process on record loaded a master again after its refusal (each run ended, seeked on the media playlist, or went to the background first). No latched-11868refusal appears at any pin from 7.15.1 on in the 672 device logs of our last five rounds; the latched line does appear there on-11848refusals only (two SDR titles' masters at 7.15.1 and 7.17.1).7.28.3 is our app's engine pin as of today (2026-10-11).
superuser404notfound commentedon Oct 12, 2026
Thank you, that closes the after arm: five refusals on route-death reloads, each unlatched and each costing only its own item's media fallback, which is what #612 was meant to do. That on 7.27.3 and 7.28.3 the readout still said
hdrEligible=yes73 to 166 ms before the refusal line readnois useful too: the eligibility read at the refusal is the one that has to decide, not the one the reload took.The aside about the latched line on two SDR titles'
-11848refusals is a real defect. The latch site checked the code and the display, never what the refused master advertised, so a refusal of aVIDEO-RANGE=SDRmaster routed every later HDR title in that process media-direct until the next background. #749 requires the served master to have been HDR before it latches, and an SDR refusal now logs its own line:That leaves the SDR refusals themselves unexplained. If the two logs are still at hand, the
serving on …line before each refusal (itsvideoRange,dvVariantand codec) and the title's codec and level would say why AVPlayer refused an SDR master at all.Merge PR #749 'fix/535-latch-hdr-master-only': an SDR master's refusa…
fix(display): an SDR master's refusal no longer latches the HDR route (…
cmcpherson274 commentedon Oct 13, 2026
Both logs are at hand. With four more like them they are the six
-11848refusals of an SDR master in the 672 device logs our aside counted (eight earlier ones, at 7.1.3 to 7.8.1, are on the same Arbitrage file). Same Apple TV 4K (3rd generation,AppleTV14,1, tvOS 26.6), Debug builds of our app, our loopback route. Theserving online before each refusal, and the first one of the accepted run below, read the same apart from its port and path:The line carries no codec; the master's
CODECSdoes:CODECS(VIDEO-RANGE=SDRin every run)hvc1.1.6.L186.b0,fLaC(3),hvc1.1.6.L186.b0,ec-3(1, a test setting of ours)-11848,-15517), latched, media fallbackhvc1.1.6.L186.b0,fLaChvc1.1.6.L153.b0,fLaCSo AVPlayer refused these masters for the HEVC level they declared, the #674 case. Each refusal came after only the two playlists were requested, before any init segment, and the 13 pair is row 1 of our 2 October reading on #674: the same file's master, refused at 7.17.1 and accepted at 7.24.0 eleven minutes later, its tag lines differing only in
L186→L153. The Arbitrage file left our library on 24 September, before 7.23.2 was released, so we have no capped run of it.A correction to our aside: two more of the latched
-11848lines it counted, both at 7.17.1, were on an HDR master, the Dolby Vision profile 7 title in row 2 of that reading (VIDEO-RANGE=PQ, also declared level 6.2), which 7.24.0 accepted.7.28.3 is our app's engine pin as of today (2026-10-12); 7.35.1 is the candidate under test.
superuser404notfound commentedon Oct 14, 2026
Thank you, that answers it. The SDR refusals were the declared level, not the range:
L186is above what AVPlayer accepts in a master'sCODECS, and #674 has capped the declared level at 153 (5.1) since 7.23.2, for plain HEVC and for the DV base layer alike. The 13 pair (refused at 7.17.1, accepted at 7.24.0 with onlyL186→L153changed) shows exactly that.The correction matters too. The two latched lines on the Dolby Vision profile 7 master at 7.17.1 were the same level refusal, and the latch had no way to tell it from a panel refusal:
-11848is AVPlayer's generic "cannot decode", and on an eligible display serving an HDR master it reads like the panel saying no. Since 7.23.2 that refusal no longer happens, so the latch's premise holds again for the titles we know of. If a latched line ever shows up again on a display that readshdrEligible=yes, theCODECSof the refused master is the first thing worth posting.#749 (an SDR master's refusal no longer latches the HDR route) is released in 7.36.0.
Nothing else to do on my side here. #535 stays open for its original question.
superuser404notfound commentedon Oct 14, 2026
Closing this as a known limitation.
The original question has no fix on the engine side today: with Match Dynamic Range off and the output parked in 4K HDR, the capability table answers what the panel can present, and tvOS exposes nothing that says which mode it is presenting right now. Until it does, the stats label can name Dolby Vision on a parked HDR10 output.
Everything that grew out of this thread is done:
hdrEligible=nono longer latches. The after arm above confirmed it on five route-death reloads.Thank you to everyone who measured here, @cmcpherson274 in particular for keeping every arm separate and pinned. Anything new in this area is best opened as its own issue, with the
serving on …line, the panel readout and the master'sCODECS.fix(native): an audio switch keeps the media playlist its session fel…