I am trying to install GLMakie using Julia. Steps to reproduce:
- install the latest stable Julia using GitHub - JuliaLang/juliaup: Julia installer and version multiplexer
curl -fsSL https://install.julialang.org | sh
juliaup add 1.9
juliaup default 1.9
Run Julia and try to install GLMakie:
julia
using Pkg
Pkg.add("GLMakie")
This results in a crash similar to:
Installed MakieCore ─ v0.6.9
Installed GLMakie ─── v0.8.12
Installed Makie ───── v0.19.12
Precompiling project...
8 dependencies successfully precompiled in 65 seconds. 251 already precompiled.
1 dependency had output during precompilation:
┌ GLMakie
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
│ ac_rtld error(1): too much LDS (used = 47360, max = 32768)
│ LLVM failed to upload shader
│ EE ../src/gallium/drivers/radeonsi/si_state_shaders.cpp:2557 si_build_shader_variant - Failed to build shader variant (type=3)
└
This is most likely an OpenGL driver issue.
Questions:
- how can I install the latest radeon driver, and how can I find out which driver version I have?
- as a work-around, is it possible to disable hardware acceleration and use an OpenGL software emulation, and if yes, how?
I am using the official Ubuntu 22.04 Linux:
Linux framework 6.1.0-1025-oem #25-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 13 12:54:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Makie works fine on my desktop computer using an NVidea graphics card.