-
Notifications
You must be signed in to change notification settings - Fork 451
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
Final image is black when using GPU #428
Comments
More info about this issue and I am starting to think that may be something I used is no longer supporting new GPUs, or may be I have missed something very fundamental. My setup:
I have tried -DCMAKE_CUDA_ARCHITECTURES=native or =89 to set the cuda architecture. But I am getting a black image with GPU rendering. With CPU, the scene is rendered correctly as expected. This is the command I used to configure and build the project.
Does anyone have any idea what the culprit might be? |
I just to report that #429 solves my issue. It's definitely true that MSVC =14.40 breaks the GPU framework somehow. Downgrading to MSVC 14.39 solves it! My setup are: Thanks! |
I have successfully used my Windows desktop GPU (Nvidia RTX 3090Ti) to accelerate PBRT rendering. Now, I want to experiment with AWS EC2 (Windows) and its GPU options (Tesla M60, T4, or A10G Tensor Core) for running PBRT.
Using the simple example from https://pbrt.org/fileformat-v4, PBRT renders the sphere correctly without GPU acceleration. However, when using the GPU, the resulting image has the correct pixel count but appears entirely black. The verbose log shows no obvious errors.
I suspect the issue might be driver-related, as Tesla drivers are typically used for computation rather than rendering. I followed AWS documentation (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html) to install both public NVIDIA drivers (which are intended for computation tasks) and GRID drivers (which are for professional visualization applications that render content such as 3d models), but the problem persists.
Does anyone have any suggestions on why the image is black when using the GPU on the cloud?
The text was updated successfully, but these errors were encountered: