GLX_ARB_create_context_profile is unavailable with X11 forwarding

I am trying to launch instant-ngp gui application on remote ubuntu server (18.04) and forward display to local Mac with XQuartz. The application fails to start with the following output:

03:23:56 INFO Loading NeRF dataset from
03:23:56 WARNING data/nerf/fox/base_cam.json does not contain any frames. Skipping.
03:23:56 INFO data/nerf/fox/valid.json
03:23:56 INFO data/nerf/fox/transforms.json
03:23:56 INFO data/nerf/fox/camera.json
03:23:56 SUCCESS Loaded 53 images after 0s
03:23:56 INFO cam_aabb=[min=[1.0229,-1.33309,-0.378748], max=[2.46175,1.00721,1.41295]]
03:23:56 INFO Loading network config from: configs/nerf/base.json
03:23:56 INFO GridEncoding: Nmin=16 b=1.51572 F=2 T=2^19 L=16
03:23:56 INFO Density model: 3--[HashGrid]-->32--[FullyFusedMLP(neurons=64,layers=3)]-->1
03:23:56 INFO Color model: 3--[Composite]-->16+16--[FullyFusedMLP(neurons=64,layers=4)]-->3
03:23:56 INFO total_encoding_params=13074912 total_network_params=10240
03:24:02 WARNING Vulkan: loader_icd_scan: Can not find 'ICD' object in ICD JSON file /usr/share/vulkan/icd.d/nvidia_layers.json. Skipping ICD JSON
03:24:02 WARNING Could not initialize Vulkan and NGX. DLSS not supported. (Buffer device address extension not available.) libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
03:24:03 ERROR GLFW error #65543: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable
03:24:03 ERROR Uncaught exception: GLFW window could not be created.

Has anyone encountered the same problem? Any help would be greatly appreciated.