summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2016-10-04 22:07:19 +0200
committerwm4 <wm4@nowhere>2016-10-07 00:22:23 +0200
commit403f489f6cccf8e6bf74ac1b57fa083759af60ec (patch)
treeba03d5a0b98edec382ed086005e73e47ee422d70 /DOCS/man
parente9c43258b8efbdc7ba5350dd12426f58599b80c7 (diff)
downloadmpv-403f489f6cccf8e6bf74ac1b57fa083759af60ec.tar.bz2
mpv-403f489f6cccf8e6bf74ac1b57fa083759af60ec.tar.xz
vo_drm: change CLI options + refactors
- Change connector selection to accept human readable names (such as eDP-1, HDMI-A-2) rather than arbitrary numbers. - Change GPU selection to accept GPU number rather than device paths. - Merge connector and GPU selection into one --drm-connector. - Add support for --drm-connector=help. - Add support for --drm-* in EGL backend. - Refactor KMS; reduce state sharing across drm_common.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/vo.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index f352c46608..34302f9a3f 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -495,13 +495,13 @@ Available video output drivers are:
The following global options are supported by this video output:
- ``--drm-connector=<number>``
- Select the connector to use (usually this is a monitor.) If set to -1,
- mpv renders the output on the first available connector. (default: -1)
-
- ``--drm-devpath=<filename>``
- Path to graphic card device.
- (default: /dev/dri/card0)
+ ``--drm-connector=[<gpu_number>.]<name>``
+ 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 list of available
+ connectors. When using multiple graphic cards, use the ``<gpu_number>``
+ argument to disambiguate.
+ (default: empty)
``--drm-mode=<number>``
Mode ID to use (resolution, bit depth and frame rate).