instant-ngp
instant-ngp copied to clipboard
Windows11/WSL2 (ubuntu) : GLFW error #65544: X11: The DISPLAY environment variable is missing
./build/testbed --scene data/nerf/fox/
22:37:08 INFO Loading NeRF dataset from 22:37:08 INFO data/nerf/fox/transforms.json 22:37:08 SUCCESS Loaded 50 images after 0s 22:37:08 INFO cam_aabb=[min=[1.0229,-1.33309,-0.378748], max=[2.46175,1.00721,1.41295]] 22:37:09 INFO Loading network config from: configs/nerf/base.json 22:37:09 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+. 22:37:09 INFO Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1 22:37:09 INFO Color model: 3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3 22:37:09 INFO total_encoding_params=13074912 total_network_params=9728 22:37:09 ERROR GLFW error #65544: X11: The DISPLAY environment variable is missing 22:37:09 ERROR Uncaught exception: GLFW could not be initialized.
+1
I ran into this as well. What I found was the tool is looking to open a GUI window and cannot. There is a way to turn on GUI stuff for WSL2. See: https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps for more info.