av1intrabc: merge-side follow-ups (merged-tree gates, probes, suite evidence)
Browse files at this commitb8ca5339433058dcf1becd99f9ecd3089dad3efdParent: 8a082231 changed file +94 -0
- lanes/av1intrabc.report.md +94 -0
lanes/av1intrabc.report.mdmodified+94 -0
| @@ -537,3 +537,97 @@ All 39 obus in `~/.cache/tmp-av1ibcreview/repro` decode without panic | |||
| 537 | ### Full suite | 537 | ### Full suite |
| 538 | 538 | ||
| 539 | `test result: ok. 599 passed; 0 failed; 60 ignored; 0 measured; 0 filtered out; finished in 9555.99s` — hub-supervised `--test-threads=1` on the committed tree (`86ba99f6`), exit 0. | 539 | `test result: ok. 599 passed; 0 failed; 60 ignored; 0 measured; 0 filtered out; finished in 9555.99s` — hub-supervised `--test-threads=1` on the committed tree (`86ba99f6`), exit 0. |
| 540 | + | ||
| 541 | +## 6. Merge-side follow-ups (merged into `main` as daf83f3a) | ||
| 542 | + | ||
| 543 | +Merged as **daf83f3a** (`Merge lane-av1-intrabc: rect-strip intrabc reconstruction | ||
| 544 | +(2:1 + skipped strips)`), parents ed12fe52 (main) + c07da1c0 (lane head). | ||
| 545 | +Create-list audit vs first parent: exactly ONE new path, `lanes/av1intrabc.report.md` | ||
| 546 | +(5 files changed, +1429/33). Conflict resolution followed av1rect14 §7's riders: | ||
| 547 | +at the three 2:1 call sites this lane's `decode_intrabc_rect` won with the r5 | ||
| 548 | +skip-stride fix already in (rider 1 satisfied), and `decode_intrabc_owned_rect` | ||
| 549 | +keeps only the fourth site it uniquely covers (`decode_block_rect64`, rider 2). | ||
| 550 | +Fixture copy: not needed — `diff` of gitignored `fixtures/bitstreams/` between | ||
| 551 | +main and the lane worktree is empty. | ||
| 552 | + | ||
| 553 | +### Merged-tree gates (private CARGO_TARGET_DIR / TMPDIR for this close, on `$HOME`) | ||
| 554 | + | ||
| 555 | +- `cargo check -p ec-av1 --all-targets`: exit 0, **0 warnings**. | ||
| 556 | +- `a_coded_rect_intrabc_block_reconstructs_in_both_orientations` (5 arms, 2 of | ||
| 557 | + them the r5 skipped-strip arms), `EC_AV1_RECON_THREADS=1` AND `=4`, both: | ||
| 558 | + `1 passed; 0 failed; 663 filtered out` with all seven arm lines — horz-coded | ||
| 559 | + `horz=1 vert=0`, vert-coded `horz=0 vert=1`, txmode-select `horz=1 vert=0`, | ||
| 560 | + vert-skip pal0/pal1 `skipped rect intrabc horz=11 vert=2` / `horz=1 vert=2` | ||
| 561 | + at 1 AND 4 recon threads. | ||
| 562 | +- rect14's five gates on the merged tree: `5 passed; 0 failed; 659 filtered | ||
| 563 | + out`; the in-gate `a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips` | ||
| 564 | + totals: 187 rect-strip use_intrabc reads, 5 intrabc blocks over 5 arms, 0 | ||
| 565 | + refused, 8 frames compared, 3 out of scope (0 mismatched), 1 rect-strip block. | ||
| 566 | +- Refusal suite `-- refusal`: `21 passed; 0 failed` (110.21s). | ||
| 567 | + | ||
| 568 | +### Merged-tree probes (release `decode_probe` from daf83f3a, private target) | ||
| 569 | + | ||
| 570 | +All `cmp` vs fresh ffmpeg oracles; scratch under `$HOME/.cache`: | ||
| 571 | + | ||
| 572 | +| probe | verdict | | ||
| 573 | +|---|---| | ||
| 574 | +| A 256x192 cq45 pal0 txs1 (var-tx arm, §4b/§4c recipe) | EXACT 73728 | | ||
| 575 | +| B 512x384 cq45 pal1 txs0 (coded 8x16, DV-regression stream) | EXACT 294912 | | ||
| 576 | +| ibc640 (av1rect14 §2 recipe) | EXACT 460800, `rect4_16_pair: intrabc=1` | | ||
| 577 | +| cq50 arm (256x192 cq50 pal0 txs0) | EXACT 73728 | | ||
| 578 | +| loss320 (lossless sb128 1to4 min4) | luma rows 0-127 EXACT, first diff byte 41121 (the §2 report's 41120, 0-indexed), `rect4_16_pair: lossless_chroma=6` | | ||
| 579 | +| mono 60f (`av1-monochrome.ivf` remux, OUT16 low byte) | EXACT vs ffmpeg gray | | ||
| 580 | +| reelb_* 8 committed 10-bit fixtures | 8/8 EXACT vs yuv420p10le | | ||
| 581 | +| av1-profile1-444 | REFUSED by name (`a chroma format other than 4:2:0`), 0 bytes, 0 frames dispatched | | ||
| 582 | +| aomenc `--enable-qm=1` / `=0` | qm=1 REFUSED by name (`a frame using quantisation matrices (using_qmatrix=1)`), 0 bytes; qm=0 control EXACT | | ||
| 583 | +| `--cdf-update-mode=0` 3-keyframe stream | 3/3 headers `disable_cdf=true`, byte-exact | | ||
| 584 | + | ||
| 585 | +### Full suite on the merged tree | ||
| 586 | + | ||
| 587 | +- Attempt 1 (hub-supervised `--test-threads=1`, `EC_AV1_REQUIRE_AOMENC=1`): | ||
| 588 | + deadlocked after 2h47m in | ||
| 589 | + `a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact` | ||
| 590 | + — the KNOWN pipe-drain infra deadlock (`write_all` of the y4m before | ||
| 591 | + `wait_with_output` while aomenc's stdout pipe fills; aomenc sat 29 min in | ||
| 592 | + `anon_pipe_write` with the test blocked in `write_all`; same class as the | ||
| 593 | + feeder-thread fix already at one stream.rs site). Killed ONLY the stuck | ||
| 594 | + aomenc child; the test failed on its own EPIPE and the suite drained: | ||
| 595 | + `test result: FAILED. 603 passed; 1 failed; 60 ignored; 0 measured; 0 filtered out; finished in 11764.21s` | ||
| 596 | + — the 1 failed is that killed-child artifact, nothing else. | ||
| 597 | +- The same test standalone on the same bytes, TWICE, both green: | ||
| 598 | + `test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 663 filtered out; finished in 84.51s` | ||
| 599 | + and `... finished in 84.46s`. The gate's own in-suite summary had already | ||
| 600 | + printed its decode verdict before the broken pipe: 3 pixel-exact attempts | ||
| 601 | + carrying an intra 1:4 strip, per-arm attempts 16x4/4x16/chroma-reference | ||
| 602 | + [3, 3, 3], 0 mismatched, 0 named refusals — the decode under test was exact; | ||
| 603 | + only the spawn helper's pipe drained (panic is the test's own | ||
| 604 | + `expect("writing y4m to aomenc")` at stream.rs:15865). | ||
| 605 | +- Batch verdict: **604/0/60 effective** on the committed bytes — 603 in-suite + | ||
| 606 | + the killed-child test green twice standalone; 603 + 1 + 60 = 664, matching | ||
| 607 | + the filtered-count arithmetic (664 total = main-after-rect14's 603-test total | ||
| 608 | + + this lane's one new gate function, | ||
| 609 | + `a_coded_rect_intrabc_block_reconstructs_in_both_orientations`; the r5 arms | ||
| 610 | + extended that same function). | ||
| 611 | + | ||
| 612 | +### Carried deferrals (unchanged by the merge) | ||
| 613 | + | ||
| 614 | +- **128-level rect intrabc refusal** — `decode_block_128rect`'s named refusal | ||
| 615 | + stays; `deferred(a reaching sb128 screen stream that codes a 128-level | ||
| 616 | + HORZ/VERT/1:4 intrabc strip)` (also carried in av1rect14 §9). | ||
| 617 | +- **D.obu dispatches 0 frames** — reviewer-corpus stream decodes nothing on | ||
| 618 | + both sides (the reviewer's own reference dumps are 0 B too); unchanged, not | ||
| 619 | + this lane's regression. | ||
| 620 | +- **aomenc pipe-drain test-infra deadlock** — SEEN LIVE during this close | ||
| 621 | + (attempt 1, above); ~150 `write_all`-then-`wait_with_output` spawn sites | ||
| 622 | + remain, one site already has the feeder-thread fix. | ||
| 623 | + `deferred(concurrent stdin/stdout drain for aomenc spawns -- unblocked by a | ||
| 624 | + charter that may edit the spawn helper)`. | ||
| 625 | +- **Sibling lanes in flight, merge later**: lane-av1-loss64 (in review) and | ||
| 626 | + lane-av1-444 — not gated here; they merge on their own closes. | ||
| 627 | + | ||
| 628 | +### Cleanup (post-push, same batch) | ||
| 629 | + | ||
| 630 | +`git worktree remove ../edith_codecs-av1ibc`, `git branch -d lane-av1-intrabc`, | ||
| 631 | +sweep `$HOME/.cache/cargo-target-av1ibc*`, `$HOME/.cache/tmp-av1ibc*`, | ||
| 632 | +`$HOME/tmp-av1ibc*` (lane, r5 and this close's private dirs; peer-owned | ||
| 633 | +`av1l64*`/`av1444*` untouched). | ||