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

GPU rendering : Unknown error

11 REPLIES 11
Reply
Message 1 of 12
TasticAd
4376 Views, 11 Replies

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)


Tags (2)
Labels (2)
11 REPLIES 11
Message 2 of 12
Stephen.Blair
in reply to: TasticAd

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)


// Stephen Blair
// Arnold Renderer Support
Message 3 of 12
Stephen.Blair
in reply to: TasticAd

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?

@



// Stephen Blair
// Arnold Renderer Support
Message 4 of 12
TasticAd
in reply to: TasticAd

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 // 


Message 5 of 12
Stephen.Blair
in reply to: TasticAd

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



// Stephen Blair
// Arnold Renderer Support
Message 6 of 12
TasticAd
in reply to: TasticAd

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

Message 7 of 12
Stephen.Blair
in reply to: TasticAd

@

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

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



// Stephen Blair
// Arnold Renderer Support
Message 8 of 12
TasticAd
in reply to: TasticAd

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

Message 9 of 12
TasticAd
in reply to: Stephen.Blair

Hi Stephen. I did that and Maya haven't crash, here's how the bottom Kick log looked like however:
5516-screenshot2020-01-08-170447.png

Message 10 of 12
Stephen.Blair
in reply to: TasticAd

@ 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?



// Stephen Blair
// Arnold Renderer Support
Message 11 of 12
TasticAd
in reply to: 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:
5518-render-settings1.png

Message 12 of 12
Stephen.Blair
in reply to: TasticAd

@ 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




// 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