UR Sim and Windows 11 - VirtualBox Incompatible with WSL2?

I’ve been tracking down kernel panics trying to run UR Sim in VirtualBox on a recent build of Windows 11, similar to what’s described here:

https://forums.virtualbox.org/viewtopic.php?f=38&t=105570&sid=a89abcc08285a4f03db34efebb7cdc81

I fixed it, but I had to disable the “Virtual Machine Platform” which is apparently used by Windows Subsystem for Linux 2

image

Apparently this is a known issue:

https://forums.virtualbox.org/viewtopic.php?f=6&t=95426

I had UR Sim working before Build 22581, but I think maybe it was not running with hardware virtualization.

If anyone has a solution to run WSL2 and UR Sim at the same time with hardware virtualization, please let me know. Maybe another VM platform? Or complete and correct instructions for installing UR Sim in WSL2, which was a confusing disaster on Ubuntu 20.04 :sweat_smile:

Otherwise, I thought maybe this post might help others in the robotics community who might have WSL2 enabled on Windows and want to use UR Sim.

2 Likes

Thanks for this post! The final comment in the VirtualBox forum you link to solved this for me: Allocate 2 processor cores when creating the machine. Virtual Machine Platform feature was already off.

Just stumbled upon this thread while wrestling with the same VirtualBox-Windows 11 drama. Your detective work on disabling “Virtual Machine Platform” totally saved my sanity—big thanks! And thanks for sharing those links too, super helpful. I’m very new here and couldn’t help but mention cheap windows 11 key. Anyone got the scoop on that? I’m on the lookout for a deal to upgrade. Also, I feel you on the WSL2-UR Sim struggle. Had a similar Ubuntu 20.04 disaster, haha! If anyone’s cracked the code on running them smoothly together, I’m all ears.

Thanks for recommendation!

Haha, I get the WSL2-UR Sim struggle! Thanks for sharing your experience—definitely makes me feel better knowing I’m not the only one! By the way, if you’re thinking about upgrading, I found some really cheap Windows 11 keys online. You might want to check out a deal for Windows 11 Pro to get the system running smoothly. and if anyone has figured out the magic combo to make UR Sim and WSL2 work together seamlessly, I’d love to hear your tips too!