Hi all,
just doing some configuring on my desktop pc that had Ubuntu Studio 12.04 (32-bit) and is now running Ubuntu Studio 16.04 (64-bit) (!).. go figure!
Anyways,
I've been getting some small audio glitches (no xruns however), and I was thinking of removing PulseAudio. But purging it also seems to require installing other pulseaudio files instead!
Here's what I got:
brian@brian-BM5242-BM5342-BM5642:~/realtimeconfigquickscan$ sudo apt-get purge pulseaudio
[sudo] password for brian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dleyna-server gnome-control-center gnome-control-center-data
gnome-online-accounts gnome-settings-daemon iio-sensor-proxy libaudit1:i386
libcap2:i386 libcolord-gtk1 libdleyna-connector-dbus-1.0-1
libdleyna-core-1.0-3 libfftw3-single3:i386 libgoa-backend-1.0-1
libgomp1:i386 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libpam-systemd:i386
libpam0g:i386 libpulsedsp:i386 libtdb1:i386
libwebrtc-audio-processing-0:i386 libxtst6:i386 pulseaudio:i386
pulseaudio-module-x11:i386 pulseaudio-utils:i386 realmd rtkit:i386
Suggested packages:
libfftw3-bin:i386 libfftw3-dev:i386 libpam-doc:i386 pavumeter:i386
pavucontrol:i386 paman:i386 paprefs:i386
The following packages will be REMOVED:
indicator-sound* mixxx* osspd* osspd-pulseaudio* pulseaudio*
pulseaudio-module-jack* pulseaudio-module-x11* pulseaudio-utils* rtkit*
ubuntustudio-audio* unity-control-center* unity-control-center-signon*
The following NEW packages will be installed:
dleyna-server gnome-control-center gnome-control-center-data
gnome-online-accounts gnome-settings-daemon iio-sensor-proxy libaudit1:i386
libcap2:i386 libcolord-gtk1 libdleyna-connector-dbus-1.0-1
libdleyna-core-1.0-3 libfftw3-single3:i386 libgoa-backend-1.0-1
libgomp1:i386 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libpam-systemd:i386
libpam0g:i386 libpulsedsp:i386 libtdb1:i386
libwebrtc-audio-processing-0:i386 libxtst6:i386 pulseaudio:i386
pulseaudio-module-x11:i386 pulseaudio-utils:i386 realmd rtkit:i386
0 upgraded, 27 newly installed, 12 to remove and 0 not upgraded.
Need to get 7.296 kB of archives.
After this operation, 15,3 MB of additional disk space will be used.
Not sure about that, cause I have stopped using Ubuntu years ago now. However, the pulseaudio package has many components and dependencies. It seems that a lot of these components are needed as dependencies from other packages present on your system. As such, apt cannot get rid of them and it will refuse to uninstall them. The only components packages marked for removal are then the ones on which nobody else depends on your system. That is my take on it.
CrocoDuck wrote:Not sure about that, cause I have stopped using Ubuntu years ago now. However, the pulseaudio package has many components and dependencies. It seems that a lot of these components are needed as dependencies from other packages present on your system. As such, apt cannot get rid of them and it will refuse to uninstall them. The only components packages marked for removal are then the ones on which nobody else depends on your system. That is my take on it.
That's pretty much my understanding, too. Maybe getting rid of pulseaudio-moduleX11 will resolve it..
briandc wrote:
So does this mean I should purge pulseaudio-module-x11 also? Is that ok or will it give other problems?
I guess you can try it. If that component is needed by your system I guess apt will refuse to uninstall it... But I would search first what the packages does. Maybe it is actually being useful to you in some way...
To be honest I guess apt will complain: it looks like the sort of package it is pulled in as a dependency. If so, you cannot get rid of it without breaking some other package.
Maybe it is wise to post here the output of apt before giving the go to the purge. I don't really want to advice you into breaking audio on your machine...
Why not simply disable PulseAudio? This allows you to rely only on Alsa and Jack for your whole system without the risk of breaking it by involuntarily purging essential packages.
Optionally, you can then install QasMixer and the other Qas tools if needed.
# apt-get purge pulseaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mate-media-gstreamer mate-settings-daemon-gstreamer
The following packages will be REMOVED:
libcanberra-pulse* mate-media-pulse* mate-settings-daemon-pulse*
mint-meta-mate* pulseaudio* pulseaudio-module-bluetooth*
pulseaudio-module-x11*
The following NEW packages will be installed:
mate-media-gstreamer mate-settings-daemon-gstreamer
barbouze wrote:Why not simply disable PulseAudio? This allows you to rely only on Alsa and Jack for your whole system without the risk of breaking it by involuntarily purging essential packages.
Optionally, you can then install QasMixer and the other Qas tools if needed.
Thank you for the tips! I changed the spawn = yes into spawn = no and then killed pulseaudio. Seems to work fine that way, so I guess I can manage Pulse that way for now.
Personally, I resolve all my issue with pulseaudio by using "cadence" .
Some application need pulse-audio and nothing else to work (with audio, of course). Also resolve web browser's issues.
Xzu Rukneg wrote:Personally, I resolve all my issue with pulseaudio by using "cadence" .
Some application need pulse-audio and nothing else to work (with audio, of course). Also resolve web browser's issues.
Thanks for the tip! I'll try that next time. I haven't explored Cadence all that much yet, but it sounds like a good suggestion-- in particular with regards to web browser audio.
Yes, thanks! At least I have PulseAudio not auto-spawning anymore. I still haven't delved into Cadence (although I have in the past), so that's something on my to-do list now. It might be just what I need to kind of "speed up" the workflow a bit, too..
Personally I always use ALSA->JACK(plugin) bridge, and start pulse audio only when needed (for some web site and few apps, likes games).
All run like if I got a standard alsa-sound card, but I've a firewire one and jack!