summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-01-22 23:07:38 +0200
committersfan5 <sfan5@live.de>2021-10-25 20:37:03 +0200
commitf56043759494dd584c8d82e7890f92fada18e34b (patch)
tree367d00e4b23f53d76a4229b42a69b1a960f4f4af /DOCS
parente6cf918eb8ba3e6892f7d22a6bbcbbae3e6b5bf5 (diff)
downloadmpv-f56043759494dd584c8d82e7890f92fada18e34b.tar.bz2
mpv-f56043759494dd584c8d82e7890f92fada18e34b.tar.xz
drm_common: enable specific device selection by means of path
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst2
-rw-r--r--DOCS/man/vo.rst9
2 files changed, 9 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 6e20fa2329..329ca044ae 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -27,6 +27,8 @@ Interface changes
::
--- mpv 0.34.0 ---
+ - deprecate selecting by card number with `--drm-connector`, add
+ `--drm-device` which can be used instead
- add `--screen-name` and `--fs-screen-name` flags to allow selecting the
screen by its name instead of the index
- add `--macos-geometry-calculation` to change the rectangle used for screen
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index d6774920a7..7632f3c406 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -552,8 +552,13 @@ Available video output drivers are:
Select the connector to use (usually this is a monitor.) If ``<name>``
is empty or ``auto``, mpv renders the output on the first available
connector. Use ``--drm-connector=help`` to get a list of available
- connectors. When using multiple graphic cards, use the ``<gpu_number>``
- argument to disambiguate.
+ connectors. The ``<gpu_number>`` argument can be used to disambiguate
+ multiple graphic cards, but is deprecated in favor of ``--drm-device``.
+ (default: empty)
+
+ ``--drm-device=<path>``
+ Select the DRM device file to use. If specified this overrides automatic
+ card selection and any card number specified ``--drm-connector``.
(default: empty)
``--drm-mode=<preferred|highest|N|WxH[@R]>``