Closed idaho777 closed 2 years ago
I played around with the Glumpy library and was able to run their examples fine, but I added the line app.use("glfw_imgui")
and got the same error above.
Hi, thanks for your interest in our work! Can you provide a little more details about the platform you're running on?
(Not sure if this is related, but I've seen this error before on my M1 Macbook for an unrelated project that also uses Glumpy and specifically the glfw-imgui
backend)
For the glumpy examples, did you specifically run the imgui
examples they have on their repo?
@idaho777 Your error is due to glumpy being unable to obtain an OpenGL context. VNCViewer / wisp should be agnostic to each other, so this is more likely something about the GL setup in your remote machine.
We just added support for opengl via docker this week, you may want to give that option a try: https://github.com/NVIDIAGameWorks/kaolin-wisp#using-docker
I got this working on my local Ubuntu machine, so it looks like an issue with the server configuration.
Hi, did you resolve the problem? I am stuck with the same issue.
Actually, I found a workaround from https://github.com/facebookresearch/eft/issues/15 (I have no clue how this works though) Then, I ran into another error
root@gs01:/wisp# WISP_HEADLESS=0 python3 app/main_interactive.py --config configs/nglod_nerf_interactive.yaml --dataset-path /path/to/V8 --dataset-num-workers 4 [i] Using PYGLFW_IMGUI (GL 2.1) Traceback (most recent call last): File "/wisp/app/main_interactive.py", line 12, in
setup_cuda_context() # Must be called before any torch operations take place File "/wisp/app/cuda_guard.py", line 34, in setup_cuda_context import pycuda.gl.autoinit File "/wisp/pycuda/pycuda/gl/autoinit.py", line 10, in context = make_default_context(lambda dev: cudagl.make_context(dev)) File "/wisp/pycuda/pycuda/tools.py", line 226, in make_default_context raise RuntimeError( RuntimeError: make_default_context() wasn't able to create a context on any of the 8 detected devices
Anyone help me please
@resurgo97 Did you figure out the problem?
I'm trying to run the interactive training example:
WISP_HEADLESS=0 python3 app/main_interactive.py --config configs/nglod_nerf_interactive.yaml --dataset-path /path/to/V8 --dataset-num-workers 4
but I'm receiving the following issue:Looking at the documentation for glGetUniformLocation, I see the error section say
where
GL_INVALID_OPERATION
is error code 0x0502 == 1282.I've setup my conda environment to successfully run the Training NGLOD-NeRF from multiview RGB-D data on a remote server over ssh tunnel + VNC Viewer but cant get the interactive mode working.