From b5b6872af7ddc07ad509e6a7f0350db52a3247f7f8a8fd73886f328ed83cae54 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 16 Feb 2022 11:46:58 +0000 Subject: [PATCH] Accepting request 955213 from home:mia:branches:multimedia:libs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Disable forced realtime scheduler priority By default, the encoder library will attempt to set realtime scheduler priority. Disable this behavior, as it serves no practical purpose (video encoding does not benefit from reduced process latency) and will only make the system unresponsive. (Additionally, it is arguably not a video encoder library’s job to manage scheduler priorities for the calling process.) See https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1714 OBS-URL: https://build.opensuse.org/request/show/955213 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=26 --- SVT-AV1.changes | 12 ++++++++++++ SVT-AV1.spec | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/SVT-AV1.changes b/SVT-AV1.changes index b938105..f9e625f 100644 --- a/SVT-AV1.changes +++ b/SVT-AV1.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Feb 16 10:01:52 UTC 2022 - Mia Herkt + +- Disable forced realtime scheduler priority + By default, the encoder library will attempt to set realtime + scheduler priority. Disable this behavior, as it serves no + practical purpose (video encoding does not benefit from reduced + process latency) and will only make the system unresponsive. + (Additionally, it is arguably not a video encoder library’s job + to manage scheduler priorities for the calling process.) + See https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1714 + ------------------------------------------------------------------- Wed Jan 26 08:27:06 UTC 2022 - Enrico Belleri diff --git a/SVT-AV1.spec b/SVT-AV1.spec index 577c142..1af1569 100644 --- a/SVT-AV1.spec +++ b/SVT-AV1.spec @@ -77,7 +77,8 @@ This package contains the header files for svt-av1. %autosetup -p1 -n %{name}-v%{version} %build -%cmake +# See https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1714 +%cmake -DDISABLE_REALTIME=ON %cmake_build %install