Repository navigation
URI on webOS 25: admit firmware major 10 to the exported-window table - #1377
Merged
Merged
Conversation
`EXPORTED_STRATA` (`play-uri/src/backend.rs`) now lists firmware major 10 beside 5. On a set reporting major 10 (an LG C2 on webOS 25, firmware 33.31.68, is the one that has run), a viewer who chose Experimental plays an original the route accepts through the TV's own media pipeline in the exported window; the boot line reads `... major=10 evidence=table`. Major 9 and every other major still play Standard. The evidence is in the `webOS 9.2.4 / 10.3.1 (33.31.68)` Results row of `docs/uri-mode.md` (#1064): (a) the 10.3 image reads `option.windowId` at load; (b) two product runs with the override armed, picture size and aspect from the first, sound from the second; (c) a drive probe on an older build that printed `pause=unconfirmed` and is graded under amendment (1) by the replay test `uri_drive_webos_25_c2_run_replays_to_pause_froze_from_the_paused_event_and_resume`. The composition test pins majors 5 and 10 to `Exported` and every other major 0..=30 to `Unbound`; the boot-line test pins `major=10 evidence=table`. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The first webOS 25 product run pasted no lines, so only the second run's log shows `evidence=override`; the row and the entry comment now say rule (b)'s boot line comes from the second run and that the first run's picture and aspect are unlogged words. The second comment's "was also successful" is quoted. The DTS datapoint reads "expected on a URI play" (its build is not named) instead of concluding it from today's Diagnostics code. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
One conflict, rust-modules/src/app/adapters/backends.rs. Main's #1396 made the URI engine's ACB handle on-demand: uri_product_binding no longer takes the plane owner, and the composition tests stopped building a booted owner. This branch's major-10 composition assertions are kept, written against that new signature: majors 5 and 10 bind Exported on VP_EXPORTED, every other major 0..=30 is Unbound, and the boot line pins major=5 and major=10 evidence=table. No behaviour changes. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…16:9 product run The tester's run on a 2.39:1 original (override armed, Experimental, Original, one audio track, no subtitles) is the product run that meets rule (b) for major 10: the override boot line, a placement from src=3840x1608, "full width with black bars", sound, and two seeks logged on seekDone. Pause and resume rest on the tester's words (the paste has no pause line, and the backend logs none for a paused event). The paste has no `binding=Unbound ... major=10` line, so none of its lines names the firmware major; the row says so rather than explaining it. The two earlier product runs stay as supporting runs and their "rests on an unlogged run" caveats are dropped. The EXPORTED_STRATA entry's comment and the prose describing the product runs say the same. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21
marked this pull request as ready for review
November 14, 2026 22:46
GLinnik21
added a commit
that referenced
this pull request
Nov 14, 2026
…er run (#1397) EXPORTED_STRATA is now &[5, 6, 7, 9, 10]. On a set whose firmware reports major 6, 7 or 9, a viewer on the Experimental engine now plays a qualifying original through the TV's own pipeline in the exported window. A qualifying original is a direct play with one audio track and no subtitle stream, on quality Original or on Auto over a local link. The boot line reads `evidence=table`. No tester has run these majors. They are admitted under the bracketing exception, which now reads "nearest admitted major on each side" (the maintainer's decision of 2026-11-13). A major with image evidence (a) but no tester run is admitted when the nearest majors below and above it were both admitted on tester evidence; a major admitted only as bracketed is skipped when looking for a side. Here those sides are 5 (#1331) and 10 (#1377). The old text required both major - 1 and major + 1. (a) per major: libplayerAPIs.so.1.0.0, StarfishMediaAPIs::parseLoadMessage, reads option.windowId at load: - 6.5.3, HE_DTV_W21O, sha 0b0f6654, at 0x41556; - 7.6.0, HE_DTV_W22P, sha 0969903e, at 0x467c6; - 9.2.4, HE_DTV_W24G, sha cc08e2b8, at 0x4385c. A virtual call follows the store on each image; the AVProxy builder is identified on 11.2 only. Major 8 has no image read, so it has no (a) and plays Standard. docs/uri-mode.md gains Results rows for 6.x and 7.x, rewrites the major-9 part of the 9.2.4 / 10.3.1 row, and corrects the windowId store offset: +0x90 on 6.5.3 and 7.6.0, +0x94 on 9.2.4 and 10.3.1. Host tests (red first against &[5, 10]) pin 5, 6, 7, 9 and 10 to Exported on the exported-window display, every other major 0..=30 (8 included) to Unbound, and the boot lines, including `major=8 evidence=none`. Part of the webOS 5+ URI work tracked in #1064; does not close it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
URI on webOS 25: admit firmware major 10 to the exported-window table
What changes for a viewer
EXPORTED_STRATA(rust-modules/play-uri/src/backend.rs) listed major 5 only. It now lists major 10 too. On a set whosefirmware reports major 10 (an LG C2 on webOS 25, firmware 33.31.68, is the one set that has run), a viewer who chose Experimental,
for a direct play of an original file that the existing route accepts (a single audio track, no subtitle stream of any kind,
quality Original, or Auto on a local link, and a file Standard itself would direct-play), now plays through the TV's own media
pipeline in the exported window, with this app's player screen and controls on top. The boot line on such a set reads
uri: product binding=Exported { canvas: (1920, 1080) } mode=2 ... major=10 evidence=table.Everything else is as before: Standard remains the default and the handoff target on any failure; originals with several audio
tracks, subtitles, a server-side conversion, a relay link or a non-1x speed still play in Standard; every other webOS 5+ major
(6 to 9, 11 and later) still plays Standard (
major=<n> evidence=none); a 4.x set keeps its ACB path and a 5.x set keeps theentry #1331 gave it.
Evidence (all three parts of
docs/uri-mode.md's admission rule; thewebOS 9.2.4 / 10.3.1 (33.31.68)Results row quotes the lines)One tester, one LG C2 (firmware 33.31.68, stated here),
five comments in #1064: the drive probe, the
first product run, the
Dolby Vision product run,
a DTS file and the
wider-than-16:9 product run of 2026-11-14.
(a) Decompile: the 10.3 image reads
option.windowIdat load. This was already indocs/uri-mode.md("What the 5+ firmwareactually does with the load":
parseLoadMessage"identical on 5.5, 5.6, 6.5, 7.6, 9.2, 10.3, 11.2"); I re-derived nothing.(b) The PRODUCT run of 2026-11-14, on a debug build the tester does not name. It answers the maintainer's request of 2026-11-13 for the
CI build of run 43421880266 (main at
2d565dc9f, URI on webOS 5: admit firmware major 5 to the exported-window table #1331's merge; I checkedgh run view 43421880266 --json headSha) with the override armed, Playback engine Experimental, quality Original and an original widerthan 16:9 with one audio track and no subtitles. It opens: "Everything was successful again: aspect ratio correct, picture is full width with
black bars, audio is playing, pause, resume, seek working." Its paste of the event log's
grep -E 'uri(probe)?: |ls2uri: ':uri: product binding=Exported { canvas: (1920, 1080) } mode=2 evidence=override;uri: original declined (a trailer preview);ls2uri: register shape=named ok after 2ms;uri: exported window placed src=1920x1080 rv=1, thenuri: exported window placed src=3840x1608 rv=1(3840x1608 is 2.39:1);uri: audio index=0 is already selected (audioInfo); no selectTrack sent;uri: service playing;uri: control Seek(...) landed on the service's seekDone (its reply acknowledged first: yes),ContentTime(54901)andContentTime(130201);ls2uri: released.This run meets rule (b): the override boot line, a picture placed from a 2.39:1 source and "full width with black bars" in the tester's
words, sound, and controls. Pause and resume rest on the tester's words alone: the paste has no pause line, and the backend logs none for
the service's
pausedevent (onlyplayinglogsuri: service playing). The paste has nouri: product binding=Unbound ... major=10 evidence=noneline before the override line, which the earlier Dolby Vision paste had, so no line of this paste names the firmwaremajor; I attribute it to the C2 because it is the same tester's answer, in the thread, to a request about this set. I do not explain the
missing line: the composition code at
2d565dc9flogs that line at every composition, so the code does not account for its absence, andthe tester names no build.
debug build of main at
68527cb2, which carries URI: guard reordered audio tracks and recognize silent pause clocks #1314; it pastes no lines and names no build): "I can confirm that everything worked:picture size/aspect, spinner clears, remaining time counts down, pause/ resume and seek also working." The second, on 2026-11-12, a
16:9 Dolby Vision MKV with one audio track and no subtitles: "also successful", "Audio plays, pause, resume and seek works"; its paste
has the override line,
uri: exported window placed src=3840x2160 rv=1and seeks atContentTime(31724)andContentTime(87765),after
uri: product binding=Unbound mode=2 handle=false ptype=10 initialized=false major=10 evidence=none(the line from before this entry).(c) The drive probe, on an older build with the earlier grader (its armed line carries no
fw=and its summary noresume_from=token, so the firmware it ran on rests on the tester's statement above), printedload=ok playing=yes ... currentTime_advanced=yes ... window=exported ... shape=named end=script pause=unconfirmed ... resume=sent seek=hit seek_delta=-742 ... audio=ok ... pause_basis=reported_positions pause_samples=0 ... paused_event=yes.Its lines:
drive pause pos=2410,ev=pausedat t=4701, nocurrentTimeuntil afterdrive resume pos=2410, thenev=currentTime value=2729;drive seek target=24937,ev=seekDone, firstcurrentTimeafter it 24195;drive selectTrack type=audio index=1,ev=trackSelected type=audio index=1. The tester's report on that run also said thevideo "shows ‘connecting…’ and the buffering icon all the time" and the remaining time "only shows -0:00"; the first product run
(2026-11-11) reports the spinner clearing and the remaining time counting down.
Extra datapoint, not part of the rule: the tester also played a file with a DTS audio track (direct play; the C2 uses
dts_restore_plus), and Diagnostics readAudio dca -> unknown. The Diagnostics codec row's third stage is what we declared toStarfish, and it reads
unknownfor a play on the URI backend (feed_attemptinrust-modules/src/app/diagnostics.rson main today;the report names no build), which is expected on a URI play.
Amendment (1) is used
Rule (c) wants the probe to print
pause=froze. This probe printedpause=unconfirmed: withpause_samples=0the grader had noposition to compare, because the service sends none while paused. Amendment (1), added by #1331 and unused by the 5.6.2 row, lets
the current grader's verdict on the run's recorded numbers, replayed in a unit test, stand in for the printed
pause=froze; the rownames the test and says the run itself printed
pause=unconfirmed. The test isuri_drive_webos_25_c2_run_replays_to_pause_froze_from_the_paused_event_and_resume(rust-modules/play-uri/src/uriprobe.rs): a pauseat 2410, a
pausedevent inside the dwell, no samples, 2729 as the first position after the resume. It passes against the currentgrader (
pause=frozeonpause_basis=paused_event_and_resume,resume_from=2729), and it fails when the grader's 1000 ms bound isloosened (I tried 1100: it failed at the resume of 3411). It also pins that resumes of 3411 and 1409, one millisecond outside the
bound, confirm nothing. The verdict is the test's, not a printed one, and the row says so. This older summary prints no
resume_from=token, so rule (c)'s resume comparison is read from the log: 2729 is 319 ms past the paused 2410. Amendment (2) is notused: no control failed.
Major 10 covers every 10.x release; major 9 is not admitted
An entry is a firmware major, so this admits every 10.x release on one set's evidence (10.3.1, 33.31.68); no other 10.x minor has a
run. The 9.2.4 image is in the same row and shows the same mechanism, but there is no run on a 9.x set and major 8 is not admitted, so
the bracketed exception does not apply: major 9 stays Standard.
docs/webos10-lab-report.mdrecords a 10.x set booked as webOS 24, sothe docs and this PR key on "firmware major 10", and name the tester's set as an LG C2 reported as webOS 25.
What stays untested
firmware's, a report, not a product run).
trackSelectedis not that).evidence=table) on a 10.x set: the two product runs that pasted a log used the override (evidence=override), and the first pasted none.Changes
rust-modules/play-uri/src/backend.rs:EXPORTED_STRATA = &[5, 10], the 10 entry commented like the 5 entry (its Results row, thethree parts, amendment (1) and the replay test's name; its (b) clause names the 2026-11-14 run); the table's doc comment says it admits
majors 5 and 10.
rust-modules/play-uri/src/uriprobe.rs: the replay test above (a test only; the grader is unchanged).rust-modules/src/app/adapters/backends.rs: the composition test pins majors 5 and 10 toExported { canvas: EXPORTED_CANVAS }on
VP_EXPORTEDand every other major 0..=30 toUnbound(red first: it failed withmajor 10 left: Unbound right: Exportedagainst
&[5]), both admitted majors bind nothing onVP_ACBandVP_NONE; the boot-line test pinsmajor=10 evidence=tablebeside
major=5.docs/uri-mode.md: thewebOS 9.2.4 / 10.3.1 (33.31.68)Results row (replacing "no major 10 entry"; rule (b) rests on the2026-11-14 run, the two earlier product runs are supporting runs; the 9.2.4 image fact and "major 9 is not admitted" stay), the admission paragraph (majors 5 and 10; the amendment (1) note says the 10.x row uses it), the
line that said the table admits major 5 and the override paragraph's
evidence=tableexample.docs/playback-settings.md: whichmajors reach the TV's pipeline. The "webOS 5+ tester run" section is untouched.
Not touched:
media/src/route/*,uri_preflight.rs, any other Results row.run_uri_boot_tests.rsneeded no change (its prosedescribes a host with no firmware major, still true).
Main merged in: I merged
origin/main(e6200fece) into the branch as a merge commit (7fbae731a). One conflict, inrust-modules/src/app/adapters/backends.rs: ACB: create the URI engine's handle at the first Experimental offer, not at boot #1396 (the URI engine's ACB handle on demand) dropped the plane-owner parameter fromuri_product_bindingand the booted owner from the composition tests. I kept ACB: create the URI engine's handle at the first Experimental offer, not at boot #1396's signature, boot line (handle=deferred ptype=0onACB) and tests, and wrote this branch's major-10 assertions against them (majors 5 and 10 bind
Exported, every other major 0..=30 isUnbound, both admitted majors bind nothing onVP_ACBandVP_NONE, the boot-line test pinsmajor=5andmajor=10 evidence=table).No behaviour changed.
Verification
I used no television; the device evidence above is the tester's. Host gates on the committed tree:
make test-crate C=app T=backendsagainst&[5]with the tests edited:test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 1365 filtered out; finished in 0.00s(major 10 left: Unbound right: Exported { canvas: (1920, 1080) }, and the boot-line test onmajor=10). The replay test is a replay, not a behaviour change, so it passes before any change:test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 240 filtered out; finished in 0.00s; with the grader's bound loosened to 1100 it fails (resume at 3411).320a3b09e),git status --shortempty before and after:make test-crate C=plx_play_uri:test result: ok. 247 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.13s(includesthe replay test and ACB: create the URI engine's handle at the first Experimental offer, not at boot #1396's seven
backend::testsfor the on-demand handle)make test-crate C=app T=backends:test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 1374 filtered out; finished in 0.00s(thisbranch's
the_exported_window_is_composed_only_for_a_major_the_table_listsandthe_product_binding_boot_line_names_the_major_and_its_evidenceand ACB: create the URI engine's handle at the first Experimental offer, not at boot #1396's
an_acb_boot_creates_only_feeds_handle_and_records_it,a_normal_boot_composes_the_uri_product_binding_acb_before_the_uri_handle_existsandthe_uri_product_binding_is_unbound_without_a_window_path)make test-crate C=plx_platform T=tv::plane:test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 395 filtered out; finished in 0.01s;make test-crate C=plx_media T=an_offer_:test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 2238 filtered out; finished in 0.01smake test-hostsim T=uri_boot:test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 1562 filtered out; finished in 0.39s(thebranch's 25 and ACB: create the URI engine's handle at the first Experimental offer, not at boot #1396's four)
make check-nodef:Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.93s(a cargo check; no test line)bash ci/check-deps.sh:check-deps: all gates greenpython3 ci/check-module-layers.py:check-module-layers: greenCI runs the full suite.
Part of the webOS 5+ URI work tracked in #1064; does not close it.
🤖 Generated with Claude Code