Re: [LAU] Qtractor MIDI queue timer and TSC

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Tue Jul 31 2018 - 05:16:33 EEST

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@archlinux ~]$ zgrep CONFIG_SND_SEQ_HRTIMER_DEFAULT /proc/config.gz
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
[rocketmouse@archlinux ~]$ cat /proc/asound/seq/timer
[rocketmouse@archlinux ~]$ qtractor >/dev/null 2>&1 &
[1] 17682
[rocketmouse@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@archlinux ~]$ cat /proc/asound/seq/timer
Timer for queue 0 : HR timer
  Period time : 0.000000000
  Skew : 65536 / 65536
[rocketmouse@archlinux ~]$ killall qtractor
[rocketmouse@archlinux ~]$
[1]+ Done qtractor > /dev/null 2>&1
[rocketmouse@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@archlinux ~]$ cat /proc/asound/seq/timer
[rocketmouse@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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Jul 31 08:15:01 2018

This archive was generated by hypermail 2.1.8 : Tue Jul 31 2018 - 08:15:01 EEST