RhinoCyclesKernelCompiler.exe Persistent CPU usage

@nathanletwory

do you know if this is common to have these processes consume 6% of my CPU or an entire core even when Rhino is completely closed?

and it seems that It uses a single thread of my preferred Core

** System Info **

Rhino 8 SR4 2024-1-2 (Rhino 8, 8.4.24002.14001, Git hash:master @ 7faddd1d50be68345df3a2d9edc8aed3ad2d9af4)
License type: Commercial, build 2024-01-02
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 1.3e+02Gb)
.NET 7.0.14

Computer platform: DESKTOP

Hybrid graphics configuration.
Primary display: NVIDIA Quadro RTX 4000 (NVidia) Memory: 8GB, Driver date: 10-26-2023 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1
Primary OpenGL: NVIDIA A40 (NVidia) Memory: 48GB, Driver date: 10-26-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.01
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 10-26-2023
Driver Version: 31.0.15.4601
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 49140 MB

Rhino plugins that do not ship with Rhino
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V8\VRayForRhino.rhp “V-Ray for Rhino”
C:\Users\tayO\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\ColorPicker\6.0.0\ColorPicker.rhp “ColorPicker”
C:\Users\tayO\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\SubstanceImporter\2.0.5\Substance.Win.rhp “SubstanceImporter” 2.0.5.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.4.24002.14001
C:\Users\tayO\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.4.24002.14001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

1 Like

Yes. It is an out-of-process (Rhino process) GPU kernel compilation, which will happen for instance when Nvidia GPU drivers have changed, or RhinoCycles kernel source code has changed. It will close when it is done.

In Tools > Options > Rhino Render you’ll find a button to show compilation log, it’ll probably tell you that compilation is in progress. The dots after the render devices will be orange while they are not ready, and become green when compilation has finished.

Depending on the load on my RTX A6000 and RTX 6000 GPUs it takes between 4 and 12 minutes to complete.

Example output on my Mac:

COMPILER OUTPUT:

Apple M2 Max (GPU - 30 cores) already completed

ERROR LOG:

Compile start time: 01/03/2024 18:04:45
Compile end time  : 01/03/2024 18:04:45

It seems everything is Good Here both in Cuda and Optix

COMPILER OUTPUT:

NVIDIA A40 already completed
Quadro RTX 4000 already completed
NVIDIA A40 (Optix) already completed
Quadro RTX 4000 (Optix) already completed


ERROR LOG:



Compile start time: 01/03/2024 14:55:42
Compile end time  : 01/03/2024 14:55:43

I’ll let you know if I see the compiler running again!

If it does indeed let me know! Always check the output, and if it says it is done, but you still see one running there is a booboo somewhere.

It should stop running after 15 or so minutes. If there is still a process running we have a zombie.

You can always kill it through the task manager, though.

It took more than an hour; I restarted my machine since then. I’ll keep an eye on that and will keep you updated,

Thank you @nathanletwory

Hmm, not sure yet how that could happen, I have this line ensuring that maximum of 15 minutes is spent:

(yes, I noticed the incorrect message for the exception I throw in this case).

1 Like

I don’t understand C Languages, but your conditional statement makes a complete sense.