[SOLVED]My mic/pipewire isn't working correctly

Hello dear EOS community :slight_smile:
(just switched from windows to EOS and i dual boot them)

My Microphone: SM950(SPC GEAR)

I have the problem that the sound of my mic is just choppy 8-bit noise when it detects sound. The rest works fine totally fine.

I have googled as much as I could but couldn’t found anything on that problem.

What I found was that it was recommended to switch to pipewire.

First i installed(I reinstalled it bc i didn’t know that it is already preinstalled) it but after the reboot i just got black screen with a blinking dash in the top left corner and i couldn’t do anything.
I reinstalled EOS after that because i was to lazy to find out how to recover the system. So reinstalling pipewire isn’t option for me. Or at least not in the ways i tried it.

So I duck deeper and found out that i had two instances of it running what caused some errors when i typed pipewire out of pure curiosity when found out that it is preinstalled:

[laurentius@laurentius-pc ~]$ pipewire
[W][09822.477749] mod.rt       | [     module-rt.c:  254 pw_rtkit_check_xdg_portal()] Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
[W][09822.477899] mod.rt       | [     module-rt.c: 1015 pipewire__module_init()] found session bus but no portal
[E][09822.488497] mod.protocol-native | [module-protocol-:  711 lock_socket()] server 0x5627b2f16be0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][09822.488790] pw.conf      | [          conf.c:  574 load_module()] 0x5627b2ed7a20: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][09822.489057] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable

I resolved the errors (or at least thought so!) with:

systemctl --user stop pipewire.service pipewire.socket

but there are still two warnings and nothing happens. Idk if that is supposed to work like that… just doing nothing.

Then I found out that there is something called wireplumber (what is supposed to act like a gui?).
At that point of my journey I just typed in commands I found in discussions about some problems with wireplumber/pipewire, where discovered that the pactl command isn’t working and maybe I’m just totally stupid but think it’s not supposed to work like that…

So let’s finally come to the last parts.
At some point i found this command:

systemctl --user status pipewire wireplumber

when executed it, this was the output:

[laurentius@laurentius-pc ~]$ systemctl --user status pipewire wireplumber
○ pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: inactive (dead) since Fri 2023-03-17 21:13:36 CET; 14min ago
   Duration: 2h 9min 42.888s
TriggeredBy: ○ pipewire.socket
    Process: 1212 ExecStart=/usr/bin/pipewire (code=exited, status=0/SUCCESS)
   Main PID: 1212 (code=exited, status=0/SUCCESS)
        CPU: 9.382s

Mär 17 19:03:53 laurentius-pc systemd[980]: Started PipeWire Multimedia Service.
Mär 17 19:03:53 laurentius-pc pipewire[1212]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mär 17 19:03:53 laurentius-pc pipewire[1212]: mod.rt: found session bus but no portal
Mär 17 19:03:54 laurentius-pc pipewire[1212]: [0:02:22.133813761] [1212]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Mär 17 19:03:54 laurentius-pc pipewire[1212]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mär 17 19:03:54 laurentius-pc pipewire[1212]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mär 17 21:13:36 laurentius-pc systemd[980]: Stopping PipeWire Multimedia Service...
Mär 17 21:13:36 laurentius-pc systemd[980]: Stopped PipeWire Multimedia Service.
Mär 17 21:13:36 laurentius-pc systemd[980]: pipewire.service: Consumed 9.382s CPU time.

○ wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: inactive (dead) since Fri 2023-03-17 21:13:36 CET; 14min ago
   Duration: 2h 9min 42.863s
    Process: 1214 ExecStart=/usr/bin/wireplumber (code=exited, status=0/SUCCESS)
   Main PID: 1214 (code=exited, status=0/SUCCESS)
        CPU: 2.967s

Mär 17 19:03:53 laurentius-pc wireplumber[1214]: [0:02:21.101331614] [1214]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Mär 17 19:03:54 laurentius-pc wireplumber[1214]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Mär 17 19:03:54 laurentius-pc wireplumber[1214]: <WpSiAudioAdapter:0x5639b4ee7040> Object activation aborted: proxy destroyed
Mär 17 19:03:54 laurentius-pc wireplumber[1214]: <WpSiAudioAdapter:0x5639b4ee7040> failed to activate item: Object activation aborted: proxy destroyed
Mär 17 19:03:54 laurentius-pc wireplumber[1214]: <WpPortalPermissionStorePlugin:0x5639b455ef30> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not >
Mär 17 21:13:36 laurentius-pc wireplumber[1214]: stopped by signal: Terminated
Mär 17 21:13:36 laurentius-pc systemd[980]: Stopping Multimedia Service Session Manager...
Mär 17 21:13:36 laurentius-pc wireplumber[1214]: disconnected from pipewire
Mär 17 21:13:36 laurentius-pc systemd[980]: Stopped Multimedia Service Session Manager.
Mär 17 21:13:36 laurentius-pc systemd[980]: wireplumber.service: Consumed 2.967s CPU time.s

Than looked at it and noticed that pipewire.service was disabled.
I realized i did apparently wasn’t able to fix the errors that occurred when i typed pipewire the first time.
Output of pipewire this time(the same as it was the first time):

[laurentius@laurentius-pc ~]$ pipewire
[W][09822.477749] mod.rt       | [     module-rt.c:  254 pw_rtkit_check_xdg_portal()] Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
[W][09822.477899] mod.rt       | [     module-rt.c: 1015 pipewire__module_init()] found session bus but no portal
[E][09822.488497] mod.protocol-native | [module-protocol-:  711 lock_socket()] server 0x5627b2f16be0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][09822.488790] pw.conf      | [          conf.c:  574 load_module()] 0x5627b2ed7a20: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][09822.489057] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable

After that i executed systemctl --user status pipewire wireplumber again:

[laurentius@laurentius-pc ~]$ systemctl --user status pipewire wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Fri 2023-03-17 22:11:32 CET; 7min ago
TriggeredBy: ● pipewire.socket
   Main PID: 25870 (pipewire)
      Tasks: 3 (limit: 14205)
     Memory: 9.3M
        CPU: 340ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─25870 /usr/bin/pipewire

Mär 17 22:11:32 laurentius-pc systemd[980]: Started PipeWire Multimedia Service.
Mär 17 22:11:32 laurentius-pc pipewire[25870]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mär 17 22:11:32 laurentius-pc pipewire[25870]: mod.rt: found session bus but no portal
Mär 17 22:11:33 laurentius-pc pipewire[25870]: [2:43:15.270541855] [25870]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Mär 17 22:11:33 laurentius-pc pipewire[25870]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mär 17 22:11:34 laurentius-pc pipewire[25870]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-03-17 22:11:32 CET; 7min ago
   Main PID: 25871 (wireplumber)
      Tasks: 6 (limit: 14205)
     Memory: 15.4M
        CPU: 1.074s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─25871 /usr/bin/wireplumber

Mär 17 22:11:32 laurentius-pc systemd[980]: Started Multimedia Service Session Manager.
Mär 17 22:11:32 laurentius-pc wireplumber[25871]: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mär 17 22:11:32 laurentius-pc wireplumber[25871]: found session bus but no portal
Mär 17 22:11:32 laurentius-pc wireplumber[25871]: [2:43:14.007277572] [25871]  INFO Camera camera_manager.cpp:299 libcamera v0.0.4
Mär 17 22:11:33 laurentius-pc wireplumber[25871]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Mär 17 22:11:34 laurentius-pc wireplumber[25871]: <WpPortalPermissionStorePlugin:0x55e2de74a5f0> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not>
Mär 17 22:11:34 laurentius-pc wireplumber[25871]: <WpPortalPermissionStorePlugin:0x55e2de74a5f0> Failed to call Lookup: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not>

I feel like i know nothing and I probably do. I couldn’t anything about the errors that are shown to me or about the bad microphone sound. This is my current state…

I don’t know any information i just provided is in anyway useful but i haven no clue.
At least writing this was fun. First time I am using a forum :grin:

Hello @Lauri44,
How about testing pulseaudio and pulsemixer?
https://forum.endeavouros.com/t/audio-through-hdmi-not-recognised-on-kernel-6-1/35348/34
when installing pulseaudio accept offered conflict resolving with pipewire
A quick (and fast) startup how to use pulsemixer: https://www.youtube.com/watch?v=I8oJO_HjKGU

Hello @eso,
thank you for your response! I found the solution for my mic problem :sweat_smile:.
I just plugged the mic into another USB port…

And pipwire also seems to run properly now. But I don’t know how i did it.

But still huge thanks that u tried to help me!

However I’m happy now :grin:

1 Like

Hello Laurentius,
Good to hear it. There was a case here about a monitor with ‘presumed’ loudspeakers. At the end turned out that they do not exist.
IT problems that don’t solve themselves are not worth dealing with.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.