A standalone Vulkan inference engine (engine/) for DLSS presets K and M that runs from weights extracted from the user's own nvngx_dlss.dll, with d4r's own input, network and reconstruction shaders or the native HIP network layers, recorded into the game's command list by the shim. Opt-in ([Engine] Enabled / D4R_ENGINE=1); anything uncovered falls back to the CUDA/ZLUDA path with the reason logged. Byte-identical to NGX's CUDA backend under the phase-capable reference (1706x960 -> 2560x1440, native HIP network, eleven frames, RX 9070 XT): - K render- and display-resolution motion vectors, HDR and LDR - K game-supplied exposure and automatic exposure with any pre-exposure and exposure scale (one residual: effective exposure exactly 2 or 4) - K and M with the DLSS indicator's inverted-axis parameters - M with any exposure settings (NGX ignores them for M) K packages need the current compile_k.py (marker D4RO0003). Also: HIP shared buffers are pooled across feature recreation (ROCm leaks destroyed imports), hipnet.bin must match the preset, M-only games do not load the K model, install_d4r_runtime.sh stages k, k-ldr, m, m-ldr with hip/, the activation table has a generator (gen_activation_m.py), and package_release.sh can bundle the engine's shaders (never its weights). Signed-off-by: woutermans <[email protected]>
35 lines
2.1 KiB
Plaintext
35 lines
2.1 KiB
Plaintext
d4r
|
|
Copyright 2026 countervolts and the d4r contributors
|
|
|
|
This product is licensed under the GNU General Public License, version 3 only
|
|
(GPL-3.0-only; see LICENSE), except for the files
|
|
listed below.
|
|
|
|
patches/zluda/*.patch
|
|
Changes to ZLUDA (https://github.com/vosen/ZLUDA). ZLUDA is dual-licensed under the Apache
|
|
License, Version 2.0 and the MIT license; these patches are offered under the same terms.
|
|
|
|
patches/vkd3d-proton/*.patch
|
|
Changes to vkd3d-proton (https://github.com/HansKristian-Work/vkd3d-proton), which is licensed
|
|
under the GNU Lesser General Public License, version 2.1. These patches are offered under the
|
|
same license.
|
|
|
|
Release zips (scripts/package_release.sh) also bundle binaries of ZLUDA (Apache-2.0 or MIT, with
|
|
LLVM under Apache-2.0 with LLVM exceptions), the patched vkd3d-proton (LGPL-2.1) and OptiScaler
|
|
(https://github.com/optiscaler/OptiScaler, GPL-3.0, unmodified). Each zip carries their license
|
|
texts in d4r/licenses and says where every file comes from in d4r/source/SOURCES.txt.
|
|
Release zips include install.sh to download NVIDIA's nvngx_dlss.dll and _nvngx.dll separately.
|
|
Optional builds may bundle those DLLs. Release zips also include DLSS kernels compiled from NVIDIA's
|
|
PTX. Those are NVIDIA's property, are not covered by this repository's license, and are included
|
|
by whoever publishes the zip. Downloaded DLLs remain governed by NVIDIA's license terms.
|
|
|
|
This repository contains no NVIDIA software. The NVIDIA DLSS feature library (nvngx_dlss.dll) and
|
|
the NGX core (_nvngx.dll) are NVIDIA's; you supply your own copies, and their use is governed by
|
|
NVIDIA's license terms. At build time, kernels/tools/extract_dlss_ptx.py reads PTX from your copy
|
|
of nvngx_dlss.dll into kernels/extracted/, which is not part of the repository and must not be
|
|
redistributed. The same holds for the model files the native engine's tools write (engine/README.md):
|
|
weights.bin, offsets.bin, lut.bin, hipnet.bin and model.json hold values read from NVIDIA's DLSS.
|
|
|
|
NVIDIA and DLSS are trademarks of NVIDIA Corporation. AMD, Radeon and FSR are trademarks of
|
|
Advanced Micro Devices, Inc. This project is not affiliated with or endorsed by either company.
|