wireless, jackd and xruns

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
bamboomusic
Established Member
Posts: 12
Joined: Fri Oct 01, 2010 12:45 pm
Contact:

wireless, jackd and xruns

Post by bamboomusic »

Hi folks!
Plenty of xruns here :-)

I've got a stable configuration for live sets with a Debian Stretch + PREEMT RT kernel (AVLinux 5.0.10-rt11avl2), running jackd at 64 frames with a NI Komplete audio 6 usb interface.
This configuration is used to sync with another workstation via ethernet cable (ableton link and a custom UDP protocol made with PureData)
Now I'd like to add other workstations, and I'm testing a wireless connection to avoid to add a switch and a lot of ethernet cables.

The problem is, that enabling the wireless network cause my system to freeze every X seconds, and a lot of xruns occurs (~3000 every "freeze" period).
Can you help me find the cause of this behavior?
Philotomy
Established Member
Posts: 61
Joined: Sun Apr 02, 2017 9:47 am
Has thanked: 7 times
Been thanked: 6 times

Re: wireless, jackd and xruns

Post by Philotomy »

You could try disabling wireless network scanning to see if that's the issue. You might also double check to make sure you don't have an IRQ conflict with your wifi adapter.
My recordings on SoundCloud
Distro: Arch, DAW: Bitwig, Interface: Scarlett 18i8 Gen 2
bamboomusic
Established Member
Posts: 12
Joined: Fri Oct 01, 2010 12:45 pm
Contact:

Re: wireless, jackd and xruns

Post by bamboomusic »

Thank you! The problem was the network scanner, just like you said.
In NetworkManager, I disabled the network scanning using the BSID option, and the xruns disappeared.

Thanks!
User avatar
Toejam76
Established Member
Posts: 138
Joined: Sat Jun 20, 2020 10:41 am
Has thanked: 15 times
Been thanked: 21 times

Re: wireless, jackd and xruns

Post by Toejam76 »

Thanks from me too. I had the same problem and it's gone now.
mirage
Posts: 1
Joined: Sat Sep 25, 2021 8:29 pm

Re: wireless, jackd and xruns

Post by mirage »

Hello,

Younhave solved this issue :

"In NetworkManager, I disabled the network scanning using the BSID option, and the xruns disappeared."

Could you please explain how y have disabled the network scanning ? by killing a process, editing a configuration file, inside the network manager ?

Thanks for advance for your awnser.
asbak
Established Member
Posts: 897
Joined: Thu Sep 11, 2014 3:04 pm
Has thanked: 71 times
Been thanked: 64 times

Re: wireless, jackd and xruns

Post by asbak »

I don't know whether the commands below apply to AVLinux / Debian but on Ubuntu variants you could try stopping network-manager to see if that will help.

systemctl stop network-manager.service

or

service network-manager stop
Some Focal / 20.04 audio packages and resources https://midistudio.groups.io/g/linuxaudio
Post Reply