Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848903 - media-libs/alsa-lib-1.2.7 version bump
Summary: media-libs/alsa-lib-1.2.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-01 06:14 UTC by David Duchesne
Modified: 2022-06-01 16:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Custom WirePlumber script that disabled UCM2 for ALC4080 devices broken by ALSA 1.2.7 (51-ALC4080.lua,4.27 KB, text/x-lua)
2022-06-01 15:59 UTC, Niklāvs Koļesņikovs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2022-06-01 06:14:29 UTC
media-libs/alsa-lib-1.2.7 version bump
2022-05-31
https://alsa-project.org/wiki/Changes_v1.2.6.3_v1.2.7

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-01 06:39:06 UTC
Well, we usually avoid zero-day bump requests, but.. :p
Comment 2 Larry the Git Cow gentoo-dev 2022-06-01 06:42:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76723fffa7d62281a91d56ce7117a299e3fcf667

commit 76723fffa7d62281a91d56ce7117a299e3fcf667
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-01 06:41:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-01 06:42:02 +0000

    media-libs/alsa-lib: add 1.2.7
    
    Closes: https://bugs.gentoo.org/848903
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/alsa-lib/Manifest              |  1 +
 media-libs/alsa-lib/alsa-lib-1.2.7.ebuild | 92 +++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)
Comment 3 Niklāvs Koļesņikovs 2022-06-01 15:59:50 UTC
Created attachment 781994 [details]
Custom WirePlumber script that disabled UCM2 for ALC4080 devices broken by ALSA 1.2.7

Attaching a WirePlumber script which I use to work around the newly introduced ALC 4080 UCM configuration not working with my particular on-board audio implementation (or maybe my system is subtly broken, not sure).
Comment 4 Niklāvs Koļesņikovs 2022-06-01 16:03:11 UTC
I'm not sure how it happened but even when properly upstreamed and deployed, the ALC 4080 UCM profile is bricking my audio by not exposing any PCM to PipeWire, which in turn means that it will only have the Off profile for the device.

Since the profile does list ASUS USB ID for its ALC 4080 implementation it presumably works for someone, so I'm not sure if it's just me or if ASUS is re-using the same ID for differently wired up ALC 4080 codecs.

In case if someone else now finds themselves without any on-board audio with a modern and high end motherboard, it might be worth trying to disable UCM profiles for your sound daemon (I only know how to do that with PipeWire/Wireplumber which I have attached above).
Comment 5 Niklāvs Koļesņikovs 2022-06-01 16:06:38 UTC
Oh right, the custom config needs to be placed in /etc/wireplumber/main.lua.d/51-ALC4080.lua (~/.config//wireplumber/main.lua.d/51-ALC4080.lua should also work). But note that this will only work with current and maybe one or two future WirePlumber versions at most. After that it UCM disabling will need to be redone in some other way.