Update: NoiseTorch now also needs to either elevate to root or CAP_SYS_RESOURCE
. This is necessary because it temporarily needs to lift the max realtime timeout rlimit (RLIMIT_RTTIME
) on pulseaudio.
The reason is that pulseaudio dlopen()
's the shared object when already under real-time contraints, this leads to the Kernel SIGKILL
ing pulseaudio for some users. I do not see another way to solve this other than temporarily removing the rlimit on Pulse, which is currently done by spawning a separate process with pkexec
.
According to this thread this is currently unsupported, which, if so means this request can be removed, as a snap package is not possible in that case.