rtirq with udev-rtirq?
Moderators: MattKingUSA, khz
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
Re: rtirq with udev-rtirq?
They are independent, though I can't guarantee which would have precedence on boot.
All the utility does is change the priority of the soundcard interrupt when one is detected on boot/hotplug.
rtirq can set other priorities too, and on one of my systems the system returns the wrong priority for one onboard soundcard, this would also be a valid reason to use both.
All the utility does is change the priority of the soundcard interrupt when one is detected on boot/hotplug.
rtirq can set other priorities too, and on one of my systems the system returns the wrong priority for one onboard soundcard, this would also be a valid reason to use both.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: rtirq with udev-rtirq?
thanx JackJack Winter wrote:They are independent, though I can't guarantee which would have precedence on boot.
All the utility does is change the priority of the soundcard interrupt when one is detected on boot/hotplug.
rtirq can set other priorities too, and on one of my systems the system returns the wrong priority for one onboard soundcard, this would also be a valid reason to use both.
-
- Established Member
- Posts: 564
- Joined: Thu Mar 12, 2015 8:41 am
- Has thanked: 44 times
- Been thanked: 8 times
Re: rtirq with udev-rtirq?
If you don't need hotplugging, I don't see much reason to use udev-rtirq over rtirq which is a bit more configurable.
If you do need to plug / unplug your high perf audio interface between reboots, then it makes perfect sense (might be tricky to get working properly though).
If you do need to plug / unplug your high perf audio interface between reboots, then it makes perfect sense (might be tricky to get working properly though).
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: rtirq with udev-rtirq?
what about if I have both? Would that be a problem?gimmeapill wrote:If you don't need hotplugging, I don't see much reason to use udev-rtirq over rtirq which is a bit more configurable.
If you do need to plug / unplug your high perf audio interface between reboots, then it makes perfect sense (might be tricky to get working properly though).
-
- Established Member
- Posts: 564
- Joined: Thu Mar 12, 2015 8:41 am
- Has thanked: 44 times
- Been thanked: 8 times
Re: rtirq with udev-rtirq?
Well, not sure.
My gut feeling is that having redundant applications running with root privileges and doing kernel level magic is probably not the safest scenario
You could possibly have one undoing what the other just did in a happy loop?
My gut feeling is that having redundant applications running with root privileges and doing kernel level magic is probably not the safest scenario
You could possibly have one undoing what the other just did in a happy loop?
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: rtirq with udev-rtirq?
Yeah I had a feeling something funky could happen so I think I'm going to remove one of them. Thanks man.gimmeapill wrote:Well, not sure.
My gut feeling is that having redundant applications running with root privileges and doing kernel level magic is probably not the safest scenario
You could possibly have one undoing what the other just did in a happy loop?
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
Re: rtirq with udev-rtirq?
IMO there ought to be no conflict. udev-rtirq runs when a device is added or removed (which means it runs on boot too), rtirq runs once on boot (normally). If they change priorities of the same soundcard interrupt, then configuring them to use the same priority ought to work well. I could see a reason to use just rtirq as it can change the priority of other things than the soundcard, though I'm personally convinced that this is needed, the drawback being that you lose the hotplug support. udev-rtirq ought to be able to handle it all alone, if all you want is to change the priority of the soundcard interrupts. Hope this is clear enough
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: rtirq with udev-rtirq?
yep both y'all are making sense.. will try with both for a while to see what happens.Jack Winter wrote:IMO there ought to be no conflict. udev-rtirq runs when a device is added or removed (which means it runs on boot too), rtirq runs once on boot (normally). If they change priorities of the same soundcard interrupt, then configuring them to use the same priority ought to work well. I could see a reason to use just rtirq as it can change the priority of other things than the soundcard, though I'm personally convinced that this is needed, the drawback being that you lose the hotplug support. udev-rtirq ought to be able to handle it all alone, if all you want is to change the priority of the soundcard interrupts. Hope this is clear enough
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
Re: rtirq with udev-rtirq?
Which thread(s) do you want to change the priority of?
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
- funkmuscle
- Established Member
- Posts: 2811
- Joined: Mon Jun 02, 2008 2:30 pm
- Has thanked: 132 times
- Been thanked: 34 times
Re: rtirq with udev-rtirq?
The rtirq been doing it's job for my usb interface. I was just curious about the difference and which would be better and if they needed to work together as if the udev was an upgrade or an addition.Jack Winter wrote:Which thread(s) do you want to change the priority of?