[linux-audio-user] timer resolution

From: Emanuel Rumpf <x@email-addr-hidden>
Date: Wed Jan 18 2006 - 15:51:28 EET

hi

When starting rosegarden (cvs), I get the message "System timer
resolution to low".

However, AFAICT the high resolution timer is enabled (?)
How would I test it manually?
What to do?

kernel-config:
CONFIG_HPET_TIMER=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_HIGH_RES_RESOLUTION=1000

Muse output:
cannot set ticks 1024 on /dev/rtc: No right
precise timer not available
set timer ticks failed

$ cat /proc/sys/dev/rtc/max-user-freq
1024

$ ls -lh /dev/rtc
crw-rw---- 1 root audio 10, 135 2005-12-15 12:27 /dev/rtc

$ cat /proc/asound/seq/timer
Timer for queue 0 : system timer
  Period time : 0.004000000
  Skew : 65536 / 65536

$ cat /proc/asound/timers
G0: system timer : 4000.000us (10000000 ticks)
  Client sequencer queue 0 : running : lost interrupts 0
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

$ cat /proc/driver/rtc
rtc_time : 13:58:36
rtc_date : 2005-12-15
rtc_epoch : 1900
alarm : 17:50:32
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : no
update_IRQ : no
periodic_IRQ : no
periodic_freq : 1024
batt_status : okay
Received on Wed Jan 18 16:15:06 2006

This archive was generated by hypermail 2.1.8 : Wed Jan 18 2006 - 16:15:06 EET