You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using GLMakie
fig =Figure()
lines(fig[1, 1], 0:99, randn(100))
For a very short time the whole data is plotted correctly, but then most of the data disappears and the output looks like this:
I made a little video to demonstrate this with different random data:
Note that I need to preload libstdc++.so.6:
LD_PRELOAD=/usr/lib/libstdc++.so.6 julia --project
Otherwise I get errors like:
julia> f = Figure()
libGL error: MESA-LOADER: failed to open radeonsi: /usr/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /usr/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
┌ Warning: GLFW couldn't create an OpenGL window.
│ This likely means, you don't have an OpenGL capable Graphic Card,
│ or you don't have an OpenGL 3.3 capable video driver installed.
│ Have a look at the troubleshooting section in the GLMakie readme:
│ https://github.com/JuliaPlots/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
└ @ GLMakie ~/.julia/packages/GLMakie/rXGL8/src/screen.jl:336
Error showing value of type Figure:
ERROR: GLFWError (VERSION_UNAVAILABLE): GLX: Failed to create context: GLXBadFBConfig
However, I'm unsure if this is the root cause of the problem.
Plotting using plot works fine (with libstdc++.so.6 preloaded):
using GLMakie
fig =Figure()
plot(fig[1, 1], 0:99, randn(100))
The text was updated successfully, but these errors were encountered:
Consider this MWE
For a very short time the whole data is plotted correctly, but then most of the data disappears and the output looks like this:
I made a little video to demonstrate this with different random data:
Note that I need to preload
libstdc++.so.6
:Otherwise I get errors like:
However, I'm unsure if this is the root cause of the problem.
Plotting using
plot
works fine (withlibstdc++.so.6
preloaded):The text was updated successfully, but these errors were encountered: