Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ OpenADStack is usually part of a larger deployment composition, for example with
> The extended demo requires an NVIDIA GPU with compute capability 8.0 or higher, and additional disk
> space of 14GB for its larger bag files.

> [!NOTE]
> On machines with multiple GPUs where the display is not driven by the NVIDIA GPU (e.g., laptops with hybrid graphics), run `export __GLX_VENDOR_LIBRARY_NAME=nvidia` before starting the demo so that RViz renders on the NVIDIA GPU.

- **Stop** the demo with:

```bash
Expand Down
2 changes: 2 additions & 0 deletions utils/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ The definitions in `docker-compose.template.yml` centralize shared lifecycle, mi

`ros2-service` selects `zenoh`, `fastrtps`, or `cyclone` through `RMW`. The selected implementation must already be installed in the OpenADService container image. `triton-server` and `zenoh-router` are concrete infrastructure Compose services rather than base templates.

GPU services take `__GLX_VENDOR_LIBRARY_NAME` from the host. If it is unset, graphical applications such as RViz use the OpenGL vendor reported by the X server, which also works in remote setups such as VNC. On machines with multiple GPUs where the display is not driven by the NVIDIA GPU (e.g., laptops with hybrid graphics), run `export __GLX_VENDOR_LIBRARY_NAME=nvidia` before starting the services.

```mermaid
flowchart BT

Expand Down
4 changes: 2 additions & 2 deletions utils/compose/docker-compose.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
- __NV_PRIME_RENDER_OFFLOAD=1
- __GLX_VENDOR_LIBRARY_NAME=nvidia
- __GLX_VENDOR_LIBRARY_NAME # taken from host: leave unset for auto-detection (required for remote setups, e.g., VNC), export as `nvidia` on multi-GPU machines

nvidia-soc-service:
extends:
Expand Down Expand Up @@ -132,7 +132,7 @@ services:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all
- __NV_PRIME_RENDER_OFFLOAD=1
- __GLX_VENDOR_LIBRARY_NAME=nvidia
- __GLX_VENDOR_LIBRARY_NAME # taken from host: leave unset for auto-detection (required for remote setups, e.g., VNC), export as `nvidia` on multi-GPU machines

ros2-nvidia-soc-service:
extends:
Expand Down
Loading