<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The only thing seems to be you cannot go low latency with system
mode pulseaudio<br>
<br>
<div class="moz-cite-prefix">W dniu 10.01.2016 o 18:53, Reindl
Harald pisze:<br>
</div>
<blockquote cite="mid:56929AAD.9030106@thelounge.net" type="cite">
<br>
<br>
Am 10.01.2016 um 18:42 schrieb Tom Yan:
<br>
<blockquote type="cite">Ugh I am not talking about system units,
but user units...
<br>
<br>
P.S. Although not really relevant here, but I am using the
(user)
<br>
service file provided by upstream pulseaudio
<br>
</blockquote>
<br>
well, and i am talking about solutions and working setups
<br>
<br>
and yes i know that system-wide is not liked upstream but it's the
only real solution to have sound everytime and everywhere because
i have *zero* understanding for music stop to play just because i
switch to a root VT while i had background music servers developed
on windows 15 yaers ago
<br>
<br>
<blockquote type="cite">On 11 January 2016 at 01:30, Reindl Harald
<a class="moz-txt-link-rfc2396E" href="mailto:h.reindl@thelounge.net"><h.reindl@thelounge.net></a> wrote:
<br>
<blockquote type="cite">
<br>
<br>
Am 10.01.2016 um 18:15 schrieb Mantas Mikulėnas:
<br>
<blockquote type="cite">
<br>
I remember this discussed before, I think one suggestion was
to split
<br>
into two targets, and only hold the login until the first
target. Nobody
<br>
implemented it though.
<br>
<br>
But yes, pulseaudio.socket would be a requirement of that.
If you don't
<br>
want to wait until it starts, *and* don't want to
socket-activate it,
<br>
the third option is to live in a world of race conditions.
<br>
<br>
On Sun, Jan 10, 2016, 16:25 Tom Yan <<a class="moz-txt-link-abbreviated" href="mailto:tom.ty89@gmail.com">tom.ty89@gmail.com</a>
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:tom.ty89@gmail.com"><mailto:tom.ty89@gmail.com></a>> wrote:
<br>
<br>
So I am recently experiencing some issue with
pulseaudio (which I
<br>
already filed a bug report:
<br>
<a class="moz-txt-link-freetext" href="https://bugs.freedesktop.org/show_bug.cgi?id=93651">https://bugs.freedesktop.org/show_bug.cgi?id=93651</a>)
that it takes a
<br>
long time to start.
<br>
<br>
The thing is, I am thinking whether it exposed a
problem of systemd as
<br>
well. For example:
<br>
<br>
Jan 10 21:31:33 localhost systemd[257]: Starting Sound
Service...
<br>
Jan 10 21:31:33 localhost systemd[257]: Started D-Bus
User Message
<br>
Bus.
<br>
Jan 10 21:31:39 localhost systemd[257]: Started Sound
Service.
<br>
Jan 10 21:31:39 localhost systemd[257]: Reached target
Default.
<br>
Jan 10 21:31:39 localhost systemd[257]: Startup
finished in 5.830s.
<br>
<br>
As you can see, because of pulseaudio, it takes about 6
seconds to
<br>
reach the default target
<br>
</blockquote>
<br>
<br>
no idea how you configured you pulseaudio.service
<br>
<br>
but i can assure you that i have systems with pulseaudio as
systemwide
<br>
daemons where the whol eboot inlcuding VMware, httpd, dbmail
and two
<br>
mysql-instances takes around 18 seconds
<br>
<br>
in fact with "type=simple" it can't delay boot at all
<br>
<br>
[root@srv-rhsoft:~]$ cat
/usr/lib/systemd/system/pulsed.service
<br>
[Unit]
<br>
Description=Pulseaudio Daemon
<br>
After=rtkit-daemon.service systemd-udevd.service dbus.service
sddm.service
<br>
<br>
[Service]
<br>
Type=simple
<br>
ExecStart=-/usr/bin/pulseaudio --daemonize=false --system=true
<br>
--realtime=true --log-level=0 --log-target=stderr
<br>
--disallow-module-loading=true --disallow-exit=true
--exit-idle-time=0
<br>
--disable-shm=true --no-cpu-limit=false --use-pid-file=false
<br>
--resample-method=src-sinc-best-quality
<br>
<br>
Restart=always
<br>
RestartSec=30
<br>
TimeoutSec=15
<br>
Nice=-10
<br>
<br>
PrivateTmp=yes
<br>
PrivateNetwork=yes
<br>
<br>
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_WRITE
CAP_SYS_ADMIN
<br>
CAP_SYS_BOOT CAP_SYS_MODULE CAP_SYS_PTRACE
<br>
<br>
ReadOnlyDirectories=/etc
<br>
ReadOnlyDirectories=/usr
<br>
ReadOnlyDirectories=/var
<br>
ReadWriteDirectories=/var/lib/pulse
<br>
<br>
InaccessibleDirectories=-/boot
<br>
InaccessibleDirectories=-/home
<br>
InaccessibleDirectories=-/media
<br>
InaccessibleDirectories=-/root
<br>
<br>
<br>
[Install]
<br>
WantedBy=multi-user.target
<br>
</blockquote>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
systemd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>