Record the first verified producer fence on Thor

This commit is contained in:
Kurt Himebauch committed 2026-12-03 13:04:05 -05:00
1 parent b3befba581
commit ee0dcef294
1 file changed
+5 -1
+5 -1
View File
@@ -1,6 +1,6 @@
# Adreno 740 frame loss when acquire fences are unavailable
**Investigation, not a fix.** Evidence through the December 3, 2026, diagnostic run. The safety fallback stays in place. We have not accepted a producer fence on the Thor or verified an FPS benefit.
**Investigation, not a fix.** Evidence through the December 3, 2026, signed Thor smoke test. The Thor accepted a verified producer fence; the safety fallback stays in place, and no FPS benefit has been verified.
## Reproduction and controls
@@ -78,6 +78,10 @@ One design to evaluate is recording the trusted app-owned worker's self-reported
Android C and Kotlin test builds, the receipt payload cases, and the live Linux pidfd/proc fixture passed. The ordinary service bytecode has no receipt method. The hosted artifact and Thor validation are pending. This does not establish why the earlier pre-exec read returned zero or show any fence or FPS change.
**Signed Thor smoke test: a producer fence reached SurfaceControl.** The full [host run, attempt 2](https://github.com/Droid-Deck/DroidDeck/actions/runs/47165208888/attempts/2) passed at `2feb35aa5ecee615c642bcd2e6dbb9e29c8291c1`; the locally signed [artifact](https://github.com/Droid-Deck/DroidDeck/actions/runs/47165208888/artifacts/15756657790) matched the official certificate. Attempt 1 compiled at the same head but failed an unchanged dircache test (expected 4, saw 8). One same-head rerun passed; that does not explain the failure.
On the Thor, identity advanced `ENABLED → QUALIFIED → NATIVE_STAT_OPEN_HIDDEN → RESERVED`. The failure was in opening the pre-exec stat record in the not-visible class (ENOENT/ESRCH), not parsing it on this attempt. The live post-exec check matched start time, UID, pidfd and executable mapping, and the worker bound successfully. With the original game cap still in place, the host logged that SurfaceControl accepted a verified producer acquire fence. The following 10 s recorded **152 direct frames and 151 copied/overlay frames**. The earlier capped OFF control had zero direct admissions. These are path counters, not an uncapped FPS comparison. A matched benchmark is underway, and restoration is pending until it completes.
## Hypotheses and next test
1. The adjacent-build drop is consistent with the missing-fence guard routing a previously fast path to copy. Explicitly disabling native zero-copy reproduces the same rate, but does not establish why the copy wait is about 46 ms.