OpenGL / WebGL Support

Overview

OpenGL and WebGL are not officially supported on the hardware we use for the supercomputers. We have found a way to get decent, but not perfect performance by using the Mesa3D libraries, which include open-source implementations of OpenGL, OpenGL ES, Vulkan, and OpenCL.

Steps

  1. Request a virtual desktop on the web portal with at least 8 CPU cores

  2. In the virtual desktop, open a terminal and load the following two modules

module load gcc-12.1.0-gcc-11.2.0 module load mesa-22.0.2-gcc-11.2.0
  1. In the same terminal, start the application (ex. Firefox). The application should now support OpenGL.

  2. (Optional) Certain websites in firefox will still not detect OpenGL. In that case, perform these additional steps:

    1. In the address bar, type about:config (accept the risk and continue)

    2. In the list, search for webgl.force and double click "webgl.force-enable"

 

Additional Help

Â