Апскейлинг с DLSS и FSR
UNIGINE provides support for two advanced upscaling technologies: NVIDIA DLSS (Deep Learning Super Sampling) and AMD FSR 3 (FidelityFX Super Resolution 3). These technologies enable upscaling on a wide range of devices from different manufacturers.UNIGINE поддерживает две передовые технологии апскейлинга: NVIDIA DLSS (Deep Learning Super Sampling) и AMD FSR 3 (FidelityFX Super Resolution 3). Эти технологии позволяют повышать разрешение изображения на широком спектре устройств разных производителей и использовать различные настройки качества как для статических, так и для динамических сцен.
These upscaling technologies are used to render high-resolution images based on the lower resolution source. If both upscalers are available, you can choose between them, or you can turn off upscaling at all. We suggest using the DLSS technology as it produces high-quality results with fewer visual artifacts.Эти технологии используются для рендеринга изображений с высоким разрешением на основе источника с более низким разрешением. Если доступны оба режима апскейлинга, вы можете выбрать один из них или вообще отключить апскейлинг. Мы рекомендуем использовать технологию DLSS, поскольку она позволяет получать высококачественные результаты с меньшим количеством визуальных искажений.
Requirements and RestrictionsТребования и ограничения#
The DLSS and FSR 3 upscalers have specific requirements and compatibility restrictions determining whether the application supports these features.DLSS и FSR 3 имеют ряд требований и ограничений по совместимости, что в конечном счете определяет, будут ли эти функции доступны в приложении.
The upscalers are initialized on render initialization. To verify whether they are supported and initialized after application startup, you can do one of the following:Апскейлеры инициализируются при инициализации рендеринга. Чтобы проверить, поддерживаются ли они и инициализируются ли после запуска приложения, вы можете выполнить одно из следующих действий:
- Check the Render section of the console output.Проверьте раздел Render в консоли.
- Run the dlss_info and/or fsr_info console commands.Запустите консольные команды dlss_info и/или fsr_info.
For example, the Render section may provide the following information:Например, раздел Render может содержать следующую информацию:
---- Render ----
DLSS is supported
DLSS Streamline version: 2.7.32
FSR is supported
FSR Version: 3.1.3
FSR Max Contexts: 8
FSR RAM Scratch Size: 10 MB
If the upscaler is not supported, a corresponding message will be displayed in the console.Если функция апскейлинга не поддерживается, в консоли отобразится соответствующее сообщение.
DLSSDLSS#
For proper work, DLSS must meet the following requirements:Для корректной работы DLSS должны удовлетворяться следующие требования:
- Platforms: Windows, Linux Платформы: Windows, Linux
- Graphic API: DirectX 12, Vulkan Графический API: DirectX 12, Vulkan
- Hardware: any GeForce RTX GPU Аппаратное обеспечение: любые графические процессоры GeForce RTX.
- Driver: 522.25 version or newer Драйвер: версия 522.25 или новее.
For example, if you run the application with a GPU that is not listed, you will receive the following message in the console:Например, если вы запустите приложение с графическим процессором, которого нет в списке, вы получите в консоли следующее сообщение:
DLSS is not supported
Not an Nvidia GPU
FSR 3FSR 2#
FSR 3 must meet the following requirements:FSR 3 должен соответствовать следующим требованиям:
- Platforms: Windows Платформы: Windows
- Графический API: DirectX 12, Vulkan
- Hardware: any GPUs supporting Shader Model 6.2 Аппаратное обеспечение: любые графические процессоры, поддерживающие Shader Model 6.2
- Driver: no special requirements Драйвер: особых требований нет
Using DLSSИспользование DLSS#
For DLSS technology to work properly with UNIGINE, additional environment configuration is required.Для корректной работы технологии DLSS с UNIGINE требуется дополнительная настройка окружения.
DLSS on WindowsDLSS на Windows#
NVIDIA Streamline SDK version 2.7.32 was used to test DLSS integration on Windows. Other versions have not been tested and may produce unexpected results.Для тестирования интеграции DLSS на Windows использовалась версия 2.7.32 SDK NVIDIA Streamline. Другие версии не тестировались и могут работать непредсказуемо.
- Follow this link to download the NVIDIA Streamline SDK, which serves as a wrapper for DLSS and all its features.Follow this link to download the NVIDIA RTX DLSS SDK, which serves as a wrapper for DLSS and all its features.Перейдите по этой ссылке, чтобы скачать NVIDIA Streamline SDK, который служит оболочкой для DLSS и всех его функций.
-
Click Access Github.Нажмите Access Github.
-
Before proceeding, review the license details and make sure you accept all of its terms and conditions:Перед продолжением ознакомьтесь с условиями лицензии и убедитесь, что вы принимаете все её положения:
Примечание-
On the page that opens, find the license.txt file in the list of files and folders.На открывшейся странице найдите файл license.txt в списке файлов и папок.
- Open the file and read the text carefully.Откройте файл и внимательно прочитайте текст.
-
Switch to the repository homepage by clicking Streamline.Перейдите на главную страницу репозитория, нажав Streamline.
- Find the NVIDIA Nsight Perf SDK License (28Sept2022).pdf file mentioned in the license.txt in the same list of files and folders.Найдите файл NVIDIA Nsight Perf SDK License (28Sept2022).pdf, указанный в license.txt, в том же списке файлов и папок.
- Open it and read the license carefully.Откройте его и внимательно прочитайте лицензию.
- If you accept all of the terms and conditions, proceed with the following steps.Если вы принимаете все условия и положения, переходите к следующему шагу.
-
- Switch to the repository homepage by clicking Streamline as you did previously.Перейдите на главную страницу репозитория, нажав Streamline, как вы делали ранее.
-
Download Streamline SDK 2.7.32 Release. Click on the Releases link:Скачайте Streamline SDK 2.7.32 Release. Нажмите на ссылку Releases:
Find Streamline SDK 2.7.32 Release and download the streamline-sdk-v2.7.32.zip archive:Найдите Streamline SDK 2.7.32 Release и скачайте архив streamline-sdk-v2.7.32.zip:
- Extract the ZIP archive. By default, it is extracted to the streamline-sdk-v2.7.32 folder. However, you can rename it if necessary.Распакуйте ZIP-архив. По умолчанию он распаковывается в папку streamline-sdk-v2.7.32. При необходимости вы можете переименовать её.
-
Before proceeding, review the license details and make sure you accept all of its terms and conditions:Перед продолжением ознакомьтесь с условиями лицензии и убедитесь, что вы принимаете все её положения:
Примечание- Open the streamline-sdk-v2.7.32/bin/x64 folder and find the nvngx_dlss.license.txt text file.Откройте папку streamline-sdk-v2.7.32/bin/x64 и найдите текстовый файл nvngx_dlss.license.txt.
- Open the file and read the license carefully.Откройте файл и внимательно прочитайте лицензию.
- If you accept all of the terms and conditions, proceed with the following steps.Если вы принимаете все условия и положения, переходите к следующему шагу.
-
Close the file, return to the streamline-sdk-v2.7.32/bin/x64 folder and find the following files:Закройте файл, вернитесь в папку streamline-sdk-v2.7.32/bin/x64 и найдите следующие файлы:
ПримечаниеYou don't need to install the Streamline SDK. Simply navigate to the folder.Устанавливать Streamline SDK не требуется. Просто перейдите в папку.- nvngx_dlss.dll
- nvngx_dlss.license.txt
- sl.common.dll
- sl.dlss.dll
- sl.interposer.dll
-
Copy these files to the bin folder of your UNIGINE project:Скопируйте эти файлы в папку bin вашего проекта UNIGINE:
ПримечаниеBy copying the license file, you confirm that you accept all the terms and conditions it provides.Копируя лицензионный файл, вы подтверждаете, что принимаете все указанные в нём условия.- Find your project in the UNIGINE SDK Browser and select Other Actions -> Open folder.
Найдите ваш проект в UNIGINE SDK Browser и выберите Other Actions -> Open folder. - In the directory that opens, find and open the bin folder.В открывшемся каталоге найдите и откройте папку bin.
- Copy the 5 files listed above.Скопируйте перечисленные выше 5 файлов.
- Find your project in the UNIGINE SDK Browser and select Other Actions -> Open folder.
-
Return to the streamline-sdk-v2.7.32 root folder and find the following license files:Вернитесь в корневую папку streamline-sdk-v2.7.32 и найдите следующие лицензионные файлы:
- license.txt
- NVIDIA Nsight Perf SDK License (28Sept2022).pdf
-
Copy these files to the root folder of your UNIGINE project.Скопируйте эти файлы в корневую папку вашего проекта UNIGINE.
ПримечаниеBy copying the license files, you confirm that you accept all the terms and conditions it provides.Копируя лицензионные файлы, вы подтверждаете, что принимаете все указанные в них условия. - The changes will be applied at the next application start-up. So, if you have UnigineEditor opened, restart it to apply changes.Изменения вступят в силу при следующем запуске приложения. Если UnigineEditor уже запущен, перезапустите его, чтобы применить изменения.
-
In UnigineEditor, open the console and check that DLSS is available. The corresponding information is provided in the Render section:В UnigineEditor откройте консоль и проверьте, что DLSS доступен. Соответствующая информация отображается в разделе Render:
ПримечаниеIf DLSS is not available, the corresponding message will be shown in the console.Если DLSS недоступен, в консоли будет выведено соответствующее сообщение.
To use DLSS for the scene, enable it in one of the following ways and specify settings:Чтобы использовать DLSS для сцены, включите его одним из следующих способов и укажите параметры:
-
Via the UnigineEditor interface:Через интерфейс UnigineEditor:
-
Using the render_upscale_mode console command:С помощью команды консоли render_upscale_mode:
Исходный кодrender_upscale_mode 2
DLSS on LinuxDLSS на Linux#
On Linux, DLSS SDK 310.2.1 is used.На Linux используется DLSS SDK версии 310.2.1.
- Follow this link to download the NVIDIA Streamline SDK, which serves as a wrapper for DLSS and all its features.Follow this link to download the NVIDIA RTX DLSS SDK, which serves as a wrapper for DLSS and all its features.Перейдите по этой ссылке, чтобы скачать NVIDIA RTX DLSS SDK, который служит оболочкой для DLSS и всех его функций.
-
Before proceeding, review the license details and make sure you accept all of its terms and conditions:Перед продолжением ознакомьтесь с условиями лицензии и убедитесь, что вы принимаете все её положения:
Примечание-
On the page that opens, find the LICENSE.txt file in the list of files and folders.На открывшейся странице найдите файл LICENSE.txt в списке файлов и папок.
- Open the file and read the text carefully.Откройте файл и внимательно прочитайте текст.
- If you accept all of the terms and conditions, proceed with the following steps.Если вы принимаете все условия и положения, переходите к следующему шагу.
-
-
Download the following libraries available in DLSS/lib/Linux_x86_64 folder:Скачайте следующие библиотеки, находящиеся в папке DLSS/lib/Linux_x86_64:
- libnvidia-ngx-dlssd.so.310.2.1
- libnvidia-ngx-dlss.so.310.2.1
-
Copy these files to the bin folder of your UNIGINE project:Скопируйте эти файлы в папку bin вашего проекта UNIGINE:
ПримечаниеBy copying the license file, you confirm that you accept all the terms and conditions it provides.Копируя лицензионный файл, вы подтверждаете, что принимаете все указанные в нём условия.- Find your project in the UNIGINE SDK Browser and select Other Actions -> Open folder.
Найдите ваш проект в UNIGINE SDK Browser и выберите Other Actions -> Open folder. - In the directory that opens, find and open the bin folder.В открывшемся каталоге найдите и откройте папку bin.
- Find your project in the UNIGINE SDK Browser and select Other Actions -> Open folder.
-
Return to the DLSS root folder on github and find the following license file:Вернитесь в корневую папку DLSS на GitHub и найдите следующий лицензионный файл:
- LICENSE.txt
-
Copy this file to the root folder of your UNIGINE project.Скопируйте этот файл в корневую папку вашего проекта UNIGINE.
ПримечаниеBy copying the license file, you confirm that you accept all the terms and conditions it provides.Копируя лицензионный файл, вы подтверждаете, что принимаете все указанные в нём условия. - The changes will be applied at the next application start-up. So, if you have UnigineEditor opened, restart it to apply changes.Изменения вступят в силу при следующем запуске приложения. Если UnigineEditor уже запущен, перезапустите его, чтобы применить изменения.
-
In UnigineEditor, open the console and check that DLSS is available. The corresponding information is provided in the Render section.В UnigineEditor откройте консоль и проверьте, что DLSS доступен. Соответствующая информация отображается в разделе Render.
ПримечаниеIf DLSS is not available, the corresponding message will be shown in the console.Если DLSS недоступен, в консоли будет выведено соответствующее сообщение.
To use DLSS for the scene, enable it in one of the following ways and specify settings:Чтобы использовать DLSS для сцены, включите его одним из следующих способов и укажите параметры:
-
Via the UnigineEditor interface:Через интерфейс UnigineEditor:
-
Using the render_upscale_mode console command:С помощью команды консоли render_upscale_mode:
Исходный кодrender_upscale_mode 2
Using FSR 3Использование FSR 3#
Before applying FSR 3 upscaling, you should check if it is available. In UnigineEditor, open the console and check the information provided in the Render section:Прежде чем применять апскейлинг FSR 2, вам следует проверить его доступность. В UnigineEditor откройте консоль и проверьте информацию, представленную в разделе Render:
To use FSR 3 for the scene, enable it in one of the following ways and specify settings:Чтобы использовать FSR 3 для сцены, включите его одним из следующих способов и укажите настройки:
-
Via the UnigineEditor interface:В интерфейсе UnigineEditor:
-
Using the render_upscale_mode console command:Через консольную команду render_upscale_mode:
Исходный кодrender_upscale_mode 1
Startup and Console CommandsКоманды запуска и консоли#
The following startup command-line options are available:Доступны следующие параметры командной строки при запуске:
The list of console commands related to upscaling is available here.Список консольных команд, связанных с апскейлингом, доступен здесь.
Settings of UpscalersНастройки апскейлеров#
Depending on the current upscale mode, the set of settings differs. Please refer to the Upscalers article.В зависимости от текущего режима апскейлинга набор настроек может отличаться. Пожалуйста, прочтите статью Upscalers.
When to Apply UpscalingКогда следует применять апскейлинг#
By default, upscaling is applied before all post-processing effects are rendered. However, you can choose to apply upscaling after rendering the post-process effects.По умолчанию апскейлинг применяется до отрисовки всех пост-эффектов. Однако, вы можете применить апскейлинг и после отрисовки пост-эффектов.
It can be done via the console using the render_upscale_post command or in UnigineEditor by toggling the Upscale After Post Effects parameter.Это можно сделать через консоль с помощью команды render_upscale_post или в UnigineEditor, переключив параметр Upscale After Post Effects.
ContextsКонтексты FSR#
A context is a single call per upscaling operation.Контекст - это один вызов для каждой операции масштабирования.
The number of contexts that can be upscaled with FSR 3 is limited and can defined by the fsr_max_contexts console command. The recommended number of contexts is 8. Specifying the number of contexts is necessary when rendering into multiple viewports: the number of the viewports must correspond to the number of contexts.Количество контекстов, для которых можно повысить разрешение с помощью FSR 3, ограничено и может быть определено консольной командой fsr_max_contexts. Рекомендуемое количество контекстов - 8. Указание количества контекстов необходимо при рендеринге в нескольких вьюпортах: количество вьюпортов должно соответствовать количеству контекстов.
The number of DLSS contexts is limited to 8.Количество контекстов DLSS ограничено 8.
Информация, представленная на данной странице, актуальна для версии UNIGINE 2.20 SDK.