Get GLMakie running with a Intel graphic card on Manjaro Linux

Hi all,

I wanted to try the new (really cool!) Makie release but I had trouble to get GLMakie to build on Manjaro Linux after an update:

┌ Error: Error building `GLMakie`: 
│ libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/dri)
│ libGL error: failed to load driver: iris
│ libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/dri)
│ libGL error: failed to load driver: iris
│ libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
│ libGL error: failed to load driver: swrast
│ Initialization error of GLFW

I finally found a solution here here.
The solution is to use the old driver by setting an environmental variable first:

ENV["MESA_LOADER_DRIVER_OVERRIDE"] = "i965"

using AbstractPlotting
import GLMakie

scatter(rand(100))

(I posted this in offtopics as it seems unrelated to Julia)

4 Likes