Bug 12507 - Pulseaudio missing from cinnamon
Summary: Pulseaudio missing from cinnamon
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Joseph Wang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 00:18 CET by Răzvan Rotaru
Modified: 2014-05-26 14:11 CEST (History)
4 users (show)

See Also:
Source RPM: task-cinnamon-minimal
CVE:
Status comment:


Attachments

Description Răzvan Rotaru 2014-02-02 00:18:24 CET
Description of problem:

I did a fresh installation of Mageia 4, with Cinnamon Desktop as only selected option to install (all other options were disabled, including "Individual Selection of Packages"), and noticed that sound was not working. After some investigation I found out that pulseaudio package was not installed at all. After I installed it the sound was working fine. It looks like the problem was that pulseaudio was not selected as a dependency of cinnamon (in my case it's task-cinnamon-minimal).


Version-Release number of selected component (if applicable):
Mageia 4

How reproducible:


Steps to Reproduce:
1. Start fresh install of Mageia 4
2. At desktop selection screen choose "Custom"
3. At software selection screen deselect anything, and select "Cinnamon" as desktop environment. Leave "Individual Package Selection" unchecked.
4. Finish the installation, leave all configurations to their default values.
5. Start the newly installed Mageia, check sound => not working
6. Verify that pulseaudio package is installed => not installed


Reproducible: 

Steps to Reproduce:
Sander Lepik 2014-02-02 11:15:23 CET

CC: (none) => mageia
Assignee: bugsquad => joequant

Comment 1 Rémi Verschelde 2014-02-10 15:21:51 CET
I confirm the bug on Mageia 4 i586.

Classical installer with only Cinnamon selected as DE, no sound at all.
Cinnamon's sound applet can't be started:

[akien@mga4-32 ~]$ cinnamon-sound-applet 
(cinnamon-sound-applet:2610): sound-cc-panel-WARNING **: Failed to connect context: Connection refused

The Cinnamon control center shows no available device.

--

I noticed that installing pulseaudio, and afterwards uninstalling pulseaudio fixes the issue. The sound applet can then be started and works, the devices are shown in the control center, and alsamixer can start. It's broken again after a reboot (since pulseaudio is not available), but maybe there's something to look into. Though pulseaudio could simply be added to task-cinnamon-minimal as a Requires, shouldn't we be able to have sound with alsa and no pulseaudio?

CC'ing Colin for this last question.

CC: (none) => mageia, remi
Hardware: x86_64 => All

Comment 2 Colin Guthrie 2014-02-10 15:30:40 CET
So the Cinnamon sound applet seems to require PA (hence the installing, then uninstalling PA temporary "fix").

I thought PA was pretty much pulled in with everything these days? Perhaps not, but where ever it's required in other DE's it should certainly be replicated with cinnamon. It might just be a missing require somewhere or perhaps it is in rpmsrate?
Comment 3 Joseph Wang 2014-02-10 15:37:46 CET
I'd much rather put into into meta-task rather than task-cinnamon, the reason being that I'd like to be able to do a no-sound installation for cloud computing.

How does mate handle this?
Comment 4 Rémi Verschelde 2014-02-10 15:41:54 CET
From what I've checked task-pulseaudio is a Suggests in task-kde4-minimal and a Requires in task-mate-minimal.

If you want a no-sound installation you can maybe add it as a Suggests in task-mate-minimal, and install with --no-suggests (or remove it after install)?
Comment 5 Joseph Wang 2014-02-10 15:45:58 CET
I'll put it as a suggests in task-cinnamon-minimal then.
Comment 6 Colin Guthrie 2014-02-10 16:06:52 CET
(In reply to Joseph Wang from comment #3)
> I'd much rather put into into meta-task rather than task-cinnamon, the
> reason being that I'd like to be able to do a no-sound installation for
> cloud computing.

Just out of curiosity (I think the solution in comment 5 is the correct one), how much use is a no-sound install for cloud stuff in relation to a desktop env? I'm guessing you *are* installing cinnamon in such environments, so I'm guessing also that you are doing some remote desktop type thing? In such a scenario, some applications may fail (and fail hard) when no sound "hardware" is found. In this type of situation, installing PulseAudio would be the likely solution as it will automatically create a "Dummy Output" when no hardware (or no access to hardware) is detected.

So to make sure apps "work" when in such environments, PA is likely desirable anyway!
Comment 7 Joseph Wang 2014-02-11 05:57:29 CET
I just put in a suggests pulseaudio into task-cinnamon-minimal in cauldron.  

One of the use cases that I'm working on is a remote appliance with a nice desktop but with only a limited number of apps.  So I'd like to be able to install cinnamon without forcing pulseaudio.  However putting it in as a suggests would work out, I think.
Răzvan Rotaru 2014-03-17 20:49:01 CET

CC: (none) => razvan.rotaru

Comment 8 Joseph Wang 2014-04-18 15:30:52 CEST
I've push a fix to updates_testing, can someone check to see that works?
Comment 9 Joseph Wang 2014-05-26 14:11:02 CEST
Fixed in cauldron.  Backported to Mageia 4 with fix to bug 12560.

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


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