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 and Vulkan 1.2 or higher
Users who wish to compile SL will need to compile shaders. As a result, 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.
Slang may be found at https://github.com/shader-slang/slang
xxd may be found at https://sourceforge.net/projects/xxd-for-windows/
See the premake.lua
file for how these are used.
A upcoming release of SL may include these pre-compiled.
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.
- Win10 20H1 (version 2004 - 10.0.19041) or newer
- Install latest graphics driver (if using NVIDIA GPU it MUST be 512.15 or newer)
- Install VS Code or VS2017/VS2019 with SDK 10.0.19041+
- 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.
- 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.
- Execute
./package.bat
with-{debug|release|production}
(production
is default)
The packaged SDK can be found in the generated _sdk
folder.
Please read Developing.md to learn about our development flow.
Please read Architecture.md to learn about the architecture.
Please read Debugging.md to learn how to debug and troubleshoot issues.
Please read ProgrammingGuide.md to learn about the integration in games.
Please read ProgrammingGuideManualHooking.md to learn about advanced SL integration in games.
A sample Streamline plugin source code is located here
A sample application using Streamline may be found in this git repo