It occurs every time, so it's fully reproducible on my machine. I've just tested it on fresh default Houdini user preferences and Crag crashes OptiX every time if specific conditions are met (more info on that after some technicalities).
Here are some technical details you asked for:
- Houdini 19.5.368 - Py3.9 (latest production build)
-
nvidia-tesla-driver
version 510.85.02
- CUDA version 11.6 (according to
nvidia-smi
)
- RTX 3070 8GB
Installed NVIDIA libraries:
▶ apt search --names-only "[.]*nvidia[.]*" | grep installed
glx-alternative-nvidia/testing,now 1.2.1 amd64 [installed,automatic]
libegl-nvidia-tesla0/testing,now 510.85.02-1 amd64 [installed,automatic]
libgl1-nvidia-tesla-glvnd-glx/testing,now 510.85.02-1 amd64 [installed,automatic]
libgles-nvidia-tesla1/testing,now 510.85.02-1 amd64 [installed,automatic]
libgles-nvidia-tesla2/testing,now 510.85.02-1 amd64 [installed,automatic]
libglx-nvidia-tesla0/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-egl-gbm1/testing,now 1.1.0-1 amd64 [installed,automatic]
libnvidia-egl-wayland1/testing,now 1:1.1.10-1 amd64 [installed,automatic]
libnvidia-ml-dev/testing,now 11.5.50~11.5.2-2 amd64 [installed,automatic]
libnvidia-tesla-allocator1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-cfg1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-compiler/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-cuda1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-eglcore/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-encode1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-glcore/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-glvkspirv/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-ml1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-nvcuvid1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-nvoptix1/testing,now 510.85.02-1 amd64 [installed]
libnvidia-tesla-ptxjitcompiler1/testing,now 510.85.02-1 amd64 [installed,automatic]
libnvidia-tesla-rtcore/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-cuda-dev/testing,now 11.5.2-2 amd64 [installed,automatic]
nvidia-cuda-gdb/testing,now 11.5.114~11.5.2-2 amd64 [installed,automatic]
nvidia-cuda-toolkit/testing,now 11.5.2-2 amd64 [installed]
nvidia-cuda-toolkit-doc/testing,testing,now 11.5.2-2 all [installed,automatic]
nvidia-egl-common/testing,now 470.141.03-2 amd64 [installed,automatic]
nvidia-installer-cleanup/testing,now 20220217+1 amd64 [installed,automatic]
nvidia-kernel-common/testing,now 20220217+1 amd64 [installed,automatic]
nvidia-modprobe/testing,now 515.48.07-1 amd64 [installed,automatic]
nvidia-opencl-common/testing,now 470.141.03-2 amd64 [installed,automatic]
nvidia-openjdk-8-jre/testing,now 9.+8u342-b07-1~11.5.2-2 amd64 [installed,automatic]
nvidia-persistenced/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-profiler/testing,now 11.5.114~11.5.2-2 amd64 [installed,automatic]
nvidia-settings-tesla/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-support/testing,now 20220217+1 amd64 [installed,automatic]
nvidia-tesla-alternative/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-driver/testing,now 510.85.02-1 amd64 [installed]
nvidia-tesla-driver-bin/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-driver-libs/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-egl-icd/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-kernel-dkms/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-kernel-support/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-opencl-icd/testing,now 510.85.02-1 amd64 [installed]
nvidia-tesla-smi/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-vdpau-driver/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-tesla-vulkan-icd/testing,now 510.85.02-1 amd64 [installed,automatic]
nvidia-visual-profiler/testing,now 11.5.126~11.5.2-2 amd64 [installed,automatic]
nvidia-vulkan-common/testing,now 470.141.03-2 amd64 [installed,automatic]
xserver-xorg-video-nvidia-tesla/testing,now 510.85.02-1 amd64 [installed,automatic]
Let me know if you need anything else.
What are the minimal number of exact steps needed to reproduce? (preferably from a clean/new launch of houdini)
1. Start Houdini and jump to the Stage.
2. Drop a Karma LOP and set it to XPU.
3. Switch the viewport to Karma rendering.
4. Drop a Pig Head.
5. Drop Crag.
6. Drop a dome light and put it between Pig Head and Karma LOP.
7. Assign a texture to Dome Light (for example, the bundled kiara_5_noon).
8. Now pipe Crag to the input of Dome Light, replacing the Pig Head. This will crash OptiX.
What I noticed while writing this post and testing even more, is that it seems to be crashing whenever I'm switching between Crag and other geometry while some kind of light is present in the stage. I just had it crash with distant light, so it's not limited to dome light. I've cobbled up together a simple test scene in which I can reproduce the crash 100% of the time. Fiddle with the switch while Karma XPU rendering is enabled in the viewport and once you reach Crag (7th input) it should crash.
And if it doesn't... Well, then it's probably one of those problems of using Tesla driver on a consumer-grade RTX. :/