You are not logged in.

#1 2024-07-01 15:26:48

Oughie
Member
Registered: 2024-07-01
Posts: 13

No Audio with Pipewire

A few weeks ago, I switched from Windows to Arch Linux,  and I've been enjoying it so far.
However, compared to Windows, on Linux I don't hear any audio.
How can I resolve this? I've spent a lot of  time researching on this but couldn't find a solution that worked for me.

Some outputs:

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  luma       1045 F.... wireplumber
/dev/snd/seq:        luma       1044 F.... pipewire
pactl list cards
Card #43
	Name: alsa_card.pci-0000_01_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA ATI HDMI at 0xf7e40000 irq 29"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.description = "Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "12254574"
		device.product.id = "0xaa98"
		device.product.name = "Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "42"
		object.id = "32"
		object.serial = "43"
		object.path = "alsa:acp:HDMI"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xf7e40000 irq 29"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100200"
		alsa.id = "HDMI"
		device.string = "0"
	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-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-ac3-surround: Digital Surround 5.1 (HDMI/AC3) Output (sinks: 1, sources: 0, priority: 600, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 0, priority: 1, available: yes)
	Active Profile: pro-audio
	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
systemctl --user status pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Mon 2024-07-01 17:14:45 CEST; 19min ago
 Invocation: 00e89fffe88f494dbe633b594e49050b
TriggeredBy: ● pipewire.socket
   Main PID: 1044 (pipewire)
      Tasks: 3 (limit: 9454)
     Memory: 15.8M (peak: 15.8M)
        CPU: 314ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1044 /usr/bin/pipewire

Jul 01 17:14:45 samoyed systemd[512]: Started PipeWire Multimedia Service.
Jul 01 17:14:50 samoyed pipewire[1044]: ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for %f
Jul 01 17:14:50 samoyed pipewire[1044]: spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device
Jul 01 17:14:50 samoyed pipewire[1044]: mod.adapter: 0x5d74a4c12660: can't get format: No such device
Jul 01 17:14:50 samoyed pipewire[1044]: mod.adapter: usage: node.name=<string>

I also ran:

amixer set Master unmute
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer - Side Left - Side Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 59138 [90%] [on]
  Front Right: Playback 59138 [90%] [on]
  Rear Left: Playback 59138 [90%] [on]
  Rear Right: Playback 59138 [90%] [on]
  Front Center: Playback 59138 [90%] [on]
  Woofer: Playback 59138 [90%] [on]
  Side Left: Playback 59138 [90%] [on]
  Side Right: Playback 59138 [90%] [on]

Last edited by Oughie (2024-07-01 15:43:30)

Offline

#2 2024-07-01 16:28:37

theluga
Member
Registered: 2023-12-23
Posts: 19

Re: No Audio with Pipewire

Your error appears to be related to
https://bbs.archlinux.org/viewtopic.php?id=297224

"spa.alsa: 'plug:{SLAVE="a52:0,'hw:%f,3'"}': playback open failed: No such device"

Go the gitlab issue I created and linked there and output your pipewire dump on the gitlab issue. It is affecting people differently but appears to be the same bug.

Offline

#3 2024-07-01 18:21:04

Oughie
Member
Registered: 2024-07-01
Posts: 13

Re: No Audio with Pipewire

I'll try again once it's fixed, but I was unable to setup audio before. Thank you for the quick response big_smile

Offline

Board footer

Powered by FluxBB