-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU-less install #56
Comments
@jpsamaroo wanted to help me get a backend without a gpu running :) So that might work in the near future! |
Indeed, I'm planning on setting up a Cairo+Gtk backend for Makie (Gtk windowing stuff should be optional, to support headless systems). That way we can at least support 2D plotting, and then later on consider adding support for OpenGL for 3D plots (which could be provided by VirtualGL or llvmpipe on systems without proper graphics hardware). |
Could this work with a software renderer? https://stackoverflow.com/questions/7310885/opengl-without-a-graphics-card Or maybe virtualgl? |
There is CairoMakie now. |
On a headless system without graphics card I installed software rendering and Using There was one warning:
You can even use a local Next step is to get it working inside Jupyter notebooks... I will let you know if I manage to do that. |
Pretty cool you got that running - and it doesn't even sound that complicated ;) |
It was not that complicated. How do I resize the window opened by Makie from within Julia? My current issue is that the window opened in xpra is tiny and therefore it is saved as a tiny png. |
You could try passing a resolution to the Scene? For example, |
p = Scene(resolution = (1920, 1080))
volume!(p, rand(32, 32, 32))
save("make_test.png", p) works on my machine, but the png is still tiny on the headless machine. |
Hm, the only reason it would ignore this, if it somehow thinks that Juno is there! |
I am trying to make it work with jupyter notebooks, I am not using Atom. I also tried
I tried changing the resolution with |
One of the great things about Plots.jl's setup is it can install pretty much anywhere because the extra functionality is all provided by backends. I can't see getting Makie.jl to work on my friendly neighborhood cluster, while GR works fine. And then there are cases where there's no access to OpenGL (without VirtualGL), but other options like Plotly works.
Will there be a nice way to be able to install Makie in those setups? I like the GLVisualize-first approach and think it makes a lot of sense to ensure that there's a fully complete and fully Julia backend, but at the same time it limits the usefulness if it has to be directly required.
The text was updated successfully, but these errors were encountered: