diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2021-01-13 14:43:20 +0800 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-01-29 14:08:42 +0000 |
commit | 85284f4aacc9cfc059c59aa033166fedc247e117 (patch) | |
tree | 65f4ad16c5a63281ded27cc60a7d5a4f95ff98f9 /docs | |
parent | 23967fc02bf1d9a1ecaf06704d024bdc8904e295 (diff) |
libs: display: drm: allow user specify a drm device via an env variable
Currently the default drm device is always used on a system with
multiple drm devices. This patch allows user to specify the required
drm device via GST_VAAPI_DRM_DEVICE env variable
Example:
GST_VAAPI_DRM_DEVICE=/dev/dri/renderD129 gst-launch-1.0 videotestsrc !
vaapih264enc ! fakesink
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/409>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/index.md b/docs/index.md index b95c2a7d..dcdf204c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -27,3 +27,8 @@ example, intel's driver is `i915`, meanwhile mesa is `gallium`. This environment variable can be set to a colon-separated list of paths (or a semicolon-separated list on Windows). libva will scan these paths for va drivers. + +**GST_VAAPI_DRM_DEVICE.** +This environment variable can be set to a specified DRM device when DRM +display is used, it is ignored when other types of displays are used. +By default /dev/dri/renderD128 is used for DRM display. |