[LAU] Qtractor MIDI queue timer and TSC

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Jul 31 04:16:33 CEST 2018


On Mon, 30 Jul 2018 19:58:55 +0000, Rui Nuno Capela wrote:
>the timers that qtractor may use are the high-level ones that
>are available through ALSA

On Mon, 30 Jul 2018 23:12:04 +0200, Clemens Ladisch wrote:
>Always use "default".  It's the best one that is available; the others
>exist just for backwards compatibility.

Thank you Rui and Clemens,

if I check 'default' by the Qtractor options, then indeed 'HR timer' is
used.

[rocketmouse at archlinux ~]$ zgrep CONFIG_SND_SEQ_HRTIMER_DEFAULT /proc/config.gz 
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
[rocketmouse at archlinux ~]$ cat /proc/asound/seq/timer 
[rocketmouse at archlinux ~]$ qtractor >/dev/null 2>&1 & 
[1] 17682
[rocketmouse at archlinux ~]$ cat /proc/asound/timers 
G0: system timer : 3333.333us (10000000 ticks)
G3: HR timer : 0.001us (1000000000 ticks)
  Client sequencer queue -1 : stopped
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
P3-3-0: PCM playback 3-3-0 : SLAVE
P3-7-0: PCM playback 3-7-0 : SLAVE
P3-8-0: PCM playback 3-8-0 : SLAVE
P3-9-0: PCM playback 3-9-0 : SLAVE
P3-10-0: PCM playback 3-10-0 : SLAVE
[rocketmouse at archlinux ~]$ cat /proc/asound/seq/timer 
Timer for queue 0 : HR timer
  Period time : 0.000000000
  Skew : 65536 / 65536
[rocketmouse at archlinux ~]$ killall qtractor 
[rocketmouse at archlinux ~]$ 
[1]+  Done                    qtractor > /dev/null 2>&1
[rocketmouse at archlinux ~]$ cat /proc/asound/timers 
G0: system timer : 3333.333us (10000000 ticks)
G3: HR timer : 0.001us (1000000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
P3-3-0: PCM playback 3-3-0 : SLAVE
P3-7-0: PCM playback 3-7-0 : SLAVE
P3-8-0: PCM playback 3-8-0 : SLAVE
P3-9-0: PCM playback 3-9-0 : SLAVE
P3-10-0: PCM playback 3-10-0 : SLAVE
[rocketmouse at archlinux ~]$ cat /proc/asound/seq/timer 
[rocketmouse at archlinux ~]$

Regards,
Ralf

-- 
pacman -Q linux{,-rt{,-securityink,-cornflower,-pussytoes}}|cut -d\  -f2
4.17.11-1
4.16.18_rt11-1
4.16.18_rt10-1
4.16.18_rt9-1
4.14.34_rt27-1


More information about the Linux-audio-user mailing list