diff --git a/tools/qualcomm/README.md b/tools/qualcomm/README.md index 06fc78908..a77528534 100644 --- a/tools/qualcomm/README.md +++ b/tools/qualcomm/README.md @@ -52,7 +52,7 @@ The controlled descriptor-mode test reproduced corruption with `ZINK_DESCRIPTORS The packaged APK was installed and checked without agent environment overrides or tracing preloads in session `2026-10-24-59-steam`. The game page, gear menu and Properties page rendered correctly. The browser's actual process environment contained `ZINK_DESCRIPTORS=auto`; its maps contained the imported v891.7 HAL and private Zink. Chromium reported GPU compositing and rasterization enabled on Adreno 840. Evidence is under `build/research/qualcomm/adreno840`, including `descriptors-auto*`, `nogeneral*` (a failing control), and `packaged-*`. Adreno 740 requires retesting; the underlying lazy-descriptor failure has not been reduced to a standalone Mesa test. -`runtime.json` pins the downloaded bridge and WSI archives, the locally built private Gamescope binary and corresponding source archive, and every private Mesa runtime file. `fetch_runtime.py` checks these pins before Gradle stages them. Missing or mismatched build outputs are downloaded from the pinned `builds` archive, which DroidDeck-Components builds from this tree on ARM64 CI (`tools/qualcomm-runtime`, Arch Linux ARM) and publishes as a `qualcomm-runtime` release. Qualcomm's proprietary device libraries are loaded from the phone and are not included in these archives. The libhybris bridge and WSI archives are wallentx's releases, mirrored unchanged into the same Components release after their SHA-256 and size are checked; `mirrored_from` in `runtime.json` keeps the original URLs. `gamescope.patches` records the patch series the pinned Gamescope was built from, and `tools/tests/test_qualcomm_gamescope_sync.py` fails when a patch in `gamescope-patches` or `tools/gamescope/patches` changes without a rebuild. The bridge archive includes its licenses, source snapshot and patches. +`runtime.json` pins the downloaded bridge and WSI archives, the locally built private Gamescope binary and corresponding source archive, and every private Mesa runtime file. `fetch_runtime.py` checks these pins before Gradle stages them. Missing or mismatched build outputs are downloaded from the pinned `builds` archive, which DroidDeck-Components builds from this tree on ARM64 CI (`tools/qualcomm-runtime`, Arch Linux ARM) and publishes as a `qualcomm-runtime` release. Qualcomm's proprietary device libraries are loaded from the phone and are not included in these archives. The WSI archive is wallentx's release, mirrored unchanged into the same Components release after its SHA-256 and size are checked; `mirrored_from` in `runtime.json` keeps the original URL. The libhybris bridge is rebuilt on DroidDeck-Components (`build-hybris-runtime.yml`) with wallentx's builder at the same revision plus `hybris-patches`; `provenance.previous_build` keeps wallentx's original build. `gamescope.patches` records the patch series the pinned Gamescope was built from, and `tools/tests/test_qualcomm_gamescope_sync.py` fails when a patch in `gamescope-patches` or `tools/gamescope/patches` changes without a rebuild. The bridge archive includes its licenses, source snapshot and patches. The same lock pins a vendor-neutral X11 WSI layer and upstream Gamescope shader source. `build_shaders.py` applies `constant-yuv-samplers.patch` and builds six replacement SPIR-V modules with the configured NDK's `glslc`. It builds a small ARM64 glibc Vulkan layer using the NDK compiler without Android runtime linkage. The layer matches the six original Gamescope module fingerprints before substituting a shader; ordinary applications use the WSI/compatibility layers instead. Source archives, patches and licenses are packaged with the runtime. The patch can also be applied during a full Gamescope source build. diff --git a/tools/qualcomm/runtime.json b/tools/qualcomm/runtime.json index aa0666565..f097a0bc6 100644 --- a/tools/qualcomm/runtime.json +++ b/tools/qualcomm/runtime.json @@ -1,13 +1,20 @@ { - "url": "https://github.com/Droid-Deck/DroidDeck-Components/releases/download/qualcomm-runtime-r3-4b8c7f84-qa/hybris-runtime-4ed93fb9.tzst", - "sha256": "a4e1ab9581c83ee6feff95e0e527930977a6c14c0e72bd2c4abf777e8472d987", - "size": 5799930, + "url": "https://github.com/Droid-Deck/DroidDeck-Components/releases/download/hybris-runtime-4ed93fb9-dd06dd70c6-qa/runtime.tzst", + "sha256": "92170e76a0eabd6b18cb7b5734c8acde31f66b87b2990d882b0351c9bb42f6ae", + "size": 5800738, "provenance": { - "component_ci_run": "https://github.com/wallentx/DroidDeck/actions/runs/39360327540", - "note": "Candidate pin: publish this exact archive and verify its URL before updating release.json.", + "builder": "wallentx/DroidDeck tools/hybris", "producer_commit": "4ed93fb9ee6e2a0b24ff087196f2e93d247fd985", "upstream_source_commit": "bc8cb3586b79d208fd21b925fa0209b3e432e008", - "mirrored_from": "https://github.com/wallentx/DroidDeck/releases/download/hybris-4ed93fb9ee6e2a0b24ff087196f2e93d247fd985/runtime.tzst" + "added_patches": [ + "tools/qualcomm/hybris-patches/0012-android-loader-wrapped-queries.patch" + ], + "patch_commit": "06dd70c67e01ab8ed4916b8a430714d9a1e367d2", + "component_ci_run": "https://github.com/Droid-Deck/DroidDeck-Components/actions/runs/40252158527", + "previous_build": { + "url": "https://github.com/wallentx/DroidDeck/releases/download/hybris-4ed93fb9ee6e2a0b24ff087196f2e93d247fd985/runtime.tzst", + "component_ci_run": "https://github.com/wallentx/DroidDeck/actions/runs/39360327540" + } }, "gamescope": { "source_commit": "8f212644c46460549035971ab914421180f61a7c",