Open ndming opened 1 month ago
Rebuilding pbrt with CUDA 12.4
and OptiX 8.0.0
solved the problem for me. It's worth saying that with CUDA 12.1
and OtpiX 7.7
running on a GTX 1050 doesn't face this slow down issue.
The above fixed the issue, however, the rendered scene is completely black, any idea how can I fix this?
@ndming, try to use buildtools v14.39, original post #428, how to fix #429
It seems like on Windows systems with more than 1 GPU device, there's no way to fix performance slowdown. I was able to sucessfully build pbrt with both CUDA versions when downgrading MSVC, but the rendering time with GPU stays longer, since my system has 2 RTX 2080s.
I built pbrt with the following setup: MSVC 143 (VS BuildTools 17.9) CUDA 12.1 OptiX 7.7.0
I have 2 RTX 2080 SUPERs. Rendering a simple scene with CPU took 9.8s, while rendering the same scene with GPU using
--gpu-device 0
or--gpu-device 1
took 35.5s, significantly slower.I noticed that on idle,
nvidia-smi
reports my 2 GPUs have around 2% work, but once I start rendering with either the GPU, the chosen GPU gets nearly 90% work reported fromnvidia-smi
.Please let me know if I should change build settings to run pbrt faster on GPU. Should I upgrade to recent versions of CUDA or OptiX?
Here is some stats from the GPU rendering: