You are not logged in.

#1 2024-01-06 01:42:50

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Pipewire & Wireplumber Audio Speakers Have I/O error

I migrated to pipewire and pipewire-pulse from pulseaudio for audio, and I use wireplumber as the session manager for pipewire. Unfortunately, there has been many issues with audio, especially for the speakers. Sometimes, the speakers outputs the same volume and the volume cannot be changed by volume buttons (Applies to every configuration of built in audio except for Pro Audio). Sometimes, only the front left/ front right speakers work and the other don't output any sound. Sometimes, when I check pavucontrol in the output devices for the built in analog stereo, the speaker was unavailable and the headphone jack was plugged in for no reason. And finally, the speakers are available but simply doesn't produce any sound, and there is no sound that was displayed in pavucontrol. I tried to switch back to pulseaudio and pipewire-media-session, but the same issue occurs, forcing me to stay with pipewire and wireplumber.

I tried to switch back to pulseaudio and pipewire-media-session, but as I mentioned earlier, it didn't fix the issue. I tried to look at other posts that is somewhat relating to the issue. Some of them might've worked temporarily, but when an issue I had got fixed, I still had the other problems, especially for the unchanging volume which I could never find a solution to. I moved all the config files of pipewire, alsa, and wireplumber from /usr/share/ into /etc/ but that didn't do anything (note that I didn't look into the config files yet). I checked the status of the sessions pipewire, pipewire-pulse, and wireplumber and they all output at least one error. The sessions pipewire-pulse and wireplumber both showed input / output errors and I don't know why it's like that.

The status of the sessions: pipewire, pipewire-pulse, and wireplumber:

❯ systemctl --user status pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-05 19:52:48 EST; 38min ago
TriggeredBy: ● pipewire.socket
   Main PID: 4351 (pipewire)
      Tasks: 5 (limit: 18726)
     Memory: 12.2M (peak: 12.8M)
        CPU: 54.862s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─4351 /usr/bin/pipewire

Jan 05 19:52:48 archlinux systemd[886]: Started PipeWire Multimedia Service.
Jan 05 19:52:49 archlinux pipewire[4351]: [0:03:56.996176499] [4351] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 05 19:52:49 archlinux pipewire[4351]: [0:03:56.996196451] [4351] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 05 19:52:49 archlinux pipewire[4351]: [0:03:56.996227190] [4351]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 05 20:31:35 archlinux pipewire[4351]: mod.client-node: 0x55840b17a400: unknown peer 0x55840b11d3a0 fd:98

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-05 19:52:48 EST; 38min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 4354 (pipewire-pulse)
      Tasks: 3 (limit: 18726)
     Memory: 15.8M (peak: 16.6M)
        CPU: 50.503s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─4354 /usr/bin/pipewire-pulse

Jan 05 19:52:48 archlinux systemd[886]: Started PipeWire PulseAudio.
Jan 05 19:52:48 archlinux pipewire-pulse[4354]: mod.protocol-pulse: D-Bus name org.pulseaudio.Server already taken.
Jan 05 19:53:24 archlinux pipewire-pulse[4354]: mod.protocol-pulse: client 0x5601d0636e90 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 19:53:24 archlinux pipewire-pulse[4354]: mod.protocol-pulse: client 0x5601d0636e90 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 19:53:29 archlinux pipewire-pulse[4354]: mod.protocol-pulse: client 0x5601d0636e90 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 19:53:29 archlinux pipewire-pulse[4354]: mod.protocol-pulse: client 0x5601d0636e90 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 19:53:29 archlinux pipewire-pulse[4354]: mod.protocol-pulse: client 0x5601d0636e90 [PulseAudio Volume Control]: ERROR command:-1 (invalid) tag:4294967295 error:25 (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 2024-01-05 19:52:48 EST; 38min ago
   Main PID: 4353 (wireplumber)
      Tasks: 7 (limit: 18726)
     Memory: 13.9M (peak: 14.4M)
        CPU: 532ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─4353 /usr/bin/wireplumber

Jan 05 19:52:49 archlinux wireplumber[4353]: Failed to set switch of 'Headphone': Input/output error
Jan 05 19:52:49 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error
Jan 05 19:52:49 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error
Jan 05 19:52:49 archlinux wireplumber[4353]: Failed to set volume of 'Headphone': Input/output error
Jan 05 19:52:49 archlinux wireplumber[4353]: Failed to set switch of 'Speaker': Input/output error
Jan 05 19:53:24 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error
Jan 05 19:53:24 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error
Jan 05 19:53:29 archlinux wireplumber[4353]: Failed to set volume of 'Headphone': Input/output error
Jan 05 19:53:29 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error
Jan 05 19:53:29 archlinux wireplumber[4353]: Failed to set switch of 'Capture': Input/output error

My audio cards:

❯ pactl list cards
Card #49
	Name: alsa_card.usb-189a_USB_Microphone-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "USB Microphone at usb-0000:00:14.0-7, full speed"
		api.alsa.card.name = "USB Microphone"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-189a_USB_Microphone-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:7:1.0"
		device.description = "USB Microphone"
		device.enum.api = "udev"
		device.form_factor = "microphone"
		device.icon_name = "audio-input-microphone-analog-usb"
		device.name = "alsa_card.usb-189a_USB_Microphone-00"
		device.nick = "USB Microphone"
		device.plugged.usec = "4462637"
		device.product.id = "0x2019"
		device.product.name = "USB Microphone"
		device.serial = "189a_USB_Microphone"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/sound/card1"
		device.vendor.id = "0x189a"
		device.vendor.name = "189a"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "36"
		object.id = "49"
		object.serial = "49"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "USB Microphone"
		alsa.long_card_name = "USB Microphone at usb-0000:00:14.0-7, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		pro-audio: Pro Audio (sinks: 0, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: input:mono-fallback
	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:mono-fallback

Card #50
	Name: alsa_card.pci-0000_00_1f.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA Intel PCH at 0x6013128000 irq 150"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.description = "Built-in Audio"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3160594"
		device.product.id = "0xa0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "36"
		object.id = "50"
		object.serial = "50"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6013128000 irq 150"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Pro Audio (sinks: 2, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 2, availability unknown)
			Properties:
				port.type = "speaker"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-speakers"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 3"
				device.icon_name = "audio-headphones"
				card.profile.port = "2"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "hdmi"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo
❯ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Digital
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Using sudo fuser:

❯  sudo fuser -v /dev/snd/*
[sudo] password for tbf96: 
Cannot stat file /proc/1580/fd/4: Permission denied
Cannot stat file /proc/1580/fd/5: Permission denied
Cannot stat file /proc/1580/fd/6: Permission denied
Cannot stat file /proc/1580/fd/34: Permission denied
Cannot stat file /proc/1580/fd/37: Permission denied
Cannot stat file /proc/1580/fd/38: Permission denied
Cannot stat file /proc/1580/fd/39: Permission denied
Cannot stat file /proc/1580/fd/40: Permission denied
Cannot stat file /proc/1580/fd/41: Permission denied
Cannot stat file /proc/1580/fd/42: Permission denied
Cannot stat file /proc/1580/fd/102: Permission denied
Cannot stat file /proc/1580/fd/103: Permission denied
Cannot stat file /proc/1580/fd/1023: Permission denied
Cannot stat file /proc/1693/fd/5: Permission denied
Cannot stat file /proc/1693/fd/6: Permission denied
Cannot stat file /proc/1693/fd/7: Permission denied
Cannot stat file /proc/1693/fd/8: Permission denied
Cannot stat file /proc/1693/fd/9: Permission denied
Cannot stat file /proc/1693/fd/10: Permission denied
Cannot stat file /proc/1693/fd/11: Permission denied
Cannot stat file /proc/1693/fd/12: Permission denied
Cannot stat file /proc/1693/fd/13: Permission denied
Cannot stat file /proc/1957/fd/4: Permission denied
Cannot stat file /proc/1957/fd/5: Permission denied
Cannot stat file /proc/1957/fd/6: Permission denied
Cannot stat file /proc/1957/fd/34: Permission denied
Cannot stat file /proc/1957/fd/37: Permission denied
Cannot stat file /proc/1957/fd/38: Permission denied
Cannot stat file /proc/1957/fd/39: Permission denied
Cannot stat file /proc/1957/fd/40: Permission denied
Cannot stat file /proc/1957/fd/41: Permission denied
Cannot stat file /proc/1957/fd/42: Permission denied
Cannot stat file /proc/1957/fd/1023: Permission denied
Cannot stat file /proc/1983/fd/5: Permission denied
Cannot stat file /proc/1983/fd/6: Permission denied
Cannot stat file /proc/1983/fd/7: Permission denied
Cannot stat file /proc/1983/fd/8: Permission denied
Cannot stat file /proc/1983/fd/9: Permission denied
Cannot stat file /proc/1983/fd/10: Permission denied
Cannot stat file /proc/1983/fd/11: Permission denied
Cannot stat file /proc/1983/fd/12: Permission denied
Cannot stat file /proc/1983/fd/13: Permission denied
Cannot stat file /proc/1983/fd/17: Permission denied
Cannot stat file /proc/1983/fd/18: Permission denied
Cannot stat file /proc/1983/fd/37: Permission denied
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  tbf96      2796 F.... pulseaudio
                     tbf96      4351 F.... pipewire
                     tbf96      4353 F.... wireplumber
/dev/snd/controlC1:  tbf96      2796 F.... pulseaudio
                     tbf96      4353 F.... wireplumber
/dev/snd/pcmC0D0c:   tbf96      4351 F...m pipewire
/dev/snd/pcmC0D0p:   tbf96      4351 F...m pipewire
/dev/snd/pcmC1D0c:   tbf96      4351 F...m pipewire
/dev/snd/seq:        tbf96      4351 F.... pipewire

Any help would be appreciated. I hope I don't have to reinstall arch because of this. Thank you

Last edited by sdvscv (2024-01-06 23:09:06)

Offline

#2 2024-01-06 03:13:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

You don't want to mix pulseaudio and wireplumber and the fuser output shows that to be the case right now, IO errors are expected in that case. Install pipewire-pulse and reboot, maybe also remove ~/.local./state/wireplumber, to make sure nothing's corrupted there due to misuse/configuration.

Last edited by V1del (2024-01-06 03:23:51)

Offline

#3 2024-01-06 04:49:03

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

I did have pipewire-pulse installed with pipewire to begin with. I remember installing pulseaudio before to see if the issue would be solved and then replacing it back with pipewire-pulse. I reran the command for fuser and I didn't see pulseaudio and pulseaudio-bluetooth anywhere. I looked for pulseaudio services and sockets and I didn't see them. Just in case, I removed the config files for pulseaudio.

While pulseaudio is uninstalled, I cannot remove libpulse because it is a dependency of many programs including the apps that I often use. I am assuming it is a pulseaudio package, but I could be wrong. I also cannot remove plasma-pa because it is a dependency of plasma-meta. I removed pavucontrol just in case, but I am not sure if it affects wireplumber. I didn't remove pamixer because last time I did, I got an error message in KDE Plasma after rebooting saying that it crashed, and the error message was gone after I reinstalled pamixer. I fear that many programs would break if I removed any of them, especially libpulse. I removed ~/.local/state/wireplumber

After the reboot, the audio gets cuts out like usual and then comes back and then cuts out after a period of time, so I had to switch between ports to get the audio back. The analog stereo output still cannot change the actual volume from volume buttons but Pro Audio could, as usual. I checked the status of the sessions and the errors are the same. As of right now I only see the input output error for Capture. There are mod.protocol-pulse i/o errors for pipewire-pulse but now it's from Plasma PA so maybe that's the culprit. I will repost the status of the sessions and the fuser output

❯ systemctl --user status pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-05 23:35:37 EST; 3min 22s ago
TriggeredBy: ● pipewire.socket
   Main PID: 927 (pipewire)
      Tasks: 3 (limit: 18726)
     Memory: 9.8M (peak: 12.2M)
        CPU: 2.358s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─927 /usr/bin/pipewire

Jan 05 23:35:37 archlinux systemd[915]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Fri 2024-01-05 23:35:37 EST; 3min 22s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 930 (pipewire-pulse)
      Tasks: 3 (limit: 18726)
     Memory: 26.0M (peak: 27.2M)
        CPU: 2.479s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─930 /usr/bin/pipewire-pulse

Jan 05 23:36:14 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:37:58 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:29 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:29 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:29 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:36 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:36 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:45 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:45 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Jan 05 23:38:45 archlinux pipewire-pulse[930]: mod.protocol-pulse: client 0x56252a217f20 [Plasma PA]: ERROR command:-1 (invalid) tag:4294967295 error:25 (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 2024-01-05 23:35:37 EST; 3min 22s ago
   Main PID: 929 (wireplumber)
      Tasks: 7 (limit: 18726)
     Memory: 10.6M (peak: 11.3M)
        CPU: 3.817s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─929 /usr/bin/wireplumber

Jan 05 23:35:38 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:35:38 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:36:14 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:36:14 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:36:40 archlinux wireplumber[929]: <WpSiStandardLink:0x5633ee289d30> item deactivated before format set
Jan 05 23:38:29 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:38:29 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:38:37 archlinux wireplumber[929]: <WpSiStandardLink:0x5633ee1b8010> si-standard-link: in/out items are not valid anymore
Jan 05 23:38:45 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
Jan 05 23:38:45 archlinux wireplumber[929]: Failed to set switch of 'Capture': Input/output error
❯ sudo fuser -v /dev/snd/*
[sudo] password for tbf96:
Cannot stat file /proc/1607/fd/4: Permission denied
Cannot stat file /proc/1607/fd/5: Permission denied
Cannot stat file /proc/1607/fd/6: Permission denied
Cannot stat file /proc/1607/fd/34: Permission denied
Cannot stat file /proc/1607/fd/37: Permission denied
Cannot stat file /proc/1607/fd/38: Permission denied
Cannot stat file /proc/1607/fd/39: Permission denied
Cannot stat file /proc/1607/fd/40: Permission denied
Cannot stat file /proc/1607/fd/41: Permission denied
Cannot stat file /proc/1607/fd/42: Permission denied
Cannot stat file /proc/1607/fd/100: Permission denied
Cannot stat file /proc/1607/fd/101: Permission denied
Cannot stat file /proc/1607/fd/1023: Permission denied
Cannot stat file /proc/1736/fd/5: Permission denied
Cannot stat file /proc/1736/fd/6: Permission denied
Cannot stat file /proc/1736/fd/7: Permission denied
Cannot stat file /proc/1736/fd/8: Permission denied
Cannot stat file /proc/1736/fd/9: Permission denied
Cannot stat file /proc/1736/fd/10: Permission denied
Cannot stat file /proc/1736/fd/11: Permission denied
Cannot stat file /proc/1736/fd/12: Permission denied
Cannot stat file /proc/1736/fd/13: Permission denied
Cannot stat file /proc/1893/fd/4: Permission denied
Cannot stat file /proc/1893/fd/5: Permission denied
Cannot stat file /proc/1893/fd/6: Permission denied
Cannot stat file /proc/1893/fd/34: Permission denied
Cannot stat file /proc/1893/fd/37: Permission denied
Cannot stat file /proc/1893/fd/38: Permission denied
Cannot stat file /proc/1893/fd/39: Permission denied
Cannot stat file /proc/1893/fd/40: Permission denied
Cannot stat file /proc/1893/fd/41: Permission denied
Cannot stat file /proc/1893/fd/42: Permission denied
Cannot stat file /proc/1893/fd/1023: Permission denied
Cannot stat file /proc/2010/fd/5: Permission denied
Cannot stat file /proc/2010/fd/6: Permission denied
Cannot stat file /proc/2010/fd/7: Permission denied
Cannot stat file /proc/2010/fd/8: Permission denied
Cannot stat file /proc/2010/fd/9: Permission denied
Cannot stat file /proc/2010/fd/10: Permission denied
Cannot stat file /proc/2010/fd/11: Permission denied
Cannot stat file /proc/2010/fd/12: Permission denied
Cannot stat file /proc/2010/fd/13: Permission denied
Cannot stat file /proc/2010/fd/17: Permission denied
Cannot stat file /proc/2010/fd/18: Permission denied
Cannot stat file /proc/2010/fd/37: Permission denied
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  tbf96       929 F.... wireplumber
/dev/snd/controlC1:  tbf96       929 F.... wireplumber
/dev/snd/seq:        tbf96       927 F.... pipewire

Last edited by sdvscv (2024-01-06 05:13:56)

Offline

#4 2024-01-06 09:40:00

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2024-01-06 16:12:05

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Alright. Here it is

❯ sudo journalctl -b | curl -F 'file=@-' 0x0.st
http://0x0.st/H6GJ.txt

Last edited by sdvscv (2024-01-06 16:16:01)

Offline

#6 2024-01-06 16:24:59

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Jan 06 10:52:47 archlinux kernel: pci 0000:02:00.0: Enabling HDA controller
Jan 06 10:52:48 archlinux kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jan 06 10:52:48 archlinux kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Jan 06 10:52:49 archlinux kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0:    inputs:
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D0:      Mic=0x13
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2:    dig-out=0x4/0x0
Jan 06 10:52:49 archlinux kernel: snd_hda_codec_generic hdaudioC0D2:    inputs:
Jan 06 10:52:49 archlinux kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input7
Jan 06 10:52:49 archlinux kernel: input: HDA Intel PCH HDMI as /devices/pci0000:00/0000:00:1f.3/sound/card0/input8
Jan 06 10:52:54 archlinux kernel: snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x20370d81
Jan 06 10:52:55 archlinux kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x20370d81
Jan 06 10:52:56 archlinux kernel: snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x20370d81

There's no SOF but the PCI ID is TGL, do you set "dmic_detect=0"?

Offline

#7 2024-01-06 16:53:26

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

I don't remember setting "dmic_detect=0" and I couldn't find that option in /etc/modprobe.d/, except for putting "options snd-hda-intel model=generic" in /etc/modprobe.d/alsa-base.conf so pipewire could detect the audio cards I have. I tried to find it in /etc/ using grep but there's no output so I think there isn't. I checked in the entire drive where I use arch on, and there are some matches, but I don't think they are important because it's about firefox

I also checked if I have sof-firmware installed and I did.

Last edited by sdvscv (2024-01-06 16:54:21)

Offline

#8 2024-01-06 17:13:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Drop that modprobe config, generic is basically never what you want.

Offline

#9 2024-01-06 17:36:12

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

I commented the line of code "options snd-hda-intel model=generic" and rebooted. No speaker cards were used as expected. However, the issues with pipewire and pipewire-pulse is gone, except for wireplumber. The reason I added that line in modprobe before so the speaker cards were detected. I checked the sound cards in my system now and the cards looked different.

Here's the status of the wireplumber session:

❯ systemctl --user status wireplumber
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-01-06 12:26:09 EST; 5min ago
   Main PID: 975 (wireplumber)
      Tasks: 7 (limit: 18726)
     Memory: 9.3M (peak: 11.2M)
        CPU: 254ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─975 /usr/bin/wireplumber

Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.351653609] [975] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.351668289] [975] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.351691507] [975]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.353833712] [999] ERROR MediaDevice media_device.cpp:483 /dev/media0[]: Failed to open media device at /dev/media0: Permission denied
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.353851781] [999]  INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media0 (Permission denied), skipping
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.353857357] [999]  WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/media0', skipping
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.353998450] [999] ERROR MediaDevice media_device.cpp:483 /dev/media1[]: Failed to open media device at /dev/media1: Permission denied
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.354005242] [999]  INFO DeviceEnumerator device_enumerator.cpp:218 Unable to populate media device /dev/media1 (Permission denied), skipping
Jan 06 12:26:09 archlinux wireplumber[975]: [0:00:18.354008669] [999]  WARN DeviceEnumerator device_enumerator_udev.cpp:174 Failed to add device for '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.2/media1', skipping
Jan 06 12:26:10 archlinux wireplumber[975]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner

Audio cards (I feel like those are completely different cards):

❯ pactl list cards
Card #46
	Name: alsa_card.pci-0000_00_1f.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA Intel PCH at 0x6013128000 irq 150"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.description = "Built-in Audio"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3722731"
		device.product.id = "0xa0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "45"
		object.serial = "46"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6013128000 irq 150"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		pro-audio: Pro Audio (sinks: 5, sources: 1, priority: 1, available: yes)
	Active Profile: input:analog-stereo
	Ports:
		analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
		analog-input-headphone-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
		analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "headset"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "2"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "6"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "7"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 7, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 7"
				device.icon_name = "video-display"
				card.profile.port = "8"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo

Card #47
	Name: alsa_card.usb-189a_USB_Microphone-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "USB Microphone at usb-0000:00:14.0-7, full speed"
		api.alsa.card.name = "USB Microphone"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-189a_USB_Microphone-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:7:1.0"
		device.description = "USB Microphone"
		device.enum.api = "udev"
		device.form_factor = "microphone"
		device.icon_name = "audio-input-microphone-analog-usb"
		device.name = "alsa_card.usb-189a_USB_Microphone-00"
		device.nick = "USB Microphone"
		device.plugged.usec = "4421074"
		device.product.id = "0x2019"
		device.product.name = "USB Microphone"
		device.serial = "189a_USB_Microphone"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/sound/card1"
		device.vendor.id = "0x189a"
		device.vendor.name = "189a"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "46"
		object.serial = "47"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "USB Microphone"
		alsa.long_card_name = "USB Microphone at usb-0000:00:14.0-7, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		pro-audio: Pro Audio (sinks: 0, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: input:mono-fallback
	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:mono-fallback

I think that there is no speaker detected anymore so I need to get my speaker detected. They only way that worked for me was what I told you before, so I'm out of ideas.

Offline

#10 2024-01-06 18:55:04

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Start by posting an updated journal.

Offline

#11 2024-01-06 19:34:45

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Okay.

http://0x0.st/H6ko.txt

Edit:
When I configure the audio, there are only two options: analog stereo input and pro audio. I can get the sound back by switching to Pro Audio, but I need to have analog stereo duplex to be an available option so I can both use the mic and the speaker. When I select Pro Audio, both front speakers work without any issue

Last edited by sdvscv (2024-01-06 19:58:15)

Offline

#12 2024-01-06 20:50:21

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

https://gitlab.freedesktop.org/pipewire … io-profile

Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    inputs:
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x13
Jan 06 14:33:05 archlinux kernel: usbcore: registered new interface driver snd-usb-audio

There's still no sign of SOF in that journal?
Do you use snd_intel_dspcfg.dsp_driver=1 anywhere?

For reference, https://bbs.archlinux.org/viewtopic.php … 6#p2104936  - same chip as yours.

Offline

#13 2024-01-06 20:52:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

You have a stereo output profile but it's not considered to be available do you have a mic or headphones plugged into some jack output directly?, but this could be a fallout from the mixing of broken setup attempts. Did you remove (and reboot) ~/.local/state/wireplumber already?

Can you force the stereo profile by simply doing

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

? You could hardcode that in pipewire config if that works.

In any case, with the current state, post

aplay -lL
amixer -c0
pactl list-sinks

Offline

#14 2024-01-06 21:10:53

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

seth wrote:

https://gitlab.freedesktop.org/pipewire … io-profile

Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Jan 06 14:33:04 archlinux kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC274: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:line
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:    inputs:
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
Jan 06 14:33:04 archlinux kernel: snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x13
Jan 06 14:33:05 archlinux kernel: usbcore: registered new interface driver snd-usb-audio

There's still no sign of SOF in that journal?
Do you use snd_intel_dspcfg.dsp_driver=1 anywhere?

For reference, https://bbs.archlinux.org/viewtopic.php … 6#p2104936  - same chip as yours.

Nope. I didn't find it in /etc/

Also I tried to reinstall sof-firmware, and I found that there was an error during the installation of sof-firmware as it said that  the "command failed the execute correctly". Not sure if that is related though

❯ sudo pacman -S sof-firmware
warning: sof-firmware-2023.12-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) sof-firmware-2023.12-1

Total Installed Size:  20.06 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                                   [----------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                                 [----------------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                                      [----------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                                                [----------------------------------------------------------------------------------------] 100%
(1/1) checking available disk space                                                                                                              [----------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling sof-firmware                                                                                                                  [----------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img --microcode /boot/intel-ucode.img
==> Starting build: '6.1.70-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
==> ERROR: Hook 'plymouth' cannot be found
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.1.70-1-lts'
  -> Running build hook: [base]
  -> Running build hook: [udev]
==> ERROR: Hook 'plymouth' cannot be found
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img --microcode /boot/intel-ucode.img
==> Starting build: '6.6.9-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
==> ERROR: Hook 'plymouth' cannot be found
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.6.9-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
==> ERROR: Hook 'plymouth' cannot be found
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly

Offline

#15 2024-01-06 21:14:40

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

==> ERROR: Hook 'plymouth' cannot be found

Bogus hook in your mkinitcpio.conf

I didn't find it in /etc/

systool -vm snd_intel_dspcfg

Offline

#16 2024-01-06 21:25:14

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

V1del wrote:

You have a stereo output profile but it's not considered to be available do you have a mic or headphones plugged into some jack output directly?, but this could be a fallout from the mixing of broken setup attempts. Did you remove (and reboot) ~/.local/state/wireplumber already?

Can you force the stereo profile by simply doing

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

? You could hardcode that in pipewire config if that works.

In any case, with the current state, post

aplay -lL
amixer -c0
pactl list-sinks

The only two profiles that I can find is Analog Stereo Input and Pro Audio. My mic was being detected. I had a USB mic plugged into my computer. I also did remove ~/.local/state/wireplumber before
It seems like my audio stereo output was being detected and now the volume can change with volume buttons. However, it seems that speakers weren't detected because the two ports were Line Out and Headphones and both of them were unplugged. They were also in no profile. Other than that, it feels like my audio was working again but in a different way.

Here's the output of:

aplay -lL

❯ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC274 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC274 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC274 Analog [ALC274 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

amixer -c0

❯ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 67 [77%] [-15.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Headphone Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Headphone Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Headphone+LO',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB]
  Front Right: Playback 87 [100%] [0.00dB]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [-0.40dB]
  Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Line Out',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Headset Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]

pactl list sinks

❯ pactl list sinks
Sink #71
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 58982 /  90% / -2.75 dB,   front-right: 58982 /  90% / -2.75 dB
	       balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC274 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x6013128000 irq 150"
		alsa.name = "ALC274 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x6013128000 irq 150"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "7"
		device.api = "alsa"
		device.class = "sound"
		device.id = "52"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC274 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "38"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "66"
		object.serial = "71"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3794301"
		device.product.id = "0xa0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 3, not available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 2, not available)
	Active Port: analog-output-lineout
	Formats:
		pcm

Offline

#17 2024-01-06 21:33:49

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

seth wrote:
==> ERROR: Hook 'plymouth' cannot be found

Bogus hook in your mkinitcpio.conf

I didn't find it in /etc/

systool -vm snd_intel_dspcfg

I checked /etc/mkinitcpio.conf and I saw plymouth in HOOKS

MODULES=(btrfs)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base udev autodetect plymouth keyboard keymap modconf block filesystems fsck)

I also did systool and this was the output

❯ systool -vm snd_intel_dspcfg
Module = "snd_intel_dspcfg"

  Attributes:
    coresize            = "40960"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "3"
    srcversion          = "9ABEC847FBA4DF3410D252F"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    dsp_driver          = "0"

  Sections:

Offline

#18 2024-01-06 22:02:20

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

pacman -Qikk plymouth

But that's not related to the sof-firmware package and cannot explain why you're not using SOF

modprobe -c  | grep -v alias | grep -E 'sof[^t]'

Offline

#19 2024-01-06 22:13:45

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

I realized I was dumb and I didn't install plymouth and installed it and I can finally reinstall sof-firmware. There was no output from the other command even after rebooting. Also would my analog stereo output profile get detected if sof-firmware is used? My speakers are currently working and it's just that they are just called "Line Out" and "Headphones" and they aren't in a profile.

Last edited by sdvscv (2024-01-06 22:22:41)

Offline

#20 2024-01-06 22:28:12

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Also would my analog stereo output profile get detected if sof-firmware is used?

I've no idea ("we shall see") but again: I doubt the plymouth situation is related to the SOF one.
Check the modprobe output.

it's just that they are just called "Line Out" and "Headphones"

See the alsa output of the card. So is this only a cosmetic issue?

Offline

#21 2024-01-06 22:48:45

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

When I did the "options snd-hda-intel model=generic" configuration in /etc/modprobe.d/alsa-base.conf, the ports contained speakers, so I doubt it's a cosmetic issue. Currently, I don't have an issue with audio, just an inconvenience. I'm going to mark this solved and I'll apologize for going off topic and wasting time.

Offline

#22 2024-01-06 23:04:19

seth
Member
Registered: 2012-09-03
Posts: 54,562

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

You didn't waste anyones time because it was necessary to get of the "generic" assignment and this frankly isn't anywhere near solved.
You put the "generic" there, so you got generic labels - and control issues, because it's a bad "solution" for the initial problem.

There's still something off w/ the setup and that most likely leads to the wrong control labels.
Are you somehow blacklisting the sof modules?

Offline

#23 2024-01-06 23:15:07

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

I didn't blacklist any of the sof modules and I don't know how else the sof modules wouldn't load

Also additionally, I just found out that the input output errors came back on pipewire-pulse and now I can't hear any sounds from discord

Last edited by sdvscv (2024-01-06 23:17:30)

Offline

#24 2024-01-07 00:35:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

Try stopping wireplumber/pipewire

systemctl --user stop pipewire{,-pulse} wireplumber
#This should ideally not give you output
sudo fuser -v /dev/snd/*
sudo alsactl init
systemctl --user start pipewire{,-pulse} wireplumber

Offline

#25 2024-01-07 00:42:26

sdvscv
Member
Registered: 2024-01-04
Posts: 33

Re: Pipewire & Wireplumber Audio Speakers Have I/O error

❯ systemctl --user stop pipewire pipewire-pulse wireplumber
Job for pipewire.service canceled.
Job for wireplumber.service canceled.

I'm not sure if pipewire or wireplumber stopped, but I can still use pro audio, and the analog stereo input profile is also available

❯ sudo fuser -v /dev/snd/*
[sudo] password for tbf96: 
Cannot stat file /proc/1636/fd/4: Permission denied
Cannot stat file /proc/1636/fd/5: Permission denied
Cannot stat file /proc/1636/fd/6: Permission denied
Cannot stat file /proc/1636/fd/34: Permission denied
Cannot stat file /proc/1636/fd/37: Permission denied
Cannot stat file /proc/1636/fd/38: Permission denied
Cannot stat file /proc/1636/fd/39: Permission denied
Cannot stat file /proc/1636/fd/40: Permission denied
Cannot stat file /proc/1636/fd/41: Permission denied
Cannot stat file /proc/1636/fd/42: Permission denied
Cannot stat file /proc/1636/fd/100: Permission denied
Cannot stat file /proc/1636/fd/101: Permission denied
Cannot stat file /proc/1636/fd/1023: Permission denied
Cannot stat file /proc/1765/fd/5: Permission denied
Cannot stat file /proc/1765/fd/6: Permission denied
Cannot stat file /proc/1765/fd/7: Permission denied
Cannot stat file /proc/1765/fd/8: Permission denied
Cannot stat file /proc/1765/fd/9: Permission denied
Cannot stat file /proc/1765/fd/10: Permission denied
Cannot stat file /proc/1765/fd/11: Permission denied
Cannot stat file /proc/1765/fd/12: Permission denied
Cannot stat file /proc/1765/fd/13: Permission denied
Cannot stat file /proc/2028/fd/4: Permission denied
Cannot stat file /proc/2028/fd/5: Permission denied
Cannot stat file /proc/2028/fd/6: Permission denied
Cannot stat file /proc/2028/fd/34: Permission denied
Cannot stat file /proc/2028/fd/37: Permission denied
Cannot stat file /proc/2028/fd/38: Permission denied
Cannot stat file /proc/2028/fd/39: Permission denied
Cannot stat file /proc/2028/fd/40: Permission denied
Cannot stat file /proc/2028/fd/41: Permission denied
Cannot stat file /proc/2028/fd/42: Permission denied
Cannot stat file /proc/2028/fd/1023: Permission denied
Cannot stat file /proc/2044/fd/5: Permission denied
Cannot stat file /proc/2044/fd/6: Permission denied
Cannot stat file /proc/2044/fd/7: Permission denied
Cannot stat file /proc/2044/fd/8: Permission denied
Cannot stat file /proc/2044/fd/9: Permission denied
Cannot stat file /proc/2044/fd/10: Permission denied
Cannot stat file /proc/2044/fd/11: Permission denied
Cannot stat file /proc/2044/fd/12: Permission denied
Cannot stat file /proc/2044/fd/13: Permission denied
Cannot stat file /proc/2044/fd/17: Permission denied
Cannot stat file /proc/2044/fd/18: Permission denied
Cannot stat file /proc/2044/fd/37: Permission denied
Cannot stat file /proc/4213/fd/4: Permission denied
Cannot stat file /proc/4213/fd/5: Permission denied
Cannot stat file /proc/4213/fd/49: Permission denied
Cannot stat file /proc/4213/fd/68: Permission denied
Cannot stat file /proc/4213/fd/69: Permission denied
Cannot stat file /proc/4213/fd/70: Permission denied
Cannot stat file /proc/4213/fd/72: Permission denied
Cannot stat file /proc/4213/fd/84: Permission denied
Cannot stat file /proc/4213/fd/1023: Permission denied
Cannot stat file /proc/4224/fd/5: Permission denied
Cannot stat file /proc/4224/fd/6: Permission denied
Cannot stat file /proc/4224/fd/7: Permission denied
Cannot stat file /proc/4224/fd/8: Permission denied
Cannot stat file /proc/4224/fd/9: Permission denied
Cannot stat file /proc/4224/fd/10: Permission denied
Cannot stat file /proc/4225/fd/5: Permission denied
Cannot stat file /proc/4225/fd/6: Permission denied
Cannot stat file /proc/4225/fd/7: Permission denied
Cannot stat file /proc/4225/fd/8: Permission denied
Cannot stat file /proc/4225/fd/9: Permission denied
Cannot stat file /proc/4225/fd/10: Permission denied
Cannot stat file /proc/4345/fd/5: Permission denied
Cannot stat file /proc/4345/fd/6: Permission denied
Cannot stat file /proc/4345/fd/7: Permission denied
Cannot stat file /proc/4345/fd/8: Permission denied
Cannot stat file /proc/4345/fd/9: Permission denied
Cannot stat file /proc/4345/fd/10: Permission denied
Cannot stat file /proc/4426/fd/4: Permission denied
Cannot stat file /proc/4426/fd/7: Permission denied
Cannot stat file /proc/4426/fd/8: Permission denied
Cannot stat file /proc/4426/fd/9: Permission denied
Cannot stat file /proc/4426/fd/10: Permission denied
Cannot stat file /proc/4426/fd/103: Permission denied
Cannot stat file /proc/4443/fd/14: Permission denied
Cannot stat file /proc/4443/fd/15: Permission denied
Cannot stat file /proc/4443/fd/16: Permission denied
Cannot stat file /proc/4443/fd/17: Permission denied
Cannot stat file /proc/4443/fd/18: Permission denied
Cannot stat file /proc/4443/fd/30: Permission denied
Cannot stat file /proc/4443/fd/103: Permission denied
Cannot stat file /proc/4444/fd/14: Permission denied
Cannot stat file /proc/4444/fd/15: Permission denied
Cannot stat file /proc/4444/fd/16: Permission denied
Cannot stat file /proc/4444/fd/17: Permission denied
Cannot stat file /proc/4444/fd/18: Permission denied
Cannot stat file /proc/4444/fd/30: Permission denied
Cannot stat file /proc/4444/fd/103: Permission denied
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  tbf96      8849 F.... wireplumber
/dev/snd/controlC1:  tbf96      8849 F.... wireplumber
/dev/snd/pcmC0D0p:   tbf96       968 F...m pipewire
/dev/snd/seq:        tbf96       968 F.... pipewire
❯ sudo alsactl init
Found hardware: "HDA-Intel" "Realtek ALC274" "HDA:10ec0274,10280a07,00100004 HDA:80862812,80860101,00100000" "0x1028" "0x0a07"
Hardware is initialized using a generic method
Found hardware: "USB-Audio" "USB Mixer" "USB189a:2019" "" ""
Hardware is initialized using a generic method

and the last command gives no output

Also when I tried to stop the services, it seemed that it was still active

❯ systemctl --user stop pipewire pipewire-pulse wireplumber
Job for pipewire.service canceled.
Job for wireplumber.service canceled.
❯ systemctl --user status pipewire pipewire-pulse wireplumber
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-01-06 19:22:41 EST; 19min ago
TriggeredBy: ● pipewire.socket
   Main PID: 968 (pipewire)
      Tasks: 4 (limit: 18720)
     Memory: 18.9M (peak: 31.6M)
        CPU: 10.359s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─968 /usr/bin/pipewire

Jan 06 19:41:17 archlinux pipewire[968]: [0:18:53.391097254] [968]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 06 19:41:20 archlinux pipewire[968]: [0:18:56.059216357] [968] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 06 19:41:20 archlinux pipewire[968]: [0:18:56.059231022] [968] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 06 19:41:20 archlinux pipewire[968]: [0:18:56.059253571] [968]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 06 19:41:41 archlinux pipewire[968]: [0:19:17.775915271] [968] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 06 19:41:41 archlinux pipewire[968]: [0:19:17.776216972] [968] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 06 19:41:41 archlinux pipewire[968]: [0:19:17.776261477] [968]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 06 19:42:10 archlinux pipewire[968]: [0:19:45.946139510] [968] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 06 19:42:10 archlinux pipewire[968]: [0:19:45.946154589] [968] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 06 19:42:10 archlinux pipewire[968]: [0:19:45.946178083] [968]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-01-06 19:42:09 EST; 1s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 10812 (pipewire-pulse)
      Tasks: 3 (limit: 18720)
     Memory: 4.2M (peak: 4.7M)
        CPU: 52ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─10812 /usr/bin/pipewire-pulse

Jan 06 19:42:09 archlinux systemd[956]: Started PipeWire PulseAudio.
Jan 06 19:42:10 archlinux pipewire-pulse[10812]: mod.protocol-pulse: client 0x559a2e9600c0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
Jan 06 19:42:10 archlinux pipewire-pulse[10812]: mod.protocol-pulse: client 0x559a2e9600c0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
Jan 06 19:42:10 archlinux pipewire-pulse[10812]: mod.protocol-pulse: client 0x559a2e9600c0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
Jan 06 19:42:10 archlinux pipewire-pulse[10812]: mod.protocol-pulse: client 0x559a2e9600c0 [Firefox]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
Jan 06 19:42:10 archlinux pipewire-pulse[10812]: mod.protocol-pulse: client 0x559a2e9600c0 [Firefox]: ERROR command:-1 (invalid) tag:3 error:25 (Input/output error)

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-01-06 19:42:09 EST; 1s ago
   Main PID: 10810 (wireplumber)
      Tasks: 8 (limit: 18720)
     Memory: 10.8M (peak: 11.6M)
        CPU: 194ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─10810 /usr/bin/wireplumber

Jan 06 19:42:09 archlinux wireplumber[10810]: [0:19:45.670935238] [10810] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Jan 06 19:42:09 archlinux wireplumber[10810]: [0:19:45.670948850] [10810] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Jan 06 19:42:09 archlinux wireplumber[10810]: [0:19:45.670969527] [10810]  INFO Camera camera_manager.cpp:284 libcamera v0.1.0
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpSiAudioAdapter:0x55e7c7c78070> Object activation aborted: proxy destroyed
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpSiAudioAdapter:0x55e7c7c78070> failed to activate item: Object activation aborted: proxy destroyed
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpPortalPermissionStorePlugin:0x55e7c7a68050> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpPortalPermissionStorePlugin:0x55e7c7a68050> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpPortalPermissionStorePlugin:0x55e7c7a68050> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpPortalPermissionStorePlugin:0x55e7c7a68050> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Jan 06 19:42:10 archlinux wireplumber[10810]: <WpSiStandardLink:0x55e7c7c63570> si-standard-link: in/out items are not valid anymore

Offline

Board footer

Powered by FluxBB