pw-jack: jack_client_create_thread does not create realtime threads
Version: master
Description of Problem:
pipewire-jack's implementation of jack_client_create_thread
(here) ignores the realtime
and priority
arguments, and instead just creates a non-RT pthread.
This completely breaks realtime scheduling for clients that create auxiliary audio processing threads through JACK APIs, like Ardour's DSP threads.
How Reproducible: Always
Steps to Reproduce:
- Run ardour under pw-jack
- Look at the RT threads (e.g. in htop)
Actual Results:
No RT priority. xruns galore when the system is under any load.
Expected Results:
Ardour RT threads acquire RT priority.