The build shows some problems with ImageMagick, and with GLFW.
The ImageMagick problem is, in my opinion, somewhat bogus. I use the
FreeBSD system package for ImageMagick, with a deps.jl file that I created by hand. That’s because Julia’s build process for ImageMagick fails due to reasons I haven’t totally tracked down.
(v1.1) pkg> test ImageMagick
Testing ImageMagick
Resolving package versions...
Status `/tmp/tmp64yzd7/Manifest.toml`
...
[4ec0a83e] Unicode [`@stdlib/Unicode`]
┌ Error: Exception while generating log record in module Main at /usr/home/ko/.julia/packages/ImageMagick/J74FC/test/runtests.jl:13
│ exception =
│ UndefVarError: libversion not defined
│ Stacktrace:
│ [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
│ [2] top-level scope at logging.jl:319
│ [3] include at ./boot.jl:326 [inlined]
│ [4] include_relative(::Module, ::String) at ./loading.jl:1038
│ [5] include(::Module, ::String) at ./sysimg.jl:29
│ [6] include(::String) at ./client.jl:403
│ [7] top-level scope at none:0
│ [8] eval(::Module, ::Any) at ./boot.jl:328
│ [9] exec_options(::Base.JLOptions) at ./client.jl:243
│ [10] _start() at ./client.jl:436
└ @ Main ~/.julia/packages/ImageMagick/J74FC/test/runtests.jl:13
┌ Warning: Mapping to the storage type failed; perhaps your data had out-of-range values?
│ Try `map(clamp01nan, img)` to clamp values to a valid range.
I don’t know what’s going on here. Perhaps my deps.jl file?
The GLFW problem is
Building GLFW ────────────→ `~/.julia/packages/GLFW/69NQ7/deps/build.log`
Building GLMakie ─────────→ `~/.julia/packages/GLMakie/nDrlO/deps/build.log`
┌ Error: Error building `GLMakie`:
│ libGL error: unable to load driver: r600_dri.so
│ libGL error: driver pointer missing
│ libGL error: failed to load driver: r600
│ libGL error: unable to load driver: swrast_dri.so
│ libGL error: failed to load driver: swrast
│ init error of GLFW
│ ERROR: LoadError: OpenGL/GLFW wasn't installed correctly. This likely means,
│ you don't have an OpenGL capable Graphic Card,
│ you don't have the newest video driver installed,
Again, for GLFW I use the FreeBSD package. Here is what happens with testing that individually:
(v1.1) pkg> test GLFW
Testing GLFW
Status `/tmp/tmpkFZTW4/Manifest.toml`
...
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Testing GLFW tests passed
That does look anything but ok The only reason this passes tests is, that GLFW has really bad tests, since its hard to test OpenGL^^
So, looks like you need to figure out why your video drivers aren’t installed correctly!
They likely use software mode, which is fine for simple OpenGL, but not for Makie.
You need to install the correct AMD drivers, instead of using the Mesa drivers.