Lane-sub8x4 r3 report -- both 1:4/64-corner refusals narrowed behind a 33-frame film witness, tile arm restored, intra14 sibling gate un-ignored and its frame-count assert corrected
Browse files at this commit42fc07fc564008dc90a9b84cff2a468b4cde3a26Parent: ddc5714- docs
- lane-sub8x4 r3 report -- both 1:4/64-corner refusals narrowed behind a 33-frame film witness, tile arm restored, intra14 sibling gate un-ignored and its frame-count assert corrected
1 changed file +104 -0
- lanes/sub8x4-r3.report.md +104 -0
lanes/sub8x4-r3.report.mdadded+104 -0
| @@ -0,0 +1,104 @@ | ||
| 1 | +# lane-sub8x4 r3 report (branch `lane-sub8x4`, tip `f38f963`) | |
| 2 | + | |
| 3 | +Merged `main` @ `9cca16e` (clean auto-merge, **zero conflicts** -- no hand-resolved | |
| 4 | +function to re-read), then two commits. | |
| 5 | + | |
| 6 | +## r2 suite line (the unit that was still running at the start of this round) | |
| 7 | + | |
| 8 | +`test result: FAILED. 419 passed; 3 failed; 38 ignored; 0 measured; 0 filtered out; finished in 674.52s` | |
| 9 | + | |
| 10 | +The 3: `a_frame_edge_straddling_band_decodes_pixel_exact` (main's `1d2259c` was missing | |
| 11 | +from the lane -- fixed by the merge, see below) plus the two pre-existing zero-COUNTER | |
| 12 | +recipe defects this branch already carried (`..._16x16_level_1to4_partitions...` | |
| 13 | +stream.rs:11002, `real_aomenc_1to4_streams_..._rect_vartx_leaves_fire` stream.rs:8884). | |
| 14 | +Neither of those two is a pixel mismatch and neither moved this round. | |
| 15 | + | |
| 16 | +## STEP 1 -- `13cd475`: the `--tile-columns=1` arm is back, and r2's premise was right | |
| 17 | + | |
| 18 | +r2 excluded the arm with a measurement (desync at decode-order frame 4, identical with | |
| 19 | +`--min-partition-size=16 --max-partition-size=16`, i.e. a stream with no sub-8x8 block at | |
| 20 | +all) and named the suspect: main's `1d2259c`, "the saved motion field kept only the LAST | |
| 21 | +tile's columns -- `av1_copy_frame_mvs` read the mi grid through the per-tile reach clamp". | |
| 22 | +Confirmed: with the merge the arm is pixel-exact and the gate now carries the neighbour-map | |
| 23 | +tile arm COMMON asks every lane for (13 arms). | |
| 24 | + | |
| 25 | +EVIDENCE: crates/ec-av1/src/stream.rs:30038-30044 | `cargo test -p ec-av1 --lib -- sub8 straddling obmc mv_stack 1to4 refusal_inventory gate_coverage` | `34 passed; 2 failed; 5 ignored` in 141.28s -- the 2 are the same two recipe defects above; `a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact` and `a_frame_edge_straddling_band_decodes_pixel_exact` both green | |
| 26 | + | |
| 27 | +## STEP 2 -- film probes (release probe, each under `systemd-run --scope MemoryMax=6G`) | |
| 28 | + | |
| 29 | +**The r1/r2 "no witness exists" dead-end EXPIRED**, exactly as this lane's r2 predicted: | |
| 30 | +every firing frame also carried a sub-8x8 intra leaf, which refused until r2 lifted it. | |
| 31 | + | |
| 32 | +| cut | frames / wall | `intra16x4_in_inter` 16x4/4x16/chroma | `rect64_corner_tu` 64x32/32x64 | | |
| 33 | +|---|---|---|---| | |
| 34 | +| head of the 10-bit 3840x1608 stream (2 s) | **OK: 48 frames, no refusal** | 31 / 17 / 23 | 130 / 22 | | |
| 35 | +| same stream @ +300 s | REFUSED: a Golomb tail longer than this decoder reads | 175 / 1350 / 760 | 270 / 90 | | |
| 36 | +| 1080p 10-bit 128-SB cut @ 900 | REFUSED: an OBMC neighbour whose switchable interp filter was never recorded | 1 / 4 / 2 | 0 / 0 | | |
| 37 | +| same @ 5400 | REFUSED: same OBMC string | 15 / 49 / 35 | 0 / 0 | | |
| 38 | +| same @ 6300 | REFUSED: same OBMC string | 1 / 1 / 0 | 0 / 0 | | |
| 39 | +| same @ 8100 | REFUSED: an intra-coded 16x4/4x16 strip **on the inter block path** (decode.rs:7390 -- a DIFFERENT site from the one lifted here) | 0 / 0 / 0 | 1 / 0 | | |
| 40 | + | |
| 41 | +Pixel compare of the only cut that finishes (`EC_PROBE_OUT16` vs | |
| 42 | +`ffmpeg -pix_fmt yuv420p10le -f rawvideo`, `diff16.py`, 889159680 B each side): | |
| 43 | +**decode-order frames 0..35 are byte-identical**; frame 36 is the first differing one | |
| 44 | +(1992768 of 18524160 bytes) and 36..47 all differ -- one wall, propagating. | |
| 45 | + | |
| 46 | +EVIDENCE: ~/.cache/sub8x4-tmp/{o,r}.raw | release decode_probe + ffmpeg on the 2 s head cut, diff16.py 3840x1608 | frames 0-35 differ in 0 bytes, frame 36 in 1992768 | |
| 47 | + | |
| 48 | +## STEP 3 -- `f38f963`: both refusals narrowed, one film gate, one sibling fixed | |
| 49 | + | |
| 50 | +* `EC_RECT64_SPLIT` removed (decode.rs:6890-6903): the un-split TX_64X32/TX_32X64 corner | |
| 51 | + unit of a split intra strip is now the default path. | |
| 52 | +* `EC_INTRA16X4_DECODE` removed (decode.rs:21886-21903): the intra 16x4/4x16 strip inside | |
| 53 | + an inter 16x16-level 1:4 partition decodes by default when it has a chroma-pair record. | |
| 54 | +* Fixture `crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu` (`git add -f`, in | |
| 55 | + `git ls-files`), 23472 bytes, sha256 | |
| 56 | + `c9e721088766163b9dbeb9fa8dd8b257ff0ec7f9157fc350de4d3c33cd9ec4e4` -- the first 50 | |
| 57 | + frame-carrying OBUs of the 2 s head cut. Cut TWICE from independent | |
| 58 | + `ffmpeg -ss 0 -t 2 ... -c:v copy -f obu` runs: both segments hashed | |
| 59 | + `96940689a8c6...` and both truncations hashed `c9e7210887...`. | |
| 60 | +* Gate `a_10bit_film_frames_with_intra_16x4_strips_and_rect64_corner_tus_decode_pixel_exact` | |
| 61 | + (stream.rs, after the intra14 gate): 33 decode-order frames, all three planes, hard | |
| 62 | + asserts on all five counters AND on ffmpeg's own frame count (no vacuous compare). | |
| 63 | +* Why the fixture is 50 OBUs and not the whole 2 s segment is stated in its doc comment: | |
| 64 | + the full segment diverges at frame 36, and the prefix is the exact one, not a | |
| 65 | + truncation chosen to hide that. | |
| 66 | +* **Neither refusal string leaves `refusal_inventory`** -- both are NARROWED. "a split | |
| 67 | + intra strip whose transform unit is {tx_w}x{tx_h}" still stands for every shape other | |
| 68 | + than 64x32/32x64; the 16x4/4x16 one still stands for a strip with no chroma-pair record | |
| 69 | + (and decode.rs:7390 is a separate string, untouched). `refusal_inventory` and all 12 | |
| 70 | + `gate_coverage` tests green with no edit. | |
| 71 | + | |
| 72 | +EVIDENCE: crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu | `cargo test -p ec-av1 --lib -- a_10bit_film_frames_with_intra_16x4 refusal_inventory gate_coverage` | `13 passed; 0 failed` in 62.64s, gate printed `33 frames pixel-exact, intra16x4_in_inter 16x4=31 4x16=17 chroma_ref=23, rect64_corner_tu 64x32=90 32x64=5` | |
| 73 | + | |
| 74 | +### Sibling sweep (COMMON's SIBLING GATES rule) -- found and fixed one | |
| 75 | + | |
| 76 | +`a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact` was `#[ignore]`d | |
| 77 | +with the note "un-ignore when the 64x32/32x64 luma coefficient tables land". They landed | |
| 78 | +here, so it is un-ignored. Running it for the FIRST time (it had never executed) showed | |
| 79 | +its `frames.len() == 2` assert was an untested assumption: a raw | |
| 80 | +`ffmpeg -i <fixture> -pix_fmt yuv420p10le -f rawvideo` writes exactly 18524160 bytes = | |
| 81 | +ONE 3840x1608 10-bit frame, so the second frame OBU is a no-show. Corrected to 1, plus an | |
| 82 | +ffmpeg-frame-count equality assert so the compare cannot silently go vacuous. | |
| 83 | + | |
| 84 | +EVIDENCE: ~/.cache/sub8x4-tmp/{o,r}.raw on the intra14 fixture | release decode_probe + raw ffmpeg decode, diff16.py | 1 frame each side, `0:0` (zero differing bytes); gate green, `480 intra 1:4 strips in an inter frame, the shown frame pixel-exact` | |
| 85 | + | |
| 86 | +## STEP 4 -- full suite | |
| 87 | + | |
| 88 | +Unit `sub8x4-suite-r3-1788364529.service`, log `$HOME/.cache/sub8x4-suite-r3.log` | |
| 89 | +(private path per COMMON). Result line quoted in the reply. | |
| 90 | + | |
| 91 | +## Open residue | |
| 92 | + | |
| 93 | +* `fix-now (next round)` -- the head cut's wall at decode-order **frame 36**: 33 frames | |
| 94 | + are pinned and exact, frames 36..47 differ. No refusal fires, so this is a silent | |
| 95 | + reconstruction/entropy defect and the fixture at N=52/N=56 (still exact, 33/35 frames) | |
| 96 | + brackets it: N=58 (37 frames) is the smallest truncation that includes it. | |
| 97 | +* `deferred(a lane that owns the OBMC interp-filter record)` -- three of the four 1080p | |
| 98 | + 128-SB cuts now stop at "an OBMC neighbour whose switchable interp filter was never | |
| 99 | + recorded", which is not this lane's shape. | |
| 100 | +* `deferred(the 16x16-level 1:4 INTER partition itself)` -- decode.rs:7390, the OTHER | |
| 101 | + intra-16x4 refusal, on the inter block path; it is what the 8100 cut stops at and it is | |
| 102 | + refused before the partition this round unblocked. | |
| 103 | +* `accepted` -- the two zero-COUNTER 1:4 recipe defects (stream.rs:8884, :11002) are pure | |
| 104 | + gate-recipe defects carried in from before this lane and did not move this round. |