Page 1 of 1

CUDA error 2 on device 0

PostPosted: Thu Feb 09, 2017 4:02 am
by john_fish
Hi guy, I think i'm having the same problem. Below is my log. Is this the same VRAM issue?

---

Started logging on 09.02.17 14:56:42

OctaneRender 3.04.3 Demo (3040300)

Tried to access attribute via invalid ID A_ALLOW_STATISTICS_COLLECTION (10)
Scene created in plugin version -1
--------------------------- EXPORT LOG ---------------------------
Export materials time= 3.133 ms
Collect objects time= 2.179 ms
Mesh creation time = 9.971 ms.
Triangles:0 Disp.triangles:0 Hairs:0 Meshes:0
VRAM used/free/max:0Kb/0Kb/0Kb
Out-of-core used:0Kb total used RAM:12.789Gb
Total export Time = 30.634 ms
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 0: out of memory -> failed to allocated device memory
device 0: detected an error on render device! trying to recover...
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 0: out of memory -> failed to allocated device memory
device 0: the device failed immediately after the recovery -> giving up and switching the device into error state
----------------------------------------------------------------------------------------
<<< Render failure detected!!! >>>
Please check render statistics to solve the problem.
Triangles:0 Disp.triangles:0 Hairs:0 Meshes:0
Device:0 TotMem:1023Mb rtData:4Kb film:0Kb geo:0Kb node:0Kb tex:0Kb unavailable:900Mb

Re: CUDA error 2 on device 0

PostPosted: Fri Feb 10, 2017 11:40 am
by bepeg4d
Hi john,
what are the specs of your machine?
Reading from the log, you have very few VRAM to working with, 900mb unavailable of 1024mb, leaving you only with 124mb of VRAM :roll:
Are you on a laptop?
If yes, the internal GPU is already largely used by the system and monitor.
ciao beppe

Re: CUDA error 2 on device 0

PostPosted: Fri Feb 10, 2017 10:07 pm
by john_fish
Yes, it's a laptop. Thanks for that info Beppe. Much appreciated.

Re: CUDA error 2 on device 0

PostPosted: Tue Apr 09, 2019 4:50 pm
by jakubvojtasko
Hi! I may have similar problem, but I dont know how to solve it. My scene work in Octane LV but nothing appears in picture viewer. Hope someone can help me with this Im already behind my deadline.

Here is what log file says.

Started logging on 09.04.19 15:45:34

OctaneRender Studio 4.01.1 (4010100)

could not allocate enough space for primitives.
could not allocate enough space for primitives.
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.

Re: CUDA error 2 on device 0

PostPosted: Fri Apr 12, 2019 3:02 pm
by bepeg4d
Please update to v4.02.1-R3 from your personal Downloads section:
https://render.otoy.com/account/download_archive.php
ciao Beppe

Re: CUDA error 2 on device 0

PostPosted: Sat Apr 13, 2019 8:13 am
by jakubvojtasko
still not wroking. what sholud I do? still same error in octane log

Started logging on 13.04.19 10:04:55

OctaneRender Studio 4.02.1 (4020100)

could not allocate enough space for primitives.

Re: CUDA error 2 on device 0

PostPosted: Mon Apr 15, 2019 3:06 pm
by bepeg4d
Are you on Mac or PC?
Please, if you are under Windows, go to Control Panel/Device Manager/Display adapters, and share a screenshot:
Image
Then go to Control Panel/Nvidia Control Panel, press the System Informations link, and share another screenshot:
Image

If you are under Mac, please go to Apple menu About this Mac, click on the osx version to show the exact number, and share a screenshot.

Then go to System Preferences/CUDA and share another screenshot, thanks.

ciao Beppe

Re: CUDA error 2 on device 0

PostPosted: Tue Apr 16, 2019 5:01 pm
by jakubvojtasko
Image

Image

Re: CUDA error 2 on device 0

PostPosted: Wed Apr 17, 2019 7:38 am
by bepeg4d
Hi,
please use DDU to completely remove the installed drivers:
http://www.guru3d.com/files-details/dis ... nload.html

Then perform a clean installation of 425.31 drivers:
https://www.nvidia.com/download/driverR ... 5872/en-us

ciao Beppe

Re: CUDA error 2 on device 0

PostPosted: Tue Sep 17, 2019 12:34 am
by vailiyat
jakubvojtasko wrote:Hi! I may have similar problem, but I dont know how to solve it. My scene work in Octane LV but nothing appears in picture viewer. Hope someone can help me with this Im already behind my deadline.

Here is what log file says.

Started logging on 09.04.19 15:45:34

OctaneRender Studio 4.01.1 (4010100)

could not allocate enough space for primitives.
could not allocate enough space for primitives.
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
geometry processing failed (2).
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device memory
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.
could not allocate enough space for primitives.

Hi guy, I think i'm having the same problem. Below is my log. Is this the same VRAM issue?