Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get rid of NRI initialization warnings #85

Open
StudenteChamp2 opened this issue Sep 29, 2024 · 1 comment
Open

How to get rid of NRI initialization warnings #85

StudenteChamp2 opened this issue Sep 29, 2024 · 1 comment
Labels
question Further information is requested

Comments

@StudenteChamp2
Copy link

StudenteChamp2 commented Sep 29, 2024

I am integrating NRD denoising in my software. But at NRI initialization i get warnings.

  1. 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

  2. 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);
    
  3. 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

@dzhdanNV
Copy link
Contributor

NVAPI is disabled, because it's not loaded on the application side

Please, ignore.

ID3D12Device::CheckFeatureSupport(shaderModel) failed, result = 0x80070057!

Update NRI to the latest.

First i updated my solution to the 10.0.22621.0 windows SDK

Hope you didn't forget to run "clean.bat" and "deploy.bat" scripts to hook up latest SDK.

The SURPRISING thing is that i do not get the last warning on my RTX 3060

I'm not surprised. Since the laptop is a different machine, I have a gut feeling that the SDK / driver setup on the other machine is a bit broken.

@dzhdanNV dzhdanNV added the question Further information is requested label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants