You are not logged in.

#1 2023-08-10 11:34:55

topolina1337
Member
From: Rome, Italy
Registered: 2023-08-10
Posts: 2

[SOLVED] Audio sources messed up (pipewire)

I reinstalled arch one week ago and have issues with sound.

In first time I lost sound when opened YouTube through chrome, but it fixed with "paru -Syu". Now I have really messed audio sources and can't control sound without guessing which one works now. Usually it happens after my laptop wakes up. Here is some pics

I use:

➜  ~ paru -Q | grep pipe
kpipewire 5.27.7-1
lib32-libpipewire 1:0.3.77-1
lib32-pipewire 1:0.3.77-1
libpipewire 1:0.3.77-1
pipewire 1:0.3.77-1
pipewire-alsa 1:0.3.77-1
pipewire-audio 1:0.3.77-1
pipewire-jack 1:0.3.77-1
pipewire-pulse 1:0.3.77-1

Thanks in advance, it's first time I can't fix something on my own ._.

P.S.: Also, if I wrote this post wrong please correct me and sorry for that

UPD: after pipewire update it fixed

Last edited by topolina1337 (2023-08-13 19:57:17)

Offline

#2 2023-08-10 11:52:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,776

Re: [SOLVED] Audio sources messed up (pipewire)

systemctl --user status wireplumber pipewire pipewire-pulse
sudo fuser -v /dev/snd/*
sudo journalctl -b

after reproduction of the issue.

Online

#3 2023-08-10 14:29:32

cloverskull
Member
Registered: 2018-09-30
Posts: 207

Re: [SOLVED] Audio sources messed up (pipewire)

I have the similar issue of multiple audio sources after waking up. In my current session, my laptop has gone into sleep mode twice, which means I now have three audio sources listed as well as three microphone sources.

I'll attach my logs here.

systemctl --user status wireplumber pipewire pipewire-pulse:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Wed 2023-08-09 21:28:43 PDT; 9h ago
   Main PID: 1691 (wireplumber)
      Tasks: 7 (limit: 76833)
     Memory: 24.3M
        CPU: 1.181s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1691 /usr/bin/wireplumber

Aug 09 21:28:43 sys76 wireplumber[1691]: [0:00:20.515552398] [1691] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 09 21:28:43 sys76 wireplumber[1691]: [0:00:20.515585860] [1691]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Aug 09 21:28:44 sys76 wireplumber[1691]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 09 21:28:44 sys76 wireplumber[1691]: <WpPortalPermissionStorePlugin:0x55cf505feae0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Aug 09 21:28:44 sys76 wireplumber[1691]: <WpPortalPermissionStorePlugin:0x55cf505feae0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Aug 09 22:14:48 sys76 wireplumber[1691]: <WpSiAudioAdapter:0x55cf509573b0> Object activation aborted: proxy destroyed
Aug 09 22:14:48 sys76 wireplumber[1691]: <WpSiAudioAdapter:0x55cf509573b0> failed to activate item: Object activation aborted: proxy destroyed
Aug 09 22:14:48 sys76 wireplumber[1691]: <WpPortalPermissionStorePlugin:0x55cf505feae0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Aug 10 07:11:35 sys76 wireplumber[1691]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Aug 10 07:11:35 sys76 wireplumber[1691]: <WpPortalPermissionStorePlugin:0x55cf505feae0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-08-09 21:28:43 PDT; 9h ago
TriggeredBy: ● pipewire.socket
   Main PID: 1681 (pipewire)
      Tasks: 4 (limit: 76833)
     Memory: 38.4M
        CPU: 4.112s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1681 /usr/bin/pipewire

Aug 09 21:28:43 sys76 systemd[1128]: Started PipeWire Multimedia Service.
Aug 09 21:28:44 sys76 pipewire[1681]: [0:00:21.214155141] [1681] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 09 21:28:44 sys76 pipewire[1681]: [0:00:21.214165982] [1681] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 09 21:28:44 sys76 pipewire[1681]: [0:00:21.214182080] [1681]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Wed 2023-08-09 21:28:43 PDT; 9h ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1722 (pipewire-pulse)
      Tasks: 3 (limit: 76833)
     Memory: 72.9M
        CPU: 12.348s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1722 /usr/bin/pipewire-pulse

Aug 09 21:28:43 sys76 systemd[1128]: Started PipeWire PulseAudio.

sudo fuser -v /dev/snd/*:

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  ryan       1691 F.... wireplumber
/dev/snd/controlC1:  ryan       1691 F.... wireplumber
/dev/snd/seq:        ryan       1681 F.... pipewire

Unfortunately my journalctl is too long to paste to any of the services but perhaps what I've attached here can be of use for now.

Offline

#4 2023-08-10 15:41:43

peciwov
Member
Registered: 2023-08-10
Posts: 1

Re: [SOLVED] Audio sources messed up (pipewire)

This appears to be an issue with pipewire 1:0.3.77-1

Has been identified and fixed upstream: https://gitlab.freedesktop.org/pipewire … ssues/3414

I see no recent results for pipewire on https://bugs.archlinux.org/ , maybe one needs to be opened? (no new pipewire release yet though, would need cherry-picking)

Offline

#5 2023-08-10 16:50:23

cloverskull
Member
Registered: 2018-09-30
Posts: 207

Re: [SOLVED] Audio sources messed up (pipewire)

Nice! Good find.

In a pinch, the following will restore the applet to map to the correct sinks:

systemctl --user restart plasma-plasmashell.service

Offline

#6 2023-08-10 20:56:17

topolina1337
Member
From: Rome, Italy
Registered: 2023-08-10
Posts: 2

Re: [SOLVED] Audio sources messed up (pipewire)

V1del wrote:
systemctl --user status wireplumber pipewire pipewire-pulse
sudo fuser -v /dev/snd/*
sudo journalctl -b

after reproduction of the issue.

➜  ~ systemctl --user status wireplumber pipewire pipewire-pulse
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-08-10 13:08:07 CEST; 9h ago
   Main PID: 926 (wireplumber)
      Tasks: 7 (limit: 19023)
     Memory: 54.8M
        CPU: 1min 46.792s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─926 /usr/bin/wireplumber

Aug 10 19:32:19 topolina-laptop wireplumber[926]: RFCOMM receive command but modem not available: AT+BTRH?
Aug 10 19:47:20 topolina-laptop wireplumber[926]: <WpPortalPermissionStorePlugin:0x55adf9a850a0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFoun>
Aug 10 19:48:43 topolina-laptop wireplumber[926]: <WpPortalPermissionStorePlugin:0x55adf9a850a0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFoun>
Aug 10 19:48:45 topolina-laptop wireplumber[926]: Failed to register battery provider. Error: org.freedesktop.DBus.Error.UnknownMethod
Aug 10 19:48:45 topolina-laptop wireplumber[926]: BlueZ Battery Provider is not available, won't retry to register it. Make sure you are running BlueZ 5.56+ with experi>
Aug 10 19:48:45 topolina-laptop wireplumber[926]: RFCOMM receive command but modem not available: AT+BTRH?
Aug 10 22:36:42 topolina-laptop wireplumber[926]: <WpPortalPermissionStorePlugin:0x55adf9a850a0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFoun>
Aug 10 22:36:45 topolina-laptop wireplumber[926]: Failed to register battery provider. Error: org.freedesktop.DBus.Error.UnknownMethod
Aug 10 22:36:45 topolina-laptop wireplumber[926]: BlueZ Battery Provider is not available, won't retry to register it. Make sure you are running BlueZ 5.56+ with experi>
Aug 10 22:36:45 topolina-laptop wireplumber[926]: RFCOMM receive command but modem not available: AT+BTRH?

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Thu 2023-08-10 13:08:07 CEST; 9h ago
TriggeredBy: ● pipewire.socket
   Main PID: 923 (pipewire)
      Tasks: 4 (limit: 19023)
     Memory: 38.0M
        CPU: 1.509s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─923 /usr/bin/pipewire

Aug 10 13:08:07 topolina-laptop systemd[593]: Started PipeWire Multimedia Service.
Aug 10 13:08:08 topolina-laptop pipewire[923]: [0:00:15.543225595] [923] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 10 13:08:08 topolina-laptop pipewire[923]: [0:00:15.543259112] [923] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 10 13:08:08 topolina-laptop pipewire[923]: [0:00:15.543308408] [923]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Thu 2023-08-10 13:08:08 CEST; 9h ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1029 (pipewire-pulse)
      Tasks: 3 (limit: 19023)
     Memory: 58.8M
        CPU: 1min 2.504s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1029 /usr/bin/pipewire-pulse

Aug 10 13:08:08 topolina-laptop systemd[593]: Started PipeWire PulseAudio.
➜  ~ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  polina      926 F.... wireplumber
/dev/snd/seq:        polina      923 F.... pipewire

Here is output from journalctl bc it's too big

Offline

Board footer

Powered by FluxBB