AMD Vega GPU not used by Cycles

Rhino Render (Cycles) is not using the GPU (AMD Vega 64), although the graphic card is selected in the Cycles tab under Options. Both Task Manager and GPU-Z report 0 activity on the GPU.

The raytracing viewport states OpenCL is still compiling.

Running _RhinoCycles_ListDevices states that 2 devices are available and the GPU is number 1
I also checked the xml settings file and the GPU is set as the rendering device. Then I assumed the issue was caused by AMD ProRender plugin so I removed it but the problem remains. I’m lost to what the cause may be. Could this be caused by the AMD driver? I’m using the latest AMD Pro Edition 22.Q4.

Here is my SystemInfo:

Rhino 7 SR26 2023-1-9 (Rhino 7, 7.26.23009.07001, Git hash:master @ 92abcf7c453c78a236526390d91d0ac1f6779143)
License type: Educational, build 2023-01-09
License details: Cloud Zoo

Windows 10 (10.0.19044 SR0.0) or greater (Physical RAM: 64Gb)

Computer platform: DESKTOP 

Standard graphics configuration.
  Primary display and OpenGL: Radeon RX Vega (AMD) Memory: 8GB, Driver date: 10-25-2022 (M-D-Y). OpenGL Ver: 4.6.0 Compatibility Profile Context
    > Accelerated graphics device with 7 adapter port(s)
        - Windows Main Display attached to adapter port #0

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: 8x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  Vendor Name: ATI Technologies Inc.
  Render version: 4.6
  Shading Language: 4.60
  Driver Date: 10-25-2022
  Driver Version: 31.0.12044.3
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 40636 MB

Rhino plugins that do not ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Tibidabo\VisualARQ.rhp	"VisualARQ"	
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\SpeckleRhino2 (8dd5f30b-a13d-4a24-abdc-3e05c8c87143)\SpeckleConnectorRhino.rhp	"SpeckleConnectorRhino"
  D:\PROG_ORIGINAIS\Rhino_Plugins\elefront422\elefront421\ElefrontProperties.rhp	"ElefrontProperties"
  C:\Program Files\Rhino 7\Plug-ins\Tibidabo\Tibidabo.rhp	"Tibidabo"	
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SubstanceImporter\2.0.3\Substance.Win.rhp	"SubstanceImporter"
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\AMDDenoiser\0.5.3\AMDDenoiser.Windows.rhp	"AMDDenoiser.Windows"
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\IntelDenoiser\0.6.4\IntelDenoiser.Windows.rhp	"IntelDenoiser.Windows"
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Karamba3D\\Karamba3D_LicensePlugin_Rhino7.rhp	"Karamba3DLicense"	
  C:\ProgramData\McNeel\Rhinoceros\packages\7.0\Pollination\1.14.2\Pollination.RH.Loader.rhp	"Pollination.RH.Loader"

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.26.23009.7001
  C:\Users\Filipe\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PanelingTools\2021.3.2.446\PanelingTools.rhp	"PanelingTools"	
  C:\Program Files\Rhino 7\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 7\Plug-ins\RPC.rhp	"RPC"	
  C:\Program Files\Rhino 7\Plug-ins\AnimationTools.rhp	"AnimationTools"	
  C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp	"Legacy Rhino Render"	
  C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp	"Renderer Development Kit UI"	
  C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.26.23009.7001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"

The HUD says “OpenCL still compiling”. Until the compile process has been completed Cycles will run on the CPU.

How long will it take to compile? I have ran several 1 hour renders and two 5,5h ones with render command, plus 15min with the raytracing mode in the viewport. Will it only compile with if the raytracing mode is running?

It shouldn’t take hours. Did you restart Rhino in-between sessions? If you haven’t yet please do and see if that helped.

It didn’t. I left it overnight doing a render. It took about 2h to reach 1000 passes. This morning HUD said it OpenCL was still compiling. Restarted Rhino and the situation remains. It’s been running for 45min and OpenCL is not compiled yet.

I noticed that when reopening the file I had a bunch null reference errors in the display pipeline:

An error occured in the display pipeline @ 17:15:09(132ms)
Message: A referência de objecto não foi definida como uma instância de um objecto.
Type: NullReferenceException

Can this be the cause of the issue?

Hi, I’m having the exact same problem, apart from any errors in the display pipeline. Were you able to solve the issue?

Have you tried Rhino 8?