FS#68313 - [alsa-lib] Updating to 1.2.4-1 breaks pulseaudio on AMD Renoir devices

Attached to Project: Arch Linux
Opened by Ongun Kanat (6ng4n) - Sunday, 18 October 2020, 02:15 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 22 October 2020, 14:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
Updating alsa-lib to 1.2.4-1 breaks pulseaudio on my Thinkpad T14 AMD. Pulseaudio cannot detect the output and these errors are shown in the journalctl:

Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to find a working profile.
Oct 18 03:51:09 nyarna-t14 pulseaudio[1932]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.6" card_name="alsa_card.pci-0000_07_00.6" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.


Playing a WAVE file with aplay works. It also restores Pulseaudio output device until Pulseaudio / session restarts:

aplay --device sysdefault:CARD=Generic_1 wav_2mb.wav

Running pulseaudio --kill results in the same errors in journalctl.

A bunch of connected alsa updates have been released but only downgrading alsa-lib returns the functionality back.

Additional Info:

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 0e)
02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 0e)
02:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
02:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d1)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

Desktop: Plasma 5.20


Steps to reproduce:
- Update alsa-lib to 1.2.4-1
- Run pulseaudio --kill; pulseaudio --start
- Soundcard not detected in pavucontrol / plasma-pa
Workaround
- Downgrade alsa-lib
OR
- Run
aplay --device sysdefault:CARD=Generic_1 some_wav_file.wav
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 22 October 2020, 14:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  alsa-lib 1.2.4-2
Comment by ljedrz (ljedrz) - Tuesday, 20 October 2020, 15:57 GMT
Seems to be fixed on Lenovo T14s with alsa-lib 1.2.4-2

Loading...