# GLMakie crashes during build on Google Colab

**URL:** <https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987>\
**Category:** General Usage\
**Created:** [January 18, 2024, 9:30pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987 "2024-01-18T21:30:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pxshen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pxshen/32/38776_2.png) [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Post date:** [January 18, 2024, 9:30pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/1 "2024-01-18T21:30:41Z")

</div>

GLMakie fails to build on Google Colab notebook:

Precompiling GLMakie  
✗ GLFW\_jll  
✗ GLFW  
Info Given GLMakie was explicitly requested, output will be shown live  
ERROR: LoadError: InitError: could not load library “/root/.julia/artifacts/37dda4e57d9de95c99d1f8c6b3d8f4eca88c39a2/lib/libGL.so”

Notebook minimal code: [Google Colab](https://colab.research.google.com/drive/1ZoPnyRjpOtO7Hhpvo87K_0zfGd3K1OMj#scrollTo=WwZ6uGJIW6CK)

I tried various workarounds for installing libGL to no avail  
I need GLMakie because CairoMakie can’t do 3d volume plots  
Thanks!

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [January 18, 2024, 9:54pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/2 "2024-01-18T21:54:02Z")

</div>

Did you try WGLMakie?

---

<div class="post-metadata">

**Author:** ![pxshen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pxshen/32/38776_2.png) [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Post date:** [January 18, 2024, 10:16pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/3 "2024-01-18T22:16:41Z")

</div>

Yes but WGLMakie says

Can’t get **three** : Timed out waiting for session to get ready

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [January 18, 2024, 10:27pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/4 "2024-01-18T22:27:10Z")

</div>

Hm, maybe WGLMakie doesn’t work with the display system on Colab

---

<div class="post-metadata">

**Author:** ![pxshen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pxshen/32/38776_2.png) [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Post date:** [January 18, 2024, 10:40pm UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/5 "2024-01-18T22:40:18Z")

</div>

Yeah needs to reconfigure ports probably

Anyone who’s gotten GLMakie or WGLMakie to work on Colab?  
I updated the minimal notebook showing errors for both

---

<div class="post-metadata">

**Author:** ![pxshen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pxshen/32/38776_2.png) [@pxshen](https://discourse.julialang.org/u/pxshen)\
**Post date:** [January 19, 2024, 1:07am UTC](https://discourse.julialang.org/t/glmakie-crashes-during-build-on-google-colab/108987/6 "2024-01-19T01:07:52Z")

</div>

As workaround I’ll just download the workload results and visualize them on my laptop. . But would be nice if someone figures this out
