Open saltwick opened 1 year ago
Hi @saltwick, this one indeed sounds an opengl setup issue
(The make_default_context() wasn't able to create a context on any of the 1 detected devices
is a strong evidence)
If the answer to both is YES, my next suggestion is to re-install the conda env carefully. We have a pending PR which simplifies the installation, could you give it a try and see if it helps? (you no longer have to build pycuda manually, Wisp is pip installable now): https://github.com/NVIDIAGameWorks/kaolin-wisp/pull/105
EDIT: this PR have been merged into main now
Hi again @saltwick! Looking again at #66 it just dawned on me that simply changing the major / minor version in glumpy's app_config.py
doesn't actually fix the issue, as the backend ignores the requested versions.
I've issued a new fix with #117, wisp sets the default GL version to 3.3 now.
If needed it's also configurable via WispState
's renderer.gl_version
field (normally you shouldn't worry about that)
This might be more of an OpenGL setup issue, but it's only occuring for the interactive rendering. I can use the nerf app fine in headless mode, but when I try to use the GUI I get the following error.
I followed the solution in #66 for modifying the window config for the correct openGL version and that got me a step further. I added
to wisp/cuda_guard.py and then I encountered another issue where
make_default_context() wasn't able to create a context on any of the 1 detected devices
and solved that by including__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
before running the python script.Now when I run the script, a transparent window pops up, the data is loaded, and training starts but immediately crashes with the following error:
Has anyone else encountered this?
Setup:
glxinfo -B
producesOpenGL version string: 3.1 Mesa 21.2.6 OpenGL shading language version string: 1.40 OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.6 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20