Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error: [gpu] an error happened during rendering. OptiX error is: Unknown error

10 REPLIES 10
Reply
Message 1 of 11
gokdenizcetintr
2189 Views, 10 Replies

Error: [gpu] an error happened during rendering. OptiX error is: Unknown error

Hi everyone,

I'm unable to render my scene in Arnold. Every attempt become fail.


1630785762601.png

Maya 2022

GTX 1660 Ti (latest driver)


I need help. Thanks in advance.


1630785843075.png


file -f -new; // untitled // // Warning: Panel size cannot accommodate all requested Heads Up Display elements. // doOpenFile ("C:/Users/adkga/Desktop/Elyssa Scene.ma"); file -f -options "v=0;p=17;f=0"  -ignoreVersion  -typ "mayaAscii" -o "C:/Users/adkga/Desktop/Elyssa Scene.ma";addRecentFile("C:/Users/adkga/Desktop/Elyssa Scene.ma", "mayaAscii"); evalDeferred "shaderBallRendererMenuUpdate"; // Warning: file: C:\Users\adkga\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'. // // Warning: file: C:\Users\adkga\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'. // // Warning: file: C:\Users\adkga\Documents\maya\2022\prefs\filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'. // // Warning: line 1: filePathEditor: Attribute 'aiVolume.filename' and label 'VDB' have been saved already. // // Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already. // // Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been saved already. // import arnold # Successfully imported python module 'arnold' import mtoa # Successfully imported python module 'mtoa' import mtoa.cmds.registerArnoldRenderer;mtoa.cmds.registerArnoldRenderer.registerArnoldRenderer() # Successfully registered renderer 'arnold' updateRenderOverride; // Warning: line 0: The mesh |MedievalFBXASC032houseFBXASC0323|MedievalFBXASC032houseFBXASC0323Shape contains invalid or unused components.  These can be cleaned up using the Mesh Cleanup dialog. // // Warning: line 0: Errors have occurred while reading this scene that may result in data loss. 
Please check the Script Editor for details. // // File read in  15 seconds. commandPort -securityWarning -name commandportDefault; onSetCurrentLayout "Maya Classic"; updateRendererUI; // Error: file: G:/Program Files/Autodesk/Maya2022/scripts/others/hikCharacterControlsUI.mel line 323: Object 'hikCharacterList|OptionMenu' not found. // // Error: file: G:/Program Files/Autodesk/Maya2022/scripts/others/hikCharacterControlsUI.mel line 323: Object 'hikCharacterList|OptionMenu' not found. // // Loading Bifrost version 2.2.1.0-202102081428-b33b49f // Bifrost: Loading library: Amino, from: Autodesk. // Bifrost: Loading library: AminoMayaTranslation, from: Autodesk. // Bifrost: Loading library: bif, from: Autodesk. // Bifrost: Loading library: bifrostObjectMayaTranslations, from: Autodesk. // Bifrost: Loading library: geometries, from: Autodesk. // Bifrost: Loading library: fluids, from: Autodesk. // Bifrost: Loading library: particles, from: Autodesk. // Bifrost: Loading library: file, from: Autodesk. // Bifrost: Loading library: midgard, from: Autodesk. // Bifrost: Loading library: modeling, from: Autodesk. // Bifrost: Loading library: nucleus, from: Autodesk. // Bifrost: Loading library: simulation, from: Autodesk. // Bifrost: Loading library: riv_types, from: Autodesk. // Bifrost: Loading library: riv, from: Autodesk. // Bifrost: Loading library: scatter_pack, from: Autodesk. // AbcExport v1.0 using Alembic 1.7.5 (built Nov 30 2020 18:40:46) // AbcImport v1.0 using Alembic 1.7.5 (built Nov 30 2020 18:40:46) // Error: line 0: Cannot find procedure "shelf_Bifrost". // // Warning: The shelf "Bifrost" has items that cannot be read. // select -r |Character1_Ctrl_Reference ; select -r -sym Character1_Ctrl_RightWristEffector ; select -r -sym Character1_Ctrl_RightWristEffector ; move -r 21.35745 -49.784928 3.800795 ; move -r 21.071325 22.976379 15.179626 ; select -r -sym Character1_Ctrl_LeftWristEffector ; move -r -44.465335 -31.518116 -2.595945 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_LeftWristEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_LeftWristEffector"}; // 36 // currentTime 4 ; move -r 23.15513 13.744803 2.140671 ; select -r -sym Character1_Ctrl_RightWristEffector Character1_Ctrl_RightElbowEffector ; move -r -10.819509 0 -2.899079 ; select -r -sym Character1_Ctrl_ChestEndEffector ; rotate -r -os -fo 0 0 19.597246 ; select -r -sym Messy_Side_Bun ; select -r -sym Genesis8FemaleEyelashes ; select -r -sym Character1_Ctrl_HeadEffector ; rotate -r -os -fo 0 0 -32.388344 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_HeadEffector.rotate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_HeadEffector"}; // 12 // currentTime 0 ; currentTime 0 ; // Press the ESC key to stop playback. currentTime 3 ; currentTime 0 ; rotate -r -os -fo 0 0 52.544807 ; select -r -sym Character1_Ctrl_RightWristEffector ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_RightWristEffector.rotate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_RightWristEffector"}; // 36 // move -r -19.178385 6.160916 -6.960342 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_RightWristEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_RightWristEffector"}; // 36 // currentTime 0 ; // Press the ESC key to stop playback. currentTime 24 ; currentTime 0 ; move -r 6.979957 -22.771551 1.745321 ; select -r -sym Character1_Ctrl_ChestEndEffector ; move -r 4.082543 -11.219962 0.898176 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_ChestEndEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_ChestEndEffector"}; // 24 // currentTime 3 ; move -r -31.17493 -5.685627 -1.519897 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_ChestEndEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_ChestEndEffector"}; // 16 // currentTime 7 ; move -r 63.320129 -4.784729 4.0415 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_ChestEndEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_ChestEndEffector"}; // 16 // currentTime 0 ; // Press the ESC key to stop playback. currentTime 19 ; currentTime 18 ; move -r -111.357469 -28.388934 -4.95697 ; setKeyframe -breakdown 0 -preserveCurveShape 0 |Character1_Ctrl_Reference|Character1_Ctrl_ChestEndEffector.translate; // 3 // setKeyframe -breakdown 0 -preserveCurveShape 0 -hierarchy none -controlPoints 0 -shape 0 {"Character1_Ctrl_ChestEndEffector"}; // 16 // currentTime 0 ; // Press the ESC key to stop playback. currentTime 1 ; currentTime 18 ; select -cl -sym  ; select -r -sym MedievalFBXASC032houseFBXASC0323 ; // Error: [gpu] an error happened during rendering. OptiX error is: Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Encountered a CUDA error: cudaDriver().CuEventSynchronize( m_event ) returned (716): Misaligned address, file: <internal>, line: 0)     GPU 0 had 2774MB free before rendering started and 1108MB free when crash occurred     GPU errors are sometimes due to a GPU not having enough remaining free memory. To see if this is what happened here, try simplifying your scene or running on a GPU with more free RAM to see if it solves the crash. Otherwise, upgrading to the latest nvidia gpu driver and Arnold core (available from www.arnoldrenderer.com) might fix the crash // 
Labels (4)
10 REPLIES 10
Message 2 of 11

That's not a lot of memory:

 GPU 0 had 2774MB free before rendering started and 1108MB free when crash occurred

How much memory is used for a CPU render (get an Info-level Arnold log for that) ?




// Stephen Blair
// Arnold Renderer Support
Message 3 of 11

Hi.

My GPU is GTX 1660 Ti (6 GB) and it should be ok for one character and one medieval house gameobject. I'm able to render 3 high quality characters and a big scene on Daz3D with Iray.

But I never able to render my scene on Maya with Arnold. I always get error and render stops.

CPU only works but it took ages to complete (I have i7 8700). I must use my graphics card.

I tried on both Maya 2019 and 2022 versions, same problem occurs.

Do you have any idea what is causing to this problem?

Thank in advance.

Message 4 of 11

Log file please?


// Stephen Blair
// Arnold Renderer Support
Message 5 of 11

There's 600 characters limit, I can't copy paste here nor upload file as txt.

Message 6 of 11

Here's an example. I compressed and 11MB log file with WinRar, renamed the .rar file to .rar.txt, and uploaded it: mayaRenderLog.rar.txt



// Stephen Blair
// Arnold Renderer Support
Message 7 of 11

I can upload image files but txt is not allowed for me
Message 8 of 11

I installed OptiX driver directly from the Nvidia website but still same.

I also tested on Maya 2019 version but no luck.

Message 9 of 11

// Error: [gpu] an error happened during rendering : Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Encountered a CUDA error: cudaDriver().CuEventSynchronize( m_event ) returned (716): Misaligned address, file: <internal>, line: 0) // 
// Error: [gpu] Fatal GPU error occurred, please restart the host application // 
// Warning: Aborted by user:  received abort signal // 
// Warning: Render view: Selected region is too small // 
select -r Messy_Side_Bun ;
// Error: [gpu] Fatal GPU error occurred, please restart the host application // 
Message 10 of 11
asykKAA3K
in reply to: gokdenizcetintr

I have found a solution. it is necessary to enable "Adaptive sampling" in the Arnold render settings.

Message 11 of 11
mnesterov22
in reply to: asykKAA3K

Thank you! It helped me too. I've a same problem but I have a maya 2020 and RTX2070. I tried to render sequence through Arnold GPU in 4K resolution. My scene have only one spot light with a Gobo filter. Now it works after switch on "Adaptive Sampling".

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

Post to forums