Visual Studio Insiders Crash while Debugging

Hey Developers,

this is probably more a word of warning rather than anything we can fix on Rhino’s side. Visual Studio Insiders [11626.173] hangs Windows when starting a Rhino debug session while Google Chrome [147.0.7727.56] is playing a video with hardware acceleration turned on.

It took me a few hours to realize that this is not a bug in my plugin. Hopefully it will save you time in the future should you run into similar issues :slight_smile:

I gave up on the insiders builds, because they are constantly breaking things with the Copilot integration tooling. It just works reliably on their stable build, but goes out to lunch 75% of the time on Insiders…

Did you by chance make certain your video drivers are fully up-to-date. Seems like that would be the first place I would check related to hardware video decoding support…

It looks like a bigger issue than I initially thought. The crash happens also with regular (non-debug) Rhino sessions when another hardware-accelerated app is running. I just had a crash during a Teams call.

/safemode runs fine. I suspect this is because it doesn’t use OpenGL.

I have the latest Nvidia drivers and am investigating this further.

I don’t know if it’s related, it’s just an observation. If you have an Nvidia “pro” graphics card, two drivers are regularly updated: versions 13 and 12. After encountering several bugs (but not with Rhino or Visual Studio), I downgraded my drivers to CUDA version 12, as it’s much better supported. This resolved my issues.

If safemode resolves the issue, you might also want to look at what extensions you are running in VS…

Thanks for your tips guys!
A clean install of Rhino helped. I tried repairing Rhino, Windows Update, latest Nvidia Drivers, nothing worked. But a clean uninstall, registry wipe, and a fresh install fixed it. Probably something super specific to my setup because ‘it worked yesterday’ :wink: