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

Tanu Kaskinen tanuk at iki.fi
Sun Apr 2 18:49:31 UTC 2017


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


More information about the pulseaudio-discuss mailing list