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)
Hi
Can we get a full log?
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 //
We like to see the full log, because it gives some context for the error.
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..?
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..?
Hi Stephen. I did that and Maya haven't crash, here's how the bottom Kick log looked like however:
@ 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?
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:
@ 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