Windows – Run Application requiring Opengl 3.3 inside Virtualbox Virtual Machine (Windows Host and Windows Guest)

openglvirtual machinevirtualboxwindowswindows 10

I have a program that I would like to run in a virtual machine (not on my host), but it entirely refuses to run without opengl 3.3. I would like to be able to run this program without it crashing immediately (even if performance isn't great). Is there some way to get opengl 3.3 to work in Virtualbox? If not, is there some way to emulate opengl 3.3 in the virtual machine to get the program to think that it's installed? Or is there any other way to get this program to run? If so, how?

My host is Windows 10 and the guest is Windows 10. I'm using Virtualbox 5.2.16. This is the error I'm getting when I try to run the program in a VM: enter image description here

I'm just looking for any way to get past this and am open to all suggestions.

Best Answer

I am not sure you solved your issue already since here is no update yet but I fixed that for myself by using some special environment variables inside the guest to execute my own OpenGL 3.3 binary.

Try this in the guest:

LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER=llvmpipe YourProgramHere

Reference: https://docs.mesa3d.org/envvars.html

Related Question