Bug 28933 - pipewire-pulseaudio-0.3.23-1 for MGA9 not creating services symbolic links.
Summary: pipewire-pulseaudio-0.3.23-1 for MGA9 not creating services symbolic links.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-16 10:06 CEST by Ezequiel Partida
Modified: 2023-05-10 07:15 CEST (History)
2 users (show)

See Also:
Source RPM: pipewire-0.3.23-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Ezequiel Partida 2021-05-16 10:06:55 CEST
Description of problem:

I did not get any sound with pipewire since services did not run. 

systemctl --user start pipewire-pulse.service pipewire-pulse.socket

Replies with an error saying that service is not installed. I didn't try adding the symlinks manyally to make the services work since I first wanted to check if this was a package error.

I tried with Pipewire-0.3.19-1 from MGA7 and it does work great without any manual intervention.

How reproducible:


Steps to Reproduce:

rpm -e pulseaudio --nodeps
urpmi pipewire-pulseaudio

reboot

No sound
systemctl --user start pipewire-pulse.service pipewire-pulse.socket
got an error about not having those services installed.

This does not happen with version 3.19 from MG8

Regards
Comment 1 Ezequiel Partida 2021-05-16 10:14:11 CEST
I upgrader to pipewire 3.19 to 3.23 and sound is working.

pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 30
Tile Size: 65472
User Name: madai
Host Name: KarlaLN01.localdomain
Server Name: PulseAudio (on PipeWire 0.3.23)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: c5f5:2845
Comment 2 Ezequiel Partida 2021-05-16 11:06:16 CEST
Wrong!!

It stops working after reboot

systemctl --user start pipewire-pulse.service pipewire-pulse.socket
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
Comment 3 Lewis Smith 2021-05-17 20:45:17 CEST
This is somewhat confusing. This is a Cauldron bug, the version cited being:
 pipewire-pulseaudio-0.3.23-1.mga9.x86_64.rpm
but we are already past 0.3.24 (Mar 19) to 0.3.25 (Apr 9).
You say the problem does not happen with 0.3.19-1 from MGA7, nor 3.19-1 from MG8.
The original error (comment 0) was:
> systemctl --user start pipewire-pulse.service pipewire-pulse.socket
> Replies with an error saying that service is not installed.
then (comment 2):
> systemctl --user start pipewire-pulse.service pipewire-pulse.socket
> Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR
> not defined
both with pipewire-pulseaudio-0.3.23-1.

Can you please:
- clarify which of these errors is extant;
- what happens with version 0.3.25 when you get it.

CC'ing Thierry for the moment, responsible for this SRPM.

Source RPM: pipewire-pulseaudio-0.3.23-1.mga9.x86_64.rpm => pipewire-0.3.23-1.mga8.src.rpm
CC: (none) => lewyssmith, thierry.vignaud
Status: NEW => NEEDINFO

Comment 4 Ezequiel Partida 2021-05-18 09:28:01 CEST
Sorry for the mistyping here. It was MGA8 not MGA7

My Samsung laptop was on MGA8 and installed MGA9 Cauldron by changing the repositories and using "urpmi --auto-update --auto --replacefiles"

This upgraded everything fine with no problems. So I did the steps to move to wipewire and everything worked fine even on restart. 

I did the same on my Dell laptop and it failed. I noticed that the pipewire versions where different, so to test I installed the working versions on my Dell and it worked.

The working versions are:

lib64pipewire0.3_0-0.3.19-1.mga8.x86_64.rpm
pipewire-0.3.19-1.mga8.x86_64.rpm
pipewire-pulseaudio-0.3.19-1.mga8.x86_64.rpm

I also tested 0.3.23 on the Samsung and it also failed. Now I have them both on 0.3.19 working perfectly.

Regards
Comment 5 Ezequiel Partida 2021-05-18 10:50:09 CEST
Hello Again

It seems the problem is something else.

I tested it on a Lenovo T430 laptop and this is what I did.

$ rpm -e pulseaudio --nodeps
$ dnf install pipewire-pulseaudio

Install  1 Package

Total download size: 16 k
Installed size: 17 k
Is this ok [y/N]: y
Downloading Packages:
pipewire-pulseaudio-0.3.23-1.mga9.x86_64.rpm                                                                                            99 kB/s |  16 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   19 kB/s |  16 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                               1/1 
  Installing       : pipewire-pulseaudio-0.3.23-1.mga9.x86_64                                                                                                      1/1 
  Running scriptlet: pipewire-pulseaudio-0.3.23-1.mga9.x86_64                                                                                                      1/1 
Created symlink /etc/systemd/user/sockets.target.wants/pipewire-pulse.socket → /usr/lib/systemd/user/pipewire-pulse.socket.

  Verifying        : pipewire-pulseaudio-0.3.23-1.mga9.x86_64                                                                                                      1/1 

Installed:
  pipewire-pulseaudio-0.3.23-1.mga9.x86_64                                                                                                                             

Complete!

Rebooted


$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 30
Tile Size: 65472
User Name: ezequiel
Host Name: epartidaltlnx1
Server Name: PulseAudio (on PipeWire 0.3.23)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: 643e:cce9

I did not get any sound


$ rpm -e pipewire-0.3.23-1.mga9.x86_64 lib64pipewire0.3_0-0.3.23-1.mga9.x86_64 pipewire-pulseaudio-0.3.23-1.mga9.x86_64 --nodeps

$ urpmi lib64pipewire0.3_0-0.3.19-1.mga8.x86_64.rpm pipewire-0.3.19-1.mga8.x86_64.rpm pipewire-pulseaudio-0.3.19-1.mga8.x86_64.rpm


Rebooted

$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 51
Tile Size: 65472
User Name: ezequiel
Host Name: epartidaltlnx1
Server Name: PulseAudio (on PipeWire 0.3.19)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000:00:1b.0.analog-stereo
Default Source: alsa_input.pci-0000:00:1b.0.analog-stereo
Cookie: 4139:fa5e


Sound works great!

Regards
Comment 6 Aurelien Oudelet 2021-05-19 15:23:09 CEST
Currently, you can really replace pulseaudio with pipewire under Cauldron.

This is on its way.

You should also try again under Cauldron with pipewire-0.3.25

CC: (none) => ouaurelien

Comment 7 Lewis Smith 2021-05-19 21:07:35 CEST
Just to make the usual remark that if stuff from Cauldron does not work, it *is* a 'use at your own risk' system. Although we do like to know about it.

@Ezequiel
Yes, do try the Cauldron version 0.3.25.
 How does your comment 5:
"Created symlink /etc/systemd/user/sockets.target.wants/pipewire-pulse.socket → /usr/lib/systemd/user/pipewire-pulse.socket"
 relate to the bug title:
"pipewire-pulseaudio-0.3.23-1 for MGA9 not creating services symbolic links"
If you know what you meant by that, did you ever try creating them manually to see whether that restored sound? I would be useful to know...
Comment 8 Ezequiel Partida 2021-05-20 19:47:36 CEST
Great! I will try pipewire-0.3.25 and let you guys know.

@Lewis

I love trying Cauldron, I´ve done this since MGA1. ;-) I am a guy who will risk it all to try and test. LOL.

Yes I wanted to make them manually but I wanted to report the problem first and did tests on 4 different laptops that I have on Cauldron before reporting(Samsung, Dell, Lenovo, HP) ;-). I only use MGA8 on my work laptop.

Regards
Comment 9 Ezequiel Partida 2021-05-24 21:58:24 CEST
(In reply to Lewis Smith from comment #7)
> Just to make the usual remark that if stuff from Cauldron does not work, it
> *is* a 'use at your own risk' system. Although we do like to know about it.
> 
> @Ezequiel
> Yes, do try the Cauldron version 0.3.25.


@Lewis

I could not find Cauldron version 0.3.25 anywhere on the mirrors even on testing folders.

Regards
Comment 10 Dave Hodgins 2021-05-24 22:36:10 CEST
Looks like it's been updated in svn,
https://svnweb.mageia.org/packages/cauldron/pipewire/current/SPECS/pipewire.spec?revision=1714338&view=markup
but hasn't been submitted to the build system so is presumably still a work
in progress.

CC: (none) => davidwhodgins

Comment 11 Lewis Smith 2021-05-25 21:29:31 CEST
(In reply to Ezequiel Partida from comment #8)
> Yes I wanted to make them manually but I wanted to report the problem first
The symbolic linking referred to in bug title & comment 0:
> pipewire-pulseaudio-0.3.23-1 for MGA9 not creating services symbolic links
> I didn't try adding the symlinks manyally to make the services work
> since I first wanted to check if this was a package error.
You did not say:
- *what* symbolic links   [like in comment 5, where a symlink is created?]
- whether fixing them manually made version 0.3.23-1 work.

I think this can be assigned to ThierryV (removing CC).

Assignee: bugsquad => thierry.vignaud
CC: lewyssmith, thierry.vignaud => (none)

Comment 12 Ezequiel Partida 2021-05-29 01:44:55 CEST
Hello

I made a mistake... services do run.. but still no audio.

I just tested pipewire 3.28 and still no audio..  3.19 works great.

I did a fresh reinstall on this lenovo thinkpad mini PC.

On the past I had a problem with no sound https://bugs.mageia.org/show_bug.cgi?id=26239

This fixed the problem with pulseaudio:

echo "options snd-intel-dspcfg dsp_driver=1" > /etc/modprobe.d/alsa.conf

Once I did the fresh reinstall I made sure sound worked with pulseaudio.. everuthing works great.. once I installed pipewire 3.28 it stops working.

pactl info  show everything running it even sais it´s running under pipewire.

Regards
Comment 13 Ezequiel Partida 2021-05-29 08:54:15 CEST
Hello

I also upgraded to pipewire 3.28 on my HP OMEN and sound also doesn't work.

Regards
Comment 14 Ezequiel Partida 2023-05-10 07:15:47 CEST
Updates resolved problem

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


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