DLSS games load nvapi64.dll and NGX's core from system32 only (NGXCore FullPath), which the bridge
folder on WINEDLLPATH does not answer. Wine copies the bridges there only when a prefix is created
with the upscaler already on. Bright Memory: Infinite's prefix predated it: "Failed to initialize
NVAPI", then NGX "failed to load C:\windows\system32\_nvngx.dll". With nvapi64.dll, _nvngx.dll,
nvngx.dll and nvngx_dlss.dll in its system32, the signature-fix hooks install and NGX reports
"DLSS supported 1" with all quality modes (Red Magic 12 Pro). DLSS mode now copies the four there
(copies, so writes into the prefix never reach DroidDeck's staged bridges) and refreshes them when
their contents change; other modes remove them again when they are ours.
(Supersedes 73442ad3, which placed only the two NGX core files and was reverted.)
Bright Memory: Infinite (Unreal Engine, D3D12, NVIDIA Streamline) now passed NGX's checks but no
frame reached the layer. Two causes, fixed here:
- The layer recognised the bridge's mailbox by size and the storage bit only, in a 128-entry table;
the game's own 8 KB storage buffers filled it first, so the bridge's doorbells were ignored. It now
matches the exact usage the bridges create them with (mailbox STORAGE|TRANSFER_DST, marker
TRANSFER_DST), keeps 1024 entries and warns once if the table is ever full.
- Streamline (sl.interposer) wraps the devices and command lists it creates; vkd3d-proton and DXVK
do not know the wrappers. wl_streamline.h asks a wrapper for StreamlineRetrieveBaseInterface
(Streamline source/core/sl.interposer/d3d12/d3d12Device.cpp) and the interop calls retry on the
wrapped object: device queries, BeginVkCommandBufferInterop/End, GetVulkanResourceInfo1.
DROIDDECK_UPSCALE_LOG=1 now also logs the NGX bridge's D3D12 attach and first evaluate (seam
ready, images found, command list accepted, dispatch result).
DLSS games only work with the nvapi64.dll hooks that let NGX accept the bridge DLLs (without them
the DLSS sample stops at GetFeatureRequirements with PlatformError; with them it runs Full FSR 4.1
on the NPU in D3D11 and D3D12, Red Magic 12 Pro). DLSS mode now has the fix on unless the player
switches it off: the app stores "1" or "0" for DLSS games and reads a missing entry as on, and
droiddeck-game-env passes 1 unless the game stores 0. Upstream always installs the hooks.
Tested on the Red Magic 12 Pro with both DLLs in Bright Memory: Infinite's system32: NGX still logs
"failed to load C:\windows\system32\_nvngx.dll" and D3D12_Init returns FeatureNotSupported. The
missing files were not the cause; the game never loads the bridge's nvapi64.dll ("Failed to
initialize NVAPI"), so the signature-fix hooks do not run. Open.
NGX loads its core by full path from the registry's NGXCore FullPath (C:\windows\system32); the bridge
folder on WINEDLLPATH does not answer that, so DLSS games without the signature-fix hooks failed with
"failed to load C:\windows\system32\_nvngx.dll" (Bright Memory: Infinite on the Red Magic 12 Pro).
DLSS mode now links (or copies) the bridge's _nvngx.dll and nvngx.dll into the prefix's system32 and
refreshes them when their contents change. The XeSS runtime uses the same helper, which now compares
contents instead of sizes.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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).
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.
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).
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.
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.
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".
Use independent portrait and landscape alignment, with Top and 1280×800 as the default in Steam portrait. Keep explicit resolutions and existing controls modes.
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.
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.
* 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
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
* 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