Closed asinghvi17 closed 5 years ago
Did you also load Plots.jl? Might be that they fight over the display!
No, Plots.jl wasn't loaded. Could it be that I'm missing a package or something?
I can't reproduce... you seem to be on master for GLMakie, Makie, AbstractPlotting...maybe make sure, that all are on fresh master, and not on differently old versions of master?
My env is different from yours but I encountered the same situation. In my case, an installation failure of GLMakie caused the problem. (Since my env is headless env, GLMakie was not properly installed.)
a solution in my case is
$ export $DISPLAY=:0 # important for headless env
] build GLMakie
myenv:
Julia Version 1.0.2 Commit d789231e99 (2018-11-08 20:11 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, skylake) Environment: JULIA_DEPOT_PATH = /opt/share/julia
yeah if glmakie doesn't install - you dont get any backend, so it doesn't display anything.. you can use cairomakie in that case
Yep, GLMakie was hitting a bug where it didn't recognize the OpenGL drivers. The solution was not, unfortunately, in the form of an OS update, but instead when I switched to my Windows partition and installed Makie there after an update of graphics drivers it worked fine (on Windows and MacOS both). Updating the system did nothing, so I suspect that the OpenGL frameworks may not have been playing nice with the particular version of graphics drivers that I had, and that updating the graphics card's drivers from Windows fixed that somehow.
There seems to be no easy fix for this, and the average Mac user probably doesn't have another OS handy on their machine, so beyond updating the card from another OS I'm not sure what can be done if anyone else encounters this issue.
are you sure you're not just running into: https://github.com/JuliaPlots/GLMakie.jl/pull/7
or rather the issue: https://github.com/JuliaPlots/GLMakie.jl/issues/5
Yep, that looks like it. Thanks for the help!
When used either on the REPL or in Juno on MacOS (version 10.14.1), no GUI opens for any Makie plots. Using Plots.jl works fine, but for some reason the only thing that happens when I try to plot anything is that some information about the Scene is printed. An example is below:
The packages installed are:
The same error occurs in IJulia when I try to use Makie in a Jupyter notebook.
I would greatly appreciate any help in this matter.