Custom Preview Grasshopper

Hello,

Yesterday Custom Preview component started to take a lot of time to function. I’m talking around 5 to 7 seconds. It even got to freeze and crash Rhino.
I use GH every day and this has never happened before.
Has anyone else suffer this error?
Is there a new update coming to Rhino 7 and grasshopper? It is very frustrating.

Another thing that is also happening is that UNDO command got very slow.
I recently installed the latest V-ray version. I’m not sure if this could be affecting Rhino since a couple of v-ray commands are not working.

Thanks

Hi idamartinortiz,

please run systemInfo in the Rhino command line and paste the results here.

My initial impression is that this is plugin related, or perhaps video card setup

Hello Japhy,

Here it goes

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

Windows 11 (10.0.22621 SR0.0) or greater (Physical RAM: 16Gb)

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 (NVidia) Memory: 6GB, Driver date: 6-23-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 536.40
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1

Secondary graphics devices.
Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 6-1-2021 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

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: 6-23-2023
Driver Version: 31.0.15.3640
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Bongo 2.0 (64-bit)\BongoUI.20.v60.rhp “BongoUI20v60”
C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V7\VRayForRhino.rhp “V-Ray for Rhino”
C:\Grasshopper Gold\food4rhino\plugin Rhino\ElefrontProperties.rhp “ElefrontProperties” 1.0.0.0
D:\Downloads\Lightmap Tugnstone\HDRI Light Studio Plugins Win64\Rhino3D\Rhino_6_Win_2018.1130\HDRLightStudioTexture.rhp “HDRLightStudioTexture”
C:\Program Files\Bongo 2.0 (64-bit)\Rhino6\Bongo.20.rhp “Bongo 2.0”
C:\Users\toonf\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SubstanceImporter\1.0.0\Substance.Win.rhp “SubstanceImporter” 1.0.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\SolidTools.rhp “SolidTools”
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.26.23009.7001
C:\Users\toonf\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”

I also recently installed Lightmap Node for Rhino… Now even selecting object is taking for ever.
Weird thing is that I’ve been using V-ray since forever and everything worked fine. Maybe is Lightmap?
But I installed it a few days ago and Rhino was working fine.

What is the nature of the geometry being previewed? How many items in the data tree?

one point curves and a lofted surface created in GH, nothing that Rhino or GH can not handle…

This is getting worse and worse, Rotating view, performing any command…

Internalize the geometry and post only that?

3. Attach minimal versions of all the relevant files

I believe is Rhino in general. Now even selecting objects and rotating view has terribly slowed down.

What you believe might be totally irrelevant. That’s why posting geometry (and GH code) is so important.

1 Like

This is Ip work that I can not share, sorry. Anyway, I have many other files with loooots of geometry and always worked fine.

Just closing GH took 10 seconds for Rhino to be active. Closing Rhino also took about 10 seconds…
I will check on GPU.

Lets try running Rhino in safe mode (via window apps), this will load with no video drivers or plugins. Accept the plugin loads to get grasshopper open.

If its OK there, lets disable plugins that do not ship with Rhino (File>Properties>Plugins the filter by do not ship with Rhino)

To Josephs point, can you show the tree branch going into your custom preview with the param viewer component? there could be a grafting situation causing extremely large amount items.

Is this only happening in one particular file?

2 Likes

OK, here goes.

1- I runed windows update and Nvidia GPU updates. All is up to date now.

2- I runed R7 in safe mode, all good. GH started faster and custom display node worked fine, except that the geometry coming from GH was not visible in Rhino.

3- Runed R7 the regular way (new and empty file), GH worked fine, even custom display and geometry from GH was visible as usual. No slag in performance.

4- I opened a different file from the one that I’m having trouble with, it all worked fine, custom preview and color swatch worked fine. I could select, undo, move, smoothly.

5- I opened the file with problems. I undo, move, scale, drag, select,… etc … performance is just fine in R7.
Started GH with new file with no components or imported geometry. performance is ok… but as soon as I drag down Custom Preview module (which also is slow and mouse cursor with the plus sign stays active a few seconds), everything got slow again, undo in R7 got slow again. Selecting also… Shutting down GH and R7 also got slow.

6- Opened an early/previous date version of the R7 problematic file (where I had no problems) and an early version of GH file with the Custom Preview Node on canvas and everything got slow also.

7- Runed Rhino 5, Custom preview performed well and there was NO slowing down of performance in Rhino

Thoughts?
Sadly I can’t start a new R7 file… There is a lot of worked done in R7 and GH files. (year and half worth of work)

This problem is happening with GH native geometry/components… a simple sphere with no previous steps… no grafting or flattening needed…

This is with plugins disabled?

Please ensure you are using high performance graphics per these instructions…

All this is WITH plugins enabled.

I just disable all plugins that do not ship with R and performance got back to normal, maybe a little delay with UNDO…

What can be done, since I need this plugins, Specially V-ray and some others ones.

I forgot to mention that I installed BONGO 9trial version) a week ago. Bongo’s toolbars in R7 won’t upload, I get a error message.

You’ll need to identify the specific plugin and contact the plugins team for assistance.

Please post a thread in the Bongo forum category for Bongo support.

Thanks!

Rhino 7 is running at High Performance FYI…

1 Like

One by one? :slightly_smiling_face:

I will activate all the plugins except Bongo and come back with results.

Thanks