[sf-lug] THIS SUNDAY, May 3, 11 AM, SF-LUG ZOOM vrtual meeting
Alex Kleider
akleider at sonic.net
Sun May 3 18:32:51 PDT 2020
On 2020-05-03 18:19, jim wrote:
> note in your output of ps aux that the owner
> of pulseaudio --daemon=no is alex and not
> gdm.
In the spirit of staying 'lean' I used xdm rather than gdm.
I was under the impression that it is gnome that leaves the large foot
print.
Am I wrong?
a
>
>
> here's my /etc/pulse/client.conf
>
> root at Ultralap-6440:~# cat /etc/pulse/client.conf
> # This file is part of PulseAudio.
> #
> # PulseAudio is free software; you can redistribute it and/or modify
> # it under the terms of the GNU Lesser General Public License as
> published by
> # the Free Software Foundation; either version 2 of the License, or
> # (at your option) any later version.
> #
> # PulseAudio is distributed in the hope that it will be useful, but
> # WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> # General Public License for more details.
> #
> # You should have received a copy of the GNU Lesser General Public
> License
> # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
>
> ## Configuration file for PulseAudio clients. See pulse-client.conf(5)
> for
> ## more information. Default values are commented out. Use either ; or
> # for
> ## commenting.
>
> ; default-sink =
> ; default-source =
> ; default-server =
> ; default-dbus-server =
>
> ; autospawn = yes
> ; daemon-binary = /usr/bin/pulseaudio
> ; extra-arguments = --log-target=syslog
>
> ; cookie-file =
>
> ; enable-shm = yes
> ; shm-size-bytes = 0 # setting this 0 will use the system-default,
> usually 64 MiB
>
> ; auto-connect-localhost = no
> ; auto-connect-display = no
>
>
>
> heres my /etc/pulse/daemon.conf
>
> root at Ultralap-6440:~# cat /etc/pulse/daemon.conf
> # This file is part of PulseAudio.
> #
> # PulseAudio is free software; you can redistribute it and/or modify
> # it under the terms of the GNU Lesser General Public License as
> published by
> # the Free Software Foundation; either version 2 of the License, or
> # (at your option) any later version.
> #
> # PulseAudio is distributed in the hope that it will be useful, but
> # WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> # General Public License for more details.
> #
> # You should have received a copy of the GNU Lesser General Public
> License
> # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
>
> ## Configuration file for the PulseAudio daemon. See
> pulse-daemon.conf(5) for
> ## more information. Default values are commented out. Use either ; or
> # for
> ## commenting.
>
> ; daemonize = no
> ; fail = yes
> ; allow-module-loading = yes
> ; allow-exit = yes
> ; use-pid-file = yes
> ; system-instance = no
> ; local-server-type = user
> ; enable-shm = yes
> ; enable-memfd = yes
> ; shm-size-bytes = 0 # setting this 0 will use the system-default,
> usually 64 MiB
> ; lock-memory = no
> ; cpu-limit = no
>
> ; high-priority = yes
> ; nice-level = -11
>
> ; realtime-scheduling = yes
> ; realtime-priority = 5
>
> ; exit-idle-time = 20
> ; scache-idle-time = 20
>
> ; dl-search-path = (depends on architecture)
>
> ; load-default-script-file = yes
> ; default-script-file = /etc/pulse/default.pa
>
> ; log-target = auto
> ; log-level = notice
> ; log-meta = no
> ; log-time = no
> ; log-backtrace = 0
>
> ; resample-method = speex-float-1
> ; avoid-resampling = false
> ; enable-remixing = yes
> ; remixing-use-all-sink-channels = yes
> ; enable-lfe-remixing = no
> ; lfe-crossover-freq = 0
>
> flat-volumes = no
>
> ; rlimit-fsize = -1
> ; rlimit-data = -1
> ; rlimit-stack = -1
> ; rlimit-core = -1
> ; rlimit-as = -1
> ; rlimit-rss = -1
> ; rlimit-nproc = -1
> ; rlimit-nofile = 256
> ; rlimit-memlock = -1
> ; rlimit-locks = -1
> ; rlimit-sigpending = -1
> ; rlimit-msgqueue = -1
> ; rlimit-nice = 31
> ; rlimit-rtprio = 9
> ; rlimit-rttime = 200000
>
> ; default-sample-format = s16le
> ; default-sample-rate = 44100
> ; alternate-sample-rate = 48000
> ; default-sample-channels = 2
> ; default-channel-map = front-left,front-right
>
> ; default-fragments = 4
> ; default-fragment-size-msec = 25
>
> ; enable-deferred-volume = yes
> deferred-volume-safety-margin-usec = 1
> ; deferred-volume-extra-delay-usec = 0
>
>
> and here's gdm in /etc/passwd
> root at Ultralap-6440:~# grep gdm /etc/passwd
> gdm:x:121:125:Gnome Display Manager:/var/lib/gdm3:/bin/false
>
>
> I can't find a file in /etc/* that starts up pulse.
> I tried
> # grep pulse /etc/rc*.d/*
> <nothing>
> and I tried
> # grep pulse /etc/init.d/*
> <nothing>
>
>
>
> On 5/3/20 5:28 PM, Alex Kleider wrote:
>> On 2020-05-03 15:58, jim wrote:
>>> Jim's notes re PulseAudio:
>>>
>>>
>>> PulseAudio ("pulse") was news to me, thank you.
>>> The docs on the web page seem well-written to me.
>>>
>>> https://www.freedesktop.org/wiki/Software/PulseAudio/
>>> https://www.freedesktop.org/wiki/Software/PulseAudio/About/
>>>
>>>
>>> Here's how it looks on my system:
>>>
>>> root at Ultralap-6440:~# ls -l /etc/pulse
>>> total 20
>>> -rw-r--r-- 1 root root 1201 May 21 2018 client.conf
>>> -rw-r--r-- 1 root root 2366 May 21 2018 daemon.conf
>>> -rw-r--r-- 1 root root 5091 May 21 2018 default.pa
>>> -rw-r--r-- 1 root root 2046 May 21 2018 system.pa
>>>
>>> root at Ultralap-6440:~# ps aux | grep ulse
>>> gdm 1175 0.0 0.0 1415668 11308 ? Ssl Apr29 0:00
>>> /usr/bin/pulseaudio --daemonize=no
>>> jim 1630 2.4 0.1 2483320 18936 ? S<l Apr29 142:19
>>> /usr/bin/pulseaudio --start --log-target=syslog
>>> root 23512 0.0 0.0 21536 1088 pts/0 S+ 15:39 0:00 grep
>>> --color=auto ulse
>>>
>>> root at Ultralap-6440:~# ls /usr/bin/*ulse*
>>> /usr/bin/pulseaudio /usr/bin/start-pulseaudio-x11
>>>
>>> root at Ultralap-6440:~# man pulseaudio
>>
>> I can't seem to get "pulseaudio --start" to work:
>> alex at x1:~$ ls -lA /etc/pulse
>> total 24
>> -rw-r--r-- 1 root root 1201 Aug 15 2019 client.conf
>> drwxr-xr-x 2 root root 4096 Apr 21 17:50 client.conf.d
>> -rw-r--r-- 1 root root 2374 Aug 15 2019 daemon.conf
>> -rw-r--r-- 1 root root 4933 Aug 15 2019
>> default.pa -13
>> -rw-r--r-- 1 root root 2078 Aug 15 2019 system.pa
>> alex at x1:~$ ps aux | grep ulse
>> alex 1492 1.0 0.6 650092 27420 ? S<sl May02 15:45
>> /usr/bin/pulseaudio --daemonize=no
>> alex 5825 0.0 0.0 6076 892 pts/0 S+ 17:19 0:00 grep
>> ulse
>> alex at x1:~$ which pulseaudio
>> /usr/bin/pulseaudio
>> alex at x1:~$ pulseaudio --start
>> alex at x1:~$ ps aux | grep ulse
>> alex 1492 1.0 0.6 650092 27420 ? S<sl May02 15:45
>> /usr/bin/pulseaudio --daemonize=no
>> alex 5944 0.0 0.0 6076 824 pts/0 S+ 17:21 0:00 grep
>> ulse
>>
>> I expect to soon give up this endeavor and turn to antiX or mxlinux
>> (as suggested _but not advocated_ by Rick:-)
More information about the sf-lug
mailing list