Doesn't work on Virtual Machine
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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