History Is Super Slow

@pascal we talked about this before when my file sizes were balooning. My history replays are getting slower and slower and I’m starting to pull my hair out.

This update is sub 1 second on a friend’s computer with a Ryzen 3600, but takes over 6 seconds on my machine with a Ryzen 5800X3D:

HistorySlow

Friend’s machine:

HistorySlow.3dm (2.1 MB)

The only difference I can see is that on my machine I get a stream of these during the history updates

Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
Creating meshes... Press Esc to cancel
History updated 33 objects.
Command:

Where is that message coming from?

My system info (Ryzen 5800X3D):

Rhino 7 SR30 2023-5-10 (Rhino 7, 7.30.23130.11001, Git hash:master @ 92e6bbd255ee28a4168ed9e8d38a590062283b45)
License type: Commercial, build 2023-05-10
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32Gb)

Computer platform: DESKTOP 

Standard graphics configuration.
  Primary display and OpenGL: NVIDIA GeForce RTX 3090 (NVidia) Memory: 24GB, Driver date: 2-2-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 528.49
    > Accelerated graphics device with 4 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: 4x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 2-2-2023
  Driver Version: 31.0.15.2849
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 24 GB

Rhino plugins that do not ship with Rhino
  C:\Users\EricM\Documents\Dev\RhinoCopy\Leo.Plugin.rhp	"Leo"	1.0.0.0
  C:\Users\EricM\Documents\Dev\PluginShim\PluginShim\bin\Debug\net48\PluginShim.rhp	"PluginShim"	1.0.0.0
  C:\Users\EricM\Documents\Dev\DiscourseExamples\bin\Debug\net48\DiscourseExamples.rhp	"DiscourseExamples"	1.0.0.0

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.30.23130.11001
  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.30.23130.11001
  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.30.23130.11001
  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\RhinoCycles.rhp	"RhinoCycles"	7.30.23130.11001
  C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	7.30.23130.11001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.30.23130.11001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 7\Plug-ins\Calc.rhp	"Calc"	

My Friend’s system info (Ryzen 3600):

Rhino 7 SR29 2023-4-17 (Rhino 7, 7.29.23107.03001, Git hash:master @ 5f05ef3a2eea3d910c4c2fb79ccc75b413d33ca7)
License type: Commercial, build 2023-04-17
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 16Gb)

Computer platform: DESKTOP 

Standard graphics configuration.
  Primary display and OpenGL: AMD Radeon RX 6600 (AMD) Memory: 8GB, Driver date: 5-12-2023 (M-D-Y). OpenGL Ver: 4.6.0 Compatibility Profile Context 23.5.1.230512
    > Accelerated graphics device with 6 adapter port(s)
        - Secondary monitor attached to adapter port #0
        - Windows Main Display attached to adapter port #1

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: ATI Technologies Inc.
  Render version: 4.6
  Shading Language: 4.60
  Driver Date: 5-12-2023
  Driver Version: 31.0.14057.2005
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 16086 MB

Rhino plugins that do not ship with Rhino
  E:\Rhino\_Shared\Scripts\Leo.Plugin.rhp    "Leo"    1.0.0.0

Rhino plugins that ship with Rhino
  E:\Programs\Rhino 7\Plug-ins\Commands.rhp    "Commands"    7.29.23107.3001
  E:\Programs\Rhino 7\Plug-ins\rdk.rhp    "Renderer Development Kit"    
  E:\Programs\Rhino 7\Plug-ins\RPC.rhp    "RPC"    
  E:\Programs\Rhino 7\Plug-ins\AnimationTools.rhp    "AnimationTools"    
  E:\Programs\Rhino 7\Plug-ins\RhinoRenderCycles.rhp    "Rhino Render"    7.29.23107.3001
  E:\Programs\Rhino 7\Plug-ins\RhinoRender.rhp    "Legacy Rhino Render"    
  E:\Programs\Rhino 7\Plug-ins\rdk_etoui.rhp    "RDK_EtoUI"    7.29.23107.3001
  E:\Programs\Rhino 7\Plug-ins\rdk_ui.rhp    "Renderer Development Kit UI"    
  E:\Programs\Rhino 7\Plug-ins\NamedSnapshots.rhp    "Snapshots"    
  E:\Programs\Rhino 7\Plug-ins\RhinoCycles.rhp    "RhinoCycles"    7.29.23107.3001
  E:\Programs\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp    "Toolbars"    7.29.23107.3001
  E:\Programs\Rhino 7\Plug-ins\3dxrhino.rhp    "3Dconnexion 3D Mouse"    
  E:\Programs\Rhino 7\Plug-ins\Displacement.rhp    "Displacement"    

1 Like

It’s the same sub second update on my laptop with a little i7-1165G7 @ 2.80GHz and onboard graphics. So it’s not the file, it’s not a lack of hardware…it has to be something with the config of my machine.

Rhino 7 SR29 2023-4-17 (Rhino 7, 7.29.23107.03001, Git hash:master @ 5f05ef3a2eea3d910c4c2fb79ccc75b413d33ca7)
License type: Commercial, build 2023-04-17
License details: Cloud Zoo

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

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

Standard graphics configuration.
  Primary display and OpenGL: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 1GB, Driver date: 12-3-2022 (M-D-Y). OpenGL Ver: 4.6.0 - Build 31.0.101.3959
    > Integrated graphics device with 4 adapter port(s)
        - Windows Main Display 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: Intel
  Render version: 4.6
  Shading Language: 4.60 - Build 31.0.101.3959
  Driver Date: 12-3-2022
  Driver Version: 31.0.101.3959
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 1 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.29.23107.3001
  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.29.23107.3001
  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.29.23107.3001
  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\RhinoCycles.rhp	"RhinoCycles"	7.29.23107.3001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.29.23107.3001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"	


Hi Eric - if you have third party rendering plug-ins, try disabling these and see if that makes any difference. What’s Leo?

-Pascal

The last render-er I installed was McNeel’s cartoon one…Flamingo? I don’t do any rendering.

Leo are my scripts. They were on all 3 machines.

Would other Rhino installs affect anything? Since VSR is gone, I could get rid of v5 now. I rarely use 6 except to test scripts. And I’m not using the v8 WIP at the moment.

Hi Eric - does it behave better is all views are in wireframe?

-Pascal

Yeah, it’s the same with wireframe.

I’m in big trouble now though. I thought I’d go ahead and try a complete uninstall, re-install. Uninstalled all the regular and WIP versions, wiped out appdata, c:\programdata, and \HKEY_CURRENT_USER\Software\McNeel.

Rebooted and installed rhino_en-us_7.30.23130.11001.exe. Now I can’t connect to the zoo server.

image

image

I created a firewall rule for Rhino.exe to have full in/outbound connections. I turned off firewall completely. I don’t think it’s even trying to connect.

I took one of my licenses out of my zoo and node-locked it to this PC. With stock Rhino, it’s an instant update. I’m going to add my settings back and see it it breaks.

I imported my options, display modes, toolbars, and a couple of plugins I actually use, and History updates are just as fast as my little laptop.

I still cannot connect to cloud zoo, though. I need to fix that as soon as possible tomorrow.

I see on the slow box you are running a different SR, did you try running it in 7.29?
I’ll share this link with support to look at your licensing issue.

I update to every SR candidate, so yes it was slow in 7.29. This has been going on for at least a year.

I can’t be sure when it started exactly. I use a lot of history, especially since copy paste history was added. I knew it was slow for me, but I didn’t know it was fast for everyone else until someone made a comment.

hi @EricM , as for the licensing issue, does this help: https://wiki.mcneel.com/rhino/install/wizard/start/windows/6/commercial/czpersonal/firewall

if not, this needs to be sorted by tech support, pls contact tech@mcneel.com

No, I can log in to cloud zoo, but it won’t authorize the machine. I turned windows firewall off while I was testing.

I will email them now.

as for your slow history update, it runs fast here as well. But that Creating render meshes… I don’t see here either.

One more question, I’m quite sure you tried without any third party plugins? To me it looks like some event listener is taking focus and preventing History update to run in one go.

Yeah, that was my thought as well. I disabled all 3rd party plugins and it showed them as not loaded, but nothing changed. I’m wondering if I should have gone in the registry and removed them. Maybe a c++ plugin was still doing something?

Rhino needs a way to uninstall plugins.

Is there no way to do a clean install? My ham-fisted approach to wiping out McNeel entries from the registry and eliminating all the plugins I’ve used over the years seems to have severely broken something.

They still haven’t figured out why this machine can’t use the Zoo, so I bought another license this morning to keep working, and now Rhino is full of little weird bugs like Loft’s randomly flipping, VS.NET debugger crashing, etc, etc.

And after a day and a half of it going fast, it’s back to super slow in the middle of a model. No configuration changes. It just started spitting out “creating meshes” and going real, real slow out of nowhere.

No plugins installed.

You perhaps added something to the document that Rhino is having a hard time meshing…

No…I can open the file on other machines, and it’s fine. It’s something with my machine. I’m reinstalling Rhino again right now.