mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
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.
This commit is contained in:
1 parent
0750f2d0f5
commit
4626cb309d
2 files changed
+5
-6
No files matched your search
@@ -54,17 +54,16 @@ pack (`tools/packs/build.sh`), whose entries are `bridges/{x86_64,aarch64}-windo
|
||||
|
||||
| Variable | Default | Effect |
|
||||
| --- | --- | --- |
|
||||
| `DROIDDECK_UPSCALE_BACKEND` (then `DROIDDECK_UPSCALE_ENGINE`, `WINLATOR_FSR4_BACKEND`, `WINLATOR_FSR4_ENGINE`) | `fsr4_0_npu` | Backend the bridges assume until the layer writes its live control word: `fsr3_gpu`, `xess3_gpu`, `fsr4_0_npu`, `fsr4_1_lite_npu`, `fsr4_1_full_npu`, `fsr4_1_lite_gpu`, `fsr4_1_full_gpu` |
|
||||
| `DROIDDECK_UPSCALE_BACKEND` (then `DROIDDECK_UPSCALE_ENGINE`, `WINLATOR_FSR4_BACKEND`, `WINLATOR_FSR4_ENGINE`) | `fsr4_1_full_npu` | Backend the bridges assume until the layer writes its live control word: `fsr3_gpu`, `xess3_gpu`, `sgsr2_gpu`, `fsr4_1_lite_npu`, `fsr4_1_full_npu`, `fsr4_1_lite_gpu`, `fsr4_1_full_gpu` (`fsr4_0_npu` = `fsr4_1_full_npu`) |
|
||||
| `DROIDDECK_UPSCALE_VRAM_MB` (then `WINLATOR_FSR4_VRAM_MB`, `WRAPPER_VMEM_MAX_SIZE`) | DXGI adapter 0, else 12 GB | VRAM `nvapi64.dll` reports (512-65536 MB) |
|
||||
| `DROIDDECK_UPSCALE_SIGFIX=1` | off | `nvapi64.dll` patches the import tables of loaded modules (LoadLibrary*, GetProcAddress, GetFileAttributes*, CreateFileW, Reg*), redirects `nvngx`/`_nvngx` loads to `C:\windows\system32\_nvngx.dll`, fakes the NVIDIA signature-override registry keys, forces `WinVerifyTrust` success and redirects `CryptQueryObject` for `nvngx`/`amd_fidelityfx*`, so games that signature-check NGX load the bridge. Never applied to rdr2.exe, playrdr2.exe or gta5.exe |
|
||||
| `DROIDDECK_UPSCALE_LOG=1` | off | Hook messages appended to `C:\windows\temp\wl_fsr4_bridge.log` |
|
||||
|
||||
## Changes from the fork
|
||||
|
||||
- D3D11 NGX reports DLSS unavailable (`SuperSampling.Available` 0, feature requirements
|
||||
`AdapterUnsupported`, `CreateFeature`/`EvaluateFeature` return
|
||||
`NVSDK_NGX_Result_FAIL_FeatureNotSupported`). The fork returned success and rendered nothing,
|
||||
because D3D11 has no route to the Vulkan layer.
|
||||
- Until upstream r5, D3D11 NGX reported DLSS unavailable here (the fork returned success and rendered
|
||||
nothing). Since r5 the D3D11 entry points reach the Vulkan layer through DXVK's interop
|
||||
(`wl_dxvk_interop.h`), as upstream does.
|
||||
- The `nvapi64.dll` hooks are off unless `DROIDDECK_UPSCALE_SIGFIX=1`; the fork always installed them.
|
||||
- Logging is off unless `DROIDDECK_UPSCALE_LOG=1`; the fork always wrote the log.
|
||||
- `DROIDDECK_UPSCALE_*` variables are read first, the fork's names after them (`dd_env.h`).
|
||||
|
||||
@@ -403,7 +403,7 @@ static int wl_seam_parse_backend_env(void) {
|
||||
if (_stricmp(buf, "fsr4_1_full_gpu") == 0 || _stricmp(buf, "fsr411_full_gpu") == 0) return WL_FSR_BACKEND_FSR4_1_FULL_GPU;
|
||||
if (_stricmp(buf, "fsr4_0_npu") == 0 || _stricmp(buf, "fsr4_npu") == 0 || _stricmp(buf, "fsr4") == 0) return WL_FSR_BACKEND_FSR4_1_FULL_NPU;
|
||||
}
|
||||
return WL_FSR_BACKEND_FSR4_0_NPU;
|
||||
return WL_FSR_BACKEND_FSR4_1_FULL_NPU;
|
||||
}
|
||||
|
||||
static int wl_seam_live_backend(const WlSeamClient *c, int *out_enabled) {
|
||||
|
||||
Reference in new issue
Block a user