Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
platform-notes-linux.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qtmultimedia-linux.html
6
\title Qt Multimedia on Linux
7
\brief Platform notes for Linux
8
9
This page discusses considerations for using Qt Multimedia on Linux.
10
11
\section1 Audio backend requirements
12
13
Qt Multimedia audio features on Linux require PipeWire or PulseAudio. PipeWire is the recommended
14
backend on all modern Linux distributions, but PulseAudio will be used if PipeWire is not available.
15
The experimental ALSA backend will be deprecated in future versions of Qt. Until then, community
16
contributions are required to fix issues with this backend.
17
18
For applications that use the GStreamer backend on embedded Linux, see
19
\l{Qt Multimedia GStreamer backend} for additional PulseAudio requirements.
20
21
\section1 Limitations on Linux using the Wayland compositor
22
23
The screen capture feature requires the installation of:
24
\list
25
\li The \l {https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.ScreenCast.html}{ScreenCast}
26
service supported via \l {https://flatpak.github.io/xdg-desktop-portal/docs/}{XDG Desktop Portal}.
27
\li \l {https://pipewire.org/}{PipeWire} (0.3).
28
\endlist
29
30
Due to restrictions of the Wayland protocol, the current screen can only be selected through
31
the wizard displayed by the operation system when \c QScreenCapture instance is activated.
32
For additional details, refer to the \l QScreenCapture class documentation.
33
34
\section1 Hardware encoding/decoding drivers
35
36
Hardware-accelerated video encoding and decoding on Linux requires platform-specific drivers. While
37
Qt Multimedia may fall back to software encoding/decoding if the necessary drivers are not available,
38
installing hardware support drivers can significantly improve performance and reduce CPU usage.
39
40
Install the appropriate driver package for your hardware:
41
42
\list
43
\li \c intel-media-va-driver — Intel Gen 8+ (Broadwell 2014+), Arc A-series, and newer processors
44
\li \c intel-media-va-driver-non-free — Intel media driver with additional proprietary codecs
45
\li \c i965-va-driver — Older Intel hardware (Sandy Bridge, Ivy Bridge, Haswell)
46
\li \c mesa-va-drivers — VA-API support for AMD GPUs
47
\li \c nvidia-driver — NVIDIA proprietary graphics driver (e.g., \c nvidia-driver-525 or later)
48
\endlist
49
50
*/
qtmultimedia
src
multimedia
doc
src
platform-notes-linux.qdoc
Generated on
for Qt by
1.16.1