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: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable #854

Open wuhongsheng opened 2 years ago

wuhongsheng commented 2 years ago

whs@ubuntuwhs:~/instant-ngp$ ./build/testbed --scene data/nerf/fox 07:50:15 INFO Loading NeRF dataset from 07:50:15 INFO data/nerf/fox/transforms.json 07:50:15 SUCCESS Loaded 50 images after 0s 07:50:15 INFO cam_aabb=[min=[1.0229,-1.33309,-0.378748], max=[2.46175,1.00721,1.41295]] 07:50:15 INFO Loading network config from: configs/nerf/base.json 07:50:15 INFO GridEncoding: Nmin=16 b=1.51572 F=2 T=2^19 L=16 07:50:15 INFO Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1 07:50:15 INFO Color model: 3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3 07:50:15 INFO total_encoding_params=13074912 total_network_params=10240 07:50:16 WARNING Vulkan error: loaderValidateLayers: Layer 0 does not exist in the list of available layers 07:50:16 WARNING Could not initialize Vulkan and NGX. DLSS not supported. (/home/whs/instant-ngp/src/dlss.cu:220 vkCreateInstance(&instance_create_info, nullptr, &vk_instance) failed) 07:50:16 ERROR GLFW error #65543: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable 07:50:16 ERROR Uncaught exception: GLFW window could not be created.

Nick-Harvey commented 2 years ago

Ran into the same issue.

A few more details to try and help resolve this issue:

Full Error:

➜ ./build/testbed --scene data/nerf/fox
15:29:59 INFO     Loading NeRF dataset from
15:29:59 INFO       data/nerf/fox/transforms.json
15:29:59 SUCCESS  Loaded 50 images after 0s
15:29:59 INFO       cam_aabb=[min=[1.0229,-1.33309,-0.378748], max=[2.46175,1.00721,1.41295]]
15:30:00 INFO     Loading network config from: configs/nerf/base.json
15:30:00 INFO     GridEncoding:  Nmin=16 b=1.51572 F=2 T=2^19 L=16
Warning: FullyFusedMLP is not supported for the selected architecture 70. Falling back to CutlassMLP. For maximum performance, raise the target GPU architecture to 75+.
Warning: FullyFusedMLP is not supported for the selected architecture 70. Falling back to CutlassMLP. For maximum performance, raise the target GPU architecture to 75+.
Warning: FullyFusedMLP is not supported for the selected architecture 70. Falling back to CutlassMLP. For maximum performance, raise the target GPU architecture to 75+.
15:30:00 INFO     Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1
15:30:00 INFO     Color model:   3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3
15:30:00 INFO       total_encoding_params=13074912 total_network_params=10240
15:30:00 WARNING  Vulkan error: loaderValidateLayers: Layer 0 does not exist in the list of available layers
15:30:00 WARNING  Could not initialize Vulkan and NGX. DLSS not supported. (/home/nick/Git/voice2thing/instant-ngp/src/dlss.cu:220 vkCreateInstance(&instance_create_info, nullptr, &vk_instance) failed)
15:30:00 ERROR    GLFW error #65543: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable
15:30:00 ERROR    Uncaught exception: GLFW window could not be created.
(base)