Comments (11)
There is CairoMakie now.
from makie.jl.
On a headless system without graphics card I installed software rendering and glxgears
works fine.
I also installed Makie
and it works fine if I use ssh -Y server
.
Using xpra
you can launch a virtual x server on the headless system and use that (https://help.ubuntu.com/community/Xpra) so you don't need to use ssh -Y
There was one warning:
Warning: GLFW.GLFWError(PLATFORM_ERROR::ErrorCode = 65544, "X11: RandR gamma ramp support seems broken")
You can even use a local xpra
and open the display on the remote server, but mouse interaction will produce tons of error messages on the remote julia console.
Next step is to get it working inside Jupyter notebooks... I will let you know if I manage to do that.
from makie.jl.
@jpsamaroo wanted to help me get a backend without a gpu running :) So that might work in the near future!
from makie.jl.
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).
from makie.jl.
Could this work with a software renderer? https://stackoverflow.com/questions/7310885/opengl-without-a-graphics-card
Or maybe virtualgl?
from makie.jl.
Pretty cool you got that running - and it doesn't even sound that complicated ;)
from makie.jl.
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.
from makie.jl.
You could try passing a resolution to the Scene? For example, sc = Scene(resolution = (1920, 1080))
from makie.jl.
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.
from makie.jl.
Hm, the only reason it would ignore this, if it somehow thinks that Juno is there!
https://github.com/JuliaPlots/AbstractPlotting.jl/blob/master/src/display.jl#L59
If you use remote Atom, try disabling the plotpane!
from makie.jl.
I am trying to make it work with jupyter notebooks, I am not using Atom. I also tried resize!
and it does not work. Maybe it has something to do with the display size (the monitor is 0mm x 0mm):
me@server:~$ xrandr -d :7 -q
xrandr:Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 5280 x 1920, maximum 8192 x 4096
default connected 5280x1920+0+0 0mm x 0mm
... a list with all possible resolutions
I tried changing the resolution with xrandr
but without success.
from makie.jl.
Related Issues (20)
- Last and first points of `lines` get interpolated when there is a lot of points (GLMakie) HOT 2
- Issue using scatter and line in 3d together with Vector{Union{Float64,Missing}} HOT 2
- `DataInspector` overcounts the point number in `stairs` plots (GLMakie) HOT 1
- `scatterlines` cannot pass a number as one colorant for the whole scatterline HOT 1
- Why are the heatmap rectangles not centered with the passed coordinates? HOT 1
- `linkaxes!` does not update correctly the axes limit when `yaxisposition=:right` is set.
- shading selection for custom recipes HOT 1
- Some triangles are not rendered
- Fit objects into scene after Makie transformations HOT 1
- Precompilation of CairoMakie fails HOT 3
- `limits!` hangs when being passed a an indexed Figure, not an Axis HOT 4
- Some recipes fail when plotting empty vectors HOT 3
- student gets precompile error and access denied to `libcairo-2.dll` HOT 1
- bracket! does not work with vectors when not providing a text argument
- DataInspector does not work for lines in log10 scale HOT 3
- Fill polygon with a linear gradient
- `size(screen)` does not match `size` keyword arg passed in on Mac HOT 2
- Repetitive precompilation for GLMakie and GeoMakie since Julia 1.10.0 HOT 3
- GLMakie Precompiling Segmentation Fault in WSL2 HOT 1
- Right ticks of an Axis not updating correctly when adding a Colorbar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makie.jl.