summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-06-05 09:15:54 +0200
committersfan5 <sfan5@live.de>2019-05-04 14:17:11 +0200
commitdcb7838bb7db19ae122c3d0e82fb9cebff0605ac (patch)
tree8210ea243b2694966bb5246cd9e3f387a516048d /DOCS/man/vo.rst
parentd155b7541f0b336d0b11f315e0c80641d31a4807 (diff)
downloadmpv-dcb7838bb7db19ae122c3d0e82fb9cebff0605ac.tar.bz2
mpv-dcb7838bb7db19ae122c3d0e82fb9cebff0605ac.tar.xz
drm_common: Support --drm-mode=<preferred|highest|N|WxH[@R]>
This allows to select the drm mode using a string specification. You can either select the the preferred mode, the mode with the highest resolution, by specifying WxH[@R] or by its index in the list of modes as before.
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r--DOCS/man/vo.rst19
1 files changed, 15 insertions, 4 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 0583eb6c43..8ed7a47893 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -484,10 +484,21 @@ Available video output drivers are:
argument to disambiguate.
(default: empty)
- ``--drm-mode=<number>``
- Mode ID to use (resolution and frame rate). Use ``--drm-mode=help`` to
- get a list of available modes for all active connectors.
- (default: 0)
+ ``--drm-mode=<preferred|highest|N|WxH[@R]>``
+ Mode to use (resolution and frame rate).
+ Possible values:
+
+ :preferred: Use the preferred mode for the screen on the selected
+ connector. (default)
+ :highest: Use the mode with the highest resolution available on the
+ selected connector.
+ :N: Select mode by index.
+ :WxH[@R]: Specify mode by width, height, and optionally refresh rate.
+ In case several modes match, selects the mode that comes
+ first in the EDID list of modes.
+
+ Use ``--drm-mode=help`` to get a list of available modes for all active
+ connectors.
``--drm-atomic=<no|auto>``
Toggle use of atomic modesetting. Mostly useful for debugging.