Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding a Point Light in Atmos Volume crashes GPU, weird errors with CPU - C4dtoA 4.0.0.0

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
daniel2SH2D
350 Views, 7 Replies

Adding a Point Light in Atmos Volume crashes GPU, weird errors with CPU - C4dtoA 4.0.0.0

Hi

I have a very simple scene (attached).

If I enable the point light or the quad light that are disabled in the scene, it will throw errors and crash on GPU.

On CPU it still throws errors, but renders in the IPR.

4 errors like this for CPU:

"Opaque is deprecated : opaque is off for geometry "", but there is no metadata for some of its shaders"

And this for GPU:

[gpu] an error happened during rendering. OptiX error is: Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Encountered a CUDA error: cudaDriver().CuEventSynchronize( m_event ) returned (700): Illegal address, file: <internal>, line: 0)

It seems to be related to using an atmosphere volume in the environment tab.


Labels (3)
7 REPLIES 7
Message 2 of 8
daniel2SH2D
in reply to: daniel2SH2D

Sorry, just realized I can't upload c4d files. I'll create a link:

https://www.dropbox.com/s/2tw1nm2qt8hlr4c/testfile.c4d?dl=0

Many thanks for any help with this 🙂

Message 3 of 8
daniel2SH2D
in reply to: daniel2SH2D

Update : if I delete the textures I've created for the floor and landscape geo and replace with a standard surfacec blank, it still generates the "Opaque is deprecated" errors, but renders to IPR even with volume.


Documentation says that GPU supports 'facing ratio' shader, which is the only added part of the shader network.


Message 4 of 8
daniel2SH2D
in reply to: daniel2SH2D

OK, I've narrowed it down to displacement in the floor and landscape geometry textures...

And it's only the point light that generates the errors and crashes, all seems to work fine except the point light...If I crank up the intensity or exposure of the Arnold Sky and leave all the displacement connected it renders fine.

If I disconnect the displacement and add the point light with atmosphere volume in the environment, it renders fine.

But displacement + point light + volume in the environment crashes the GPU and generates CUDA errors...

Unless I'm doing something really wrong?

Message 5 of 8

This is indeed a bug which is already fixed and will be released in our next hotfix release.

Regarding the "Opaque is deprecated" warnings, they are coming from the point light, but not related to the issue. Here's a thread discussing it: https://answers.arnoldrenderer.com/questions/36374/opaque-is-deprecated-warning.html

I'll check if we can do something about these warnings, because they an be very confusing indeed.

Message 6 of 8

Btw, thanks for the repro and the detailed description of the issue, it's much appreciated.
Message 7 of 8

The point light gives the "Opaque is deprecated" warning, because its Transmission visibility is enabled (non zero).

Message 8 of 8

Thanks Peter! Happy to help 🙂


I solved the issue for my scene by replacing the point light with a mesh light and just using a small sphere, which works on both CPU and GPU 🙂


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report