diff --git a/tools/upscale/bridges/README.md b/tools/upscale/bridges/README.md index 02abd7c756..a600b1463a 100644 --- a/tools/upscale/bridges/README.md +++ b/tools/upscale/bridges/README.md @@ -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`). diff --git a/tools/upscale/bridges/wl_seam_client.h b/tools/upscale/bridges/wl_seam_client.h index 8472f5f7d1..b713947c70 100644 --- a/tools/upscale/bridges/wl_seam_client.h +++ b/tools/upscale/bridges/wl_seam_client.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) {