lane-av1422warp: round 16 unblock incomplete -- found a stale-build hazard in the oracle tree
Browse files at this commit50341ea6cb9dcf30690539b31fd3c0d299e11e39Parent: 99801001 changed file +51 -1
- lanes/av1422warp.report.md +51 -1
lanes/av1422warp.report.mdmodified+51 -1
| @@ -392,6 +392,55 @@ tx_size lookup (the oracle's `get_tx_size_context` for that block is | |||
| 392 | printable and ours computes the same `above + left` form as everywhere | 392 | printable and ours computes the same `above + left` form as everywhere |
| 393 | else). | 393 | else). |
| 394 | 394 | ||
| 395 | +### Round 16 — the unblock was NOT completed, and a build hazard was found | ||
| 396 | + | ||
| 397 | +No code change; `aomdec` restored to its committed shape | ||
| 398 | +(`grep -cE 'MODECTX|bitpos'` = 0, 744 `name=mode` lines again, 4:2:0 | ||
| 399 | +control byte-exact). | ||
| 400 | + | ||
| 401 | +**What happened.** The instruction was to extend the KNOWN-FIRING | ||
| 402 | +`EC_ISTEP name=mode` print with `above_mi->mode` / `left_mi->mode` | ||
| 403 | +rather than add a sibling `getenv` rung. That edit was made, the string | ||
| 404 | +confirmed in the binary — and the rebuilt `aomdec` then emitted **zero** | ||
| 405 | +`name=mode` lines, i.e. the instrumented decode stopped producing the | ||
| 406 | +rungs entirely. Reverting the print and rebuilding restored 744 lines. | ||
| 407 | +**The oracle-side context is therefore still unmeasured**, and this lane | ||
| 408 | +does not report a value it did not read. | ||
| 409 | + | ||
| 410 | +**The build hazard, which is the durable finding here.** `ninja` in | ||
| 411 | +`~/.cache/aom-oracle/build` does **not** reliably rebuild after a source | ||
| 412 | +edit: repeatedly it reported only `[1/1] Updating version info if | ||
| 413 | +necessary.` and left the binary stale, with the binary's mtime older | ||
| 414 | +than the source's. A `touch` on the edited source is required before | ||
| 415 | +`ninja aomdec`, and the result must be confirmed by running the binary | ||
| 416 | +and checking a known-firing rung — not by `strings` alone. | ||
| 417 | + | ||
| 418 | +**This bears directly on round 15.** Round 15 concluded that a | ||
| 419 | +`MODECTX` rung "does not fire" because it was placed immediately above | ||
| 420 | +`mbmi->mode = read_intra_mode(...)` in the same function as a rung that | ||
| 421 | +fires 744 times. Given this build behaviour, that conclusion is unsafe: | ||
| 422 | +the rung may not have been compiled at the moment it was tested, or the | ||
| 423 | +binary may have been in the same partial state seen this round. Round | ||
| 424 | +15's own evidence (`strings` finding the format string in the binary) | ||
| 425 | +argues it was compiled, so the mystery is unresolved — but the | ||
| 426 | +conclusion "the oracle does not print it" should be treated as | ||
| 427 | +UNVERIFIED, not as a property of the decoder. | ||
| 428 | + | ||
| 429 | +**Standing state of the mode-context question.** Ours is measured: | ||
| 430 | +mi(64,24), `above_mode=0 left_mode=6 above_ctx=0 left_ctx=4`, `mode=1` | ||
| 431 | +against the oracle's `mode=6`. The oracle's `above_mi->mode` / | ||
| 432 | +`left_mi->mode` are still unknown, so **the band-match verdict is not | ||
| 433 | +answered** and the lane-rectx r5 override is neither confirmed nor ruled | ||
| 434 | +out. Main's step 4 (the CDF-drift question) is likewise untouched: if | ||
| 435 | +the bands turn out to MATCH the cells, the next thing to check is | ||
| 436 | +whether the `kf_y_mode` table state itself drifted at an earlier read, | ||
| 437 | +and the ladder is now trustworthy enough to answer that. | ||
| 438 | + | ||
| 439 | +**Unblock, restated with the build caveat.** `touch | ||
| 440 | +~/.cache/aom-oracle/src/av1/decoder/decodemv.c`, rebuild, then verify | ||
| 441 | +the binary still emits its 744 `name=mode` lines BEFORE reading any | ||
| 442 | +extended field. Then compare against mi(63,24) / mi(64,23) on our side. | ||
| 443 | + | ||
| 395 | ### Round 15 — the mode context: OUR side measured, the ORACLE side would not print | 444 | ### Round 15 — the mode context: OUR side measured, the ORACLE side would not print |
| 396 | 445 | ||
| 397 | Both prints reverted; `aomdec` rebuilt to its committed shape | 446 | Both prints reverted; `aomdec` rebuilt to its committed shape |
| @@ -407,7 +456,8 @@ MODECTXM mi=(64,24) above_mode=0 left_mode=6 above_ctx=0 left_ctx=4 | |||
| 407 | ``` | 456 | ``` |
| 408 | 457 | ||
| 409 | **The oracle side could not be measured, and this lane will not guess | 458 | **The oracle side could not be measured, and this lane will not guess |
| 410 | -past that.** A `MODECTX` rung placed immediately above | 459 | +past that — see round 16, which found the likely reason and leaves the |
| 460 | +conclusion UNVERIFIED.** A `MODECTX` rung placed immediately above | ||
| 411 | `mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, | 461 | `mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, |
| 412 | left_mi))` in `decodemv.c:936`, rebuilt, with its format string | 462 | left_mi))` in `decodemv.c:936`, rebuilt, with its format string |
| 413 | confirmed present in the binary and the env var set, emits nothing — | 463 | confirmed present in the binary and the env var set, emits nothing — |