Closed Ali-Flt closed 4 months ago
Hi, does running ./build/instant-ngp
instead of ./instant-ngp
work? In my quick testing, it seems that DLSS wants libnvidia-ngx-dlss.so.2.4.0
to be in the directory of the application binary, which is ./build
. I'll push a fix shortly -- Windows is not affected, because the corresponding share library (.dll) is already present in the root dir after build.
@Tom94 Thanks Thomas that did the trick. Closing this as completed.
Also, can you please check out https://github.com/NVlabs/instant-ngp/issues/1372#issuecomment-1586179152? Based on this comment this change is required for instant-ngp to build successfully (which was true in my case):
index fc9b899..83e2242 100644
--- a/include/neural-graphics-primitives/testbed.h
+++ b/include/neural-graphics-primitives/testbed.h
@@ -877,8 +877,8 @@ public:
} training = {};
// tracing state
- GPUMemory<vec3> pos[2] = {};
- GPUMemory<VolPayload> payload[2] = {};
+ GPUMemory<vec3> pos[2] = {{}, {}};
+ GPUMemory<VolPayload> payload[2] = {{}, {}};
GPUMemory<uint32_t> hit_counter = {};
GPUMemory<vec4> radiance_and_density;
} m_volume;
Thanks for confirming.
Yeah, I've seen the other issue linked early today and already pushed the change -- it's strange that it doesn't happen on any machine I usually test on, including GitHub's automatic builds with a variety of Linux, Windows, and CUDA versions.
I am building instant-ngp on Archlinux and I have installed all dependencies. But I get the warning
WARNING Could not initialize Vulkan and NGX. DLSS not supported. (DLSS not available: NVSDK_NGX_Result_FAIL_FeatureNotFound)
when running it. I know vulkan is installed because runningvulkaninfo
works. cmake version 3.28.2I should mention that I applied this change: https://github.com/NVlabs/instant-ngp/issues/1372#issuecomment-1586179152 to resolve a build error.
Here is the build log: