NVIDIA DLSS 4: Enhanced Features for GeForce RTX 50 Series GPUs
Streamline SDK Integration Overview
The NVIDIA Streamline SDK is an open-source framework that simplifies the integration of NVIDIA DLSS and various super-resolution technologies from other hardware vendors into games and applications. It enables you to implement multiple upscaling solutions through a single integration point within your game engine.
Figure 1. Streamline SDK Architecture
To add Streamline to your application, follow the Streamline Manual Hooking guide. Integrate without any features and focus on tasks such as manual hooking and resource state tracking.
Verify the NVIDIA and Streamline dual signatures on sl.itnerposer.dll before loading the DLL. Follow the verification process within the Security section of the programming guide.
Check for system (hardware and software) support for each of the DLSS 4 features and show appropriate error messages to end users based on reported hardware support.
DLSS Multi Frame Generation Integration Overview
DLSS Frame Generation is an NVIDIA technology that uses AI to generate additional frames between existing ones in game, significantly boosting frame rates and enabling smoother gameplay on NVIDIA GeForce GPUs.
Figure 4. With and without DLSS Ray Reconstruction
Ray Reconstruction Integration Checklist
Here’s the integration checklist:
- A game-specific application ID is used during initialization.
- Both DLSS Ray Reconstruction and DLSS Super Resolution are integrated at the start, or as close to the start as possible, of post-processing.
- Other denoisers in your pipeline, such as NRD, are completely disabled.
- DLSSDPreset is set to eDefault if you previously set it to ePresetA or ePresetB.
- Mip-map bias is set when DLSS Ray Reconstruction is enabled. Without this, textures will look blurry, smudgy, or low-resolution.
- The required buffers are provided.
- The Inverted Depth bit is set if the depth buffer provided has inverted z ordering.
- Motion vectors and specular motion vectors for all scenes, materials, and objects are accurate.
- Static scenes resolve and compatible jitter is confirmed. Incorrect or missing jitter can lead to poor anti-aliasing and increased flickering.
- DLSS modes are queried and user-selectable in the user interface or dynamic resolution support is active and tested.
- A DLSS RR enable and disable toggle is available.
- The full production, non-watermarked DLSS Ray Reconstruction library (nvngx_dlssd.dll) is packaged in the release build.
- The Camera Reset flag is passed on scene changes, view changes such as first person to third person, or during camera jumps in cutscenes.
- NGX cleanup and shutdown procedures are performed when DLSS is no longer needed. Otherwise, you’ll leak resources and memory.
Summary
In this post, I explained how to integrate DLSS 4 features, with a focus on the Streamline SDK for simplified plugin integration. For more information about how to get started today, see NVIDIA DLSS.
FAQs
Q: What is NVIDIA DLSS 4?
A: NVIDIA DLSS 4 is the latest iteration of DLSS introduced with the NVIDIA GeForce RTX 50 Series GPUs.
Q: What are the new features in DLSS 4?
A: DLSS 4 includes several new features, including Multi Frame Generation, DLSS Ray Reconstruction, and DLSS Super Resolution (Beta).
Q: How do I integrate DLSS 4 with my game engine?
A: You can integrate DLSS 4 with your game engine using the Streamline SDK, which provides a plug-and-play framework for simplified plugin integration.
Q: What is the Streamline SDK?
A: The Streamline SDK is an open-source framework that simplifies the integration of NVIDIA DLSS and various super-resolution technologies from other hardware vendors into games and applications.