FS#79628 - [alsa-lib] 1.2.10 breaks wine 8.15

Attached to Project: Arch Linux
Opened by Igor Saric (karabaja4) - Saturday, 09 September 2023, 20:38 GMT
Last edited by David Runge (dvzrv) - Friday, 15 September 2023, 18:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Upgrading these packages:

* alsa-lib (1.2.9-1 -> 1.2.10-1)
* lib32-alsa-lib (1.2.9-1 -> 1.2.10-1)

breaks any Wine game with a sound when using pure ALSA (no pulseaudio, no pipewire).

The game does not start, and this is the error message from wine output when trying to run the game:
"Assertion failed: !status, file ../wine/dlls/mmdevapi/mmdevapi_private.h, line 69"

It also kills the Firefox sound when the game is run while Firefox is playing sound.
Tested with games: Project Diablo 2 and World Of Warcraft Vanilla 1.12.

Using Wine 8.15.

Regards,

Igor






This task depends upon

Closed by  David Runge (dvzrv)
Friday, 15 September 2023, 18:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with alsa-lib 1.2.10-2
Comment by Toolybird (Toolybird) - Saturday, 09 September 2023, 22:18 GMT
This doesn't appear to be an Arch packaging issue. Have you reported the problem upstream? Seeing as wine is the one complaining, maybe start there [1]?. But if it's a problem due to alsa-lib, upstream issues are here [2].

[1] https://wiki.winehq.org/Bugs
[2] https://github.com/alsa-project/alsa-lib/issues
Comment by Igor Saric (karabaja4) - Sunday, 10 September 2023, 20:20 GMT
I am assuming that wine needs to adjust to ALSA changes rather than other way around so I reported this to the Wine upstream:

https://bugs.winehq.org/show_bug.cgi?id=55546
Comment by BetaRays (BetaRays) - Friday, 15 September 2023, 17:41 GMT
This is an alsa-lib bug, specifically from the 1.2.10 release. This will affect any 32bit application (which are most often encountered through Wine, but a 32bit Linux build of a game using ALSA will also segfault).

This has been fixed in this alsa commit, which can be applied on top of the 1.2.10 release with git without any conflicts:
https://github.com/alsa-project/alsa-lib/commit/0e3dfb9f705ca78be34cd70fd59d67c431e29cc7
Comment by David Runge (dvzrv) - Friday, 15 September 2023, 18:50 GMT
@karabaja4: Thanks for the ticket!
@BetaRays: Thanks for pointing to the relevant upstream commit.

I'll apply this in a pkgrel bump. These types of breakages in patch level releases of ALSA are unfortunately nothing out of the ordinary.

Loading...