Pipewire Error

Hello, I am quite new to Linux so please bear with me.

I have several entries in the logfiles but I want to start with the error of pipewire as this seems to be the most understandable to me.

the output with journalctl -err | grep “pipewire”

Sep 12 07:39:33 fedora pipewire-media-session[1459]: can’t make factory instance: file or directory not found

i get this error on my Lenovo Yoga Slim 7 with AMD Ryzen 4800

does anyone have an idea where I could fix this error.

Many greetings

Hello and I would like to get back to you after my vacation to track down the pipewire-media-session error.
I have checked all the paths that are provided for it and can’t find any inconsistencies there.
I have here the log of
$> systemctl --user status pipewire

● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor p>
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
     Active: active (running) since Fri 2021-09-17 11:28:31 CEST; 41min ago
TriggeredBy: ● pipewire.socket
   Main PID: 2188 (pipewire)
      Tasks: 4 (limit: 18367)
     Memory: 12.3M
        CPU: 24.991s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
             ├─2188 /usr/bin/pipewire
             └─2213 /usr/bin/pipewire-media-session

Sep 17 11:28:31 fedora systemd[1889]: Started Multimedia Service.
Sep 17 11:28:31 fedora pipewire-media-session[2213]: **can't make factory instanc**>

and

$> systemctl --user status pipewire-pulse

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; ve>
     Active: active (running) since Fri 2021-09-17 11:28:31 CEST; 42min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 2189 (pipewire-pulse)
      Tasks: 2 (limit: 18367)
     Memory: 13.7M
        CPU: 43.424s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
             └─2189 /usr/bin/pipewire-pulse

Sep 17 11:28:31 fedora systemd[1889]: Started PipeWire PulseAudio.
lines 1-12/12 (END)


and unfortunately it can’t find any path, would appreciate help as I am stuck with this problem.

the directory /user/share/pipewire and /etc/pipewire contain the same .conf files
I am a little perplexed I must say.

many greetings

Zusammenfassung

Dieser Text wird ausgeblendet

My initial thoughts are that it appears both those are currently disabled so you have to manually start them before you can use audio. You may want to enable both (so they start automatically):

sudo systemctl enable pipewire.service
sudo systemctl enable pipewire-pulse.service

then reboot and try again to see if things work better.

Hello and thank you for the reply.

Unfortunately I get an error message

Failed to enable unit: Unit file pipewire.service does not exist.
Failed to enable unit: Unit file pipewire-pulse.service does not exist.

Can you check pipewire.conf in /etc/pipewire/ and /usr/share/pipewire/ for:
https://wiki.archlinux.org/title/PipeWire#No_devices_detected_after_PipeWire_update_and_reboot_(git_/_>=0.3.23)

If you haven’t made any customizations the configuration files should be in /usr/share/pipewire , Pipewire config files just disappeared? - #2 by ersen

The simplest thing to do may end up being to move all of the *.conf files out of /etc/pipewire and /usr/share/pipewire and reinstall with sudo dnf reinstall pipewire pipewire-pulseaudio

Ref:
[1] Common F34 bugs - Fedora Project Wiki
[2] Unable to use Headset after upgrading to fedora34 - #6 by ilikelinux

1 Like

I have done everything but the error in the log remains.
It is also important to mention that the audio devices work without problems.

The protocol from systemctl --user status pipewire.service

 pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
     Active: active (running) since Sat 2021-09-18 19:26:28 CEST; 7min ago
TriggeredBy:  pipewire.socket
   Main PID: 4968 (pipewire)
      Tasks: 4 (limit: 18367)
     Memory: 5.7M
        CPU: 76ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             ├─4968 /usr/bin/pipewire
             └─4975 /usr/bin/pipewire-media-session

Sep 18 19:26:28 fedora systemd[1826]: pipewire.service: Consumed 53.598s CPU time.
Sep 18 19:26:28 fedora systemd[1826]: Started Multimedia Service.
Sep 18 19:26:28 fedora pipewire-media-session[4975]: can't make factory instance: Datei oder Verzeichnis n>

The protocol from systemctl --user status pipewire-pulse.service

 pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2021-09-18 18:52:13 CEST; 1h 7min ago
TriggeredBy:  pipewire-pulse.socket
   Main PID: 1842 (pipewire-pulse)
      Tasks: 2 (limit: 18367)
     Memory: 23.8M
        CPU: 1min 23.727s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1842 /usr/bin/pipewire-pulse

Sep 18 18:52:13 fedora systemd[1826]: Started PipeWire PulseAudio.

I will currently learn to live with it and wait for Fedora 35 and also hope for kernel 5.14 because I also get other errors shown in the log, which are probably related to the hardware of the Lenovo Yoga Slim 7 AMD Ryzen 4800.

Thanks again and I will get back to you when the 35 is final.

Translated with www.DeepL.com/Translator (free version)

35 is available now by doing a system-upgrade. I have no problems with it and it does have the 5.14 kernel.

1 Like

Has it released as a STABLE though?

No, it has not even released as Beta, yet. Fedora 35 Beta is scheduled for Sep 28.

1 Like

Thanks anyway, because it worked
Hooray

there are now other error messages present but by far less…
But for this I will open another topic.

Many greetings

$ systemctl --user status pipewire.service
 pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor pr>
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
     Active: active (running) since Sun 2021-09-19 14:44:51 CEST; 8min ago
TriggeredBy:  pipewire.socket
   Main PID: 1871 (pipewire)
      Tasks: 2 (limit: 18363)
     Memory: 5.0M
        CPU: 764ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewi>
             └─1871 /usr/bin/pipewire

Sep 19 14:44:51 fedora systemd[1852]: Started Multimedia Service.
1 Like

True, I am using the branched version and so far have seen no problems with about about a month of use.

Kernel is 5.14.1 and pipewire is 0.3.36.

no coredumps ?
see under:
/var/lib/systemd/coredump

upgraded today and initial problems with:

  • auditd start problem
  • eth0 speed was 100 Mbit apart from 1 GBit

No, no errors of any kind that I have noted.
Running Fedora 35 (branched) with nvidia drivers from rpmfusion. System has been rock solid so far.