diff --git a/README.md b/README.md index b74f022..0b32454 100644 --- a/README.md +++ b/README.md @@ -116,65 +116,56 @@ python src/opencap_reconstruction_render.py -Polyscope installation details -- Linux + +### Rendering +Renders a video of the skeleton video using polyscope ``` +python3 python src/opencap_reconstruction_render.py # For complete dataset ``` - -- Windows +Or ``` +python3 python src/opencap_reconstruction_render.py # Specific trc file ``` -- Remote Server / North Servr / Linux Containers +
+ Running on a Remote Server / North Servr / Linux Containers ? - Polyscope has a lot of trouble installing on the remote server. But by installing the right packages we can make it work. - 3. Fix for error: - - ``` - libGL error: MESA-LOADER: failed to open swrast: /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) - libGL error: failed to load driver: swrast - GLFW emitted error: GLX: Failed to create context: GLXBadFBConfig - ``` - - ``` - rm /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6 - ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6 - ``` - - 4. Fix for `GLFW emitted error: The GLFW library is not initialized` - ``` - - ``` +Polyscope has a lot of trouble installing on the remote server. Below are a few steps that can be taken for fix common errors. - 4. Fix for error: - ``` - DISPLAY not found - ``` +1. Use `ssh -X` to login +2. Set `export DISPLAY=:99.0` +3. Fix for error: -
+ ``` + libGL error: MESA-LOADER: failed to open swrast: /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) + libGL error: failed to load driver: swrast + GLFW emitted error: GLX: Failed to create context: GLXBadFBConfig + ``` + ``` + rm /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6 + ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /home/ubuntu/.conda/envs/T2M-GPT/bin/../lib/libstdc++.so.6 + ``` -### Rendering -Renders a video of the skeleton video using polyscope -``` -python3 python src/opencap_reconstruction_render.py # For complete dataset -``` -Or -``` -python3 python src/opencap_reconstruction_render.py # Specific trc file -``` +4. Fix for `GLFW emitted error: The GLFW library is not initialized` + ``` + pip install glfw + ``` +5. Fix for error `DISPLAY not found`: + ``` + export DISPLAY=:99.0 + ``` -
- Running on a remote server ? +6. Segfault: + ``` + export DISPLAY=:99.0 + ``` -- Use `ssh -X` to login -- Set `export DISPLAY=:99.0`