From ff795c101fb13a92523e9af06048f6591cba3207 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Mon, 16 Sep 2024 10:22:49 +0800 Subject: [PATCH] ubuntu: install pulseaudio 16 with time smoother bugfixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GStreamer backend of Qt Multimedia has known issues with pulseaudio, caused by bugs in the time smoother. We therefore install pulseaudio 16 from a PPA on our ubuntu testers. Task-number: QTBUG-112014 Task-number: QTBUG-124372 Task-number: QTBUG-126799 Pick-to: 6.5 Change-Id: Ifd18ff4b9904ac0ee022c9158e96ebca8768599f Reviewed-by: Jøger Hansegård Reviewed-by: Dimitrios Apostolou (cherry picked from commit cc17f25cd1d762e1534b2776b381f91e2eea2304) Reviewed-by: Qt Cherry-pick Bot --- ...-install-pulseaudio-16-bugfix-backports.sh | 40 +++++++++++++++++++ ...-install-pulseaudio-16-bugfix-backports.sh | 32 +++++++++++++++ ...-install-pulseaudio-16-bugfix-backports.sh | 32 +++++++++++++++ 3 files changed, 104 insertions(+) create mode 100755 coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh create mode 100755 coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/03-install-pulseaudio-16-bugfix-backports.sh create mode 100755 coin/provisioning/qtci-linux-Ubuntu-24.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh new file mode 100755 index 00000000..8b4afb8e --- /dev/null +++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +# Copyright (C) 2024 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +# backport of: +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/745 +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/764 +# compare: https://doc-snapshots.qt.io/qt6-6.8/qtmultimedia-gstreamer.html#limitations-and-known-issues + +# shellcheck source=../common/unix/DownloadURL.sh +source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh" + +set -ex + +DownloadDeb () { + deb="$1" + checksum="$2" + + url="https://launchpad.net/~tim-klingt/+archive/ubuntu/pulseaudio-16-bugfixes/+files/${deb}" + url_cached="http://ci-files01-hki.ci.qt.io/input/pulseaudio-16-bugfixes/jammy_amd64/${deb}" + + DownloadURL $url_cached $url $checksum $deb +} + +DownloadDeb libpulse0_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 5607f464fc73d09e2067a12b7e20d3b175d17e94 +DownloadDeb libpulse-dev_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 674de26bb5a5148479d0c9e81c22462e2ffefa42 +DownloadDeb libpulsedsp_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 0e06bea12c267cdeade4dce48ceba709f3a57036 +DownloadDeb libpulse-mainloop-glib0_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 6fbb84697ac3e46664f3a9aff63bb8c04666c0a2 +DownloadDeb pulseaudio_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 0988e8357a7024b8bf55c6fe0f51c0c0a72813e7 +DownloadDeb pulseaudio-utils_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb 667a6a570e9bf03317de6e548443ea058ad5195d +DownloadDeb pulseaudio-module-bluetooth_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb fd22382092cc45b7d717895f342fa5f5b6bc22e0 + +sudo dpkg -i \ + libpulse0_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + libpulse-dev_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + libpulsedsp_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + libpulse-mainloop-glib0_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + pulseaudio_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + pulseaudio-module-bluetooth_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb \ + pulseaudio-utils_15.99.1+dfsg1-1ubuntu2.2timesmootherfix~jammy_amd64.deb diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/03-install-pulseaudio-16-bugfix-backports.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/03-install-pulseaudio-16-bugfix-backports.sh new file mode 100755 index 00000000..4fe4451f --- /dev/null +++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-aarch64/03-install-pulseaudio-16-bugfix-backports.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +# Copyright (C) 2024 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +# backport of: +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/745 +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/764 +# compare: https://doc-snapshots.qt.io/qt6-6.8/qtmultimedia-gstreamer.html#limitations-and-known-issues + +# shellcheck source=../common/unix/DownloadURL.sh +source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh" + +set -ex + +DownloadDeb () { + deb="$1" + checksum="$2" + + url="https://launchpad.net/~tim-klingt/+archive/ubuntu/pulseaudio-16-bugfixes/+files/${deb}" + url_cached="http://ci-files01-hki.ci.qt.io/input/pulseaudio-16-bugfixes/noble_arm64/${deb}" + + DownloadURL $url_cached $url $checksum $deb +} + +DownloadDeb libpulse0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb 4fa467972542a3851aad892833dc0149efe5c6f3 +DownloadDeb libpulse-dev_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb 20045425b0522ec39adc0231d6727146ce910dd4 +DownloadDeb libpulse-mainloop-glib0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb cd94fd91e6f5a4b67ccd148c50e93a9dc9a59b33 + +sudo dpkg -i \ + libpulse0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb \ + libpulse-dev_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb \ + libpulse-mainloop-glib0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_arm64.deb diff --git a/coin/provisioning/qtci-linux-Ubuntu-24.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh b/coin/provisioning/qtci-linux-Ubuntu-24.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh new file mode 100755 index 00000000..938b7a85 --- /dev/null +++ b/coin/provisioning/qtci-linux-Ubuntu-24.04-x86_64/03-install-pulseaudio-16-bugfix-backports.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +# Copyright (C) 2024 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +# backport of: +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/745 +# https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/764 +# compare: https://doc-snapshots.qt.io/qt6-6.8/qtmultimedia-gstreamer.html#limitations-and-known-issues + +# shellcheck source=../common/unix/DownloadURL.sh +source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh" + +set -ex + +DownloadDeb () { + deb="$1" + checksum="$2" + + url="https://launchpad.net/~tim-klingt/+archive/ubuntu/pulseaudio-16-bugfixes/+files/${deb}" + url_cached="http://ci-files01-hki.ci.qt.io/input/pulseaudio-16-bugfixes/noble_amd64/${deb}" + + DownloadURL $url_cached $url $checksum $deb +} + +DownloadDeb libpulse0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb 65458740897d0e939d07cf1c892060c381e68441 +DownloadDeb libpulse-dev_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb a998bd30f4ca13ad9e66a2a8fb4b9bfe9aade8e2 +DownloadDeb libpulse-mainloop-glib0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb 326baf3c11a4f490dac6dad2d4e56c0821b31b80 + +sudo dpkg -i \ + libpulse0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb \ + libpulse-dev_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb \ + libpulse-mainloop-glib0_16.1+dfsg1-2ubuntu10timesmootherfix~noble_amd64.deb