You are not logged in.

#1 2024-03-10 16:03:13

SilverRib
Member
Registered: 2024-03-10
Posts: 2

No audio or media playback (problem with pipewire?)

A few days ago i installed Arch for the first time and media playback seemed to work just fine out of the box.
Yesterday however all kinds of media playback have stopped working on the system as long as pipewire is enabled. Including playing mp3 files locally in VLC

running

killall pipewire

lets me run videos again on my browser (without audio). Leading me to believe the problem lies in pipewire

running

 sudo fuser -v /dev/snd/*

gives the following output

  
                       USER        PID   ACCESS   COMMAND
/dev/snd/controlC0:      xxx        589   F.....   wireplumber
/dev/snd/controlC1:      xxx        589   F.....   wireplumber
/dev/snd/controlC2:      xxx        589   F.....    wireplumber
/dev/snd/seq:           xxx         588   F.....     pipewire

pactl list cards

Card #43
	Name: alsa_card.pci-0000_02_00.1
	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 = "HDA NVidia at 0xa5080000 irq 18"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:02:00.1"
		device.description = "TU106 High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_02_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "27159351"
		device.product.id = "0x10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:02:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "43"
		object.serial = "43"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xa5080000 irq 18"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, 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: 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: 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)
		pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, 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 = "3"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3

Card #44
	Name: alsa_card.usb-Focusrite_Audio_Engineering_Saffire_6USB-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 = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		api.alsa.card.name = "Saffire 6 USB"
		api.alsa.path = "hw:2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
		device.description = "Saffire 6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.nick = "Saffire 6 USB"
		device.plugged.usec = "27142152"
		device.product.id = "0x0010"
		device.product.name = "Saffire 6"
		device.serial = "Focusrite_Audio_Engineering_Saffire_6USB"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/sound/card2"
		device.vendor.id = "0x1235"
		device.vendor.name = "Focusrite-Novation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "34"
		object.id = "44"
		object.serial = "44"
		object.path = "alsa:pcm:2"
		alsa.card = "2"
		alsa.card_name = "Saffire 6 USB"
		alsa.long_card_name = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.string = "2"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (sinks: 1, sources: 1, priority: 1255, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: output:analog-surround-40+input:analog-stereo
	Ports:
		analog-input: Analog Input (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-surround-40+input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "1"
			Part of profile(s): input:iec958-stereo, output:analog-surround-40+input:iec958-stereo
		analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "2"
			Part of profile(s): output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:iec958-stereo

Card #45
	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 0xa54b8000 irq 139"
		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 = "27196857"
		device.product.id = "0xa348"
		device.product.name = "Cannon Lake PCH cAVS"
		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 = "45"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa54b8000 irq 139"
		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:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
	Active Profile: output:iec958-stereo+input:analog-stereo
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
			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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, 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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "2"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 4"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 5"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "5"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

pactl list sinks

Sink #50
	State: SUSPENDED
	Name: alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40
	Description: Saffire 6 Analog Surround 4.0
	Driver: PipeWire
	Sample Specification: s24le 4ch 48000Hz
	Channel Map: front-left,front-right,rear-left,rear-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB,   rear-left: 26214 /  40% / -23,88 dB,   rear-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "2"
		alsa.card_name = "Saffire 6 USB"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "24"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		api.alsa.card.name = "Saffire 6 USB"
		api.alsa.path = "surround40:2"
		api.alsa.pcm.card = "2"
		api.alsa.pcm.stream = "playback"
		audio.channels = "4"
		audio.position = "FL,FR,RL,RR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Analog Surround 4.0"
		device.profile.name = "analog-surround-40"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Saffire 6"
		node.name = "alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40"
		node.nick = "Saffire 6 USB"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:2:surround40:2:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "50"
		object.serial = "50"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.bus = "usb"
		device.bus-id = "usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.nick = "Saffire 6 USB"
		device.plugged.usec = "27142152"
		device.product.id = "0x0010"
		device.product.name = "Saffire 6"
		device.serial = "Focusrite_Audio_Engineering_Saffire_6USB"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/sound/card2"
		device.vendor.id = "0x1235"
		device.vendor.name = "Focusrite-Novation"
		device.string = "2"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

Sink #52
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.iec958-stereo
	Description: Built-in Audio Digital Stereo (IEC958)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "1"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC1220 Digital"
		alsa.long_card_name = "HDA Intel PCH at 0xa54b8000 irq 139"
		alsa.name = "ALC1220 Digital"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0xa54b8000 irq 139"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "iec958:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "11"
		device.api = "alsa"
		device.class = "sound"
		device.id = "45"
		device.profile.description = "Digital Stereo (IEC958)"
		device.profile.name = "iec958-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.iec958-stereo"
		node.nick = "ALC1220 Digital"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:iec958:0:playback"
		priority.driver = "736"
		priority.session = "736"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "32"
		object.serial = "52"
		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 = "27196857"
		device.product.id = "0xa348"
		device.product.name = "Cannon Lake PCH cAVS"
		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:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm

it's worth noting that although alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40 is set to

SUSPENDED

in this output,  starting a video in a browser will set it to

RUNNING

alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40 is the interface I want to use for outputting audio, so it's using the correct device here.


pactl list sinks while a video is "playing"

Sink #50
	State: RUNNING
	Name: alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40
	Description: Saffire 6 Analog Surround 4.0
	Driver: PipeWire
	Sample Specification: s24le 4ch 48000Hz
	Channel Map: front-left,front-right,rear-left,rear-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB,   rear-left: 26214 /  40% / -23,88 dB,   rear-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "2"
		alsa.card_name = "Saffire 6 USB"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_usb_audio"
		alsa.id = "USB Audio"
		alsa.long_card_name = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		alsa.name = "USB Audio"
		alsa.resolution_bits = "24"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "Focusrite Saffire 6 USB at usb-0000:00:14.0-4, full speed"
		api.alsa.card.name = "Saffire 6 USB"
		api.alsa.path = "surround40:2"
		api.alsa.pcm.card = "2"
		api.alsa.pcm.stream = "playback"
		audio.channels = "4"
		audio.position = "FL,FR,RL,RR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Analog Surround 4.0"
		device.profile.name = "analog-surround-40"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Saffire 6"
		node.name = "alsa_output.usb-Focusrite_Audio_Engineering_Saffire_6USB-00.analog-surround-40"
		node.nick = "Saffire 6 USB"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:2:surround40:2:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "50"
		object.serial = "50"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "512"
		api.alsa.period-num = "64"
		api.alsa.headroom = "512"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		device.bus = "usb"
		device.bus-id = "usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:4:1.0"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-usb"
		device.name = "alsa_card.usb-Focusrite_Audio_Engineering_Saffire_6USB-00"
		device.nick = "Saffire 6 USB"
		device.plugged.usec = "27142152"
		device.product.id = "0x0010"
		device.product.name = "Saffire 6"
		device.serial = "Focusrite_Audio_Engineering_Saffire_6USB"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/sound/card2"
		device.vendor.id = "0x1235"
		device.vendor.name = "Focusrite-Novation"
		device.string = "2"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

Sink #52
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.iec958-stereo
	Description: Built-in Audio Digital Stereo (IEC958)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23,88 dB,   front-right: 26214 /  40% / -23,88 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.iec958-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "1"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC1220 Digital"
		alsa.long_card_name = "HDA Intel PCH at 0xa54b8000 irq 139"
		alsa.name = "ALC1220 Digital"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0xa54b8000 irq 139"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "iec958:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "11"
		device.api = "alsa"
		device.class = "sound"
		device.id = "45"
		device.profile.description = "Digital Stereo (IEC958)"
		device.profile.name = "iec958-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.iec958-stereo"
		node.nick = "ALC1220 Digital"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:iec958:0:playback"
		priority.driver = "736"
		priority.session = "736"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "32"
		object.serial = "52"
		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 = "27196857"
		device.product.id = "0xa348"
		device.product.name = "Cannon Lake PCH cAVS"
		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:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm

Running

systemctl --user status wireplumber pipewire pipewire-pulse 

produces the following:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-03-10 13:18:40 CET; 35min ago
   Main PID: 589 (wireplumber)
      Tasks: 7 (limit: 19009)
     Memory: 17.3M (peak: 18.4M)
        CPU: 4.191s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─589 /usr/bin/wireplumber

mars 10 13:51:39 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:51:40 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:51:42 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:51:43 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:51:44 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:51:45 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:52:24 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio1
mars 10 13:52:26 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio1
mars 10 13:52:27 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
mars 10 13:52:28 overlord wireplumber[589]: Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-03-10 13:18:40 CET; 35min ago
TriggeredBy: ● pipewire.socket
   Main PID: 588 (pipewire)
      Tasks: 3 (limit: 19009)
     Memory: 12.5M (peak: 12.9M)
        CPU: 499ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─588 /usr/bin/pipewire

mars 10 13:18:40 overlord systemd[580]: 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 Sun 2024-03-10 13:18:40 CET; 35min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 590 (pipewire-pulse)
      Tasks: 3 (limit: 19009)
     Memory: 8.4M (peak: 8.8M)
        CPU: 106ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─590 /usr/bin/pipewire-pulse

mars 10 13:18:40 overlord systemd[580]: Started PipeWire PulseAudio.

The only thing that really stands out to me in these outputs is the Unexpected Reply 3, so maybe it's wireplumber's fault? but i'm otherwise clueless as to whats wrong here. Has anyone here had similar issues and fixed them before? or can pinpoint where things are going wrong? any help is appreciated.

Offline

#2 2024-03-11 21:17:02

SilverRib
Member
Registered: 2024-03-10
Posts: 2

Re: No audio or media playback (problem with pipewire?)

Ok after a bit of back and forth I've fixed it (I think)
looking through the boot log i saw that xhci_hcd  has some trouble at boot

mars 11 21:47:01 overlord kernel: xhci_hcd 0000:02:00.2: can't setup: -110
mars 11 21:47:01 overlord kernel: xhci_hcd 0000:02:00.2: USB bus 3 deregistered
mars 11 21:47:01 overlord kernel: xhci_hcd 0000:02:00.2: init 0000:02:00.2 fail, -110
mars 11 21:47:01 overlord kernel: xhci_hcd: probe of 0000:02:00.2 failed with error -110

Afterwards I discovered that plugging out the speakers from the usb port and plugging them back in gives me sound again. I also went into alsamixer and turned off my device's automute setting.

Now when I reboot the sound works as intended and I can play videos in my browsers again. But I'm not sure if this is a permanent solution, looking at my boot log again it looks like the xhci_hcd error is still there, so unsure if I should mark this topic as solved or not.

Last edited by SilverRib (2024-03-11 21:17:16)

Offline

Board footer

Powered by FluxBB