From ee0dcef294c52663aa983ae33fba6b7866655f99 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Thu, 3 Dec 2026 13:04:05 -0500 Subject: [PATCH] Record the first verified producer fence on Thor --- docs/development/adreno-740-frame-acquire.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/development/adreno-740-frame-acquire.md b/docs/development/adreno-740-frame-acquire.md index bbf9b1b1ca..cc71902e26 100644 --- a/docs/development/adreno-740-frame-acquire.md +++ b/docs/development/adreno-740-frame-acquire.md @@ -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.