From 0cde5ce56550d471e4a86aea898a58f78bc6e047 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sat, 5 Dec 2026 17:52:22 -0500 Subject: [PATCH] PROGRESS_LOG: branch brought up to main, Red Magic test build started --- docs/progress-log.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/progress-log.md b/docs/progress-log.md index 4411635702..8b46ac1e63 100644 --- a/docs/progress-log.md +++ b/docs/progress-log.md @@ -7,6 +7,29 @@ the timeline, then lessons and backlog. Companion to the README (what the app *d --- +## 2026-12-05 - `feat/neural-upscaler`: brought up to main, test build for the Red Magic (CI running) + +- **Why:** user 12-05 ~17:4x EST: "bring our npu upscaling branch up to main and install it". The branch was 56 + commits behind main. The phone's DroidDeck had been moved to the Preview build of main `423f600d` at 17:45 EST + through DroidDeck's own Updates screen, so the earlier test build (`97188d37`) was no longer installed. +- **Built:** backup ref `refs/backup/20261205/feat-neural-upscaler-before-main-sync` (= `18102ef5`); merge of main + `423f600d` = `898b6376`, no conflicts. Files changed on both sides: SessionService.kt, FrontEndSetup.kt, + SessionOverlay.kt, strings.xml, droiddeck-game-env, test_game_environment.py (234 tests OK locally, isolated + env). Main did not touch `tools/bionic-runtime/tool`, so the bionic patch script still applies. Test branch + `test/neural-upscaler-rm12` = `f80d581e` (merge + the debuggable commit, never merge). +- **CI:** Build APK 47579062115 (headSha `f80d581e`), Unit tests 47579064807 (headSha `898b6376`), both running. +- **Next:** sign the pubg variant with the release key (b241ea7d), stage in the phone's Download with sha256, + install over the Preview build (same signer, keeps data), check the bridges copy and the DroidDeck-Bionic tool + patch, then a short launch check. +- **Resume point:** if the session dies, check the two runs above; `bash /root/src/npu-rm/sign-stage.sh + f80d581e` (temp key dir must exist; delete it after signing). Rollback = `/sdcard/Download/DroidDeck-0.7.11-pubg-rollback.apk` + or the pulled Preview APK `/root/src/npu-rm/installed/now-1745.apk` (`adb install -r`). +- **Also 12-05:** frame-stall cause found in code (not fixed yet): in the default async NPU mode the layer's + recording thread waits on the CPU for the previous frame's NPU result (`fsr411_full_gpu.c` and `fsr412_lite.c`, + up to 200 ms), and that result needs the GPU to finish the previous frame first, so CPU and GPU take turns. + Planned fix: the next frame's command buffer waits on the GPU for a host-set event instead (switch to go back: + `DROIDDECK_UPSCALE_NPU_CPU_WAIT=1`). + ## 2026-12-04 - `feat/neural-upscaler`: Winlator-NeuralScale r5 ported, non-root parts only (CI running) - **Why:** upstream r5 (`71c140d9`) adds full FSR 4.1 on the NPU, a ghosting fix, S8/U8 Lite graphs, Snapdragon GSR 2