Optix SDK optixNeuralTexture No Texture Rendering

GPU: 4060ti 16G

OS: Windows 11 Pro

Driver: 590.26

Problem: Sample optixNeuralTexture default build only return a white model

Also, CMake option NTC_WITH_DX12 lacks lots of files, wrong function calls and ShaderMake says no option –use-api

Processing glTF buffer ‘’
byte size: 149412
uri      : WaterBottle.bin
Processing image ‘’
(1x1)x4
bits: 8
Processing image ‘’
(1x1)x4
bits: 8
Processing image ‘’
(1x1)x4
bits: 8
Processing image ‘’
(1x1)x4
bits: 8
Processing glTF material: ‘BottleMat’
Using default base color factor
Using default roughness factor
Using default metallic factor
Emissive factor: (1, 1, 1)
Processing glTF mesh: ‘WaterBottle’
Num mesh primitive groups: 1
Num triangles: 4510
Has vertex normals: true
Has texcoords_0: true
Has texcoords_1: false
Has color_0: false
[ 4][       KNOBS]: All knobs on default.

[ 4][   DISKCACHE]: Opened database: “C:\Users\*********\AppData\Local\NVIDIA\OptixCache\optix7cache.db”
[ 4][   DISKCACHE]:     Cache data size: “510.6 KiB”
Returning default camera
NTC latents mem usage: 816384 bytes
NTC weights mem usage: 26240 bytes
[ 4][   DISKCACHE]: Cache hit for key: ptx-1316280-keyd65d7f51913f764f092d1fd0d168a124-sm_89-rtc1-drv590.26

[ 4][    COMPILER]:
[ 4][    COMPILER]: Info: Pipeline statistics
module(s)                            :     1
entry function(s)                    :     4
trace call(s)                        :     3
continuation callable call(s)        :     0
direct callable call(s)              :     0
basic block(s) in entry functions    :   100
instruction(s) in entry functions    : 19563
non-entry function(s)                :     0
basic block(s) in non-entry functions:     0
instruction(s) in non-entry functions:     0
debug information                    :    no

Hi @Holocat, welcome!

Thank you for the report, we haven’t seen this issue before, so we will investigate. Which CUDA toolkit version are you using?

Also tell me about using NTC_WITH_DX12… is that desirable? I admit we didn’t plan on or expect people to build the embedded version of libntc for any other backend than OptiX. If you want to build libntc in general or for DirectX, I would highly recommend getting it directly from the source, and not using the version in the OptiX SDK. The official libntc repo is located here: GitHub - NVIDIA-RTX/RTXNTC-Library: Runtime library for the NVIDIA RTXNTC SDK


David.

I’m using CUDA 12.8

and NTC_WITH_DX12 is just a try since I got no texture but white.

only happens when I combine it with NTC_WITH_PREBUILT_SHADER

Also, I know it’s off topic, But why nvcc only generate .obj files even I already set upoptix-ir option in Visual Studio project properties at my own project

OK, NOW I KNOW WHY I GOT .OBJ, IDE PASSED -o ${projectpath}\x64\Debug\kernel.cu.obj TO NVCC

******* MSBuild

Hello,

May I ask for updates?

The issue you’d like to hear updates about is the missing texture when optixNeuralTexture is built from default settings? We haven’t been able to reproduce that problem yet.

You mentioned driver 590.26, is that correct? Where did this driver come from? The 590 driver is not yet publicly released, so if you have a preview driver, this might just be a bug in the preview driver you have. Have you tried using a 580 driver? It’s also possible a newer CUDA toolkit version could affect this. We have automated testing showing this sample working out of the box with CUDA 12.8 and a 580 branch driver.


David.

My 590.26 driver is from Nvidia Developer Program, It was installed for DirectX12 Cooperative Vector testing

And because I have the need of implementing DX12 experiment features, I can’t downgrade to 580 driver

Okay thanks. So my best guess is that this driver is causing the issue you’re seeing because it’s not well tested. So if you can’t fall back to an earlier driver, the next best thing is to wait for the official release of the 590 driver, and check whether that fixes the issue you’re seeing with the OptiX sample.

If there’s any question or chance whether you’ve toggled DX flags in the OptiX sample, you could try installing the OptiX sample from scratch again and build/run without changing anything, but if you’re certain that you didn’t change anything and it’s running incorrectly by default, then it’s most likely the driver.

Whatever the problem is, our automated tests are showing the sample running correctly out of the box on our 590 release candidate drivers, as well as the very latest code beyond the 590 driver. So if the 590 preview driver had an issue, it’s already been fixed along the way and we just need to wait for the fix to be released.


David.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.