question

Jerry Lewis avatar image
Jerry Lewis asked ·

Insufficient Memory GPU error

I'm getting this error when trying to render with GPU. Can you please help me?

Initialized VP2.0 renderer {
Version : 2016.11.53.12. Feature Level 5.
Adapter : GeForce RTX 2080 Ti/PCIe/SSE2
Vendor ID: 4318. Device ID : 7687
Driver : .
API : OpenGL V.4.6.
Max texture size : 16384 * 16384.
Max tex coords : 32
Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
Shader compiler profile : (Best card profile)
Active stereo support available : 0
GPU Memory Limit : 11264 MB.
CPU Memory Limit: 30951.3 MB.
MultiDraw consolidation: enabled
}
OpenCL evaluator is attempting to initialize OpenCL.
Detected 2 OpenCL Platforms:
0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 1.2 CUDA 10.2.131.
Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics
1: Intel(R) Corporation. Intel(R) OpenCL. OpenCL 1.2 .
Supported extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
Choosing OpenCL Device GeForce RTX 2080 Ti. Device Type: GPU Device is available.

00:00:00 1478MB | log started Wed Feb 19 20:26:52 2020
00:00:00 1478MB | Arnold 6.0.2.0 [46703ee7] windows icc-17.0.2 oiio-2.1.4 osl-1.11.0 vdb-4.0.0 clm-1.1.1.118 rlm-12.4.2 optix-6.5.0 2020/02/12 19:28:33
00:00:00 1478MB | host application: MtoA 4.0.2 46d4a92e (master) Maya 2020
00:00:00 1478MB | running on Himi, pid=10664
00:00:00 1478MB | 1 x Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (4 cores, 8 logical) with 32580MB
00:00:00 1478MB | NVIDIA driver version 442.19 (Optix 60600)
00:00:00 1478MB | GPU 0: GeForce RTX 2080 Ti @ 1635MHz (compute 7.5) with 11264MB (9028MB available) (NVLink:0)
00:00:00 1478MB |
00:00:00 1478MB | soft limit for open files raised from 2048 to 2048
00:00:00 1478MB |
00:00:00 1478MB | loading plugins from C:/Program Files/Autodesk/Arnold/maya2020/shaders ...
00:00:00 1478MB | loading plugins from C:/Program Files/Autodesk/Arnold/maya2020/procedurals ...
00:00:00 1478MB | loaded 121 plugins from 9 lib(s) in 0:00.01
00:00:00 1478MB | loading plugins from C:\Program Files\Autodesk\Arnold\maya2020\bin\..\plugins ...
00:00:00 1478MB | loaded 6 plugins from 4 lib(s) in 0:00.07
00:00:00 1478MB |
00:00:00 1478MB | releasing resources
00:00:00 1475MB | Arnold shutdown
ERROR | [gpu] an error happened during rendering : Insufficient device memory
[gpu] an error happened during rendering : Invalid value






10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Troy Cook avatar image
Troy Cook answered ·

I had this issue when I referenced an object in my scene that had something wrong with the texture. It wasnt even the displacement map but the .TIFF image file was wrong somehow. I deleted the shader entirely and replaced it. After that it seemed to work again. Hope this helps.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Vlad Lain avatar image
Vlad Lain answered ·

Increase the size of the paging file, it helped me

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Jerry Lewis avatar image
Jerry Lewis answered ·

I found someone else who had the question.

https://answers.arnoldrenderer.com/questions/18731/arnold-gpu-failure-to-read-exrs-andor-failing-on-i.html

I set the max texture to 5,000 and it rendered. then, I set it to 10,000 and it rendered again but, on the third render I set the AA sample from 3 to 6 and it crashed. After that no matter what I set the max texture at or how low I put the AA samples it crashes. It's kinda wonky

2 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

After certain GPU errors occur (especially with crashes) you might have to restart Maya for it to work again. In rare cases, a reboot is needed.

0 Likes 0 · ·

I tried that too. Thank you

0 Likes 0 · ·
Jerry Lewis avatar image
Jerry Lewis answered ·

Hi, again. After I lowered the max subdivisions to 1 I got this error.

// Error: [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer") //
// Error: [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer") //
// Error: [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer") //
// Error: [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer") //

The cpu renders the scene fine, but i would like to use the Gpu for faster rendering. Its a single character with a dome light and 3 other lights.


Thank you for your help

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Girijashankar Senapati avatar image
Girijashankar Senapati answered ·

You can try decreasing the Subdivision value, or remove it. Still do not work, try splitting the scene.

2 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Ok, Thank you. I will give it a try

0 Likes 0 · ·

Wow Arnold...we have come to splitting a scene up. This should definitely be cover in an Arnold Video tutorial!

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.