diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c414bb7136d..3e13d7854c1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -420,7 +420,9 @@ jobs: # no need to run on Windows runs-on: ubuntu-latest if: ${{ github.ref == 'refs/heads/master' }} - needs: [build-wheel, windows] + # temp workaround for Windows CUDA Debug CI out of space. Still update docs. + # needs: [build-wheel, windows] + needs: [build-wheel] steps: - name: GCloud CLI auth uses: google-github-actions/auth@v1 diff --git a/cpp/open3d/geometry/TriangleMesh.cpp b/cpp/open3d/geometry/TriangleMesh.cpp index 5c4ecba1222..48faa3b6a19 100644 --- a/cpp/open3d/geometry/TriangleMesh.cpp +++ b/cpp/open3d/geometry/TriangleMesh.cpp @@ -1634,7 +1634,8 @@ std::shared_ptr TriangleMesh::SelectByIndex( output->triangles_.push_back( Eigen::Vector3i(nvidx0, nvidx1, nvidx2)); if (has_triangle_material_ids) { - output->triangle_material_ids_.push_back(triangle_material_ids_[tidx]); + output->triangle_material_ids_.push_back( + triangle_material_ids_[tidx]); } if (has_triangle_normals) { output->triangle_normals_.push_back(triangle_normals_[tidx]); diff --git a/docs/tutorial/visualization/cpu_rendering.rst b/docs/tutorial/visualization/cpu_rendering.rst index b748ae2f4a8..6fb7ec938a3 100644 --- a/docs/tutorial/visualization/cpu_rendering.rst +++ b/docs/tutorial/visualization/cpu_rendering.rst @@ -91,7 +91,24 @@ The method for enabling interactive CPU rendering depends on your system: them installed is not sufficient. You can check the drivers in use with the ``glxinfo`` command. -2. **You use Nvidia or AMD drivers or old Mesa drivers (< v20.2).** We provide +2. **You use Nvidia or AMD drivers, but your OS comes with recent Mesa drivers (>= v20.2).** + Install Mesa drivers if they are not installed in your system (e.g. `sudo apt install libglx0-mesa` + in Ubuntu). Preload the Mesa driver library before running any Open3D application requiring CPU rendering. + For example: + + .. code:: bash + + export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0 + Open3D + + Or with Python code: + + .. code:: bash + + export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0 + python examples/python/visualization/draw.py + +3. **Your OS has old Mesa drivers (< v20.2).** We provide the Mesa software rendering library binary for download `here `__. This is automatically downloaded to @@ -115,5 +132,4 @@ The method for enabling interactive CPU rendering depends on your system: .. code:: bash - LD_PRELOAD=$HOME/.local/lib/libGL.so.1.5.0 python - examples/python/visualization/draw.py + LD_PRELOAD=$HOME/.local/lib/libGL.so.1.5.0 python examples/python/visualization/draw.py