You are not logged in.

#1 2022-05-24 15:44:56

Foxhole
Member
Registered: 2015-08-14
Posts: 37

[SOLVED] Pipewire crashes with multiple sources on IEC958/AC3 codec

Hello there,
I had run into a weird issue recently with an external usb audio card. I had reinstalled arch from zero with archinstall and I opted for pipewire with wireplumber. Some relevant packages I had installed:

pacman -Q | grep -E "alsa|pipewire|wireplumber|audio|pulse|jack|pavucontrol"
alsa-card-profiles 1:0.3.51-1
alsa-firmware 1.2.4-2
alsa-lib 1.2.6.1-1
alsa-plugins 1:1.2.6-3
alsa-topology-conf 1.2.5.1-1
alsa-ucm-conf 1.2.6.3-1
alsa-utils 1.2.6-1
faudio 22.05-1
gst-plugin-pipewire 1:0.3.51-1
lib32-alsa-lib 1.2.6.1-1
lib32-alsa-plugins 1.2.6-1
lib32-faudio 22.05-1
lib32-libpulse 15.0-2
lib32-pipewire 1:0.3.51-1
lib32-pipewire-jack 1:0.3.51-1
libpulse 15.0-4
pavucontrol 1:5.0+r35+g964f298-1
pipewire 1:0.3.51-1
pipewire-alsa 1:0.3.51-1
pipewire-jack 1:0.3.51-1
pipewire-pulse 1:0.3.51-1
portaudio 1:19.7.0-1
pulseaudio-qt 1.3-1
qemu-audio-alsa 7.0.0-10
qemu-audio-dbus 7.0.0-10
qemu-audio-jack 7.0.0-10
qemu-audio-oss 7.0.0-10
qemu-audio-pa 7.0.0-10
qemu-audio-sdl 7.0.0-10
qemu-audio-spice 7.0.0-10
webrtc-audio-processing 0.3.1-3
wireplumber 0.4.10-3
wireplumber-docs 0.4.10-3

The audio card is:

lsusb | grep Sound
Bus 001 Device 009: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device

When using plain IEC958 codec, i get no issues but the audio is streamed as stereo.
I run into issues if I set as codec "Digital Surround 5.1 (IEC958/AC3)". It may happen that i hear whatever I had chosen to play or I do hear nothing and see the application which should play the sound hanging.
It may happen that I hear a loud distorted buzz also when not playing sound which almost made me deaf. This happened more often when I tried unplugging and plugging in again the usb soundcard.

When trying to fix those issues, I tried copying the config directory /usr/share/pipewire into /etc . I had realized that archinstall didn't copy the default configuration.

I had noticed that this happens each time two applications try to play some sound at the same time. Once it happens, pipewire blocks all audio and I cannot use that codec anymore.

Afterwards, I had tried enabling real time DTS as shown on https://www.reddit.com/r/archlinux/comm … n_realtek/ and I had it working perfectly.

I had AC3 working without issues around 3 weeks ago with pipewire and pipewire-media-session on a previous archlinux installation. I had tried pipewire media session again but got no success in fixing those issues.

pactl list cards (only the relevant card and translated labels):

Card #569
        Name: alsa_card.usb-0d8c_USB_Sound_Device-00
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "2"
                api.alsa.card.longname = "ICUSBAUDIO7D at usb-0000:00:14.0-1.1, full speed"
                api.alsa.card.name = "ICUSBAUDIO7D"
                api.alsa.path = "hw:2"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio2"
                device.api = "alsa"
                device.bus = "usb"
                device.bus-id = "usb-0d8c_USB_Sound_Device-00"
                device.bus_path = "pci-0000:00:14.0-usb-0:1.1:1.0"
                device.description = "CM106 Like Sound Device"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-usb"
                device.name = "alsa_card.usb-0d8c_USB_Sound_Device-00"
                device.nick = "ICUSBAUDIO7D"
                device.plugged.usec = "253721705"
                device.product.id = "258"
                device.product.name = "CM106 Like Sound Device"
                device.serial = "0d8c_USB_Sound_Device"
                device.subsystem = "sound"
                device.sysfs.path = "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0/sound/card2"
                device.vendor.id = "3468"
                device.vendor.name = "C-Media Electronics, Inc."
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "37"
                object.id = "162"
                object.serial = "569"
                object.path = "alsa:pcm:2"
                alsa.card = "2"
                alsa.card_name = "ICUSBAUDIO7D"
                alsa.long_card_name = "ICUSBAUDIO7D at usb-0000:00:14.0-1.1, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.string = "2"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo: Output «Analog stereo» (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:iec958-stereo: Output «Digital stereo (IEC958)» (sinks: 1, sources: 0, priority: 5500, available: yes)
                output:iec958-ac3-surround-51: Output «Digital surround 5.1 (IEC958/AC3)» (sinks: 1, sources: 0, priority: 300, available: yes)
                output:iec958-dts-surround-51: Output «Digital surround 5.1 (IEC958/DTS)» (sinks: 1, sources: 0, priority: 300, available: yes)
                input:analog-stereo: Input «Analog stereo» (sinks: 0, sources: 1, priority: 65, available: yes)
                input:iec958-stereo: Input «Digital stereo (IEC958)» (sinks: 0, sources: 1, priority: 55, available: yes)
                pro-audio: Professional Audio (sinks: 1, sources: 1, priority: 1, available: yes)
        Active Profile: output:iec958-ac3-surround-51
        Ports:
                analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "mic"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo
                analog-input-linein: Line-In (type: Line, priority: 8100, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "line"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo
                iec958-stereo-input: Input digitale (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "spdif"
                                card.profile.port = "2"
                        Part of profile(s): input:iec958-stereo
                analog-output-speaker: Altoparlanti (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "speaker"
                                device.icon_name = "audio-speakers"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo
                iec958-stereo-output: Output digitale (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "spdif"
                                card.profile.port = "4"
                        Part of profile(s): output:iec958-stereo, output:iec958-dts-surround-51

Possibly relevant logs (i had translated them, I tried playing some audio after boot with no success. Then I tried disconnecting and reconnecting the audio card, finally I switched codec to Digital stereo):

may 24 15:46:14 archtest systemd[710]: Started PipeWire Multimedia Service.
may 24 15:46:14 archtest systemd[710]: Started Multimedia Service Session Manager.
may 24 15:46:14 archtest systemd[710]: Started PipeWire PulseAudio.
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: could not set nice-level to -11: File or directory does not exist
may 24 15:46:14 archtest pipewire[1052]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire-pulse[1059]: 536870912
may 24 15:46:14 archtest pipewire[1052]: mod.rt: could not set nice-level to -11: File or directory does not exist
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire[1052]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest wireplumber[1053]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest wireplumber[1053]: could not set nice-level to -11: File or directory does not exist
may 24 15:46:14 archtest wireplumber[1053]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest wireplumber[1053]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest wireplumber[1053]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest wireplumber[1053]: could not make thread 1056 realtime using RTKit: File or directory does not exist
may 24 15:46:14 archtest pipewire[1052]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire[1052]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire[1052]: mod.rt: could not make thread 1060 realtime using RTKit: File or directory does not exist
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
may 24 15:46:14 archtest pipewire-pulse[1054]: mod.rt: could not make thread 1061 realtime using RTKit: File or directory does not exist
may 24 15:46:15 archtest bluetoothd[574]: Player registered: sender=:1.54 path=/media_player0
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/ldac
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/aptx_hd
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_hd
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/aptx
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aac
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/sbc
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/sbc
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/sbc_xq
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/sbc_xq
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_1
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_0
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/faststream
may 24 15:46:15 archtest bluetoothd[574]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/faststream_duplex
may 24 15:46:15 archtest wireplumber[1053]: <WpSiAudioAdapter:0x55a985d74050> Object activation aborted: proxy destroyed
may 24 15:46:15 archtest wireplumber[1053]: <WpSiAudioAdapter:0x55a985d74050> failed to activate item: Object activation aborted: proxy destroyed
may 24 15:46:16 archtest dbus-daemon[732]: [session uid=1000 pid=732] Successfully activated service 'org.freedesktop.Notifications'
may 24 15:46:16 archtest systemd[1]: Starting Network Manager Script Dispatcher Service...
may 24 15:46:16 archtest dbus-daemon[575]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
may 24 15:46:16 archtest systemd[1]: Started Network Manager Script Dispatcher Service.
may 24 15:46:16 archtest kernel: kauditd_printk_skb: 9 callbacks suppressed
may 24 15:46:16 archtest dbus-daemon[575]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found.
may 24 15:46:16 archtest kded5[764]: Registering "org.kde.StatusNotifierHost-815" as system tray
may 24 15:46:17 archtest kwin_x11[767]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2441, resource id: 4194338, major code: 18 (ChangeProperty), minor code: 0
may 24 15:46:20 archtest systemd[1]: Stopping User Manager for UID 973...
may 24 15:46:20 archtest systemd[651]: Activating special unit Exit the Session...
may 24 15:46:20 archtest systemd[651]: Stopped target Main User Target.
may 24 15:46:20 archtest systemd[651]: Stopping D-Bus User Message Bus...
may 24 15:46:20 archtest systemd[651]: Stopped D-Bus User Message Bus.
may 24 15:46:20 archtest systemd[651]: Removed slice User Core Session Slice.
may 24 15:46:20 archtest systemd[651]: Stopped target Basic System.
may 24 15:46:20 archtest systemd[651]: Stopped target Paths.
may 24 15:46:20 archtest systemd[651]: Stopped target Sockets.
may 24 15:46:20 archtest systemd[651]: Stopped target Timers.
may 24 15:46:20 archtest systemd[651]: Closed D-Bus User Message Bus Socket.
may 24 15:46:20 archtest systemd[651]: Closed GnuPG network certificate management daemon.
may 24 15:46:20 archtest systemd[651]: Closed GCR ssh-agent wrapper.
may 24 15:46:20 archtest systemd[651]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
may 24 15:46:20 archtest systemd[651]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
may 24 15:46:20 archtest systemd[651]: Closed GnuPG cryptographic agent (ssh-agent emulation).
may 24 15:46:20 archtest systemd[651]: Closed GnuPG cryptographic agent and passphrase cache.
may 24 15:46:20 archtest systemd[651]: Closed p11-kit server.
may 24 15:46:20 archtest systemd[651]: Closed PipeWire PulseAudio.
may 24 15:46:20 archtest systemd[651]: Closed PipeWire Multimedia System Socket.
may 24 15:46:20 archtest systemd[651]: Removed slice User Application Slice.
may 24 15:46:20 archtest systemd[651]: Reached target Shutdown.
may 24 15:46:20 archtest systemd[651]: Finished Exit the Session.
may 24 15:46:20 archtest systemd[651]: Reached target Exit the Session.
may 24 15:46:22 archtest bluetoothd[574]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
may 24 15:46:25 archtest systemd[710]: Started Spotify.
may 24 15:46:26 archtest dbus-daemon[732]: [session uid=1000 pid=732] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.53' (uid=1000 pid=1150 comm="/opt/spotify/spotify")
may 24 15:46:26 archtest systemd[710]: Starting Virtual filesystem service...
may 24 15:46:26 archtest dbus-daemon[732]: [session uid=1000 pid=732] Successfully activated service 'org.gtk.vfs.Daemon'
may 24 15:46:26 archtest systemd[710]: Started Virtual filesystem service.
may 24 15:46:26 archtest dbus-daemon[732]: [session uid=1000 pid=732] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.56' (uid=1000 pid=1150 comm="/opt/spotify/spotify")
may 24 15:46:26 archtest systemd[710]: Starting Accessibility services bus...
may 24 15:46:26 archtest dbus-daemon[732]: [session uid=1000 pid=732] Successfully activated service 'org.a11y.Bus'
may 24 15:46:26 archtest systemd[710]: Started Accessibility services bus.
may 24 15:46:26 archtest at-spi-bus-launcher[1202]: dbus-daemon[1202]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=1150 comm="/opt/spotify/spotify")
may 24 15:46:26 archtest at-spi-bus-launcher[1202]: dbus-daemon[1202]: Successfully activated service 'org.a11y.atspi.Registry'
may 24 15:46:26 archtest at-spi-bus-launcher[1207]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
may 24 15:46:27 archtest systemd-timesyncd[450]: Initial synchronization to time server 45.79.111.167:123 (2.arch.pool.ntp.org).
may 24 15:46:28 archtest systemd[1]: systemd-hostnamed.service: Deactivated successfully.
may 24 15:46:28 archtest audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
may 24 15:46:28 archtest kernel: audit: type=1131 audit(1653407188.145:77): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
may 24 15:46:28 archtest audit: BPF prog-id=0 op=UNLOAD
may 24 15:46:28 archtest audit: BPF prog-id=0 op=UNLOAD
may 24 15:46:28 archtest audit: BPF prog-id=0 op=UNLOAD
may 24 15:46:28 archtest kernel: audit: type=1334 audit(1653407188.183:78): prog-id=0 op=UNLOAD
may 24 15:46:28 archtest kernel: audit: type=1334 audit(1653407188.183:79): prog-id=0 op=UNLOAD
may 24 15:46:28 archtest kernel: audit: type=1334 audit(1653407188.183:80): prog-id=0 op=UNLOAD
may 24 15:46:30 archtest pipewire[1052]: spa.alsa: a52:2: snd_pcm_start: Broken pipe
may 24 15:46:30 archtest pipewire[1052]: spa.audioadapter: 0x7f9e7acce038: can't send command 2: Broken pipe
may 24 15:46:30 archtest pipewire[1052]: pw.node: (alsa_output.usb-0d8c_USB_Sound_Device-00.iec958-ac3-surround-51-52) suspended -> error (Start error: Broken pipe)
may 24 15:46:35 archtest kwin_x11[767]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18275, resource id: 39846024, major code: 15 (QueryTree), minor code: 0
may 24 15:46:43 archtest kwin_x11[767]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23350, resource id: 39846074, major code: 18 (ChangeProperty), minor code: 0
may 24 15:46:43 archtest systemd[710]: Started Konsole - Terminale.
may 24 15:46:44 archtest kwin_x11[767]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 24248, resource id: 10487992, major code: 3 (GetWindowAttributes), minor code: 0
may 24 15:46:49 archtest kernel: usb 1-1.1: USB disconnect, device number 4
may 24 15:46:56 archtest kernel: usb 1-1.1: new full-speed USB device number 9 using xhci_hcd
may 24 15:46:56 archtest kernel: usb 1-1.1: New USB device found, idVendor=0d8c, idProduct=0102, bcdDevice= 0.10
may 24 15:46:56 archtest kernel: usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
may 24 15:46:56 archtest kernel: usb 1-1.1: Product: USB Sound Device        
may 24 15:46:56 archtest kernel: usb 1-1.1: current rate 30464 is different from the runtime rate 96000
may 24 15:46:56 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=8065), cval->res is probably wrong.
may 24 15:46:56 archtest kernel: usb 1-1.1: [9] FU [Mic Playback Volume] ch = 2, val = -6144/1921/1
may 24 15:46:56 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=8065), cval->res is probably wrong.
may 24 15:46:56 archtest kernel: usb 1-1.1: [11] FU [Line Playback Volume] ch = 2, val = -6144/1921/1
may 24 15:46:56 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:46:56 archtest kernel: usb 1-1.1: [8] FU [Mic Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:46:56 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:46:56 archtest kernel: usb 1-1.1: [15] FU [Line Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:46:56 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:46:56 archtest kernel: usb 1-1.1: [2] FU [PCM Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:46:56 archtest kernel: input: USB Sound Device         as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:0D8C:0102.0006/input/input35
may 24 15:46:56 archtest kernel: hid-generic 0003:0D8C:0102.0006: input,hidraw1: USB HID v1.00 Device [USB Sound Device        ] on usb-0000:00:14.0-1.1/input3
may 24 15:46:56 archtest mtp-probe[1449]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1"
may 24 15:46:56 archtest mtp-probe[1449]: bus: 1, device: 9 was not an MTP device
may 24 15:46:56 archtest systemd[710]: Reached target Sound Card.
may 24 15:46:56 archtest mtp-probe[1470]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1"
may 24 15:46:56 archtest mtp-probe[1470]: bus: 1, device: 9 was not an MTP device
may 24 15:47:05 archtest pipewire[1052]: pw.link: 0x562f096ce700: port 0x562f08bdf300 can't set io:1 (Spa:Enum:IO:Buffers): Argomento non valido
may 24 15:47:05 archtest pipewire[1052]: pw.link: 0x562f096ce700: port 0x562f08bdf300 can't set io:1 (Spa:Enum:IO:Buffers): Argomento non valido
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire-pulse[1054]: mod.client-node: port (nil): set_io: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2452 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2454 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2456 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2458 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2463 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2465 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2467 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:05 archtest pipewire[1052]: pw.core: 0x562f08b4f030: error -2 for resource 39: port_set_io failed: File or directory does not exist
may 24 15:47:05 archtest pipewire[1052]: mod.client-node: 0x562f08e3e760: error seq:2469 -2 (port_set_io failed: File or directory does not exist)
may 24 15:47:08 archtest pipewire[1052]: spa.alsa: a52:2: snd_pcm_start: Broken pipe
may 24 15:47:08 archtest pipewire[1052]: spa.audioadapter: 0x562f08d99138: can't send command 2: Broken pipe
may 24 15:47:08 archtest pipewire[1052]: pw.node: (alsa_output.usb-0d8c_USB_Sound_Device-00.iec958-ac3-surround-51-138) suspended -> error (Start error: Broken pipe)
may 24 15:47:10 archtest pipewire[1052]: pw.link: 0x562f08ff8880: port 0x562f08fd3060 can't set io:1 (Spa:Enum:IO:Buffers): Invalid argument
may 24 15:47:10 archtest pipewire[1052]: pw.link: 0x562f08ff8880: port 0x562f08fd3060 can't set io:1 (Spa:Enum:IO:Buffers): Invalid argument
may 24 15:47:26 archtest pipewire[1052]: spa.alsa: a52:2: snd_pcm_start: Broken pipe
may 24 15:47:26 archtest pipewire[1052]: spa.audioadapter: 0x562f08d99138: can't send command 2: Broken pipe
may 24 15:47:26 archtest pipewire[1052]: pw.node: (alsa_output.usb-0d8c_USB_Sound_Device-00.iec958-ac3-surround-51-138) suspended -> error (Start error: Broken pipe)
may 24 15:48:47 archtest pipewire[1052]: pw.link: 0x562f08ffb420: port 0x562f08fd3060 can't set io:1 (Spa:Enum:IO:Buffers): Invalid argument
may 24 15:48:47 archtest pipewire[1052]: pw.link: 0x562f08ffb420: port 0x562f08fd3060 can't set io:1 (Spa:Enum:IO:Buffers): Invalid argument
may 24 15:49:05 archtest kernel: usb 1-1.1: USB disconnect, device number 9
may 24 15:49:05 archtest pipewire[1052]: spa.alsa: iec958:2: snd_pcm_drop No device matches
may 24 15:49:05 archtest pipewire[1052]: spa.alsa: iec958:2: close failed: No device matches
may 24 15:49:07 archtest kernel: usb 1-1.1: new full-speed USB device number 10 using xhci_hcd
may 24 15:49:07 archtest kernel: usb 1-1.1: New USB device found, idVendor=0d8c, idProduct=0102, bcdDevice= 0.10
may 24 15:49:07 archtest kernel: usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
may 24 15:49:07 archtest kernel: usb 1-1.1: Product: USB Sound Device        
may 24 15:49:07 archtest kernel: usb 1-1.1: current rate 30464 is different from the runtime rate 96000
may 24 15:49:07 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=8065), cval->res is probably wrong.
may 24 15:49:07 archtest kernel: usb 1-1.1: [9] FU [Mic Playback Volume] ch = 2, val = -6144/1921/1
may 24 15:49:07 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=8065), cval->res is probably wrong.
may 24 15:49:07 archtest kernel: usb 1-1.1: [11] FU [Line Playback Volume] ch = 2, val = -6144/1921/1
may 24 15:49:07 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:49:07 archtest kernel: usb 1-1.1: [8] FU [Mic Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:49:07 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:49:07 archtest kernel: usb 1-1.1: [15] FU [Line Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:49:07 archtest kernel: usb 1-1.1: Warning! Unlikely big volume range (=6928), cval->res is probably wrong.
may 24 15:49:07 archtest kernel: usb 1-1.1: [2] FU [PCM Capture Volume] ch = 2, val = -4096/2832/1
may 24 15:49:07 archtest kernel: input: USB Sound Device         as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:0D8C:0102.0007/input/input36
may 24 15:49:07 archtest kernel: hid-generic 0003:0D8C:0102.0007: input,hidraw1: USB HID v1.00 Device [USB Sound Device        ] on usb-0000:00:14.0-1.1/input3
may 24 15:49:07 archtest mtp-probe[1693]: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1"
may 24 15:49:07 archtest mtp-probe[1693]: bus: 1, device: 10 was not an MTP device
may 24 15:49:07 archtest mtp-probe[1711]: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1"
may 24 15:49:07 archtest mtp-probe[1711]: bus: 1, device: 10 was not an MTP device

I don't know which other command output could be helpful to provide you more context, so feel free to ask.

Last edited by Foxhole (2022-06-01 09:20:05)

Offline

#2 2022-05-25 11:16:23

Foxhole
Member
Registered: 2015-08-14
Posts: 37

Re: [SOLVED] Pipewire crashes with multiple sources on IEC958/AC3 codec

Edit: I removed alsa-firmware and it seemed to work better but it lasted a few minutes

Last edited by Foxhole (2022-05-25 11:21:05)

Offline

#3 2022-06-01 09:19:47

Foxhole
Member
Registered: 2015-08-14
Posts: 37

Re: [SOLVED] Pipewire crashes with multiple sources on IEC958/AC3 codec

Ok, I have no clue on what happened, it suddenly started working without alsa firmware. I had changed the output on most apps which used to give me problems (Discord and Spotify) with helvum opened and now it is working. Weird.

Offline

Board footer

Powered by FluxBB