CUDA error 2 on device 0

A public forum for discussing and asking questions about the demo version of Octane Render.
Forum rules
For new users: this forum is moderated. Your first post will appear only after it has been reviewed by a moderator, so it will not show up immediately.
This is necessary to avoid this forum being flooded by spam.
Locked
mwstandsfor
Posts: 1
Joined: Tue Aug 23, 2016 9:44 pm

Tonight I wanted to try out Octane render so I installed the latest demo on my
2012 Macbook Pro Retina
2,3 GHz Intel Core i7
8 GB 1600 MHz DDR3
NVIDIA GeForce GT 650M 1024 MB

I started with a tutorial from Greyscalegorilla but got an error when trying out Octane. Then tried to render a basic cube on a new project and the same error popped up in the log

could not pick materials, because the geometry has changed and rendering is paused
--------------------------- EXPORT LOG ---------------------------
CUDA error 2 on device 0: The API was unable to allocate enough memory to perform the requested operation.
-> failed to allocated device memory
Export materials time= 21.101 ms
Collect objects time= 13.816 ms
Mesh creation time = 16.025 ms.
Triangles:0 Disp.triangles:0 Hairs:0 Meshes:0
VRAM used/free/max:4Kb/89Mb/1023Mb
Out-of-core used:0Kb total used RAM:6.483Gb
Total export Time = 81.618 ms
----------------------------------------------------------------------------------------
<<< Render failure detected!!! >>>
Please check render statistics to solve the problem.
Triangles:0 Disp.triangles:0 Hairs:0 Meshes:0
VRAM used/free/max:4Kb/89Mb/1023Mb
Free VRAM is too low!
Try to decrease polygon counts and use out-of-core for textures.
Use 'render instances' when it's possible.'


As you can see I've played with the setting a bit to try and increase the memory.
Any help on this error?

there were also Vram memory issues but this seems more important seeing that it's a basic cube on an empty project
Thanks
User avatar
bepeg4d
Octane Guru
Posts: 10401
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi mwstandsfor,
unfortunately the problem in your case is that 1GB VRAM is not enough to work with both retina display and Octane .
As you can see from the log, you have only 89MB of free VRAM, and this is not enough.
A workaround, just for testing Octane with simple scenes, is to reduce the monitor resolution as much as possible, in order to free up some VRAM.
If you would like to test it more deeply, the best is to leave the internal GPU for the retina display only, and add an external GPU via Thunderbolt port for Octane only:
viewtopic.php?f=9&t=43439&start=170#p276341
ciao beppe
kwakster
Licensed Customer
Posts: 2
Joined: Tue Aug 23, 2016 9:49 pm

bepeg4d wrote:Hi mwstandsfor,
unfortunately the problem in your case is that 1GB VRAM is not enough to work with both retina display and Octane .
As you can see from the log, you have only 89MB of free VRAM, and this is not enough.
A workaround, just for testing Octane with simple scenes, is to reduce the monitor resolution as much as possible, in order to free up some VRAM.
If you would like to test it more deeply, the best is to leave the internal GPU for the retina display only, and add an external GPU via Thunderbolt port for Octane only:
viewtopic.php?f=9&t=43439&start=170#p276341
ciao beppe

Ah, thank you so much for the help. Would have sat for days trying to figure it out. I didn't think the retina took that much vram.

Thanks for the external GPU link. Never seen that before.
Locked

Return to “Demo Version Questions & Discussion”