FS#69400 - [pulseaudio] ALSA card profiles no longer loaded

Attached to Project: Arch Linux
Opened by Thomas (radioactiveman) - Thursday, 21 January 2021, 19:33 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 23 January 2021, 20:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The latest pulseaudio version no longer uses the profiles from /usr/share/alsa-card-profile/.
I guess the reason is the (accidental?) removal of the meson option alsadatadir (see link below).

Additional info:
* pulseaudio 14.2-2
* https://github.com/archlinux/svntogit-packages/commit/8fc38390e197d06b3186bc8e93ddd9b4f495ac4b#diff-37538beb61ff63edebbf735dfcf39e5d732f49183d6beb097169d971875ca422L44
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 23 January 2021, 20:52 GMT
Reason for closing:  Not a bug
Comment by Ludovic Fauvet (etix) - Thursday, 21 January 2021, 23:40 GMT
Can confirm. My Steelseries Arctis 5 is not recognized anymore after the package upgrade.
Comment by Jan Alexander Steffens (heftig) - Saturday, 23 January 2021, 17:30 GMT
Have you tried to reboot?
Comment by Ludovic Fauvet (etix) - Saturday, 23 January 2021, 18:35 GMT
I was not sure so I tried again the update followed by a reboot, I end up with a "Dummy Output" sink instead.

It's like /usr/share/alsa-card-profile/mixer/paths/steelseries-arctis-output-*.conf are completely ignored.
Comment by Thomas (radioactiveman) - Saturday, 23 January 2021, 18:58 GMT
If the Meson option "alsadatadir" is not specified, PulseAudio uses "/usr/share/pulseaudio/alsa-mixer" by default.
And because the package alsa-card-profiles installs the files to "/usr/share/alsa-card-profile" they are not loaded anymore.
PulseAudio should also depend on alsa-card-profiles again, like before with 14.2-1.
Comment by Jan Alexander Steffens (heftig) - Saturday, 23 January 2021, 20:26 GMT
I removed the split (PA installs its own profiles again) because PipeWire tracks the profiles of PA master, not PA 14, which caused problems. You need to patch the old location again if you use PA, the ACP location if you use PipeWire.
Comment by Thomas (radioactiveman) - Saturday, 23 January 2021, 20:48 GMT
> PA installs its own profiles again

Oh, I totally missed that. A post-upgrade message would have been nice. :)
I have edited a file of alsa-card-profiles and wondered why the changes had no effect anymore.

This bug report can be closed now.

@etix:
PulseAudio ships the files you mentioned as /usr/share/pulseaudio/alsa-mixer/paths/steelseries-arctis-output-*.conf now.
Maybe ask for help here (https://bbs.archlinux.org/viewforum.php?id=32) to track this down. I see no reason why the last update should break something.
Comment by Jan Alexander Steffens (heftig) - Saturday, 23 January 2021, 20:52 GMT
> A post-upgrade message would have been nice. :)

Those files aren't considered editable. If you need to make changes I suggest you convince upstream to integrate your changes, convince upstream to implement config overlaying similar to systemd, or build your own package.

Loading...