[pulseaudio-discuss] pulseaudio dies randomly when not in 2.0 output

John Nunnington jnunnington at gmail.com
Mon Apr 3 06:12:31 UTC 2017


setting  /etc/pulse/default.pa with the lines below seems to fix this issue

.ifexists module-udev-detect.so
load-module module-udev-detect tsched_buffer_size=16384

realtime-scheduling was commented out and I belive the default is "no"

Many Many thanks Tanu

On Mon, Apr 3, 2017 at 6:49 AM, Tanu Kaskinen <tanuk at iki.fi> wrote:

> On Fri, 2017-03-31 at 10:14 +1300, John Nunnington wrote:
> > the process is killed.
> >
> > julie at silverstone:~$ LANG=C pulseaudio -vvvv --log-time=1 >
> > ~/pulseverbose.log>&1
> > Killed
>
> This probably happens, because pulseaudio consumes more CPU time in a
> realtime thread than the kernel allows. To work around this problem,
> you can disable realtime scheduling with this option in
> /etc/pulse/daemon.conf:
>
> realtime-scheduling = no
>
> As an alternative, you can also try reducing the buffer size (smaller
> buffer means that pulseaudio processes audio more often, but spends
> less time each time). Pass the "tsched_buffer_size" argument to module-
> udev-detect in /etc/pulse/default.pa. For example:
>
> load-module module-udev-detect tsched_buffer_size=50000
>
> The buffer size is in bytes. 50000 bytes corresponds to about 283
> milliseconds with a typical audio format.
>
> --
> Tanu
>
> https://www.patreon.com/tanuk
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20170403/c4ab9d68/attachment.html>


More information about the pulseaudio-discuss mailing list