Using STKO in Virtual Machine

Locked
onurarslan
Posts: 1
Joined: Mon May 25, 2020 11:05 am

Using STKO in Virtual Machine

Post by onurarslan » Thu Jul 16, 2020 10:09 am

Dear STKO team,

I would like to use STKO in virual machine. Therefore, I installed the software in VM and I entered my CustomerID. However, when I start running the program I just see the STKO logo and then the logo disappeared. The program doesn't run anymore.

I would like to ask you If you could help me.

Best regards,

Onur Arslan

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Using STKO in Virtual Machine

Post by STKO Team » Thu Jul 16, 2020 1:11 pm

Dear User,

If STKO suddently crashes after showing in the splash screen the sentence "Initializing Python Interpreter", it means that your GPU does not support the minimum required OpenGL version (which for STKO is OpenGL 2.1).

Keep in mind that a Virtual Machine does not have a real GPU, so it may happen that, based on the VM you are using, it may not have the minimum required OpenGL version.
Assuming that you are working on Windows, If you want to know details about the VM graphic adapter and the OpenGL support, you can install an application called GLViewer (http://www.realtech-vr.com/home/glview).
When you run it, it will show the supported OpenGL version.

Note: we also noted that some virtual machine seem to have support for OpenGL 2.1, if used directly. However if they are accesses through a Remote Desktop Protocol, they loose somehow this support. In this case you should expose the issue to your VM vendor.

Edit:
If you are accessing your Host PC with Microsoft Remote Desktop, this is a known issue. There is a way that might work (not sure 100%):

RDP has a way to make it use the h.264/AVC 444 hardware encoding. On Windows 10 (do the same both on the Host and on the Client PC) Start the Group Policy Editor by clicking the Windows button and typing gpedit.msc then under Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment : 1. Prioritize H.264/AVC 444 Graphics mode for Remote Desktop connections. When enabled on the RDP Server, the H.264/AVC 444 mode will be prioritized when the RDP 10 client and server both support AVC/H.264 and support the AVC 444 mode.
If present on your windows 10, there is a second option that needs to be enabled. Configure H.264/AVC hardware encoding for Remote Desktop Connections. Double click on both the Prioritize and Configure and choose Enable and Apply.
RDP.png
RDP.png (489.38 KiB) Viewed 2510 times

Locked