OpenGL in Linux guest OS when hosted on Mac

Discussion in 'Linux Guest OS Discussion' started by btschumy, Aug 31, 2021.

  1. btschumy

    btschumy Bit Poster

    Messages:
    2
    I have written an application in Unity that I would like to test on Linux using Parallels on Mac. I installed Mint but when I tried to run the app it fails, being unable to locate the OpenGL libraries.

    I did find this in the Knowledge Base from 2018 that indicates there is no OpenGL support in macOS and Linux virtual machines: https://kb.parallels.com/124138

    Can anyone confirm if this is still true?
     
  2. (GalaxyMaster)

    (GalaxyMaster) Kilo Poster

    Messages:
    90
    OpenGL 1.3 seems to work fine, however 1.4 is a bummer -- there is a bug inside libEGL provided by Parallels:
    Code:
    Core was generated by `eglinfo'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0x0000000000000008 in ?? ()
    (gdb) bt
    #0  0x0000000000000008 in ?? ()
    #1  0x00007f581ec8522a in PrlDisplay::Cleanup(PRLGL_DISPLAY) () from /usr/lib/libPrlDRI.so.1
    #2  0x00007f581f0d55df in ?? () from /usr/lib/libEGL.so.1
    #3  0x00007f581ef40a8e in __cxa_finalize () from /usr/lib/libc.so.6
    #4  0x00007f581f0d0db3 in ?? () from /usr/lib/libEGL.so.1
    #5  0x00007fff344c5970 in ?? ()
    #6  0x00007f581f3091a4 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
    Backtrace stopped: frame did not save the PC
    
     
  3. (GalaxyMaster)

    (GalaxyMaster) Kilo Poster

    Messages:
    90
    OK, I worded it poorly, I am afraid. Parallels Desktop supports OpenGL 2.1 inside Linux guests (in comparison to OpenGL 3.* for Windows guests). It crashes when it comes to EGL 1.4. All in all, it seems to be related to poor development support for the Linux guest tools and libraries and unwillingness to open source the guest stuff to get it moving, I think. In other words, the company does not really care about Linux share of their customer base, hence does not allocate any resources to develop in that area.
     
  4. (GalaxyMaster)

    (GalaxyMaster) Kilo Poster

    Messages:
    90
  5. btschumy

    btschumy Bit Poster

    Messages:
    2
    Lovely, thanks.
     

Share This Page