Texture Issue - CUDA error 2 on device 0: out of memory

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

I've been working on a scene, and whenever I bring in new objects with textures and try to render the scene in the live viewer, I get an error message. After looking around, it seems that the issue is tied to two objects in my scene that were textured in substance painter. When I delete them from the scene, it renders with no issue. I used to think it was because the textures were in PNG format, so I redid them in Jpg. This apparently didn't solve the issue. What is it about these textures and how they're set up that causes the error message?

Link to the textures and object scene: https://www.dropbox.com/s/gzh3hr82cnf2g ... t.zip?dl=0

Error log:
OctaneRender 3.08.5 (3080500)

CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 700 on device 0: an illegal memory access was encountered
-> kernel execution failed(kernel25)
CUDA error 700 on device 0: an illegal memory access was encountered
-> failed to copy memory from device.
device 0: info channel kernel failed

Another error i get when its not the former:

OCT:device 0: failed to upload data texture 23 of context 1

I'm using Titan XP on Cinema 4D with an EGPU enclosure. On Mac OS High Serria.
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

Update: switching from 8k textures to 4k versions seems to fix the issue. But I have other 8K textures in this scene and others that work without issue.
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

It seems solely tied to the TV object. I applied an 8K texture to a random object in the scene, and the scene crashed. When I deleted the TV object and applied the 8K texture to the same object, it worked fine. I'm not sure why this object is crashing the scene like it is.
User avatar
bepeg4d
Octane Guru
Posts: 10433
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
unfortunately you have not shared all the textures, so it is difficult to say:
Screen Shot 2018-11-12 at 18.47.47.png
Next time, please, save the project with assets, in order to collect all the textures before sharing.
At the moment the scene takes ~5.8GB of VRAM, and renders with no issues here, in both 3.08.5, and 4RC7:
Screen Shot 2018-11-12 at 18.56.23.png
ciao Beppe
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

The textures that aren't connected are for objects that aren't in the scene. The two specific objects with 8K textures that seem to be causing the issue are "Screen" and "Brown"
Post Reply

Return to “General Discussion”