instant-ngp icon indicating copy to clipboard operation
instant-ngp copied to clipboard

GLFW error #65543: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable

Open wuhongsheng opened this issue 2 years ago • 2 comments

wuhongsheng avatar Aug 04 '22 08:08 wuhongsheng

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.

wuhongsheng avatar Aug 04 '22 08:08 wuhongsheng

Ran into the same issue.

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

  • I'm ssh'd into the machine where this is being run (ssh -X -Y user@host1). My Local machine is a laptop (MacBook).
  • Build completed with no errors (cmake . -B build)

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) 

Nick-Harvey avatar Oct 14 '22 19:10 Nick-Harvey