question

Ad Tastic avatar image
Ad Tastic asked ·

GPU rendering : Unknown error

Hello everyone,

rendering with CPU works well but I run into Unknown error with GPU.
MtoA version is 4.0.0 and I have installed the latest nVidia Studio Drivers (441.66), here is the log:

00:00:00  1066MB WARNING | [mtoa] [<built-in>] [node aov_write_vector] Assigning temporary node id 1138176 to associated Maya type name aiAovWriteVector. 
00:00:00  2260MB         | log started Fri Dec 20 13:16:30 2019 
00:00:00  2260MB         | Arnold 6.0.0.0 [ddee0ddd] 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 2019/11/07 19:59:28 
00:00:00  2260MB         | running on DESKTOP-J1N8TD5, pid=4988 
00:00:00  2260MB         |  1 x AMD Ryzen Threadripper 2990WX 32-Core Processor (32 cores, 64 logical) with 130961MB 
00:00:00  2260MB         |  NVIDIA driver version 441.66 (Optix 60600) 
00:00:00  2260MB         |  GPU 0: GeForce RTX 2080 Ti @ 1545MHz (compute 7.5) with 11264MB (11049MB available) (NVLink:0) 
00:00:00  2260MB         |  GPU 1: GeForce RTX 2080 Ti @ 1545MHz (compute 7.5) with 11264MB (11049MB available) (NVLink:0) 
00:00:00  2260MB         |  GPU 2: GeForce RTX 2080 Ti @ 1545MHz (compute 7.5) with 11264MB (11049MB available) (NVLink:0) 
00:00:00  2260MB         |  GPU 3: GeForce RTX 2080 Ti @ 1545MHz (compute 7.5) with 11264MB (9895MB available) (NVLink:0) 
00:00:00  2260MB         |  
00:00:00  2260MB         |  soft limit for open files raised from 2048 to 2048 00:00:00  2260MB         |  
00:00:00  2260MB         | loading plugins from C:/Program Files/Autodesk/Arnold/maya2020/shaders ... 
00:00:00  2260MB         | loading plugins from C:/Program Files/Autodesk/Arnold/maya2020/procedurals ... 
00:00:00  2260MB         | loaded 121 plugins from 9 lib(s) in 0:00.01 
00:00:00  2260MB         | loading plugins from C:\Program Files\Autodesk\Arnold\maya2020\bin\..\plugins ... 
00:00:00  2260MB         | loaded 5 plugins from 3 lib(s) in 0:00.00 
00:00:00  2260MB         |  
00:00:00  2260MB         | releasing resources 
00:00:00  2257MB         | Arnold shutdown [gpu] an error happened during GPU rendering : Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Assertion failed: "heapEntry->resource.buffer != nullptr : NULL buffer associated with requested page", file: <internal>, line: 84)


mtoagpu
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.

Stephen Blair avatar image
Stephen Blair answered ·

@ Can you try deleting the Optix cache?

Delete everything in %LOCALAPPDATA%\NVIDIA\OptixCache


Then, do not run Pre-Populate, and just try to render. It will be slower to start with the pre-population, but we want to see if the render will work.

If you still crash, then disable NVLink


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.

Ad Tastic avatar image
Ad Tastic answered ·

Second post of today:

I've opened the same scene in Maya 2019 and I can render (GPU) witout a problem. Iteration looks ok.

However this warning occures when I choose Render the current frame:

// Warning: NVLink is not enabled on all selected GPUs, ray and hit stats are disabled // 


Concerning the main problem of this thread, could it be a conflict with multiple graphic cards in aya 2020..?

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.

@ I assume you have the same version of MtoA in both Maya 2019 and Maya 2020.

So the difference would be NVLink? for some reason, enabled when you are in 2020 and not in 2019

In 2019, did it render with just a single card, or with all four cards?

0 Likes 0 · ·
Ad Tastic avatar image Ad Tastic Stephen Blair ♦♦ ·

Hi Stephen, in fact MtoA is 4.0.0 on my Maya 2020 and 3.2.2 on the 2019.

Here is a screenshot of the System settings used in 2019, but I did same in 2020:

0 Likes 0 · ·
Ad Tastic avatar image
Ad Tastic answered ·

Hello Stephen, and happy new while we're at it : )

Well I've tried rendering with simple scenes without this errors, however after I rebuilt a similar scene as the one I had problem with, I still get the same errors: (verbosity level set to Info)

// Error: [gpu] an error happened during GPU rendering : Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Assertion failed: "heapEntry->resource.buffer != nullptr : NULL buffer associated with requested page", file: <internal>, line: 84) // 
// Warning: render terminating early:  received abort signal // updateRenderOverride; 
// Error: [gpu] Fatal GPU error occurred, please restart the host application // 

with Arnold RenderView:

// Error: file: C:/Program Files/Autodesk/Maya2020/scripts/others/renderWindowPanel.mel line 3089: menuItem: Object 'renderViewmenubarStereoDisplayItem' not found. // 
import mtoa.ui.arnoldmenu as arnoldmenu; arnoldmenu.arnoldMtoARenderView() 
// Error: [gpu] Fatal GPU error occurred, please restart the host application // 

Maybe is Maya 2020 the problem..?

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.

@

In Render Settings > System, change the Render Type to Export ASS and kick

If that crashes, and it probably will, it's not Maya

1 Like 1 · ·
Ad Tastic avatar image Ad Tastic Stephen Blair ♦♦ ·

Hi Stephen. I did that and Maya haven't crash, here's how the bottom Kick log looked like however:

0 Likes 0 · ·
Ad Tastic avatar image
Ad Tastic answered ·

Hi Stephen, thanks for your concern.

I've set the settings and even tried to render on another scene but I don't get much more informations than this:

// Warning: NVLink is not enabled on all selected GPUs, ray and hit stats are disabled //
// Error: [gpu] an error happened during GPU rendering : Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Assertion failed: "heapEntry->resource.buffer != nullptr : NULL buffer associated with requested page", file: <internal>, line: 84) //
// Warning: render terminating early:  received abort signal // 


1 comment 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.

We like to see the full log, because it gives some context for the error.

0 Likes 0 · ·
Stephen Blair avatar image
Stephen Blair answered ·

And does this happen with any scene?

If it happens only with certain scenes, can you send a scene to support at arnoldrenderer dot com?

@

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.

Stephen Blair avatar image
Stephen Blair answered ·

Hi

Can we get a full log?

  • Set the Arnold log verbosity to Info (Render Settings > Diagnostics)
  • Render the current frame (don't use the Arnold Render View unless you select View > Log > Full)
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.

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.