Commit Graph
2976 Commits
Author SHA1 Message Date
The412Banner ffe46fe53b upscale: D3D11 DLSS gets the game's images from DXVK
extract_ngx_dx11_res() passed a zeroed VkImageCreateInfo to IDXGIVkInteropSurface::GetVulkanImageInfo;
DXVK returns E_INVALIDARG unless sType is VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO (src/d3d11/
d3d11_texture.cpp, master 06ecdaa2), so no colour/output image was found and every D3D11
EvaluateFeature returned NVSDK_NGX_Result_Fail (DLSS sample with -d3d11 on the Red Magic 12 Pro,
after DROIDDECK_UPSCALE_SIGFIX=1 got it past NGX's signature check). Upstream r5 has the same code.
2026-12-05 01:17:31 -05:00
The412Banner 4626cb309d upscale: bridges default to Full FSR 4.1 on the NPU; README after r5
wl_seam_parse_backend_env() fell back to the removed FSR 4.0 NPU id when no backend is set; it
now names Full FSR 4.1 NPU, as fsr4_0_npu does. The bridge README no longer says D3D11 NGX reports
DLSS unavailable (r5 routes it through DXVK's interop) and lists the r5 engine names.
2026-12-05 00:22:02 -05:00
The412Banner 0750f2d0f5 upscale: refresh staged bridge DLLs at session start
ensure() returns at once when the data files and DLLs exist, so the refresh added in aabacc10 never
ran (Red Magic 12 Pro: no stamp written, old 09:15 DLLs kept). prepare() runs on the session-start
thread before the game copies the DLLs; it now calls stageBridges(), which returns at once when the
stamp matches the pack or local copy.
2026-12-04 21:00:06 -05:00
The412Banner aa4997b306 PROGRESS_LOG: Full FSR 4.1 D3D12 black root cause + fix 2026-12-04 20:44:09 -05:00
The412Banner 7aa54ab9c7 upscale: hide VK_EXT_descriptor_buffer from games so Full FSR 4.1 shows the picture
Root cause of the black Full FSR 4.1 frame in D3D12 games on Turnip: vkd3d-proton uses its own
descriptor buffers in the command buffers the upscaler records into. Measured on the Red Magic 12
Pro (Adreno 850) with the XeSS DX12 sample: Full black in 9/9 shots, and still black with the direct
output write off and with the exposure pass off; with VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_buffer
the picture is there (5/6 shots coloured, the sixth caught the triangle off screen, as with the other
engines), with the direct write on.

The layer now hides the extension from the game (vkd3d then uses its classic descriptors) and still
enables it for itself; DROIDDECK_UPSCALE_APP_DESCRIPTOR_BUFFER=1 shows it again. The Lite fallback
now triggers only when the game enabled descriptor buffers anyway (Turnip), not for every D3D12
frame. The FULL_DIRECT_OUT / FULL_AUTO_EXPOSURE test switches are removed.
2026-12-04 20:43:28 -05:00
The412Banner d32433d995 PROGRESS_LOG: Full FSR 4.1 D3D12 black hunt, test-switch build staged 2026-12-04 20:36:34 -05:00
The412Banner 85bfb69306 upscale: test switches for Full FSR 4.1's D3D12 black frame
DROIDDECK_UPSCALE_FULL_DIRECT_OUT=0 makes Full write to its own image and copy into the game's,
as it does for the Vulkan sample (where the picture is right); D3D12 frames are the only ones
that take the direct write (log "Tier 1.1 active ... fmt=97"). DROIDDECK_UPSCALE_FULL_AUTO_EXPOSURE=0
skips the pass-00 exposure pass. Both default to the current behaviour.
2026-12-04 20:12:24 -05:00
The412Banner 83de9e38b4 upscale: Full FSR 4.1 falls back to Lite only for D3D12 games on Turnip
Measured on the Red Magic 12 Pro (Adreno 850, Turnip) with the r5 build: Full FSR 4.1 writes a
black frame in the XeSS DX12 sample (0 coloured pixels in 9 of 9 screenshots, GPU and NPU paths)
but shows the picture in the XeSS Vulkan sample, like Lite, SGSR 2, FSR 3 and XeSS. Upstream's
binding-11 change does not fix it, so the opt-in guard from the r5 port was wrong. The check now
sits at dispatch and looks at the frame's API: D3D12 frames on Turnip use FSR 4.1.2 Lite (NPU or
GPU, as chosen); DROIDDECK_UPSCALE_FULL_ON_TURNIP=1 runs Full anyway.
2026-12-04 19:49:22 -05:00
The412Banner a23f402724 PROGRESS_LOG: r5 first device run, bridge staging bug + fix 2026-12-04 19:36:40 -05:00
The412Banner aabacc106d upscale: refresh staged bridge DLLs when the pack or local copy changes
Staging ran only when no DLLs were staged, so a newer add-on pack or local copy never reached
the games. ensure() now re-stages when DLLs are present (stageBridges returns at once when the
stamp matches) and downloads only when none are staged. The local-copy stamp is a hash of the
files' contents: CI builds every DLL with the same date and libxess.dll kept its size, so the
old size+date stamp matched (Red Magic 12 Pro, r5 test).
2026-12-04 19:35:57 -05:00
The412Banner 537b52585a PROGRESS_LOG: r5 build green, installed on RM12, bridge stamp bug 2026-12-04 19:24:48 -05:00
The412Banner 379198e4e6 PROGRESS_LOG: second CI fail (nvngx link) + correction 2026-12-04 19:05:46 -05:00
The412Banner 971b74b594 upscale: D3D11 NGX parameters use the shared capability table
The r5 merge kept DroidDeck's old D3D11 PopulateParameters line, which called the removed
"DLSS unavailable on D3D11" helper; upstream fills D3D11 like Vulkan and D3D12 now. nvngx.dll
failed to link. All six bridge DLLs build locally (mingw-w64 13.2) and match their exports.
Headers of the modified bridge files name 71c140d9.
2026-12-04 19:05:46 -05:00
The412Banner 9b21ea2e90 PROGRESS_LOG: r5 port CI fail (glibc header) + fix, rerun 47450693166 2026-12-04 18:57:15 -05:00
The412Banner 1a621bcffa upscale: drop the Android-only properties header from the layer
The glibc (PRoot) build has no sys/system_properties.h; the r5 SoC check that needed it is
replaced by DROIDDECK_UPSCALE_NPU. Also check the pacer heartbeat write's result (gcc
-Wunused-result). Both layer builds (APK clang, build-glibc.sh gcc) build without warnings.
2026-12-04 18:56:38 -05:00
The412Banner 01d7338610 PROGRESS_LOG: NeuralScale r5 port (non-root), CI 47450218949 2026-12-04 18:53:31 -05:00
The412Banner 74ece6c854 upscale: port Winlator-NeuralScale r5 (non-root parts)
Layer and bridges updated from Winlator-NeuralScale 71c140d9 (michaelisomer-cyber, GPL-3.0):
- full FSR 4.1 on the NPU (S8 graph, U8 fallback), compiled on the device per HTP arch
- ghosting fix: blank far depth when a game sends none, binding 11 bound with 62
- FSR 4.1.2 Lite S8/U8 zero-copy graphs
- Snapdragon GSR 2 on the GPU (new engine sgsr2_gpu)
- D3D11 DLSS through DXVK's interop (nvngx D3D11 entry points)

Left out on purpose: upstream's root-only performance/thermal manager, GPU clock floor and
bypass charging. Kept from DroidDeck: NPU detection by the app (DROIDDECK_UPSCALE_NPU, any HTP
generation incl. the phone's own QNN libraries) instead of upstream's SoC list, DD env names and
log tags, Intel XeSS 3 (runtime still fetched from a0ab6b0f, upstream dropped it in cb3ae04e).

FSR 4.0 on the NPU is gone upstream; the engine id becomes fsr4_1_full_npu and saved
fsr4_0_npu choices map to it. The full-FSR-4-on-Turnip guard is now opt-in
(DROIDDECK_UPSCALE_FULL_OFF_ON_TURNIP=1), since upstream's binding-11 fix targets that black frame.
Data files re-pinned to 71c140d9 (81 core + 8 NPU, sha256 checked).
2026-12-04 18:52:36 -05:00
The412Banner db5a03039e PROGRESS_LOG: NPU engines on the phone's own QNN runtime, Red Magic 12 Pro test 2026-12-04 09:52:57 -05:00
The412Banner 94754fea04 fix(upscale): groups() calls UpscaleComponent.npu() (this is the set inside buildSet) 2026-12-04 08:09:43 -05:00
The412Banner c18aa23ac2 feat(upscale): run the NPU on the phone's own QNN runtime
Phones whose vendor offers the QNN HTP libraries to apps (public.libraries.txt)
now run the NPU engines on them, any HTP generation, with nothing downloaded:
the app finds the generation from the vendor's libQnnHtpV<NN>Stub.so and passes
DROIDDECK_UPSCALE_HTP_ARCH; the layer takes the bundled QNN files only for an
arch whose skel came with them, else loads the vendor libraries by name.

Red Magic 12 Pro (SM8975, HTP V85, no root), layer QNN code in a probe:
FSR 4.1.2 Lite INT8 graph compiled on the phone (2.0 s, cached 0.3 s),
1.2 ms per run at perf, 0 failures; arch found without HTP_ARCH.
2026-12-04 07:54:00 -05:00
The412Banner 94bcfca5c0 Merge main into feat/neural-upscaler
Conflicts: drawer pages moved into functions on main (upscaler group now in
DrawerGamePage), launch.sh WSI bypass line, recipes.json/runtime_inputs.py
lists (main's IME entries + the upscale layer), game-environment tests (both
classes kept).
2026-12-04 07:50:50 -05:00
Kurt Himebauch 01c8991049 Fix initial controller focus in the frame generation picker (#3689)
Keep engine choices in the session drawer focus tree so the selected engine receives focus on open and the Engine control regains focus on close.
2026-12-04 07:43:45 -05:00
Kurt Himebauch bf8faf06e1 Make frame generation and game zoom controller-friendly (#3669)
Add the session engine picker and the stepped Game zoom slider. Keep Frame Generation in its own tab and use the standard controller focus ring on its buttons.
2026-12-04 07:20:03 -05:00
LunaDL a6ffbe7d81 Add ZeroFG and optional ZeroPacer (#3552)
Add ZeroFG as a frame generation engine with its opt-in pacer. Keep frame generation in the dedicated session tab and keep manual DLL import removed.
2026-12-03 22:29:39 -05:00
Kurt Himebauch 34b78e2e42 Agent chat: open pictures full screen (#3668)
feat(agent): open chat pictures full screen

Tapping a picture in the agent chat, or an attached image, opens it over
the whole window. Pinch or double-tap zooms and dragging pans; a tap, a
swipe down, Back or B, or the close button closes it. It is a popup so it
also works in the pet's chat, which lives in an overlay window.
2026-12-03 22:27:31 -05:00
Kurt Himebauch bd016858c7 fix(agent): keys reach the pet's editor after its chat closes and opens again (#3666)
The pet's chat panel absorbed taps with a clickable disabled while the
chat was closed. A disabled clickable drops its focus node, so closing the
chat removed a node above the still-focused editor and reopening put back a
new, unfocused one in its place. Compose then found no focus target for key
events: backspace and other key presses were dropped, and with the pet's
view focused, DroidDeck crashed with "Event can't be processed because we
do not have an active focus target".
2026-12-03 21:49:50 -05:00
Kurt Himebauch f761e5f1db Change Steam picture position live from the session menu (#3661)
Use independent portrait and landscape alignment, with Top and 1280×800 as the default in Steam portrait. Keep explicit resolutions and existing controls modes.
2026-12-03 21:13:55 -05:00
Kurt Himebauch ebb3bb6373 Default to visible sticks and add live on-screen controls opacity (#3662)
Keep existing settings and touch targets unchanged. Let users dim the touch controls from 100 to 10 percent.
2026-12-03 20:52:28 -05:00
Kurt Himebauch 2aad4fbb1b Keep oversized floating HUD panels from clipping (#3663)
Fit the entire floating panel to its viewport without changing saved HUD scale.
2026-12-03 20:52:15 -05:00
Kurt Himebauch b81d7d796f Default the DroidDeck HUD to FPS and 1% low (#3660)
Keep 0.1% and 0.01% lows opt-in without changing saved choices.
2026-12-03 20:51:53 -05:00
Kurt Himebauch 54e1dcb5a4 Trim own file page cache during sessions under memory pressure (#3439) 2026-12-03 20:38:11 -05:00
The412Banner 10d3b801fa Run original Xbox games from the Xbox store (#3638)
Original Xbox games sold for PC through the Xbox store (Xbox360BackwardCompatibil.* packages: Fuzion Frenzy, BLiNX, Conker, Crimson Skies, Grabbed by the Ghoulies, Morrowind, Red Faction II, ...) now start and play on DroidDeck-Bionic.

- droiddeck-xbox: keep the GameInput redistributable, remove its service class; run install actions with FEX's safe settings; find MicrosoftGame.config in any case and skip one that does not parse.
- droiddeck-game-env: fix rule for these games turns on the emulator fixes in the Wine, FEX and VKD3D-Proton builds made for them.
- Components: each installed game gets the Xbox FEX, VKD3D-Proton and DXVK builds, never over a player's choice (also not one made during the download).
- Xbox store: these games show the size of their console package.
- DroidDeck-Bionic launch.sh keeps the Wine and VKD3D-Proton switches; bionic pack uses the v18 layer with the fixes (released as DroidDeck-Bionic 14.1 r104).
- Xbox backend: purchases that name a legacy marketplace offer reach the library.
2026-12-04 07:57:43 +08:00
Kurt Himebauch 00b354a40a Fix portrait game tabs and compact Library and Store filters (#3658)
Keep About, Launch, and Install in the game detail strip. Use dropdowns for top-level sources in portrait and narrow panes. Default Library title and size overlays to off without overriding saved choices.
2026-12-03 18:38:15 -05:00
Kurt Himebauch 5a18f69c7e Controls below the game: drop the second-screen bar, Steam and Quick Access under the pad (#3653)
* Controls below the game: drop the second-screen bar, Steam and Quick Access under the pad

* Test the keys under the unfolded pad instead of the removed bar

* Keep a touch drawer button below the game
2026-12-03 16:54:04 -05:00
Kurt Himebauch 68af03ac74 Negotiate verified producer fences for Steam game frames (#3651)
Use the verified Gamescope component and preserve the safe copy fallback. Direct game frames remains experimental and off by default.
2026-12-03 16:29:52 -05:00
MaxsTechReview d8bb4a8751 fix(ea): signing out forgets the EA web session so another account can sign in (#3652)
EA keeps its sign-in session in cookies scoped under the sign-in paths
(/connect on accounts.ea.com, /p on signin.ea.com). Sign-out and the
fresh sign-in only listed and expired cookies at /, so the old session
survived and EA signed the previous account straight back in.

Cookie expiry now also covers every path prefix of each sign-in URL, and
the EA sign-in URLs name those paths.

Closes #2457
2026-12-03 16:26:00 -05:00
Kurt Himebauch 312069603a Put the VR session page in More by default (#3655) 2026-12-03 15:54:27 -05:00
Kurt Himebauch 3988f52480 feat(updates): lead with the installed build, one-row channel picker, clearer offer; agent images in chat (#3643) 2026-12-03 15:53:59 -05:00
Kurt Himebauch 59eaa0eb06 fix(agent): after agent setup, Gradle and git work on the device (#3642) 2026-12-03 15:53:28 -05:00
Kurt Himebauch 811e285834 Remove manual Lossless Scaling DLL import (#3654)
Remove the picker and import paths. Ignore manually imported caches; keep LSFG from Steam installations.
2026-12-03 15:45:14 -05:00
Kurt Himebauch f75cb387eb Render the Steam home tab at 60 FPS (#3647)
Raise the shared Steam home idle animation cadence from 30 to 60 FPS without changing mixed-refresh displays or in-game frame limits.
2026-12-03 14:21:26 -05:00
Kurt Himebauch 18d735b4c4 feat(ui): tabs that do not fit a narrow page open as a dropdown (#3640)
* feat(ui): tabs that do not fit a narrow page open as a dropdown

In portrait or on a narrow page, a row of section pills that would scroll
sideways becomes one chip naming the shown section, which opens the list of
sections, as the second screen's picker does. Covers the sheets' pills
(Steam, desktop, glasses, Settings and the others on SheetChips), TabStrip,
the game page's tabs and the Stores chips.

* fix(stores): the compact store picker takes controller focus, survives a hidden store and keeps the signed-out status

* fix(ui): picking the shown tab from the tab menu still activates it
2026-12-03 13:49:09 -05:00
Kurt Himebauch 7138f95c90 fix(onboarding): no wireless-debugging step on first run when the session runs outside the child-process count (#3639)
Before the runtime is installed, the rootfs has no native hook yet, so the
child-process check assumed the next session would be counted and showed
"Finish setup" for wireless debugging. The session stages the hook from the
APK before it starts, so predict the next session from the setting and the
rootfs loader instead; a runtime still to be installed will have one.
2026-12-03 12:45:41 -05:00
Kurt Himebauch 8b3cc7eb15 Wire XR keyboard text into the session input queue (#3631)
Initialize KeyboardHost with the updated key and text callbacks. Keep XR physical-key routing and use the regular ordered compositor queue for text.
2026-12-03 09:54:26 -05:00
Kurt Himebauch f9eeef44ed Keep the last frame visible on manual pause (#3626)
Use the effective zero-copy profile to capture and restore presentation across manual pause and resume, without overriding a disabled preference.
2026-12-03 07:39:12 -05:00
danyi eeb10e02fd Restore Chinese input for Android and Steam keyboards (#1529)
Commit Android IME text through the focused renderer and submit only after delivery is confirmed. Restore Steam pinyin on Ubuntu rc7 and allow older runtimes to start normally without IBus.
2026-12-03 07:36:55 -05:00
Kurt Himebauch e935263ccb Include IBus in the Ubuntu runtime (#3624)
Ship the IBus daemon, client, and Python bindings required for Steam pinyin. Verify these dependencies during runtime assembly.
2026-12-03 07:36:49 -05:00
FryMcNugget 673675b45e feat(quest): DroidDeck's menu, agent pet and keyboards float in the immersive SteamVR view (#3596) 2026-12-03 07:28:05 -05:00
Tushar Gandhe 153c873898 fix(ui): LB, RB, LT and RT close the keyboard and menus of the page they leave (#3619) 2026-12-03 07:26:39 -05:00
MicroCool cec2e4ed70 Retry rate-limited Robolectric downloads with a Maven Central mirror (#3620) 2026-12-03 07:26:11 -05:00