Search found 18 matches

by steinwayer
Wed Oct 24, 2018 10:45 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

The thing is my laptop is an optimus laptop, OK. I am not sure what is the state of support of NVIDIA Optimus with realtime kernels. Chances are you might be stuck with the intel card if you try to use linux-rt. But I am not sure about this. Anyway, I would like to see what kernel modules are loade...
by steinwayer
Wed Oct 24, 2018 6:26 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

as far as the alsamixer goes, i tried, but i didn't find any "capture" option :/ I have one if I make sure I select the correct card with F6, and then press F4 to look at Capture devices: https://preview.ibb.co/cbFNRV/screenshot.png I am not sure whether that is the capture the page talks...
by steinwayer
Wed Oct 24, 2018 12:50 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

That also ringed some bells about the video card setting though. Is the card you are using a chip within your videocard? Can you repost the output of: lspci -vnn here is the output of lspci -vnn 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ec4] (rev 07) Subsystem: Dell Device [1028:0...
by steinwayer
Tue Oct 23, 2018 2:56 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

I found this... It's old but... What's that "VERY IMPORTANT" mixer option he talks about? He says that cannot jack cannot play nicely with intel hda without that enabled... How do I enable that??? Sorry I do not understand what you are referring to. Where did you find the reference? Is in...
by steinwayer
Mon Oct 22, 2018 11:33 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

I think that must be an issue of some sort with jack (or maybe with the way jack interacts with alsa settings) i tried uninstalling jackd2 in favor of jackd1 just as a test, but apparently if i do that, apt-get wants to remove also bitwig and a bunch of stuff that i actually need , so that's not ha...
by steinwayer
Mon Oct 22, 2018 1:08 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

First of all, thanks SOOO MUCH for all the help and effort you are putting into helping me find the perfect config. It is actually a good thing to rehearse this stuff. I was lagging behind not having done this for a while. So, as far as the KX Studio repos go, you should know that, at least in my c...
by steinwayer
Sun Oct 21, 2018 11:41 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

Yes i already have a file in /etc/security/limits.d/audio.conf that specifies the priority of the audio group and the memlock. I setted as you said the value to 48000 instead of 44.1 but no noticeable improvement sadly.. :/// OK. Looks like nothing is left a part the heavy artillery. We could try t...
by steinwayer
Sun Oct 21, 2018 4:01 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

here is the output of /etc/init.d/rtirq status OK, that's working OK now. here is the output of cat /etc/security/limits.conf Looks like there aren't priorities set for the audio group. Let's fix that. Repost the output of: groups I think it will tell us you are in the audio group. If so, then appe...
by steinwayer
Sun Oct 21, 2018 4:49 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

Just tried doing as instructed, updated grub after making the changes, rebooted, checked the rtprio (it was set to 90, so it was good) But sadly, nothing, the latency remains the same :// and i don't understand why really :// Can we see again the output of /etc/init.d/rtirq status If you don't chan...
by steinwayer
Sat Oct 20, 2018 2:32 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

OK, we need to say to grub that we want to boot our kernels with threadirqs, so that rtirq can give high priority to our audio devices. Edit /etc/default/grub, I think you will need sudo: sudo gedit /etc/default/grub Go to GRUB_CMDLINE_LINUX and make it look as follows: GRUB_CMDLINE_LINUX="thr...
by steinwayer
Fri Oct 19, 2018 2:21 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

Ok, I think rtirq isn't working. Post the output of this: cat /etc/default/grub and cat /etc/default/rtirq By the way, I would encourage you to enclose the commands output in the code delimiters, so that they look boxed as my commands above. Here is the output of cat /etc/default/grub: # If you cha...
by steinwayer
Thu Oct 18, 2018 5:06 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

rtirq-init is automatically started as a service at system startup. The command should rather be /etc/init.d/rtirq status Yes, that's how it works on Ubuntu. I tried installing rtirq, but the command you gave me does not work. I installed form the official repos, it's called rtirq-init, after i ins...
by steinwayer
Tue Oct 16, 2018 11:46 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

Synchronous Mode actually reduces the latency issue. If i disable it, it gets worse. Yes, you will have longer latency. How big of a latency can you have? We can try various configurations of sample rate. buffer size and periods to get the latency we want. By the way, I would recommend not to obses...
by steinwayer
Tue Oct 16, 2018 1:33 am
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

Settings look good. Maybe try to uncheck "Server Synchronous Mode". Repost the outputs of aplay -l and cat /proc/interrupts Synchronous Mode actually reduces the latency issue. If i disable it, it gets worse. Output from aplay -l : **** List of PLAYBACK Hardware Devices **** card 0: PCH [...
by steinwayer
Sun Oct 14, 2018 11:52 pm
Forum: System Tuning and Configuration
Topic: Improve performance and reduce latency
Replies: 46
Views: 17266

Re: Improve performance and reduce latency

I am using Cadence, any idea on how to get the output with it? Not sure, maybe just make a screenshot of the window. Which surprised me a lot, considering it's an internal audio card! Not entirely surprising actually. Let's have a look at iRQs, maybe we can do something with prioritization. Do you ...