Streamline is an open-sourced cross-IHV solution that simplifies integration of the latest NVIDIA and other independent hardware vendors’ super resolution technologies into applications and games. This framework allows developers to easily implement one single integration and enable multiple super-resolution technologies and other graphics effects supported by the hardware vendor.
This repo contains the SDK for integrating Streamline into your application.
For a high level overview, see the NVIDIA Developer Streamline page
IMPORTANT: For important changes and bug fixes included in the current release, please see the Release Notes
- GPU supporting DirectX 11
IMPORTANT: Current version of SDK does not support Vulkan properly, this is still work in progress
- Install latest graphics driver
- Install VS Code or VS2017/VS2019 with SDK 10.17763+
- Install "git".
- Clone your fork to a local hard drive, make sure to use a NTFS drive on Windows (SL uses symbolic links)
- Execute
./setup.bat
with{vs2017|vs2019}
(vs2017
is default)
The make/solution files will be found in the generated _project
directory.
Most users will not need to compile shaders as they are provided pre-compiled. If you need to compile HLSL shaders for your own plugin, you will need to place slang in the .\external\slang_internal folder and xxd in the .\tools folder. Then any *.hlsl files in the .\shaders folder will be compiled at build time.
Additionally, if you would like to recompile the shaders for the NIS plugin, you will need to have Python 3 installed and in the path.
- Execute
./build.bat
with-{debug|release|production}
(debug
is default) or use VS IDE and load solution from the_project
directory
IMPORTANT: Only use
production
builds (digitally signed by NVIDIA) when releasing your software otherwise SL plugins could be replaced with potentially malicious modules.
The build outputs can be found in the generated _artifacts
folder. The default setting is to target x86_64 CPU architecture.
The default setting is to target x86_64 CPU architecture.
NOTE: To build the project minimal configuration is needed. Any version of Windows 10 will do. Then run the setup and build scripts as described here above. That's it. The specific version of Windows, NVIDIA driver, or Vulkan are all runtime dependencies, not compile/link time dependencies. This allows SL to build on stock virtual machines that require zero configuration. This is a beautiful thing, help us keep it that way.
Please read ProgrammingGuide.md to learn about the integration in games.
Please read Debugging.md to learn how to debug and troubleshoot issues.
Please read ProgrammingGuideDLSS.md to learn about DLSS specific integration in games.
Please read ProgrammingGuideNRD.md to learn about NRD specific integration in games.
Please read ProgrammingGuideLatency.md to learn about low-latency specific integration in games.
Please read ProgrammingGuideNIS.md to learn about NIS specific integration in games.
A sample Streamline plugin source code is located here
A sample application using Streamline may be found in this git repo