NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.78k stars 1.9k forks source link

DLSS support on 4070ti #1296

Open martinpaghludvigsen opened 1 year ago

martinpaghludvigsen commented 1 year ago

I recently upgraded from a 3060ti to a 4070ti. After doing that I no longer have DLSS support, which is unexpected, since I had it on the older 3060ti.

I've rebuilt the project after the GPU upgrade, and below is the log output I get when I launch the exe. I already had Vulkan installed, but I removed it and reinstalled it just to be sure. The build logs confirm it's been built with Vulkan support. I get the exact same log output if I download and run the release version for RTX 3000 & 4000 series.

23:52:30 SUCCESS Initialized CUDA. Active GPU is #0: NVIDIA GeForce RTX 4070 Ti [89] 23:52:31 WARNING Could not initialize Vulkan and NGX. DLSS not supported. (C:\AI\instant-ngp\src\dlss.cu:435 NVSDK_NGX_VULKAN_Init_with_ProjectID("ea75345e-5a42-4037-a5c9-59bf94dee157", NVSDK_NGX_ENGINE_TYPE_CUSTOM, "1.0.0", path.c_str(), m_vk_instance, m_vk_physical_device, m_vk_device) failed with error NVSDK_NGX_Result_FAIL_FeatureNotSupported) 23:52:31 SUCCESS Initialized OpenGL version 4.6.0 NVIDIA 528.02

Tom94 commented 1 year ago

Hi, that is indeed unexpected. Which operating system are you on? If Windows, does the public binary release have DLSS working? Have you tried deleting the build folder and re-building instant NGP from scratch?

Baughn commented 1 year ago

I'm seeing the same behaviour on Linux. (RTX 4090; NixOS)

saya :: ~/AI/instant-ngp ‹master*› » nix-shell --run './instant-ngp data/nerf/fox/' 148 ↵ 00:38:53 SUCCESS Initialized CUDA. Active GPU is #0: NVIDIA GeForce RTX 4090 [89] 00:38:53 INFO Loading NeRF dataset from 00:38:53 INFO data/nerf/fox/transforms.json 00:38:53 SUCCESS Loaded 50 images after 0s 00:38:53 INFO cam_aabb=[min=[1.0229,-1.33309,-0.378748], max=[2.46175,1.00721,1.41295]] 00:38:53 WARNING Vulkan: terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD. 00:38:53 WARNING Vulkan: terminator_CreateInstance: Failed to CreateInstance in ICD 4. Skipping ICD. 00:38:53 WARNING Could not initialize Vulkan and NGX. DLSS not supported. (DLSS not available: NVSDK_NGX_Result_FAIL_FeatureNotFound) 00:38:53 SUCCESS Initialized OpenGL version 4.6.0 NVIDIA 530.41.03 00:38:53 INFO Loading network config from: ./configs/nerf/base.json 00:38:53 INFO GridEncoding: Nmin=16 b=2.43803 F=4 T=2^19 L=8 00:38:53 INFO Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1 00:38:53 INFO Color model: 3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3 00:38:53 INFO total_encoding_params=12855296 total_network_params=10240

Ali-Flt commented 7 months ago

Any updates on this? I also get the DLSS not supported warning on Archlinux