Bug 33424 - Update request: pipewire-0.3.85-5.mga9
Summary: Update request: pipewire-0.3.85-5.mga9
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 33425
  Show dependency treegraph
 
Reported: 2024-07-23 16:43 CEST by Giuseppe Ghibò
Modified: 2024-08-01 03:19 CEST (History)
5 users (show)

See Also:
Source RPM: pipewire-0.3.85-5.mga9, wireplumber-0.4.17-1.mga9, webrtc-audio-processing1-1.3-1.mga9, libcamera-0.2.0-1.mga9
CVE:
Status comment:


Attachments
files list (2.49 KB, text/plain)
2024-07-24 11:58 CEST, Giuseppe Ghibò
Details
Removal of jackit (18.81 KB, text/plain)
2024-07-30 20:29 CEST, Ulrich Beckmann
Details

Description Giuseppe Ghibò 2024-07-23 16:43:28 CEST
mga9 comes with pipewire 0.3.71; since then several bugfixes were introduced upstream. In this package I backported all the bugfixes from upstream up to pipewire-1.0.7 (included), to current pipewire 0.3.85 so to consolidate a bit the audio stack. The API/ABI and library version number is compatibile with previous version.

Changelog is basically here up to 1.0.7:

https://gitlab.freedesktop.org/pipewire/pipewire/-/releases
Giuseppe Ghibò 2024-07-23 16:43:55 CEST

Source RPM: pipewire-0.3.85-5.mga9, wireplumber-0.4.17-1.mga9, webrtc-audio-processing1-1.3-1.mga9, https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/SRPMS/core/updates_testing/libcamera-0.2.0-1.mga9 => pipewire-0.3.85-5.mga9, wireplumber-0.4.17-1.mga9, webrtc-audio-processing1-1.3-1.mga9, libcamera-0.2.0-1.mga9

Giuseppe Ghibò 2024-07-23 20:33:59 CEST

Summary: bugfix release for pipewire => Update request: pipewire-0.3.85-5.mga9

Comment 1 Morgan Leijström 2024-07-24 08:53:00 CEST
Setting to QA per private mail.

CC: (none) => fri
Assignee: bugsquad => qa-bugs

Comment 2 PC LX 2024-07-24 10:54:35 CEST
When trying to install the updated packages I get the message that two packages need to be uninstalled, pipewire-utils and task-pipewire.
It seems that the package pipewire-utils also needs to be updated.

Also, could you provide a list of the updated packages to facilitate testing.



# LANGUAGE=C urpmi --auto-select
The following packages have to be removed for others to be upgraded:
pipewire-utils-0.3.71-1.mga9.x86_64
 (due to unsatisfied pipewire == 0.3.71-1.mga9)
task-pipewire-9-2.mga9.noarch
 (due to missing pipewire-utils) (y/N) y
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "QA Testing (64-bit)")
  lib64camera0.2                 0.2.0        1.mga9        x86_64  
  lib64webrtc-audio-processing1> 1.3          1.mga9        x86_64  
  lib64wireplumber0              0.4.17       1.mga9        x86_64  
  pipewire                       0.3.85       5.mga9        x86_64  
  wireplumber                    0.4.17       1.mga9        x86_64  
(medium "Core Release")
  lib64abseil-cpp20220623        20220623.1   4.mga9        x86_64  
3.1MB of additional disk space will be used.
3.6MB of packages will be retrieved.
Proceed with the installation of the 6 packages? (Y/n) n

CC: (none) => mageia

Comment 3 Giuseppe Ghibò 2024-07-24 11:11:39 CEST
If you are running pulseaudio you need to switch to older pipewire before doing the upgrade. When pulseaudio is already installed and in use, the correct switch between pulseaudio and pipewire is achieved by running 'draksound' and not just installing task-pipewire and task-pulseaudio, which leads to incomplete switch due to systemd interaction. Beyond this, for the package list, is the newer testing madb down? Because that was useful in getting that longer files list.
Comment 4 PC LX 2024-07-24 11:21:19 CEST
I'm not running pulseaudio and pipewire is working correctly.

The issue I referred in comment 2 is about the pipewire-utils package requiring the package pipewire == 0.3.71-1.mga9, and the new pipewire is 0.3.85-5.mga9, thus the package pipewire-utils (and packages that depend on it like task-pipewire) needs to be removed.

The solution is to also update pipewire-utils. Maybe a change in the specs file is all that is needed.
Comment 5 Giuseppe Ghibò 2024-07-24 11:35:01 CEST
I missed something. What I don't understand is why pipewire-utils-0.3.71-1.mga9 is not just upgraded (during the urpmi --auto-select) to pipewire-utils-0.3.85-5.mga9 (since it's there) without forcing uninstallation first.
Comment 6 Giuseppe Ghibò 2024-07-24 11:58:53 CEST
Created attachment 14601 [details]
files list

I add the files list as extracted from the newer (testing) madb which seems up again.
Comment 7 Morgan Leijström 2024-07-24 12:06:06 CEST
In my normal style of emulating user updating, I used drakrpm and selected files using filtering on updates. In the same round I selected updates from pipewire and pulseaudio.

I saw no problem.

Reboot, works.

$ rpm -qa|grep pipewire | sort
gstreamer1.0-pipewire-0.3.85-5.mga9
kpipewire-5.27.10-1.mga9
lib64kpipewire5-5.27.10-1.mga9
lib64kpipewiredmabuf5-5.27.10-1.mga9
lib64kpipewirerecord5-5.27.10-1.mga9
lib64pipewire0.3_0-0.3.85-5.mga9
pipewire-0.3.85-5.mga9
pipewire-alsa-0.3.85-5.mga9
pipewire-module-x11-0.3.85-5.mga9
pipewire-pulseaudio-0.3.85-5.mga9
pipewire-utils-0.3.85-5.mga9
task-pipewire-9-2.mga9
[morgan@svarten ~]$ 

$ rpm -qa|grep pulseaudio | sort
lib64kf5pulseaudioqt_3-1.3-3.mga9
lib64pulseaudio0-16.1-17.mga9
pipewire-pulseaudio-0.3.85-5.mga9
pulseaudio-client-config-16.1-17.mga9
pulseaudio-utils-16.1-17.mga9
xfce4-pulseaudio-plugin-0.4.6-1.mga9
Comment 8 PC LX 2024-07-24 16:47:01 CEST
Tried again and all packages were installed now.

It was probably an issue caused by the repository mirror not being fully up-to-date and not having all the newer packages.

Will do some testing and see if nothing is broken.
Will report the test results later.


These are the installed updated packages:
gstreamer1.0-pipewire-0.3.85-5.mga9
lib64camera0.2-0.2.0-1.mga9
lib64pipewire0.3_0-0.3.85-5.mga9
lib64webrtc-audio-processing1_3-1.3-1.mga9
lib64wireplumber0-0.4.17-1.mga9
pipewire-0.3.85-5.mga9
pipewire-alsa-0.3.85-5.mga9
pipewire-module-x11-0.3.85-5.mga9
pipewire-plugin-libcamera-0.3.85-5.mga9
pipewire-plugin-vulkan-0.3.85-5.mga9
pipewire-pulseaudio-0.3.85-5.mga9
pipewire-utils-0.3.85-5.mga9
pipewire-v4l2-0.3.85-5.mga9
wireplumber-0.4.17-1.mga9
katnatek 2024-07-24 19:35:27 CEST

Keywords: (none) => advisory

katnatek 2024-07-24 19:49:32 CEST

Blocks: (none) => 33425

Comment 9 katnatek 2024-07-25 00:32:01 CEST
RH mageia 9 x86_64

I add this and bug#33425 packages to qarepo
Use mcc to switch sound to pipewire+wireplumber
Have to reboot
Need to update because  lib64pipewire0.3_0 not was fetched in the process

rpm -qa --last
task-pipewire-9-2.mga9.noarch                 mié 24 jul 2024 15:55:50
pipewire-utils-0.3.85-5.mga9.x86_64           mié 24 jul 2024 15:55:50
pipewire-pulseaudio-0.3.85-5.mga9.x86_64      mié 24 jul 2024 15:55:50
pipewire-module-x11-0.3.85-5.mga9.x86_64      mié 24 jul 2024 15:55:50
pipewire-alsa-0.3.85-5.mga9.x86_64            mié 24 jul 2024 15:55:50
gstreamer1.0-pipewire-0.3.85-5.mga9.x86_64    mié 24 jul 2024 15:55:50
wireplumber-0.4.17-1.mga9.x86_64              mié 24 jul 2024 15:55:49
pipewire-0.3.85-5.mga9.x86_64                 mié 24 jul 2024 15:55:49
lib64wireplumber0-0.4.17-1.mga9.x86_64        mié 24 jul 2024 15:55:49
lib64camera0.2-0.2.0-1.mga9.x86_64            mié 24 jul 2024 15:55:49

Have to reboot again
rpm -qa --last
lib64pipewire0.3_0-0.3.85-5.mga9.x86_64       mié 24 jul 2024 16:13:09

Start Plasma X11 session

Sound works
Comment 10 PC LX 2024-07-26 10:59:28 CEST
Installed and tested without issue.

Tested for two days. HDMI, audio jack, camera microphone, all works. No issues noticed.



System: Mageia 9, x86_64, Plasma DE, LXQt DE, AMD Ryzen 5 5600G with Radeon Graphics using amdgpu driver.



$ uname -a
Linux jupiter 6.6.37-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Sat Jul  6 01:42:12 UTC 2024 x86_64 GNU/Linux
$ lspcidrake | grep -i AUDIO
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD]|Family 17h/19h HD Audio Controller [MULTIMEDIA_AUDIO_DEV]
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Renoir Radeon High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV]
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|Navi 21/23 HDMI/DP Audio Controller [MULTIMEDIA_AUDIO_DEV]
$ ##### installed packages #####
$ for U in $(< list.txt) ; do rpm -q $U | grep -v "not installed" | sort -u ; done
gstreamer1.0-pipewire-0.3.85-5.mga9
lib64camera0.2-0.2.0-1.mga9
lib64pipewire0.3_0-0.3.85-5.mga9
lib64webrtc-audio-processing1_3-1.3-1.mga9
lib64wireplumber0-0.4.17-1.mga9
pipewire-0.3.85-5.mga9
pipewire-alsa-0.3.85-5.mga9
pipewire-module-x11-0.3.85-5.mga9
pipewire-plugin-libcamera-0.3.85-5.mga9
pipewire-plugin-vulkan-0.3.85-5.mga9
pipewire-pulseaudio-0.3.85-5.mga9
pipewire-utils-0.3.85-5.mga9
pipewire-v4l2-0.3.85-5.mga9
wireplumber-0.4.17-1.mga9
Comment 11 Ulrich Beckmann 2024-07-28 21:19:23 CEST
dnf shows these error with the package list:

Added mga9-updates_testing-33424 repo from /var/cache/dnf-qa//mga9-updates_testing-33424
Last metadata expiration check: 4:05:11 ago on Sun Jul 28 11:30:51 2024.
Error:
 Problem 1: package pipewire-plugin-jack-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 requires jackit, but none of the providers can be installed
  - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 conflicts with jackit provided by jackit-1.9.21-3.mga9.x86_64 from @System
  - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 conflicts with jackit provided by jackit-1.9.21-3.mga9.x86_64 from mageia-x86_64
  - conflicting requests
 Problem 2: problem with installed package lib64jack0-1.9.21-3.mga9.x86_64
  - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 conflicts with lib64jack0 provided by lib64jack0-1.9.21-3.mga9.x86_64 from @System
  - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 conflicts with lib64jack0 provided by lib64jack0-1.9.21-3.mga9.x86_64 from mageia-x86_64
  - package pipewire-jack-audio-connection-kit-devel-0.3.85-5.mga9.x86_64 from mga9-updates_testing-33424 requires pipewire-jack-audio-connection-kit(x86-64) = 0.3.85-5.mga9, but none of the providers can be installed
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
[root@localhost ~]#

When omitting 
    pipewire-jack-audio-connection-kit-0.3.85-5.mga9
    pipewire-jack-audio-connection-kit-devel-0.3.85-5.mga9
the rest installs or upgrades fine.

Ulrich

CC: (none) => bequimao.de

Comment 12 katnatek 2024-07-30 03:50:16 CEST
(In reply to Ulrich Beckmann from comment #11)
> dnf shows these error with the package list:
> 
> Added mga9-updates_testing-33424 repo from
> /var/cache/dnf-qa//mga9-updates_testing-33424
> Last metadata expiration check: 4:05:11 ago on Sun Jul 28 11:30:51 2024.
> Error:
>  Problem 1: package pipewire-plugin-jack-0.3.85-5.mga9.x86_64 from
> mga9-updates_testing-33424 requires jackit, but none of the providers can be
> installed
>   - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from
> mga9-updates_testing-33424 conflicts with jackit provided by
> jackit-1.9.21-3.mga9.x86_64 from @System
>   - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from
> mga9-updates_testing-33424 conflicts with jackit provided by
> jackit-1.9.21-3.mga9.x86_64 from mageia-x86_64
>   - conflicting requests
>  Problem 2: problem with installed package lib64jack0-1.9.21-3.mga9.x86_64
>   - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from
> mga9-updates_testing-33424 conflicts with lib64jack0 provided by
> lib64jack0-1.9.21-3.mga9.x86_64 from @System
>   - package pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64 from
> mga9-updates_testing-33424 conflicts with lib64jack0 provided by
> lib64jack0-1.9.21-3.mga9.x86_64 from mageia-x86_64
>   - package pipewire-jack-audio-connection-kit-devel-0.3.85-5.mga9.x86_64
> from mga9-updates_testing-33424 requires
> pipewire-jack-audio-connection-kit(x86-64) = 0.3.85-5.mga9, but none of the
> providers can be installed
>   - conflicting requests
> (try to add '--allowerasing' to command line to replace conflicting packages
> or '--skip-broken' to skip uninstallable packages)
> [root@localhost ~]#
> 
> When omitting 
>     pipewire-jack-audio-connection-kit-0.3.85-5.mga9
>     pipewire-jack-audio-connection-kit-devel-0.3.85-5.mga9
> the rest installs or upgrades fine.
> 
> Ulrich
Did you switch to pipewire before update ?
Comment 13 Ulrich Beckmann 2024-07-30 15:41:37 CEST
(In reply to katnatek from comment #12)

> Did you switch to pipewire before update ?

Yes, certainly.

NB. I followed the "Manual method" from the wiki.
I found that the packages task-pipewire and wireplumber were missing.

# dnf install task-pipewire wireplumber pipewire-pulseaudio pipewire-alsa pipewire-plugin-jack --allowerasing

would do the trick at once.
katnatek 2024-07-30 18:46:47 CEST

Whiteboard: (none) => MGA9-64-OK
CC: (none) => andrewsfarm

Comment 14 Thomas Andrews 2024-07-30 19:10:20 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 15 Ulrich Beckmann 2024-07-30 19:20:11 CEST
I would question the whiteboard and validation as long as the errors in comment #11 aren't explained.

It looks as if pipewire-jack-audio-connection-kit are in the package list and aren't tested nowhere.

Ulrich
Comment 16 katnatek 2024-07-30 19:37:10 CEST
(In reply to Ulrich Beckmann from comment #15)
> I would question the whiteboard and validation as long as the errors in
> comment #11 aren't explained.
> 
> It looks as if pipewire-jack-audio-connection-kit are in the package list
> and aren't tested nowhere.
> 
> Ulrich

Locks like are normal ?

 LC_ALL=C urpmi pipewire-jack-audio-connection-kit
The following packages have to be removed for others to be upgraded:
jackit-1.9.21-3.mga9.x86_64
 (due to conflicts with pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64)
lib64jack0-1.9.21-3.mga9.x86_64
 (due to unsatisfied jackit >= 1.9.21)
qjackctl-0.9.9-1.mga9.x86_64
 (due to unsatisfied jackit >= 0.90.0) (y/N) y


installing pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: pipewire-jack-audio-connection-kit
                                 ##################################################################################################
removing package qjackctl-0.9.9-1.mga9.x86_64
      1/3: removing qjackctl-0.9.9-1.mga9.x86_64
                                 ##################################################################################################
removing package lib64jack0-1.9.21-3.mga9.x86_64
      2/3: removing lib64jack0-1.9.21-3.mga9.x86_64
                                 ##################################################################################################
removing package jackit-1.9.21-3.mga9.x86_64
      3/3: removing jackit-1.9.21-3.mga9.x86_64
                                 ##################################################################################################

I like to know what more to test about this, but the package clean install once you accept uninstall the packages in conflict
Comment 17 katnatek 2024-07-30 19:39:49 CEST
(In reply to katnatek from comment #16)
> (In reply to Ulrich Beckmann from comment #15)
> > I would question the whiteboard and validation as long as the errors in
> > comment #11 aren't explained.
> > 
> > It looks as if pipewire-jack-audio-connection-kit are in the package list
> > and aren't tested nowhere.
> > 
> > Ulrich
> 
> Locks like are normal ?
> 
>  LC_ALL=C urpmi pipewire-jack-audio-connection-kit
> The following packages have to be removed for others to be upgraded:
> jackit-1.9.21-3.mga9.x86_64
>  (due to conflicts with
> pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64)
> lib64jack0-1.9.21-3.mga9.x86_64
>  (due to unsatisfied jackit >= 1.9.21)
> qjackctl-0.9.9-1.mga9.x86_64
>  (due to unsatisfied jackit >= 0.90.0) (y/N) y
> 
> 
> installing pipewire-jack-audio-connection-kit-0.3.85-5.mga9.x86_64.rpm from
> //home/katnatek/qa-testing/x86_64
> Preparing...                    
> #############################################################################
> #####################
>       1/1: pipewire-jack-audio-connection-kit
>                                 
> #############################################################################
> #####################
> removing package qjackctl-0.9.9-1.mga9.x86_64
>       1/3: removing qjackctl-0.9.9-1.mga9.x86_64
>                                 
> #############################################################################
> #####################
> removing package lib64jack0-1.9.21-3.mga9.x86_64
>       2/3: removing lib64jack0-1.9.21-3.mga9.x86_64
>                                 
> #############################################################################
> #####################
> removing package jackit-1.9.21-3.mga9.x86_64
>       3/3: removing jackit-1.9.21-3.mga9.x86_64
>                                 
> #############################################################################
> #####################
> 
> I like to know what more to test about this, but the package clean install
> once you accept uninstall the packages in conflict

And I not handle enough dnf but the message in comment#11 suggest add --allowerasing to parameters did you try that?
Comment 18 katnatek 2024-07-30 19:51:17 CEST
https://wiki.mageia.org/en/Pipewire#Jack
Comment 19 Ulrich Beckmann 2024-07-30 20:29:29 CEST
Created attachment 14614 [details]
Removal of jackit

@ Katnatek,
Thank you for your hint.
I tried to remove jackit, but it would remove lots of essential things trough its dependencies. So pipewire-jack is not functional in Mageia 9.

Anyway, I do not know how to test jack audio. And it is no regression, as the overall situation did not change.

I remove my caveat.

Ulrich
Comment 20 katnatek 2024-07-30 20:37:36 CEST
(In reply to Ulrich Beckmann from comment #19)
> Created attachment 14614 [details]
> Removal of jackit
> 
> @ Katnatek,
> Thank you for your hint.
> I tried to remove jackit, but it would remove lots of essential things
> trough its dependencies. So pipewire-jack is not functional in Mageia 9.
> 
> Anyway, I do not know how to test jack audio. And it is no regression, as
> the overall situation did not change.
> 
> I remove my caveat.
> 
> Ulrich

Perhaps for you is better have pipewire-plugin-jack, both alternatives need some extra configuration check link in comment#18
Comment 21 katnatek 2024-07-30 20:51:03 CEST
OK switch between pipewire-jack-audio-connection-kit and jackit could be a lot painful with that many things complaining

I have similar issue trying to do the switch pipewire-jack-audio-connection-kit -> jackit direction 

I have to 

rpm -e  pipewire-jack-audio-connection-kit --nodeps

urpmi qjackctl 

choose lib64jack0
 
Morgan Leijström I will check this more and when I have something I will put a suggestion in piprewire page in wiki
Comment 22 katnatek 2024-07-30 20:57:24 CEST
Is clear to me that currently is not possible to use pipewire-jack-audio-connection-kit but pipewire-plugin-jack could be installed without conflicts with jackit or other packages
Comment 23 Morgan Leijström 2024-07-30 22:05:50 CEST
Good, I see yo added info in wiki.

Please also see https://wiki.mageia.org/en/Talk:Pipewire ref comment 13 if you can clear that out. - This is not my cup of tea.

FWIW I have updated all installed packages of pipewire and pulseaudio on several computers, without problem, but I have not had time to test switching after that.  Most use pipewire I think.
Comment 24 katnatek 2024-07-31 00:25:18 CEST
(In reply to Morgan Leijström from comment #23)
> Good, I see yo added info in wiki.
> 
> Please also see https://wiki.mageia.org/en/Talk:Pipewire ref comment 13 if
> you can clear that out. - This is not my cup of tea.
> 
> FWIW I have updated all installed packages of pipewire and pulseaudio on
> several computers, without problem, but I have not had time to test
> switching after that.  Most use pipewire I think.

I will do more test once this arrives to updates, quick read point that will need to enhance the manual procedure to make clear what of the 2 pipewire configurations will be applied pipewire+media session or pipewire+wireplumber

I will check what draksound install in each one
Comment 25 Mageia Robot 2024-07-31 21:35:07 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0171.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 26 katnatek 2024-08-01 03:19:37 CEST
(In reply to Morgan Leijström from comment #23)
> Good, I see yo added info in wiki.
> 
> Please also see https://wiki.mageia.org/en/Talk:Pipewire ref comment 13 if
> you can clear that out. - This is not my cup of tea.
> 
> FWIW I have updated all installed packages of pipewire and pulseaudio on
> several computers, without problem, but I have not had time to test
> switching after that.  Most use pipewire I think.

The procedure show how to install wireplumber, so the user not read carefully, but I'll see if it can be improved

Note You need to log in before you can comment on or make changes to this bug.