From dcb7838bb7db19ae122c3d0e82fb9cebff0605ac Mon Sep 17 00:00:00 2001 From: Anton Kindestam Date: Tue, 5 Jun 2018 09:15:54 +0200 Subject: drm_common: Support --drm-mode= 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. --- DOCS/man/vo.rst | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'DOCS/man/vo.rst') 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=`` - 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=`` + 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=`` Toggle use of atomic modesetting. Mostly useful for debugging. -- cgit v1.2.3