nmwsharp / nmwsharp/polyscope

Doesn't work on Virtual Machine

Open
#184 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with test.py from the command line and Barmesh-scratch.ipynb in the Ubuntu 22.04 VirtualBox environment. Inspect the reported GLFW GLXBadFBConfig, missing context, and segmentation fault; done means the notebook kernel remains alive and the Polyscope window opens without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.