Slicer 4.10.1 OpenGL error

(Dk Jang) #1

Operating system: MacOS Mojave 10.14.5 & XQuartz 2.7.11.
Slicer version: 4.10
Expected behavior:
Actual behavior:

Hello everyone, I am having an issue launching slicer 4.10 on my computer. Once my mac is connected to Linux server and run Slicer 4.10, it gives me this error:

[jang@poblano ~]$ Slicer

libGL error: No matching fbConfigs or visuals found

libGL error: failed to load driver: swrast

Switch to module: “Welcome”

Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue.

But our linux server is running Mesa v. 18.0.5 which does support OpenGL 3.2. Other previous versions (4.8, 4.6, and 4.5) run just fine. Of course I can just go ahead and install the mac version, but one of the extension tools that I need to use only runs on Linux (DTI atlas builder). Any help would be appreciated.

(Andras Lasso) #2

Minimum OpenGL version requirement was increased for Slicer-4.10.

Google “libgl error: no matching fbconfigs or visuals found” and try solutions described there. For example, https://askubuntu.com/questions/541343/problems-with-libgl-fbconfigs-swrast-through-each-update.

(Nate Vack) #3

Hi Andras,

Thanks for your reply! Our server is running Mesa 18.0.5, which supports OpenGL 4.5 as far as we can tell. We’re running Slicer remotely, using XQuartz/macOS Mojave on the client. The server has no 3D hardware to speak of; we’re planning on using software rendering.

Maybe… maybe our mesa doesn’t have llvmpipe or openswr? Is there a way to check? Or to check and see what Slicer thinks it’s loading and what, exactly, it thinks is missing?

Thanks!
-Nate

(Nate Vack) #4

Update: Rebuilt Mesa from source, looks like this fixes all the things. @DK_Jang, I’ll be in touch Friday.

1 Like