forge
Explore
Log in

Don't you dare go Hollow

R9 handoff -- the 128-root AB arms land, gate red on a pre-existing 64x128 VERT divergence at (320,0)

Browse files at this commit

71e7de008ea7b775757f929e69f7fb75f4fb767aAhmet Kaan GümüşParent: 9fbbf1a
  • docs
    • r9 handoff -- the 128-root AB arms land, gate red on a pre-existing 64x128 VERT divergence at (320,0)
Show full message
docs(sb128c): r9 handoff -- the 128-root AB arms land, gate red on a pre-existing 64x128 VERT divergence at (320,0)
lanes/sb128c-r9.handoff.mdadded+50 -0
@@ -0,0 +1,50 @@
1+# lane-sb128c r9 -> r10 handoff
2+
3+Tip `d00a97b` (branch `lane-sb128c`). The four 128-root AB shapes are
4+IMPLEMENTED on both tile paths and the refusal is lifted; the new gate
5+`a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact` is RED
6+for a reason that is NOT the AB code.
7+
8+## The blocker, bisected (do not re-derive)
9+
10+- Stream `$HOME/.cache/sb128c-r9/ab45.obu` (512x512 cq45 8-bit key, recipe in
11+ `$HOME/.cache/sb128c-r9/mk.sh`). Frame 0 differs from the oracle.
12+- `EC_AV1_PREFILT_DUMP` on BOTH decoders: first differing sample is
13+ **byte 321 = (x=320, y=0)**, i.e. the very FIRST sample of the RIGHT 64x128
14+ half of the third 128 root, which is `PARTITION_VERT` (root values of frame
15+ 0: 1,1,2,5,1,1,3,3,0,0,3,3,0,0,3,3). Post-filter the diff bleeds left to
16+ x=317, which is a deblock artefact, not the cause.
17+- 326839 of 393216 bytes differ => entropy desync from that block on, not a
18+ reconstruction rounding defect.
19+- CONTROL: the same stream encoded with `--enable-ab-partitions=0`
20+ (`$HOME/.cache/sb128c-r9/noab.obu`, `mknoab.sh`) diverges at the SAME place.
21+ The defect is r8's `decode_block_128rect` / the 128-root VERT arm, reached
22+ only now that the AB refusal no longer short-circuits the compare (class
23+ `refusal-hides-a-defect`).
24+- Frame 0 of every failing arm contains ZERO AB partitions -- the first AB in
25+ `ab18.obu` is the 38th 128 root (frame 2).
26+
27+## Where to look first
28+
29+The right 64x128 half at (mi_row 0, mi_col 80). Suspects, cheapest first:
30+1. `decode_block_128rect`'s mode-info read for a block whose LEFT neighbour is
31+ the other half of the same root (`read_intra_mode_rect` ctx / neighbour
32+ record of the left half at 64-px granularity).
33+2. The left half's neighbour recording: r8 stamps the lf/skip grids with the
34+ resolved unit size, so a 64x128 block records 2 units of 64 -- check
35+ `record_mi_luma` / `fill_skip_grid` cover the full 64x128 footprint.
36+3. A cross-decoder msac RANGE ladder at that block's entry (never tell()).
37+
38+## Cheap repro
39+
40+ ~/.cache/sb128c-r9/cmp.sh ~/.cache/sb128c-r9/ab45.obu # post-filter
41+ EC_AV1_PREFILT_DUMP=... aomdec / decode_probe # pre-filter
42+
43+## Still owed
44+
45+- The full suite was never run this round (deadline). Expect 388 tests, 1
46+ failure (the new gate) until the above is fixed.
47+- `gate_coverage.rs` was NOT touched: the new gate passes
48+ `--enable-ab-partitions=1`, which other gates already do, so its
49+ `NEVER_EXERCISED` lists are unaffected -- CONFIRM by running
50+ `cargo test -p ec-av1 --lib gate_coverage`.