Jump to content
UltiMaker Community of 3D Printing Experts

Cura running on Virtual Machine


reubengovender
 Share

Recommended Posts

Posted · Cura running on Virtual Machine

We have encountered difficulties installing Cura 2.6.2 on a virtual machine. Cura installs, but once we try to open it, an error message pops up that it is unable to access OpenGL libraries, and Cura closes. Our IT person has suggested that because this is a virtual machine, Cura isn't able to access the GPU as it would on a physical machine. We're working on a virtual machine as this creates an image, which is rolled out to the 100+ PCs in our student laboratories. The virtual machine is running Windows 10.

 

Has anyone encountered similar difficulties? Are there possible work arounds, or do we have to run Cura on a physical machine for it to access the GPU?

 

  • Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    I successfully run Cura on a Ubuntu virtual machine running in a VMWare host on Windows. I have never tried a Windows VM running on a Windows host.

     

    When starting Cura, it asks the OS "can you do OpenGL?". If the OS says "no", Cura cannot start.

  • Link to post
    Share on other sites

    • 1 month later...
    Posted · Cura running on Virtual Machine

    Our IT person was able to address the problem. They installed something (not sure if it was new libraries or drivers) on the Virtual Machine which allowed it to access OpenGL, at which point Cura was able to function properly.

     

  • Link to post
    Share on other sites

    • 9 months later...
    Posted · Cura running on Virtual Machine

    Hi, you can replace your c:\windows\system32\opengl32.dll of your guest windows 10 by this one provided by this guy:

    https://fdossena.com/index.php?p=mesa/index.frag

    To do that you previoulsy need to change user owner of file opengl32.dll under system32 folder, and after that, you need also to allow to the user new owner to have all access permissions to file.

     

    After that, Cura (at leat Cura 5.1) runs under Windows 10 Guest, in a VirtualBox machine in Ubuntu 22.04

     

     

  • Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    @nallath - take note!  

    • Like 1
    Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    @nallath?  Does this make sense?  Should this be a change to the cura windows installer?

  • Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    @MariMakes - can you get the message above (from tornadijo) to someone on the Cura team?  It sounds like this person figured out something pretty important to change in the cura installer for windows.

  • Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    It is not that simple. Just replacing opengl32.dll with a specific version downloaded from some website is going to break Cura for more people than that it is going to fix it.

     

    A working opengl32.dll is part of the system. No application should be replacing it with a specific version for that application to work.

  • Link to post
    Share on other sites

    Posted · Cura running on Virtual Machine

    rats.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...