polyscope icon indicating copy to clipboard operation
polyscope copied to clipboard

Doesn't work on Virtual Machine

Open trilbytim opened this issue 3 years ago • 1 comments

I'm trying to use Polyscope on a Virtual Machine (Ubuntu 22.04 running inside an Oracle Virtualbox on Windows 10) However on calling it from Jupyter-lab I get the following problem:

Kernel Restarting

The kernel for Documents/ROTATOR/geodesic/Barmesh-scratch.ipynb appears to have died. It will restart automatically. So I tried doing a simple test file to just load a mesh and open a Polyscope window to show it, running from command line I get this:

(base) timbo@timbo-VirtualBox:~/Documents/ROTATOR/geodesic$ python3 test.py GLFW emitted error: GLX: Failed to create context: GLXBadFBConfig GLFW emitted error: Cannot set swap interval without a current OpenGL or OpenGL ES context Segmentation fault (core dumped) I guess it's some issue with the display being passed through the VM, any idea how to fix this?

trilbytim avatar Aug 24 '22 10:08 trilbytim

What version of Open GL does Polyscope need? Maybe this is the problem: glxinfo | grep "OpenGL version" OpenGL version string: 2.1 Mesa 22.0.5

trilbytim avatar Aug 24 '22 12:08 trilbytim