Cuda Error - CUDA error 2 on device 0:

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
conner
Licensed Customer
Posts: 6
Joined: Sat Nov 08, 2014 8:43 pm

Hey everybody,

I put a NVIDIA GeForce GTX 680 2047 MB in my Mac Pro to check Octane but get some cuda error and the render cancel
I running 10.9.5 and C4D r16 with and Octane V 2.1


--------------------------- EXPORT LOG ---------------------------
Export materials time= 10.072 ms
Collect objects time= 2.868 ms
Meshes creation time = 1371.079 ms
Octane voxelization time = 0.001 ms
Sending to Octane engine time = 197.033 ms
CUDA error 2 on device 0: The API was unable to allocate enough memory to perform the requested operation.
-> failed to launch kernel (dl)
device 0: direct lighting failed
<<< Render Failure >>>
Total export Time = 42959.129 ms
Mac 10.9.5 | Geforce GTX680 | 2x2.66 6C Xeon | 32GB
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

This could mean that you are out of VRAM.
Is it a large scene (millions of polygons, lots of large textures?).

Does it work with a simple scene?
conner
Licensed Customer
Posts: 6
Joined: Sat Nov 08, 2014 8:43 pm

about 4 Mio polygons - i reduce polygons and now it works

Thanks
Mac 10.9.5 | Geforce GTX680 | 2x2.66 6C Xeon | 32GB
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

conner wrote:about 4 Mio polygons - i reduce polygons and now it works

Thanks
Keep your eyes on render infos about free vram
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
conner
Licensed Customer
Posts: 6
Joined: Sat Nov 08, 2014 8:43 pm

I have try it with several scenes and reduce them more and more

Can i tweak some settings to get bigger scene rendered
Or is my GTX 680 to small
example vram
example vram
project settings
project settings
Bildschirmfoto 2015-02-25 um 11.45.02.png (13.24 KiB) Viewed 9223 times
Mac 10.9.5 | Geforce GTX680 | 2x2.66 6C Xeon | 32GB
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

What does your Used/free/total VRAM say when you are rendering just a cube? If your free when rendering a trivial scene is low, then double check you don't have any other software running that is using your VRAM. Close everything else and restart C4D and octane.

The OS and other software will use up VRAM, leaving less free for octane. If you are rendering on the same GPU that your monitors are plugged into then you will never have the full amount of VRAM available to octane, but with windows, you should be able minimize the OS's usage to something like 300MB, leaving about 1700MB free for your octane scene.

4mil triangles should take up about 600MB (geometry only) so I would expect this to fit ok. Do you have some huge textures or very high render resolution?
Post Reply

Return to “Maxon Cinema 4D”