Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 06-13-2020, 10:31 AM   #1
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,044
Default Ubuntu Studio : checking & configuring RTIRQ handler interrupts

Well, the tile says it all, I think. I 've been reading things about this topic here and in other forums, I already have the rtirq-init script installed and changed the line GRUB_CMDLINE_LINUX="threadirqs" in /etc/init.d/rtirq status, with no perceived results.

If I type rtirq status in the terminal, all I get is "command not found", so I guess there are quite a few things I 'm certainly missing.

Could any of you, wizards, share a newbie-friendly way to tackle this topic?


Thanks so much in advance.
Soli Deo Gloria is offline   Reply With Quote
Old 06-13-2020, 03:34 PM   #2
lilith93
Human being with feelings
 
lilith93's Avatar
 
Join Date: Apr 2018
Location: Karlsruhe
Posts: 387
Default

Quote:
Originally Posted by Soli Deo Gloria View Post
Well, the tile says it all, I think. I 've been reading things about this topic here and in other forums, I already have the rtirq-init script installed and changed the line GRUB_CMDLINE_LINUX="threadirqs" in /etc/init.d/rtirq status, with no perceived results.

If I type rtirq status in the terminal, all I get is "command not found", so I guess there are quite a few things I 'm certainly missing.

Could any of you, wizards, share a newbie-friendly way to tackle this topic?


Thanks so much in advance.
The entry
Code:
GRUB_CMDLINE_LINUX="threadirqs"
goes into your /etc/default/grub file. Afterwards you have to upgrade grub.

For the command you need root rights:

Code:
sudo /etc/init.d/rtirq status
You have to write the full path here, cause you didn't set the path in your bashrc file.

The output should be similar to this:

Code:
  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
  255 FF      95   - 135  6.6 S    irq/32-xhci_hcd	
  275 FF      94   - 134  0.0 S    irq/33-xhci_hcd	
    9 TS       -   0  38  0.1 S    ksoftirqd/0	
   18 TS       -   0  38  0.1 S    ksoftirqd/1	
   24 TS       -   0  38  0.2 R    ksoftirqd/2
with xhci_hcd being my audio device. IIRC you don't need to edit the script file.

With
Code:
sudo /etc/init.d/rtirq start
and
Code:
sudo /etc/init.d/rtirq stop
you can start and stop the script and see the difference.

What are you trying to achieve with these changes?
__________________
https://soundcloud.com/lilith_93

Debian - Buster / XFCE

Last edited by lilith93; 06-13-2020 at 03:50 PM.
lilith93 is offline   Reply With Quote
Old 06-13-2020, 06:32 PM   #3
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,044
Default

Hi Lilith, and thanks for the reply!



Basically, I 'm trying to make sure that my system has all the necessary tweaks to achieve a reasonably good performance of Kontakt, as other users have reported it as possible. While not at the studio right now, I'll follow your tips and post back here my results. Anything else you can say on this subject? I have other aspects of audio tweaks in Linux covered by Ubuntu Studio Controls, but I have some doubts regarding this, and Kontakt is xrunning like crazy on a I7 machine with 32 Gbs of RAM and SSDs. Together with my attempt to install Liquorix -failed by now, as I comment in the other thread - I'm trying to get all tweakable aspects of the system ready for an optimal audio performance.


Any further insights are deeply appreciated...
Soli Deo Gloria is offline   Reply With Quote
Old 06-14-2020, 01:07 PM   #4
lilith93
Human being with feelings
 
lilith93's Avatar
 
Join Date: Apr 2018
Location: Karlsruhe
Posts: 387
Default

I don't have any experiences with running Win plugins. Have you tried the xruncounterscript to see how optimized your machine is?


https://github.com/Gimmeapill/xruncounter

I also deinstalled the Liquorix Kernel again today as CPU usage was higher compared to the stock kernel.
__________________
https://soundcloud.com/lilith_93

Debian - Buster / XFCE
lilith93 is offline   Reply With Quote
Old 06-14-2020, 09:58 PM   #5
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,044
Default

Quote:
Originally Posted by lilith93 View Post
With
Code:
sudo /etc/init.d/rtirq start
and
Code:
sudo /etc/init.d/rtirq stop
you can start and stop the script and see the difference.
Well, starting the script I get this :

Setting IRQ priorities: start [ICE1724] irq=18 pid=619 prio=90: OK.
Setting IRQ priorities: start [ehci_hcd] irq=23 pid=156 prio=85: OK.
Setting IRQ priorities: start [ehci_hcd] irq=23 pid=157 prio=84: OK.
Setting IRQ priorities: start [xhci_hcd] irq=28 pid=158 prio=85: OK.

Is this allright? Kontakt continues xrunning like crazy, anyway...
Soli Deo Gloria is offline   Reply With Quote
Old 06-15-2020, 12:09 PM   #6
lilith93
Human being with feelings
 
lilith93's Avatar
 
Join Date: Apr 2018
Location: Karlsruhe
Posts: 387
Default

Quote:
Originally Posted by Soli Deo Gloria View Post
Well, starting the script I get this :

Setting IRQ priorities: start [ICE1724] irq=18 pid=619 prio=90: OK.
Setting IRQ priorities: start [ehci_hcd] irq=23 pid=156 prio=85: OK.
Setting IRQ priorities: start [ehci_hcd] irq=23 pid=157 prio=84: OK.
Setting IRQ priorities: start [xhci_hcd] irq=28 pid=158 prio=85: OK.

Is this allright? Kontakt continues xrunning like crazy, anyway...
You have to figure out what's your soundcard of these entries is. Ideally only this should have the > 80 priority. Do you have your onboard soundcard also active? I would disable it in the BIOS. Maybe that's the ehci_hcd? I don't know what ICE1724 is. Seems to be audio related.
__________________
https://soundcloud.com/lilith_93

Debian - Buster / XFCE
lilith93 is offline   Reply With Quote
Old 06-15-2020, 12:19 PM   #7
lilith93
Human being with feelings
 
lilith93's Avatar
 
Join Date: Apr 2018
Location: Karlsruhe
Posts: 387
Default

Have a look here:

https://linuxmusicians.com/viewtopic.php?t=19276

Especially https://linuxmusicians.com/viewtopic...106591#p106591

Do you get more xruns when you use the mouse or keyboard?
__________________
https://soundcloud.com/lilith_93

Debian - Buster / XFCE
lilith93 is offline   Reply With Quote
Old 06-16-2020, 11:56 AM   #8
Soli Deo Gloria
Human being with feelings
 
Soli Deo Gloria's Avatar
 
Join Date: Oct 2013
Location: Buenos Aires, Argentina
Posts: 1,044
Default

Well, the ICE1724 was the old PCI soundcard, which I've just removed. I also had my onboard audio card disabled - something which I wasn't sure about -. I'm still having sound interrupt issues with the USB Komplete Audio 6, although the realtimesystemquickconfigscan script shows everything as "good" (except for the "SET IRQ of the sound card" message).



I'll do something, if you don't mind : I'll create another thread to deal with these kind of issues regarding Linux realtime audio (and I'll try to leave the first posts as placeholders to arrange, little by little, a newbie's summary with all the recipes that the experts contribute in the most clear way possible). I feel I'm opening threads here and there but the info remains completely fragmented and scattered across threads/forums/web pages, etc...
Soli Deo Gloria is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.