The officially official Devuan Forum!

You are not logged in.

#1 2021-11-02 11:44:07

bai4Iej2need
Member
From: Ortenau
Registered: 2021-04-25
Posts: 98  

[SOLVED] linphone alsa removing libpulse-mainloop-glib0 breaks mate

I tried to follow
https://dev1galaxy.org/viewtopic.php?id=3904
Having a problem debugging linphone, because no microphone sound,
according this
https://wiki.ubuntuusers.de/linphone/
Linphone 🇬🇧 🇫🇷 ist ein SIP-basiertes, videofähiges Internet-Telefon mit einer GTK+-Oberfläche, das die Soundarchitektur ALSA nutzt.

I discovered that linphone uses pulse libraries same as mate-setting and mate-volume and firefox-esr and chromium

long story short result : trying to remove these libraries breaks task-mate-desktop, Docs below

a) what are the consequences of having these package in the system but not pulseaudio server ?
b) How can I avoid that progs such as linphone , firefox, chromium search to attach to a pulseaudio subsystem and use only alsa?
c) or is some configuration possible to hide the pulse libraries
d) is it a bug  or "it is a bug!" ?

I still have package libpulse0 in my system.
I still have package libpulse-mainloop-glib0 in my system.

apt-file search libpulsecommon
libpulse0: /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so

aptitude remove libpulse0
The following packages will be REMOVED:  
  libpulse0 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 994 kB will be freed.
The following packages have unmet dependencies:
 libsphinxbase3 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libfluidsynth2 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 chromium-shell : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmediastreamer11 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 mumble : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libavdevice58 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libasound2-plugins : Depends: libpulse0 (>= 0.99.1-1~) but it is not installable
 chromium : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libpulse-mainloop-glib0 : Depends: libpulse0 (= 14.2-2) but it is not installable
 libqt5multimedia5 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 gstreamer1.0-plugins-good : Depends: libpulse0 (>= 2.0) but it is not installable
 libsdl2-2.0-0 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 mate-settings-daemon : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmatemixer0 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libsdl1.2debian : Depends: libpulse0 (>= 0.99.1) but it is not installable
 libmikmod3 : Depends: libpulse0 (>= 0.99.1) but it is not installable
 vlc-plugin-base : Depends: libpulse0 (>= 1.0) but it is not installable
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libpulse0 [14.2-2 (now, stable)]                   

Accept this solution? [Y/n/q/?] q

lsof +c12 | grep libpulse                                                                                          :(
mate-setting  2785                            md  mem       REG                8,1     18424    1315457 /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.6
mate-setting  2785                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
mate-setting  2785                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 18 lines beginning mate-setting
mate-volume-  2846                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
mate-volume-  2846                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
mate-volume-  2846                            md  mem       REG                8,1     18424    1315457 /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0.0.6
a total of 12 lines beginning  mate-volume- 
firefox-esr  18427                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
firefox-esr  18427                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 118 lines beginning firefox-esr
linphone     20290                            md  mem       REG                8,1    534728    1315671 /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-14.2.so
linphone     20290                            md  mem       REG                8,1    338992    1314408 /usr/lib/x86_64-linux-gnu/libpulse.so.0.23.0
a total of 22 lines beginning linphone

aptitude remove apulse
Die folgenden Pakete werden ENTFERNT:               
  apulse 
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 164 kB frei werden.

Entfernen von apulse:amd64 (0.1.13-1) ...
Trigger für man-db (2.9.4-2) werden verarbeitet ...

aptitude remove libpulse-dev  5,43s user 0,95s system 82% cpu 7,778 total
root@lenovo-R500 /etc/apt/preferences.d (git)-[master] # aptitude remove libpulse-mainloop-glib0:amd64 
Die folgenden Pakete werden ENTFERNT:               
  libpulse-mainloop-glib0 
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 86,0 kB frei werden.
Die folgenden Pakete haben verletzte Abhängigkeiten: dependencies broken
 libmatemixer0 : Hängt ab von: libpulse-mainloop-glib0 (>= 0.99.1) but it is not going to be installed
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Beibehalten der folgenden Pakete in ihrer aktuellen Version:  keep package
1)     libpulse-mainloop-glib0 [14.2-2 (now, stable)]            

Diese Lösung akzeptieren? [Y/n/q/?] q
Alle Anstrengungen, diese Abhängigkeiten aufzulösen, aufgegeben.
Abbruch.
1 root@host /etc/apt/preferences.d (git)-[master] # aptitude remove libpulse-mainloop-glib0 libmatemixer0:amd64 libmatemixer-common                                    :(
Die folgenden Pakete werden ENTFERNT:               
  libmatemixer-common libmatemixer0 libpulse-mainloop-glib0 
0 Pakete aktualisiert, 0 zusätzlich installiert, 3 werden entfernt und 1 nicht aktualisiert.
0 B an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 1.142 kB frei werden.
Die folgenden Pakete haben verletzte Abhängigkeiten:
 mate-media : Hängt ab von: libmatemixer0 (>= 1.10.0) but it is not going to be installed
 mate-settings-daemon : Hängt ab von: libmatemixer0 (>= 1.10.0) but it is not going to be installed
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Entfernen der folgenden Pakete: remove the following packages
1)     mate-control-center [1.24.1-1 (now, stable)]            
2)     mate-desktop-environment [1.24.0+4 (now, stable)]       
3)     mate-desktop-environment-core [1.24.0+4 (now, stable)]  
4)     mate-desktop-environment-extra [1.24.0+4 (now, stable)] 
5)     mate-desktop-environment-extras [1.24.0+4 (now, stable)]
6)     mate-media [1.24.1-1 (now, stable)]                     
7)     mate-settings-daemon [1.24.1-1 (now, stable)]           
8)     task-mate-desktop [3.68+devuan4 (now, stable)]          

Diese Lösung akzeptieren? [Y/n/q/?] q

Last edited by bai4Iej2need (2021-11-03 12:20:30)


The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390

Offline

#2 2021-11-02 16:38:56

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] linphone alsa removing libpulse-mainloop-glib0 breaks mate

bai4Iej2need wrote:

a) what are the consequences of having these package in the system but not pulseaudio server ?

None whatsoever. If pulseaudio is not started then the libraries will not be used.

bai4Iej2need wrote:

b) How can I avoid that progs such as linphone , firefox, chromium search to attach to a pulseaudio subsystem and use only alsa?

The programs will use whichever sound system is available. I know Devuan's FF & Chromium works just fine without PA but I haven't tried linphone. The only potential issue would be for multiple audio sources playing at the same time, which can be tricky to manage with pure ALSA.

bai4Iej2need wrote:

d) is it a bug

No.

And in future please use code tags when posting terminal output and please prepend all commands with LC_ALL=C to make them output in English. Thanks.


Brianna Ghey — Rest In Power

Offline

Board footer