Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718106 - media-libs/alsa-lib-1.2.2: Breaks many games due to device reordering bug
Summary: media-libs/alsa-lib-1.2.2: Breaks many games due to device reordering bug
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: https://github.com/alsa-project/alsa-...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-04-18 21:33 UTC by Alan Swanson
Modified: 2020-05-02 17:12 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Swanson 2020-04-18 21:33:25 UTC
Games using Unity and/or FMOD EX are failing with alsa-lib-1.2.2 due to a change in device ordering as reported in upstream ALSA bug 27 (and that will never be fixed by games or especially FMOD EX as it's way past rigor-mortis). May only be affecting systems using ALSA directly and not Pulseaudio.

Following two upstream commits need to be patched to alsa-lib-1.2.2 (until 1.2.2.1 or 1.2.3 is released).

conf: change the order of PCM devices in alsa.conf
https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=27c7927842a691ef13724cd16fb26264680c6aa2

conf: namehint - add omit_noargs to the hint section
https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=09e78da4cade7b8fecb8f36717b85c456f2e5487
Comment 1 Larry the Git Cow gentoo-dev 2020-05-02 17:12:24 UTC
The bug has been closed via the following commit(s):

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

commit bfc291932bcbb73cce8aebf8d522778e1a417b1b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-02 15:01:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-02 17:11:39 +0000

    media-libs/alsa-lib: Fix PCM device reordering bug
    
    Thanks-to: Alan Swanson <reiver@improbability.net>
    Closes: https://bugs.gentoo.org/718106
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/alsa-lib/alsa-lib-1.2.2-r1.ebuild       |  83 ++++++++++++++++
 ...lsa-lib-1.2.2-change-order-of-pcm-devices.patch |  80 +++++++++++++++
 .../alsa-lib-1.2.2-namehint-add-omit_noargs.patch  | 108 +++++++++++++++++++++
 3 files changed, 271 insertions(+)