You are not logged in.

#1 2022-10-23 10:35:07

obap74
Member
Registered: 2021-03-18
Posts: 95

[SOLVED] [Pipewire] No output device after recent system updates

I'm using KDE Plasma and Pipewire. plasma-pa applet just shows "No output or input device found". I don't know precisely when the issue started to occur, I'm using Gentoo on a distinct SSD on the same machine and regularly update my Arch install via chroot. I had not booted into my Arch install for about 10 days and noticed the issue only yesterday.

The following commands give me no output:

sudo fuser -v /dev/snd/*
pacmd list-cards
pactl list sink-inputs

My USB DAC is detected when disconnecting/reconnecting it:

❯ sudo dmesg -w

[ 2641.206381] usb 7-1: new full-speed USB device number 6 using xhci_hcd
[ 2641.382427] usb 7-1: New USB device found, idVendor=2912, idProduct=30c8, bcdDevice= 0.03
[ 2641.382436] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2641.382440] usb 7-1: Product: Audioengine D1
[ 2641.382442] usb 7-1: Manufacturer: Audioengine
[ 2641.403215] input: Audioengine Audioengine D1 as /devices/pci0000:00/0000:00:1c.4/0000:06:00.0/usb7/7-1/7-1:1.2/0003:2912:30C8.000D/input/input30
[ 2641.459850] hid-generic 0003:2912:30C8.000D: input,hidraw3: USB HID v1.00 Device [Audioengine Audioengine D1] on usb-0000:06:00.0-1/input2
[ 2641.462488] hid-generic 0003:2912:30C8.000E: hiddev97,hidraw4: USB HID v1.00 Device [Audioengine Audioengine D1] on usb-0000:06:00.0-1/input3

❯ pactl list sinks:

Sink #132
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	       balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: auto_null.monitor
	Latency: 0 usec, configured 0 usec
	Flags: DECIBEL_VOLUME LATENCY
	Properties:
		node.name = "auto_null"
		device.description = "Dummy Output"
		audio.rate = "48000"
		audio.channels = "2"
		audio.position = "FL,FR"
		media.class = "Audio/Sink"
		factory.name = "support.null-audio-sink"
		node.virtual = "true"
		monitor.channel-volumes = "true"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "44"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "42"
		object.serial = "132"
	Formats:
		pcm

❯ systemctl --user status pipewire.service

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sun 2022-10-23 11:29:08 CEST; 44min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1929 (pipewire)
      Tasks: 2 (limit: 38367)
     Memory: 16.7M
        CPU: 244ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1929 /usr/bin/pipewire

Oct 23 11:29:08 archlinux systemd[1917]: Started PipeWire Multimedia Service.
Oct 23 11:29:08 archlinux pipewire[1929]: mod.rt: Can't find xdg-portal: (null)
Oct 23 11:29:08 archlinux pipewire[1929]: mod.rt: found session bus but no portal

❯ systemctl --user status pipewire-pulse.service

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sun 2022-10-23 12:01:09 CEST; 12min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 9054 (pipewire-pulse)
      Tasks: 2 (limit: 38367)
     Memory: 2.8M
        CPU: 34ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─9054 /usr/bin/pipewire-pulse

Oct 23 12:01:09 archlinux systemd[1917]: Started PipeWire PulseAudio.
Oct 23 12:01:09 archlinux pipewire-pulse[9058]: 536870912

❯ systemctl --user status pipewire-pulse.socket

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
     Active: active (running) since Sun 2022-10-23 12:01:09 CEST; 13min ago
      Until: Sun 2022-10-23 12:01:09 CEST; 13min ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket

Oct 23 12:01:09 archlinux systemd[1917]: Listening on PipeWire PulseAudio.

❯ systemctl --user status pipewire.socket

● pipewire.socket - PipeWire Multimedia System Socket
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Sun 2022-10-23 11:29:08 CEST; 45min ago
      Until: Sun 2022-10-23 11:29:08 CEST; 45min ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

Oct 23 11:29:08 archlinux systemd[1917]: Listening on PipeWire Multimedia System Socket.

What I tried so far, to no avail

- Booting with linux-lts-5.15.74-1 and linux-lts-headers-5.15.74-1
- Downgrading to linux-5.19.12.arch1-1
- Downgrading pipewire-pulse from 1:0.3.59-2 to 1:0.3.57-1 and 1:0.3.56-1 (with a reboot between each downgrade)

As stated at the beginning of this post, I'm using Gentoo on the same machine and don't have any audio issue.

❯   eix -cI pipewire

[I] media-video/pipewire (0.3.59-r1(0/0.4)@10/15/2022: Multimedia processing graphs

I'm using multiple custom kernels versions and no audio issue with any of them:

❯  eix -cI gentoo-sources

[I] sys-kernel/gentoo-sources (5.10.149(5.10.149)@10/17/2022 5.15.74(5.15.74)@10/15/2022 6.0.3(6.0.3)@10/21/2022): Full sources including the Gentoo patchset for the 6.0 kernel tree

Any suggestion is appreciated, I'm not sure what to try next.

Thanks!

Edit: Eventually found

but unlike other users, downgrading kernel to 5.19.12 didn't solve the issue unfortunately.

Last edited by obap74 (2022-10-23 15:39:35)

Offline

#2 2022-10-23 14:46:47

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

Re: [SOLVED] [Pipewire] No output device after recent system updates

That issue should be fixed on 6.0.2

The output you posted of dmesg reads like snd usb audio isn't even attempted to be used which suggests you aren't booting the kernel you think you are booting what's your output of

 pacman -Q linux; uname -a

Offline

#3 2022-10-23 15:39:14

obap74
Member
Registered: 2021-03-18
Posts: 95

Re: [SOLVED] [Pipewire] No output device after recent system updates

Solved by accident. I have user config files for both pipewire and wireplumber. I have overwritten both with the default ones:

  • % cp /usr/share/wireplumber/main.lua.d/50-alsa-config.lua ~/.config/wireplumber/main.lua.d/50-alsa-config.lua

  • % cp /usr/share/pipewire/pipewire.conf ~/.config/pipewire/pipewire.conf

Then edited them in $XDG_CONFIG_HOME to include my changes. After running

% systemctl --user restart pipewire-pulse.service pipewire-pulse.socket wireplumber.service

for the umpteenth time, my audio devices started.

I don't know what happened. Maybe the issue was because I previously directly copied /usr/share/wireplumber/main.lua.d/50-alsa-config.lua to ~/.config/wireplumber/main.lua.d/50-alsa-config.lua and did my couple of changes here. Maybe the recent updates included some changes that were causing issues, I didn't think about doing a diff beforehand to check.

I'm now following the Arch Wiki recommendation: I removed ~/.config/wireplumber/main.lua.d/50-alsa-config.lua and created ~/.config/wireplumber/main.lua.d/51-disable-suspension.lua with only what I need to change so that it overrides the default configuration.

Thank you @V1del for answering regardless.

Offline

Board footer

Powered by FluxBB