-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Issue on Windows with multiple GPUs #443
Comments
Rebuilding pbrt with CUDA |
The above fixed the issue, however, the rendered scene is completely black, any idea how can I fix this? |
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:
The text was updated successfully, but these errors were encountered: