Rhino 6 loadlibrary failed with error 126

Can’t start Rhino 6. Getting Loadlibrary failed with error 126: the specified module could not be found.

Hello -

Start Rhino in Safe Mode: Windows start menu, type in ‘Rhinoceros’ and look for the ‘Rhinoceros in Safe Mode’ entry.
Does that work?

-Pascal

Yes it starts in Safe mode. I updated the video driver and now it fails to start with Error code 87

Hello - this is starting to feel like a Windows problem - it does seem to be, at least sometimes, video driver related from what I can tell - there are various fixes available for that particular error, it seems, I do not know which if any of the ones I found in my quick search will help in your case.

-Pascal

Hi Korgit,
Did you solve it yet, if yes how?
Same problems here
Edward

Hi Edward -
Could you run the Rhino SystemInfo command and copy-paste the result here?
-wim

sorry I start in safe mode and when I do systeminfo I get error code 87 and rhino closes it self
edward

What fixed this for me was going into Device Manager and disabling the onboard Video card. In my case, an integrated Intel Video card. Once the Add in Nvidia card was the only enabled graphics card, Rhino started up without a problem. Hope this helps.

1 Like

here too same fixe, thanks

Im having the same problem. Rhino wont start if I set my extended monitor as my main display

system info:
Rhino 7 SR21 2022-7-27 (Rhino 7, 7.21.22208.13001, Git hash:master @ c31aea87137a5d0de449338a7ef6856f49dd4797)
License type: Commercial, build 2022-07-27
License details: Cloud Zoo

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

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

Hybrid graphics configuration.
Primary display: AMD Radeon™ Graphics (AMD) Memory: 1GB, Driver date: 5-5-2021 (M-D-Y).
> Integrated accelerated graphics device with 6 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1
Primary OpenGL: NVIDIA GeForce RTX 3080 Laptop GPU (NVidia) Memory: 16GB, Driver date: 5-5-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 512.78
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display device

Secondary graphics devices.
DisplayLink USB Device (DisplayLink) Memory: 0MB, Driver date: 4-16-2020 (M-D-Y).
> External USB display device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0
- Secondary monitor attached to adapter port #1
DisplayLink USB Device (DisplayLink) Memory: 0MB, Driver date: 4-16-2020 (M-D-Y).
> External USB display device with 0 adapter port(s)
- There are no monitors attached to this device. Laptop lid is probably closed

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: 5-5-2022
Driver Version: 30.0.15.1278
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 16 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.21.22208.13001
C:\Program Files\Rhino 7\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 7\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.21.22208.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.21.22208.13001
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\Alerter.rhp “Alerter”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.21.22208.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.21.22208.13001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

Hi -

It looks like you might have your secondary monitor plugged into the wrong GPU?
-wim

No, I think thats actually my second built in display.
I have a an Asus Zephyrus Duo 15 HB083T https://testagent.uk/review/asus-rog-zephyrus-duo-15-gx551qs-hb083t

I have 2 BenQ 4K monitors that are connected via a Startech Docking station. I think they are the ones listed under Secondary Graphics devices.

My system was working fine, until a sent my machine into Asus for a repair and they wiped it entirely. now that I have loaded eveything back on, Rhino seems to be glitchy.

If I don’t make one of the the Benq monitors the main display, then my right click context menus and viewport menus open in wierd places (sometimes I can see them at all)

If I do make one of the Benq monitors the main display then I get the 126 error if I try open Rhino again. Interestingly, if a change it while rhino is open, then there is no problem. I can also open rhino is safe mode fine.

I think what I am struggling to understand is which graphics card the Benq monitors are connected to. I think it should be the Nvidia card, but the Windows advance display settings just specify that they are connected to the docking port. Not sure how to change this.

I connect one of the BenQ’s directly to the machine, and make it my main display, then the 126 error stops, but the context menu problem persists.

Any advice?