2016-11-12 22:55:05 |
Be |
description |
Looking at Mixxx's threads in htop, all of them have a priority of 0, except one which has a priority of -83. I presume the one with -83 is the audio callback thread. I added a line to the /etc/security/limits.d/95-jack.conf file that comes with the JACK package on Fedora to give my user permission to prioritize:
@jackuser - nice -20
I can renice threads after Mixxx starts so it is not a permission issue.
http://doc.qt.io/qt-4.8/qthread.html#setPriority :
The effect of the priority parameter is dependent on the operating system's scheduling policy. In particular, the priority will be ignored on systems that do not support thread priorities (such as on Linux, see http://linux.die.net/man/2/sched_setscheduler for more details). |
Looking at Mixxx's threads in htop, all of them have a priority of 20, except one which has a priority of -83. I presume the one with -83 is the audio callback thread. I added a line to the /etc/security/limits.d/95-jack.conf file that comes with the JACK package on Fedora to give my user permission to prioritize:
@jackuser - nice -20
I can renice threads after Mixxx starts so it is not a permission issue.
http://doc.qt.io/qt-4.8/qthread.html#setPriority :
The effect of the priority parameter is dependent on the operating system's scheduling policy. In particular, the priority will be ignored on systems that do not support thread priorities (such as on Linux, see http://linux.die.net/man/2/sched_setscheduler for more details). |
|