cancel
Showing results for 
Search instead for 
Did you mean: 

Using MCSDK / Motor Pilot in a virtual machine

Marc1
Associate III

Unfortunately MCSDK is not available for Linux. So I have installed it on a virtual machine. But the application "Motor Pilot" doesn't work. It even doesn't start.

I have tried with MCSDK 6.1.1 and 6.1.0, with Windows 11 and Windows 7, with

Oracle VM VirtualBox and virt-manager / libvirt. In all cases the application "Motor Profiler" doesn't start.

Has anybody got MCSDK working in a virtual machine?

Update:

Finally I got it working. Motor Profiler and Motor Pilot require 3D Acceleration support. 3D Acceleration from VirtualBox and virt-manager don't work properly with those applications. Some parts of the screens are shown upside down.

Solution with VirtualBox:

Deactivating VirtualBox 3D Acceleration and selecting Graphic Controller VMSVGA. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

Solution with virt-manager:

Deactivating virt-manager 3D Acceleration and OpenGL. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

1 ACCEPTED SOLUTION

Accepted Solutions
Zied b.
ST Employee

Hello @Marc1 ,
I am sorry for a late response on the motor control forum, it seems that you found the solution yourself, to be able to mark your solution as "best solution" so here is your answer which is marked as best answer:

Finally I got it working. Motor Profiler and Motor Pilot require 3D Acceleration support. 3D Acceleration from VirtualBox and virt-manager don't work properly with those applications. Some parts of the screens are shown upside down.

Solution with VirtualBox:

Deactivating VirtualBox 3D Acceleration and selecting Graphic Controller VMSVGA. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

Solution with virt-manager:

Deactivating virt-manager 3D Acceleration and OpenGL. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

If you agree with my answer, please accept it by clicking on "Accept as solution".

View solution in original post

1 REPLY 1
Zied b.
ST Employee

Hello @Marc1 ,
I am sorry for a late response on the motor control forum, it seems that you found the solution yourself, to be able to mark your solution as "best solution" so here is your answer which is marked as best answer:

Finally I got it working. Motor Profiler and Motor Pilot require 3D Acceleration support. 3D Acceleration from VirtualBox and virt-manager don't work properly with those applications. Some parts of the screens are shown upside down.

Solution with VirtualBox:

Deactivating VirtualBox 3D Acceleration and selecting Graphic Controller VMSVGA. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

Solution with virt-manager:

Deactivating virt-manager 3D Acceleration and OpenGL. Installing Mesa3D Windows drivers from https://github.com/pal1000/mesa-dist-win/.

If you agree with my answer, please accept it by clicking on "Accept as solution".