From defb02daa461200f4de972c57c4ac8dc108feb5f Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Wed, 18 May 2022 10:35:53 -0400 Subject: vo: add new vaapi-wayland driver This driver makes use of dmabuffer and viewporter interfaces to enable efficient display of vaapi surfaces, avoiding any unnecessary colour space conversion, and avoiding scaling or colour conversion using GPU shader resources. --- DOCS/man/options.rst | 2 +- DOCS/man/vo.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 7e9323c67c..21a984e480 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1249,7 +1249,7 @@ Video :videotoolbox: requires ``--vo=gpu`` (macOS 10.8 and up), or ``--vo=libmpv`` (iOS 9.0 and up) :videotoolbox-copy: copies video back into system RAM (macOS 10.8 or iOS 9.0 and up) - :vaapi: requires ``--vo=gpu`` or ``--vo=vaapi`` (Linux only) + :vaapi: requires ``--vo=gpu``, ``--vo=vaapi`` or ``--vo=vaapi-wayland`` (Linux only) :vaapi-copy: copies video back into system RAM (Linux with some GPUs only) :nvdec: requires ``--vo=gpu`` (Any platform CUDA is available) :nvdec-copy: copies video back to system RAM (Any platform CUDA is available) diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index e453fdcca1..13d4050dc4 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -286,6 +286,14 @@ Available video output drivers are: ``--sdl-switch-mode`` Instruct SDL to switch the monitor video mode when going fullscreen. +``vaapi-wayland`` + Experimental Wayland output driver designed for use with VA API hardware decoding. + The driver is designed to avoid any GPU to CPU copies, and to perform scaling and + color space conversion using fixed-function hardware, if available, + rather than GPU shaders. This frees up GPU resources for other tasks. + Currently this driver is experimental and only works with the ``--hwdec=vaapi`` driver; + OSD is also not supported. Supported compositors : Weston and Sway. + ``vaapi`` Intel VA API video output driver with support for hardware decoding. Note that there is absolutely no reason to use this, other than compatibility. -- cgit v1.2.3