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

16,896

You can install a Mesa3D OpenGL DLL alongside the program you want to run and this will give you OpenGL 3 support. But this is a software renderer, so how useful it is will depend a lot on what you're trying to do with it. If it's something that has demanding 3D rendering requirements, it will not be useful. If it's something that has very low rendering requirements and just happens to use the OpenGL 3 API, it will probably do quite well.

Share:
16,896

Related videos on Youtube

jippyjoe4
Author by

jippyjoe4

Updated on September 18, 2022

Comments

  • jippyjoe4
    jippyjoe4 over 1 year

    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.

    • Ramhound
      Ramhound over 4 years
      VirtualBox 6.1 doesn’t support OpenGL 3.3; VirtualBox 5.2 doesn’t support it either. The problem is the fact the VirtualBox display driver doesn’t support it. The appropriate version of VMWare Workstation supports OpenGL 3.3
    • jippyjoe4
      jippyjoe4 over 4 years
      @Ramhound, do you know if it would be possible to emulate it some way in virtualbox?
    • Ramhound
      Ramhound over 4 years
      You want to emulate OpenGL support, that isn't going to happen, OpenGL required hardware support in addition to software. VirtualBox does not support OpenGL. There are hypervisors that support it. I will of course not recommend any specific hypervisor.
    • Eir Nym
      Eir Nym about 4 years
      VMSVGA doesn't support OpenGL 3x, VboxSVGA has it's own security flaws, but supports OpenGL 3.x
  • eArmin
    eArmin over 2 years
    Thanks. Mesa3D helped me to solve the issue. Here's the link to download. fdossena.com/?p=mesa/index.frag
  • Admin
    Admin almost 2 years
    Yes, but llvmpipe is a software renderer, so its executed on CPU. If one wants hardware acceleration inside the VirtualBox, the highest possible version so far was OpenGL 2.1.