Re: [Rosegarden-user] Transport problem

2023-02-20 Thread Will Godfrey
The results: music@devuan:~$ uname -a Linux devuan 6.1.0-3-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.8-1 (2023-01-29) x86_64 GNU/Linux music@devuan:~$ grep -i preempt_voluntary /boot/config-$(uname -r) # CONFIG_PREEMPT_VOLUNTARY is not set music@devuan:~$ grep -i preempt_dynamic /boot/config-$(uname -

Re: [Rosegarden-user] Transport problem

2023-02-20 Thread Ted Felix
Thanks, Will. Here's a slightly newer set of steps based on what I've learned this morning... Boot into your real-time kernel. Confirm that it is a preemptible kernel. $ grep -i config_preempt= /boot/config-$(uname -r) CONFIG_PREEMPT=y If you don't see "CONFIG_PREE

Re: [Rosegarden-user] Transport problem

2023-02-20 Thread Ted Felix
Kernel in a Nutshell answers my question about preempt voluntary in chapter 11: -- PREEMPT_VOLUNTARY Voluntary kernel preemption (desktop) This option reduces the latency of the kernel by adding more “explicit preemption points” to the kernel code. These new preemption p

Re: [Rosegarden-user] Transport problem

2023-02-20 Thread Ted Felix
/etc/default/grub either needs to *not* mention preempt (default is full) or have preempt=full. If you aren't experiencing any timing glitches then you should be ok. Ted. On 2/19/23 8:53 PM, chuck elliot wrote: I haven't noticed any problems but the current standard kernel in Fedora 36 ha

Re: [Rosegarden-user] Transport problem

2023-02-20 Thread Will Godfrey
I'll try this today. On Sun, 19 Feb 2023 12:19:53 -0500 Ted Felix wrote: > Will, can you go through this first draft series of steps on the >problematic box and let me know if it finds the issue? Thanks. > >Boot into the problematic kernel. > >Confirm that it is a preemptible kernel. > >

Re: [Rosegarden-user] Transport problem

2023-02-19 Thread chuck elliot
I haven't noticed any problems but the current standard kernel in Fedora 36 has: CONFIG_PREEMPT_DYNAMIC=y CONFIG_PREEMPT_VOLUNTARY=y in /boot/config-$(uname -r) does this need to be overridden in /etc/default/grub or in a kernel rebuild ? On 19/02/2023 5:19 pm, Ted Felix wrote: Will, can

Re: [Rosegarden-user] Transport problem

2023-02-19 Thread Ted Felix
Will, can you go through this first draft series of steps on the problematic box and let me know if it finds the issue? Thanks. Boot into the problematic kernel. Confirm that it is a preemptible kernel. $ grep -i config_preempt= /boot/config-$(uname -r) CONFIG_PREEMPT=y If you don'

Re: [Rosegarden-user] Transport problem

2023-02-19 Thread Ted Felix
On second thought... We've been here before. From my Linux MIDI Guide: Note: There are variations on PREEMPT that are less than ideal. "DYNAMIC_PREEMPT" allows PREEMPT to be turned on and off in the kernel command line options (preempt=full). You'll need to check your GRUB configu

Re: [Rosegarden-user] Transport problem

2023-02-19 Thread Patrick May
Hello, > the ALSA documentation is incomplete and in many cases incorrect Do you happen to remember off hand which parts are incorrect? I think we should report them to the ALSA project. - PM On Sun, 19 Feb 2023, 13:53 Ted Felix, wrote: >We rely completely on ALSA for timer stuff. The ke

Re: [Rosegarden-user] Transport problem

2023-02-19 Thread Ted Felix
We rely completely on ALSA for timer stuff. The key routine for setting the timer in RG is: AlsaDriver::setCurrentTimer() Unless there is a bug in there (which there may very well be, the ALSA documentation is incomplete and in many cases incorrect), the problems tend to be due to bugs i

[Rosegarden-user] Transport problem

2023-02-11 Thread Will Godfrey
Recently I found Rosegarden was losing the timer source, and the transport was freezing - sometimes for nearly a second after which it would send a bunch of notes, then carry on as normal. It was some time before I realised it only happened on my Ryzen 5 machine (the one I use for music) and not o