NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.99k stars 1.93k forks source link

GLFW error #65543: GLX: Failed to create context: BadLength (poly request too large or internal Xlib length error) #816

Open zh-en520 opened 2 years ago

zh-en520 commented 2 years ago

When I run the example --./build/testbed --scene data/nerf/fox, the error is as follows: image The following is the running environment configuration result:

`zhangchen@hpc:~/projects/instant-ngp$ cmake . -B build. -- The C compiler identification is GNU 8.4.0 -- The CXX compiler identification is GNU 8.4.0 -- The CUDA compiler identification is NVIDIA 11.4.48 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- No release type specified. Setting to 'Release'. -- Targeting GPU architectures: 86 -- Module support is disabled. -- Version: 9.0.0 -- Build type: Release -- CXX_STANDARD: 14 -- Performing Test has_std_14_flag -- Performing Test has_std_14_flag - Success -- Performing Test has_std_1y_flag -- Performing Test has_std_1y_flag - Success -- Required features: cxx_variadic_templates -- Found Vulkan: /usr/local/lib/libvulkan.so
-- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Using X11 for window creation -- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found GLEW: /usr/include (found version "2.1.0") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5")
-- !!! Warning OptiX_INSTALL_DIR not set in environment. using default -- OptiX_INSTALL_DIR value: /usr/local/NVIDIA-OptiX-SDK-7.5.0-linux64-x86_64 -- OptiX headers (optix.h and friends) not found. CMake Warning at CMakeLists.txt:194 (message): OptiX was not found. Neural graphics primitives will still compile and run correctly. However, SDF training in 'raystab' and 'pathescape' modes will be significantly slower.

-- Found Python: /home/zhangchen/anaconda3/bin/python3.7 (found suitable version "3.7.0", minimum required is "3.7") found components: Interpreter Development Development.Module Development.Embed -- pybind11 v2.7.1 CMake Warning (dev) at /usr/local/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message): Policy CMP0127 is not set: cmake_dependent_option() supports full Condition Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): dependencies/pybind11/CMakeLists.txt:98 (cmake_dependent_option) This warning is for project developers. Use -Wno-dev to suppress it.

-- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Configuring done -- Generating done -- Build files have been written to: /home/zhangchen/projects/instant-ngp/build. ` image image

I am using ubuntu20.04 remote server, Remotely control ubuntu20.04 on windows host using xshell6 and xmanager image

wuyingxiong commented 1 year ago

Do you solve the problem? I have the same