Skip to content

Commit 0819f17

Browse files
committed
fix: clarify the graphics and display driver capabilities
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
1 parent 52dcb7b commit 0819f17

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎container-toolkit/docker-specialized.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ The following table describes the supported driver capabilities:
174174
- Description
175175
176176
* - ``compute``
177-
- Required for CUDA and OpenCL applications. When present on the host,
177+
- required for CUDA and OpenCL applications. When present on the host,
178178
the NVIDIA OpenCL ICD file is also available in the container.
179179
180180
* - ``compat32``
181181
- required for running 32-bit applications.
182182
183183
* - ``graphics``
184-
- Required for running OpenGL, EGL, and Vulkan applications.
184+
- required for rendering OpenGL, EGL, and Vulkan applications.
185185
186186
* - ``utility``
187187
- required for using ``nvidia-smi`` and NVML.
@@ -190,9 +190,15 @@ The following table describes the supported driver capabilities:
190190
- required for using the Video Codec SDK.
191191
192192
* - ``display``
193-
- required for leveraging X11 display.
193+
- required for displaying X11 or Wayland windows. Implies ``graphics``.
194194
```
195195

196+
:::{note}
197+
`NVIDIA_DRIVER_CAPABILITIES` replaces the default capabilities rather than adding to them, so list every
198+
capability your application needs. An application that displays 3D rendered output on X11 or Wayland requires
199+
`compute,graphics,display`, for instance.
200+
:::
201+
196202
For example, to allow usage of CUDA and NVML, specify the `compute` and `utility` capabilities:
197203

198204
> ```console

0 commit comments

Comments
 (0)