RayTracingDenoiser
RayTracingDenoiser copied to clipboard
How to get rid of NRI initialization warnings
I am integrating NRD denoising in my software. But at NRI initialization i get warnings.
-
First i updated my solution to the 10.0.22621.0 windows SDK. Just to be sure it is not related to this https://youtu.be/YCSmtXtAq0s
-
Then i try to initialize NRI: nri::DeviceCreationD3D12Desc deviceDesc = {}; deviceDesc.d3d12Device = m_cmdContext.device; deviceDesc.d3d12GraphicsQueue = m_cmdContext.commandQueue; deviceDesc.enableNRIValidation = true;
nri::Result nriResult = nri::nriCreateDeviceFromD3D12Device(deviceDesc, m_nriDevice);
-
This line nri::Result nriResult = nri::nriCreateDeviceFromD3D12Device(deviceDesc, m_nriDevice);
Gives me the following warnings:
NRI::WARNING(D3DExt.hpp:29) - D3D12::NVIDIA GeForce RTX 3080 - d3d12::Ext::InitializeNVExt: NVAPI is disabled, because it's not loaded on the application side NRI::INFO(DeviceD3D12.cpp:231) - D3D12::NVIDIA GeForce RTX 3080 - Using ID3D12Device5 NRI::WARNING(DeviceD3D12.cpp:287) - D3D12::NVIDIA GeForce RTX 3080 - nri::DeviceD3D12::FillDesc: ID3D12Device::CheckFeatureSupport(shaderModel) failed, result = 0x80070057!
The SURPRISING thing is that i do not get the last warning on my RTX 3060. I only get this: NRI::WARNING(D3DExt.hpp:29) - D3D12::NVIDIA GeForce RTX 3060 Laptop GPU - d3d12::Ext::InitializeNVExt: NVAPI is disabled, because it's not loaded on the application side NRI::INFO(DeviceD3D12.cpp:231) - D3D12::NVIDIA GeForce RTX 3060 Laptop GPU - Using ID3D12Device5