FS#71077 - [alsa-lib] [pulseaudio] Problems with playback and card detection with upgrade to 1.2.5-1

Attached to Project: Arch Linux
Opened by Amin Vakil (aminvakil) - Tuesday, 01 June 2021, 05:42 GMT
Last edited by David Runge (dvzrv) - Monday, 07 June 2021, 17:32 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan Alexander Steffens (heftig)
David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Cannot play music with clementine music player after upgrade to 1.2.5-1.
Downgrade to 1.2.4-3 fixes the issue.

journal log fills with this error when trying to play music:
pulseaudio[1630]: Error opening PCM device front:0: Invalid argument

I've tried different mp3 files, result is the same.

I'm not sure how, but mpv works just fine with new version.

Additional info:
1.2.5-1

Steps to reproduce:
Install clementine from official repositories.
Try to play a mp3 file.
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 07 June 2021, 17:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with alsa-lib 1.2.5-2 and alsa-utils 1.2.5-2
Comment by Amin Vakil (aminvakil) - Tuesday, 01 June 2021, 05:54 GMT
Replace every clementine with strawberry, I have problem with strawberry music player which is in official repositories too.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 01 June 2021, 06:24 GMT
I had the same with Chromium until I restarted pulseaudio (systemctl --user restart pulseaudio).

Not ideal for this to happen after upgrading but at least the brokenness isn't persistent. :)
Comment by Amin Vakil (aminvakil) - Tuesday, 01 June 2021, 07:30 GMT
@foutrelis Thanks! Your suggestion fixed my issue.

Maybe worth mentioning this in post_install that some clients need a restart to work properly?
Comment by Evangelos Foutras (foutrelis) - Tuesday, 01 June 2021, 10:24 GMT
There might be an actual issue with pulseaudio no longer recognizing some cards:

https://github.com/alsa-project/alsa-lib/issues/142#issuecomment-852011338
Comment by Amin Vakil (aminvakil) - Tuesday, 01 June 2021, 11:25 GMT
Probably, I'm facing the exact issue you mentioned in your comment on upstream.

Maybe it's worth changing severity of this bug to bring it into attention of more users.
Comment by Curtis (foxcm2000) - Tuesday, 01 June 2021, 15:02 GMT
Hi! I believe that I ran into the same bug. Downgrading to the 1.2.4 fixed my problem immediately when I restarted pulseaudio.
In particular, the 1.2.5 series did not detect the S/PDIF output (aka IEC958) on my card that I use for audio output.

More details:
Sound card (from lspci -v):
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 855f
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at f0430000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

Audio output that works fine with alsa 1.2.4 series but is not found in pulseaudio after the upgrade:
Built-in Audio Digital Stereo (IEC958)

FYI: Above and beyond this bug, my system also has an HDMI audio device in the GPU (an AMD Baffin Polaris card). I don't use it, but the device disappeared with alsa 1.2.5 but it reappears as being available after the downgrade to Alsa 1.2.4 packages.

Packages that needed to be downgraded (not sure which exact one has the bug or if it's more than one):
alsa-lib-1.2.4-3 alsa-topology-conf-1.2.4-2 alsa-ucm-conf-1.2.4-2

[Edit: FYI I am not using Clementine for audio playback, but this appeared to apply to any audio playback program on my system. So I would say that the bug is not specific to any media player.]
Comment by Christian Neubauer (bauner) - Wednesday, 02 June 2021, 09:28 GMT
I have also no pulseaudio sound devices after updating to 1.2.5-1 (Ryzen 1700 B450 Nvidia GT710).
After downgrading to 1.2.4-3 (1.2.4-2) it is working again
Comment by Sebastian (remaros) - Thursday, 03 June 2021, 22:23 GMT
Same issue. No Hdmi sound device after upgrade alsa to 1.2.5
This seems to be fixed in https://github.com/alsa-project/alsa-lib/commit/ddfc32abf5697de1618b9e7ffdf57a0f97013090
traced it via pipewire bug tracker (https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1252)
Comment by David Runge (dvzrv) - Friday, 04 June 2021, 11:29 GMT
Please check whether alsa-lib 1.2.5-2 and alsa-utils 1.2.5-2 (currently both in [testing]) fix these issues for you.
Comment by Sebastian (remaros) - Friday, 04 June 2021, 12:40 GMT
After upgrading to 1.2.5-2 issue is gone on my end. Thanks.
Comment by Curtis (foxcm2000) - Friday, 04 June 2021, 13:11 GMT
I confirm this fixed it as well. Thanks!
Comment by Christian Neubauer (bauner) - Friday, 04 June 2021, 13:16 GMT
Upgrading to alsa-lib 1.2.5-2 and alsa-utils 1.2.5-2 fixes the issues for me too
Comment by Amin Vakil (aminvakil) - Friday, 04 June 2021, 14:10 GMT
Upgrading fixed the issue for me too.

Loading...