Mint17 Cinnamon - How can I replace Pulse Audio with ALSA?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help

Mint17 Cinnamon - How can I replace Pulse Audio with ALSA?

Postby BrunoMiranda on Sun Jun 22, 2014 2:55 pm

Hi folks!

Although Pulse Audio is working fine, I'd like to purge it and replace it with ALSA. The thing is that if I try to uninstall Pulse Audio, apt tells me that Cinnamon will be uninstalled too!

sudo apt purge pulseaudio*

The following packages will be uninstalled:
cinnamon* cinnamon-bluetooth* cinnamon-control-center* cinnamon-screensaver*
gstreamer0.10-pulseaudio* gstreamer1.0-pulseaudio* libcanberra-pulse* nemo*
nemo-fileroller* nemo-share* pulseaudio* pulseaudio-module-bluetooth*
pulseaudio-module-x11* pulseaudio-utils*


Of course the Cinnamon desktop and Nemo are basic needed features... So I is there a way I can purge Pulse Audio and replace it with ALSA without breaking the system?
Thanks!
Bye for now,
Bruno


(Always backup before you fvckup :mrgreen: )
BrunoMiranda
Level 3
Level 3
 
Posts: 100
Joined: Thu Jun 24, 2010 2:22 pm

Linux Mint is funded by ads and donations.
 

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby crossroads on Sat Jun 28, 2014 2:44 pm

Hello,
Follow this link. It may help. viewtopic.php?f=42&t=70675

Granted it is dated to Mint 10, (May work with earlier or later versions, not tested.)

Not sure why you can't have Pulse Audio + ALSA. Just run ALSA on the front end. From http://askubuntu.com/questions/157931/u ... -with-alsa




This seems to work, though you must understand that it isn't replacing pulseaudio with alsa but just removing pulseaudio(the front-end).

sudo apt-get autoremove pulseaudio

However alsa still needs a graphical user interface for you to easily communicate with it say goodbye to the easy integrated indicator that Ubuntu comes with

sudo apt-get install gnome-alsamixer
LinuxMint 17.1 (rebecca) Lenovo X140e. AMD A4-5000 APU with Radeon(TM) HD Graphics. 800.000 MHz.
“O snail
Climb Mount Fuji
But slowly, slowly!”
― Kobayashi Issa
User avatar
crossroads
Level 2
Level 2
 
Posts: 92
Joined: Sat Apr 26, 2014 5:48 pm

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby Flemur on Sat Jun 28, 2014 3:09 pm

Edit: The easiest & safest thing would probably be to not have pulseaudio start at boot - see the 'startup manager' or whatever it's called. You might have reconfigure alsa afterwards, or change the audio settings on your audio apps. (You don't really 'replace' pulse with alsa; pulse uses alsa, and without pulse the apps talk to alsa directly, w/o going thru pulse).
FWIW, I've done what you're describing a couple of times, but could uninstall pulseaudio without problems...and I also end up reinstalling it. (pulse lets you play more than one sound at a time, and it's easy to do 'record what I hear').

sudo apt purge pulseaudio*
The following packages will be uninstalled:
cinnamon* cinnamon-bluetooth* cinnamon-control-center* cinnamon-screensaver* ...


That's kinda bogus.

Try
$ sudo apt-get remove pulseaudio
(not purge, no '*')
Or, in synaptic, try unmarking the things you want to keep.
Mint 17.3 Xfce/fluxbox/pulse-less - Xubuntu 15.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
User avatar
Flemur
Level 8
Level 8
 
Posts: 2392
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby BrunoMiranda on Mon Jun 30, 2014 10:47 am

Hey Flemur, thanks for your kind help!

Try
$ sudo apt-get remove pulseaudio
(not purge, no '*')
Or, in synaptic, try unmarking the things you want to keep.



It still wants to remove:

cinnamon cinnamon-bluetooth cinnamon-control-center cinnamon-screensaver
libcanberra-pulse nemo nemo-fileroller nemo-share pulseaudio
pulseaudio-module-bluetooth pulseaudio-module-x11


Yes, it seems to be bogus, yes...


Ah well, I guess I can always keep Pulseaudio, it's working fine and this is not critical at all.
I just thought other people would want to do this too and we might help out.
Bye for now,
Bruno


(Always backup before you fvckup :mrgreen: )
BrunoMiranda
Level 3
Level 3
 
Posts: 100
Joined: Thu Jun 24, 2010 2:22 pm

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby ibrahimansari on Sun Nov 01, 2015 1:20 am

BrunoMiranda wrote:Hey Flemur, thanks for your kind help!

Try
$ sudo apt-get remove pulseaudio
(not purge, no '*')
Or, in synaptic, try unmarking the things you want to keep.



It still wants to remove:

cinnamon cinnamon-bluetooth cinnamon-control-center cinnamon-screensaver
libcanberra-pulse nemo nemo-fileroller nemo-share pulseaudio
pulseaudio-module-bluetooth pulseaudio-module-x11

Ah. Crazy. :wink:
Yes, it seems to be bogus, yes...


Ah well, I guess I can always keep Pulseaudio, it's working fine and this is not critical at all.
I just thought other people would want to do this too and we might help out.
ibrahimansari
Level 1
Level 1
 
Posts: 16
Joined: Sun Aug 03, 2014 3:15 am

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby Hoser Rob on Sun Nov 01, 2015 9:54 am

No, you shouldn't purge pulseaudio. This is from a blog by a ubuntu dev:

http://voices.canonical.com/david.henni ... our-audio/

which has some hints as to how to disable pulse instead of removing it.

I used to use cinnamon and never ever had any problems with pulseaudio. It sounded great out of the box (as it did with mint 17 xfce which replaced it). The only thing I do is to make sure all pulse & alsa default sample rates are 44.1K so my music doesn't get resampled.

Alsa is basically the kernel level of linux audio. Pulse (or any other layer like OSS) is on top of that layer. Linux audio has too many layers.
Hoser Rob
Level 5
Level 5
 
Posts: 804
Joined: Sat Dec 15, 2012 8:57 am

Re: Mint17 Cinnamon - How can I replace Pulse Audio with ALS

Postby BrunoMiranda on Sun Nov 01, 2015 12:53 pm

I keep Pulseaudio on my main machine mostly because of Skype, because (correct me if I'm wrong or outdated) Skype does not support Alsa anymore. So, if you want to use Skype, you need to have Pulseaudio.

My personal opinion, nothing wrong with it. I just wanted to remove it because Alsa seems to perform better and has a coat with less onion-layers.

This performance issue is not a problem on my beefier i3 machine, but on my soon-to-be-retired Intel Classmate with a Celeron 900MHz CPU, I could tell the difference between having a jerky experience with Pulseaudio and a just fine one with Alsa. Hence this post.

Now on my "new" "fix-it-and-you-can-keep-it" Acer Aspire One, with a Intel Atom N280 CPU, I'm running LMDE2 Betsy MATE edition with Pulseadio kicked out. I've installed Skype on it but with Alsa I had no sound, microphone or camera detected on Skype, so I've done the right thing - purged Skype! :lol:
Bye for now,
Bruno


(Always backup before you fvckup :mrgreen: )
BrunoMiranda
Level 3
Level 3
 
Posts: 100
Joined: Thu Jun 24, 2010 2:22 pm

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: bade, jjmk1 and 7 guests