diff --git a/docs/development/adreno-740-frame-acquire.md b/docs/development/adreno-740-frame-acquire.md index cc71902e26..b01a65ea1b 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, signed Thor smoke test. The Thor accepted a verified producer fence; the safety fallback stays in place, and no FPS benefit has been verified. +**Experimental recovery on one Thor workload, not a shipping fix.** The December 3, 2026, matched test improved actual display presents from 21.08 to 37.42 FPS. The safety fallback stays in place. ## Reproduction and controls @@ -82,6 +82,22 @@ Android C and Kotlin test builds, the receipt payload cases, and the live Linux 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. +## Matched benchmark: measured recovery on Thor + +The same privately signed `2feb35a` host and matching Gamescope and Turnip artifacts were used for both conditions. The benchmark used the same test-owned Trails: Bright Family House save and camera, 120 FPS game target, VSync off, QAM limiter flag 0, and a 60 Hz display. Android process protection remained on. + +| Condition | Actual display presents (FrameTracker) | Present FPS | Frame intervals p50 / p95 | +| --- | ---: | ---: | ---: | +| Producer fence path OFF | 747 / 35.430 s | **21.08** | 49.92 / 66.58 ms | +| Producer fence path ON | 1,316 / 35.167 s | **37.42** | 16.65 / 49.93 ms | + +That is **+77.5% actual display FPS** in this comparison. The earlier published good build measured about 38.19 actual FPS in the matching scene, but the binaries were different. This is not evidence of exact full recovery. + +- **OFF:** Per 10 s, 421–426 source frames reached 213 compositor submits, all layer copies. Average copy waits were 45.20–45.39 ms. +- **ON:** Across three 10 s windows, source and direct counters both read 426, 425, and 426. Layer copies, full-frame copies, and copy-fence waits were all zero. SurfaceControl logged acceptance of a verified producer acquire fence. + +The ON compositor counters show frame availability, not 42.6 displayed FPS; the independent present sample measured 37.42 FPS. This result does not establish absence of panel tearing, behavior with overlays, rotation, HDR, or other titles, or that the prototype is safe to ship. Production synchronization still needs negotiated support and validated acquire and release lifecycles. QAM and app restoration were underway and not yet verified at this checkpoint. No public release was made. + ## 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.