Bug 26972 - PulseAudio should be installed with ALSA
Summary: PulseAudio should be installed with ALSA
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2020-07-20 00:40 CEST by Keith Bowes
Modified: 2021-01-09 00:22 CET (History)
5 users (show)

See Also:
Source RPM: alsa-plugins-1.1.9-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Keith Bowes 2020-07-20 00:40:30 CEST
I recently borked my system and had to reinstall, when I was reminded that PulseAudio isn't automatically installed with ALSA, despite that ALSA by default uses the PulseAudio plugin (lib{64}alsa-plugins-pulseaudio and alsa-plugins-pulse-config *are* automatically installed), so trying to use anything that outputs audio will give you an error about not being able to connect to the server.  Heck, you can't even use alsamixer.

It's not that big of a problem, as the ALSA Wiki gives an example of a ~/.asoundrc file that you can copy and paste for not using the PulseAudio plugin, but then applications that use PulseAudio directly (e.g. Firefox) still won't produce any sound (and in my experience, using `aoss` to enable sound in older OSS applications doesn't either).  Alternatively, you can manually install PulseAudio, but it doesn't seem like you should have to.

I checked the requirements of the Cauldron packages `dnf --releasever=cauldron repoquery --whatrequires pulseaudio` and it seems that it still has the problem: pulseaudio isn't a dependency of any of the aforementioned packages.

This is perhaps the cause of bug 26281 and similar, but it might not be.
Comment 1 David GEIGER 2020-07-20 07:42:29 CEST
Fixed in alsa-plugins-1.2.2-2.mga8!

lib(64)alsa-plugins-pulseaudio requires now pulseaudio.

Source RPM: (none) => alsa-plugins-1.2.2-1.mga8.src.rpm
Component: Release (media or process) => RPM Packages
CC: (none) => geiger.david68210

Comment 2 Lewis Smith 2020-07-20 21:47:07 CEST
Thanks David for the speedy resolution - for Cauldron.
But the bug was raise for Mageia 7. Will that be similarly fixed?

CC: (none) => lewyssmith
Assignee: bugsquad => geiger.david68210

Comment 3 David GEIGER 2021-01-06 13:45:32 CET
Assigning to QA,


Suggested advisory
===================================

This update added a missing dependency on pulseaudio for the alsa-plugins-pulseaudio module.

===================================


Packages in 7/core/updates_testing:
========================
libalsa-plugins-1.1.9-1.1.mga7.i586.rpm
lib64alsa-plugins-1.1.9-1.1.mga7.x86_64.rpm
alsa-plugins-doc-1.1.9-1.1.mga7.noarch.rpm
alsa-plugins-config-1.1.9-1.1.mga7.noarch.rpm
alsa-plugins-pulse-config-1.1.9-1.1.mga7.noarch.rpm
libalsa-plugins-pulseaudio-1.1.9-1.1.mga7.i586.rpm
lib64alsa-plugins-pulseaudio-1.1.9-1.1.mga7.x86_64.rpm
libalsa-plugins-jack-1.1.9-1.1.mga7.i586.rpm
lib64alsa-plugins-jack-1.1.9-1.1.mga7.x86_64.rpm
libalsa-plugins-a52-1.1.9-1.1.mga7.i586.rpm
lib64alsa-plugins-a52-1.1.9-1.1.mga7.x86_64.rpm

Source RPM:
========================
alsa-plugins-1.1.9-1.1.mga7.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 4 PC LX 2021-01-06 21:27:41 CET
Installed and tested without issues.

All sound still works so no regression noticed.


System: Mageia 7, x86_64, Intel CPU.


$ uname -a
Linux marte 5.7.19-desktop-3.mga7 #1 SMP Sun Oct 18 15:46:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | egrep 'alsa|pulseaudio' | sort
alsa-plugins-config-1.1.9-1.1.mga7
alsa-plugins-pulse-config-1.1.9-1.1.mga7
alsa-utils-1.1.9-1.mga7
lib64alsa2-1.1.9-1.mga7
lib64alsa-oss0-1.1.8-1.mga7
lib64alsa-plugins-1.1.9-1.1.mga7
lib64alsa-plugins-pulseaudio-1.1.9-1.1.mga7
lib64pulseaudio0-12.2-5.mga7
libalsa2-1.1.9-1.mga7
libalsa-data-1.1.9-1.mga7
libalsa-plugins-pulseaudio-1.1.9-1.1.mga7
libpulseaudio0-12.2-5.mga7
pulseaudio-12.2-5.mga7
pulseaudio-client-config-12.2-5.mga7
pulseaudio-module-gsettings-12.2-5.mga7
pulseaudio-module-x11-12.2-5.mga7
pulseaudio-module-zeroconf-12.2-5.mga7
pulseaudio-utils-12.2-5.mga7
qemu-audio-alsa-4.0.0-2.mga7
task-pulseaudio-2018.0-1.mga7
$ lspcidrake | grep -i audio
snd_hda_intel   : Intel Corporation|NM10/ICH7 Family High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (rev: 01)
snd_hda_intel   : NVIDIA Corporation|GP108 High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (rev: a1)

CC: (none) => mageia

Comment 5 Aurelien Oudelet 2021-01-08 17:38:35 CET
MGA7-64-OK
Validating,

In order to not have PulseAudio installed, user should only install minimal packages. Each Desktop Environments should pull PA.


Advisory pushed to SVN.

CC: (none) => ouaurelien

Aurelien Oudelet 2021-01-08 17:38:46 CET

Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => advisory, validated_update

Aurelien Oudelet 2021-01-08 17:39:11 CET

Source RPM: alsa-plugins-1.2.2-1.mga8.src.rpm => alsa-plugins-1.1.9-1.mga7.src.rpm

Comment 6 Mageia Robot 2021-01-09 00:22:50 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0006.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.