CUDA Error

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

Moderators: ChrisHekman, aoktar

Post Reply
Cazure95
Licensed Customer
Posts: 13
Joined: Sun Oct 25, 2015 2:28 pm

I'm terribly sorry for starting this many threads on the forum regarding issues I encounter.

But I can't get my head around this error. Especially I didn't see it anytime before. And it somehow disseapered.
While rendering I'm getting a CUDA error, this comes out in the log:

Started logging on 30.12.15 16:45:38

OctaneRender 2.24.1 (2240001)

Starting the Octane API twice is not allowed!
--------------------------- EXPORT LOG ---------------------------
Tried to access null item
Tried to access null item
Export materials time= 19208.426 ms
Collect objects time= 70.382 ms
Meshes creation time = 778.447 ms.
Sending to Octane engine time = 0 ms
CUDA error 2 on device 1: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
<<< Render Failure >>>
Octane update time = 5687.934 ms.
Octane update time = 0.009 ms.
Total export Time = 30762.984 ms
--------------------------- EXPORT LOG ---------------------------
Tried to access null item
Tried to access null item
Export materials time= 15257.926 ms
Collect objects time= 66.59 ms
Meshes creation time = 834.495 ms.
Sending to Octane engine time = 0 ms
CUDA error 2 on device 1: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
<<< Render Failure >>>
Octane update time = 6023.121 ms.
Octane update time = 0.008 ms.
Total export Time = 27796.431 ms
--------------------------- EXPORT LOG ---------------------------
Export materials time= 13449.022 ms
Collect objects time= 62.707 ms
Meshes creation time = 749.294 ms.
Sending to Octane engine time = 0 ms
CUDA error 2 on device 1: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
<<< Render Failure >>>
Octane update time = 5717.472 ms.
Octane update time = 0.009 ms.
Total export Time = 24835.022 ms

I don't know if I miss V-ram, but I got it working on my setup yesterday, so I don't know why it shouldn't now. I don't have any new textures of anything like that.
I'm working with a GTX 770 + 980. I've updated the drivers from the NVIDIA website. But that didn't fix anything.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Starting the Octane API twice is not allowed!
Of topic, you have propably two octane dlls. Remove one.

Code: Select all

CUDA error 2 on device 1: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
<<< Render Failure >>>
This means that an error occured due a limitation of Cuda renderer. Octane can't handle triangles than more 19millions. Check your triangle counts.
Also your scene should fit to VRAM. I see 19sec. for material export. Most likely you have lot of materials and textures or very big textures. If it's related with not fitting of textures to VRAM, activate out-of-core option. So textures can be used from System RAM.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”