Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3551

MongoDB Compass GUI wont display in VMWARE environment

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.19.1
    • Affects Version/s: 1.17.0
    • Component/s: Compass
    • None
    • Environment:
      Centos7, Ubuntu

      So I have a VM running on Centos7 and is closed off from public internet due to our company. I attempted to run various Compass versions (1.13,1.14.1.17) directly on it via rpm image and it first complains about missing libraries . I install those libraries and assume the UI will now load up when i run the command "mongodb-compass-community" or the non community image with "mongodb-compass". However the UI begins to load then just freezes up with a black screen.

      I decided to try dockerizing the compass image by running it on a different base image. In this case ubuntu with mongodb compass community 1.17.
      After I build the image and run the container, the UI pops up but the screen is black and the logs show:
      "libGL error: no matching fbConfigs or visuals found"
      "libGL error: unable to load driverL swrast_dri.so"
      "libGL error: failed to load driver:swrast"

      I looked more into the swrast error and it seems as if that is a software renderer and is looking for that nvidia driver. However since I using VMWARE virtual machine there is no nvidia drivers installed for the graphics card. Typically the command( glxinfo | grep -i vendor) on a non VM machine will display the vendor type which I tested the command on another centos7 desktop computer and received back

      server glx vendor string: NVIDIA CORPORATION

      client glx vendor string: NVIDIA CORPORATION

      openGL vendor string: NVIDIA CORPORATION

       

      I also tried dockerizing the compass app using a rpm image with the base OS to be centos:7 and after installing several libraries, the only error that prevented my UI from loading completely was the same "libGL error: unable to load driverL swrast_dri.so" and "libGL error: failed to load driver:swrast".

      I am positive the compass image depends on this nvidia driver in order to display the graphics. Is there a way you could create a lite version not utilizing the nvidia graphics card so one would be able to run the UI in a VMWARE virtual machine?

            Assignee:
            Unassigned Unassigned
            Reporter:
            frankpintojr26 frank
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: