Git Product home page Git Product logo

glmakie.jl's Introduction

โš ๏ธ INFO: This repository is deprecated

GLMakie has been moved into the monorepo at Makie.jl. The latest version can be determined by checking the Project.toml in the GLMakie subdirectory. add GLMakie will now install from the monorepo for GLMakie versions above 0.3.4.

The OpenGL backend for Makie

CI codecov

Issues

Please file all issues in Makie.jl, and mention GLMakie in the issue text!

Troubleshooting OpenGL

If you get any error loading GLMakie, it likely means, you don't have an OpenGL capable Graphic Card, or you don't have an OpenGL 3.3 capable video driver installed. Note, that most GPUs, even 8 year old integrated ones, support OpenGL 3.3.

On Linux, you can find out your OpenGL version with: glxinfo | grep "OpenGL version"

If you're using an AMD or Intel gpu on linux, you may run into GLFW#198.

If you're on a headless server, you still need to install x-server and proper graphics drivers.

You can find instructions to set that up in:

https://nextjournal.com/sdanisch/GLMakie-nogpu And for a headless github action:

https://github.com/JuliaPlots/GLMakie.jl/blob/master/.github/workflows/ci.yml

If none of these work for you, there is also a Cairo and WebGL backend for Makie which you can use:

https://github.com/JuliaPlots/CairoMakie.jl.

https://github.com/JuliaPlots/WGLMakie.jl.

If you get an error pointing to GLFW.jl, please look into the existing GLFW issues, and also google for those errors. This is then very likely something that needs fixing in the glfw c library or in the GPU drivers.

WGL setup or X-forwarding

From: microsoft/WSL#2855 (comment)

WSL runs OpenGL alright, but it is not a supported scenario. From a clean Ubuntu install from the store do:

sudo apt install ubuntu-desktop mesa-utils
export DISPLAY=localhost:0
glxgears

On the Windows side:

  1. install VcXsrv
  2. choose multiple windows -> display 0 -> start no client -> disable native opengl

Troubleshooting:

1.) install: sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev

2.) WSL has some problems with passing through localhost, so one may need to use: export DISPLAY=192.168.178.31:0, with the local ip of the pcs network adapter, which runs VcXsrv

3.) One may need mv /opt/julia-1.5.2/lib/julia/libstdc++.so.6 /opt/julia-1.5.2/lib/julia/libcpp.backup, another form of GLFW#198

glmakie.jl's People

Contributors

aramirezreyes avatar asinghvi17 avatar barche avatar c42f avatar edljk avatar ffreyer avatar github-actions[bot] avatar goretkin avatar greimel avatar ianbutterworth avatar j-fu avatar jkrumbiegel avatar jordancluts avatar juliatagbot avatar julidi avatar kragol avatar mschauer avatar octogonapus avatar simondanisch avatar skleinbo avatar timholy avatar yha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.