Community
Arnold GPU Forum
General discussions about GPU rendering with Arnold.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Arnold GPU failure to read *.exr's and/or failing on insufficient device memory ?

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
4357 Views, 9 Replies

Arnold GPU failure to read *.exr's and/or failing on insufficient device memory ?

Hi, I've started testing Arnold GPU and I receive either an error that it cannot read the .exr's that I have as textures, or there is insufficient device memory. The textures total about 4GB. I have a 16GB Quadro p5200 and 128GB of RAM and it's not being utilized in task manager. I have tried with both autoconvert to .tx on and also using just the .exr's. Both fail. It renders fine in CPU mode. I also tried pre-populate GPU cache. It didn't help. Add tags Report

9 REPLIES 9
Message 2 of 10
Stephen.Blair
in reply to: Anonymous

The Arnold log should report how much GPU memory is available, and what's being used. Can you post a log?

Did you try setting the maximum texture solution (Render Settings > System tab) ?



// Stephen Blair
// Arnold Renderer Support
Message 3 of 10
thiago.ize
in reply to: Anonymous

I'm going to guess that's 4GB of textures on disk? Those textures are probably stored compressed, so when we load them onto the GPU they get uncompressed and will use more memory. Very likely this is why there's insufficient device memory. As Stephen suggested, try setting a low maximum texture resolution and if that works, you can keep increasing it until it passes. And yes, that's not a great workflow and is something we plan on improving so that the GPU texture memory usage and workflow is closer to how the CPU works.

Message 4 of 10
Anonymous
in reply to: Anonymous

Here's the log:

00:00:01 4987MB ERROR | [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer")
00:00:01 4988MB ERROR | [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer")
00:00:01 4988MB ERROR | [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer")
00:00:01 4988MB ERROR | [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer")
00:00:01 4991MB ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethBig.tx
00:00:01 4993MB ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlaps01.Base.<udim>.tx
00:00:01 4987MB ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlapsDisp001.<udim>.tx
00:00:01 4987MB ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethDisp003.1012.tx
00:00:01 4987MB ERROR | [gpu] OptiX exception: Invalid value (Details: Function "_rtTextureSamplerSetBuffer" detected error: Invalid object "buffer")
00:00:01 4987MB ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/pup.Diff.<udim>.exr

I've chosen to export the textures as uncompressed from Mari up to this point. Nvidia driver version 431.02

Message 5 of 10
Anonymous
in reply to: Anonymous

Nvidia driver version 431.02

Message 6 of 10
Anonymous
in reply to: Anonymous

*bumping this because my more detailed message is stuck in moderation don't seem to push through until I post another message.

Message 7 of 10
Anonymous
in reply to: Anonymous

Thanks, I posted a previous response the same day that said that it was pending moderation. Not sure what happened to it, so I'm posting again.

I did at one point put the textures down to 512 and I've converted them to .tx. I wasn't using compression on the .exr's so the disk size should be consistent with actual, I think. I also set the render fall back to cpu, so it intuitively shouldn't fail, should it? It should fallback on the cpu render.


Log:

ERROR | [gpu] an error happened during GPU prepare : Insufficient device memory
ERROR | [gpu] OptiX error caught during compilation of optix_renderer shader (program main_ray_gen): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [gpu] OptiX error caught during compilation of optix_renderer shader (program exception): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program prepareBufferForDenoise): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program mapBufferToBuckets): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program denoiserBufferCopy): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file4 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlaps01.Base.<udim>.tx
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file2 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethBig.tx
ERROR | [gpu] OptiX exception during shader file3 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethDisp003.1012.tx
ERROR | [gpu] OptiX exception during shader file6 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlapsDisp001.<udim>.tx
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file7 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/pupDisp001.<udim>.tx
00:01:49 8991MB | [color_manager] using color manager of type "color_manager_syncolor"
00:01:49 8991MB | [color_manager] rendering color space is "scene-linear Rec 709/sRGB" with declared chromaticities:
00:01:49 8991MB | r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:01:49 9001MB |
00:01:49 9001MB | there are 5 lights and 11 objects:
00:01:49 9001MB | 4 persp_camera
00:01:49 9001MB | 4 quad_light
00:01:49 9001MB | 1 mesh_light
00:01:49 9001MB | 1 ray_switch_shader
00:01:49 9001MB | 6 image
00:01:49 9001MB | 1 utility
00:01:49 9001MB | 1 flat
00:01:49 9001MB | 3 standard_surface
00:01:49 9001MB | 5 color_correct
00:01:49 9001MB | 3 multiply
00:01:49 9001MB | 3 range
00:01:49 9001MB | 1 two_sided
00:01:49 9001MB | 56 driver_exr
00:01:49 9001MB | 2 gaussian_filter
00:01:49 9001MB | 7 closest_filter
00:01:49 9001MB | 1 heatmap_filter
00:01:49 9001MB | 1 denoise_optix_filter
00:01:49 9001MB | 10 polymesh
00:01:49 9001MB | 1 list_aggregate
00:01:49 9001MB | 1 cryptomatte
00:01:49 9001MB | 1 cryptomatte_filter
00:01:49 9001MB | 1 color_manager_syncolor
00:01:49 9001MB | 1 renderview_display
00:01:49 9001MB | 1 driver_arv
00:01:49 9001MB |
00:01:49 9001MB | rendering image at 1920 x 1080, 3 AA samples
00:01:49 9001MB | AA samples max <disabled>
00:01:49 9001MB | AA sample clamp <disabled>
00:01:49 9001MB | diffuse samples 2 / depth 1
00:01:49 9001MB | specular samples 2 / depth 1
00:01:49 9001MB | transmission samples 2 / depth 8
00:01:49 9001MB | volume indirect <disabled by depth>
00:01:49 9001MB | total depth 10
00:01:49 9001MB | bssrdf samples 2
00:01:49 9001MB | transparency depth 10
00:01:49 9001MB | initializing 117 nodes ...
00:01:49 9001MB | creating root object list ...
00:01:49 9001MB | node initialization done in 0:00.00 (multithreaded)
00:01:49 9001MB | updating 117 nodes ...
00:01:49 9001MB | aiAreaLightShape2: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | aiAreaLightShape4: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB WARNING | [gpu] shader name unknown to OptixProgramCache: cryptomatte
00:01:49 9001MB | aiAreaLightShape1: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | aiAreaLightShape3: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | light_pCube1Shape: mesh_light using 1 sample, 2 volume samples
00:01:49 9002MB | scene bounds: (-30.6220951 -99.4387665 -31.9039631) -> (30.6140442 75.5455399 -1.28057349)
00:01:49 9002MB | node update done in 0:00.15 (multithreaded)

Message 8 of 10
Anonymous
in reply to: Anonymous

The previous message didn't push through moderation, so here's the longer log again.

I tried reducing the maximum texture size to 512, the render still doesn't work. I see Optix is missing errors in the log. Is Optix installed as part of the GPU beta soley for its denoiser functionality?

ERROR | [gpu] an error happened during GPU prepare : Insufficient device memory
ERROR | [gpu] OptiX error caught during compilation of optix_renderer shader (program main_ray_gen): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [gpu] OptiX error caught during compilation of optix_renderer shader (program exception): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program prepareBufferForDenoise): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program mapBufferToBuckets): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX error caught during compilation of optix_ai_denoiser_utils shader (program denoiserBufferCopy): Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
Internal error while parsing builtin declarations
)
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file4 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlaps01.Base.<udim>.tx
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file2 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethBig.tx
ERROR | [gpu] OptiX exception during shader file3 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/teethDisp003.1012.tx
ERROR | [gpu] OptiX exception during shader file6 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/skinFlapsDisp001.<udim>.tx
ERROR | [gpu] OptiX exception: Invalid context (Details: Function "_rtTextureSamplerSetBuffer" detected error: Mismatched contexts for "buffer")
ERROR | [gpu] OptiX exception during shader file7 Evaluate compile: Parse error (Details: Function "_rtProgramCreateFromPTXString" caught exception: (api input string): error: Failed to parse input PTX string
(api input string), line 1; fatal : Missing .version directive at start of file '(api input string)'
Cannot parse input PTX string
)
ERROR | [texturesys] internal error, null OptiX image program
ERROR | [texturesys] could not read image D:/_Work/_Projects/pup/Textures/pupDisp001.<udim>.tx
00:01:49 8991MB | [color_manager] using color manager of type "color_manager_syncolor"
00:01:49 8991MB | [color_manager] rendering color space is "scene-linear Rec 709/sRGB" with declared chromaticities:
00:01:49 8991MB | r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:01:49 9001MB |
00:01:49 9001MB | there are 5 lights and 11 objects:
00:01:49 9001MB | 4 persp_camera
00:01:49 9001MB | 4 quad_light
00:01:49 9001MB | 1 mesh_light
00:01:49 9001MB | 1 ray_switch_shader
00:01:49 9001MB | 6 image
00:01:49 9001MB | 1 utility
00:01:49 9001MB | 1 flat
00:01:49 9001MB | 3 standard_surface
00:01:49 9001MB | 5 color_correct
00:01:49 9001MB | 3 multiply
00:01:49 9001MB | 3 range
00:01:49 9001MB | 1 two_sided
00:01:49 9001MB | 56 driver_exr
00:01:49 9001MB | 2 gaussian_filter
00:01:49 9001MB | 7 closest_filter
00:01:49 9001MB | 1 heatmap_filter
00:01:49 9001MB | 1 denoise_optix_filter
00:01:49 9001MB | 10 polymesh
00:01:49 9001MB | 1 list_aggregate
00:01:49 9001MB | 1 cryptomatte
00:01:49 9001MB | 1 cryptomatte_filter
00:01:49 9001MB | 1 color_manager_syncolor
00:01:49 9001MB | 1 renderview_display
00:01:49 9001MB | 1 driver_arv
00:01:49 9001MB |
00:01:49 9001MB | rendering image at 1920 x 1080, 3 AA samples
00:01:49 9001MB | AA samples max <disabled>
00:01:49 9001MB | AA sample clamp <disabled>
00:01:49 9001MB | diffuse samples 2 / depth 1
00:01:49 9001MB | specular samples 2 / depth 1
00:01:49 9001MB | transmission samples 2 / depth 8
00:01:49 9001MB | volume indirect <disabled by depth>
00:01:49 9001MB | total depth 10
00:01:49 9001MB | bssrdf samples 2
00:01:49 9001MB | transparency depth 10
00:01:49 9001MB | initializing 117 nodes ...
00:01:49 9001MB | creating root object list ...
00:01:49 9001MB | node initialization done in 0:00.00 (multithreaded)
00:01:49 9001MB | updating 117 nodes ...
00:01:49 9001MB | aiAreaLightShape2: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | aiAreaLightShape4: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB WARNING | [gpu] shader name unknown to OptixProgramCache: cryptomatte
00:01:49 9001MB | aiAreaLightShape1: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | aiAreaLightShape3: quad_light using 1 sample, 2 volume samples
00:01:49 9001MB | light_pCube1Shape: mesh_light using 1 sample, 2 volume samples
00:01:49 9002MB | scene bounds: (-30.6220951 -99.4387665 -31.9039631) -> (30.6140442 75.5455399 -1.28057349)
00:01:49 9002MB | node update done in 0:00.15 (multithreaded)

Message 9 of 10
Anonymous
in reply to: Anonymous

Hi, still waiting on a response to me posting logs. Anyone have any insights? I see many Optix errors in the log, is that the culprit? The memory use appears to be at 9GB and I have 16GB on the card.

Message 10 of 10
Stephen.Blair
in reply to: Anonymous

Can you post the header of the log?

All those errors are because of

ERROR | [gpu] an error happened during GPU prepare : Insufficient device memory


// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report