AC transients -> jack stops working

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
tavasti
Established Member
Posts: 2059
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 375 times
Been thanked: 209 times
Contact:

AC transients -> jack stops working

Post by tavasti »

I have strange problem. I have sometimes problems on AC quality, and therefore I have APC Line-R power regulator on front of UPS. I got that years ago when one of secondary machines went to 'brain dead' mode on short dips in voltage. Computer was not alive, but did not reboot.

Now I have issue with same kind of transients even behind it. And there is UPS even after that. However, sometimes when something bit more power consuming device powers on, I get 'click' on line-r, and on some cases, my jack stops working. jackdbus consumes 100% of cpu, and it does not recover itself. Only way to recover is kill -9 to jackdbus, and start it over. And sure, nearly all apps related to audio need restart also.
My audio output is cheap Behringer usb-interface, connected to usb-hub. Computer and usb-hub are connected to same ups.

What I suspect is that my computer hw is getting old, capacitors on power supply or motherboard have passed their best days, but on the other hand, if jackdbus would recover from situation, I could live with this for a while, before there is worse problems. Any ideas?

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

Jack Winter
Established Member
Posts: 381
Joined: Sun May 28, 2017 3:52 pm

Re: AC transients -> jack stops working

Post by Jack Winter »

I would avoid using a USB hub when working with audio, not saying it won't work, but could be a source of trouble.

Also check your usb cables, might be as simple as that..
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 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux
CrocoDuck
Established Member
Posts: 1133
Joined: Sat May 05, 2012 6:12 pm
Been thanked: 17 times

Re: AC transients -> jack stops working

Post by CrocoDuck »

I wonder whether the AC transients might force the soundcard or USB hub to turn off briefly, for either electrical reasons or some internal circuit protection. If that's the case JACK might react as you describe due to the sound device being disconnected.
tavasti
Established Member
Posts: 2059
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 375 times
Been thanked: 209 times
Contact:

Re: AC transients -> jack stops working

Post by tavasti »

CrocoDuck wrote:I wonder whether the AC transients might force the soundcard or USB hub to turn off briefly, for either electrical reasons or some internal circuit protection. If that's the case JACK might react as you describe due to the sound device being disconnected.
I'm sure it is something like this. Jack recovering without killing it would be optimal for me, but maybe that is too much to wish?

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

tavasti
Established Member
Posts: 2059
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 375 times
Been thanked: 209 times
Contact:

Re: AC transients -> jack stops working

Post by tavasti »

Jack Winter wrote:I would avoid using a USB hub when working with audio, not saying it won't work, but could be a source of trouble.
MB has 2x usb, and I have more than one audio interface, and other usb devices also. Maybe I have to investigate if mb has some usb pins, so that I could have more ports.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

tavasti
Established Member
Posts: 2059
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 375 times
Been thanked: 209 times
Contact:

Re: AC transients -> jack stops working

Post by tavasti »

falkTX wrote:same happens to me in my place, I think the soundcard goes temporarily off and jack doesn't handle that well.
if you use jack2 and jackdbus mode, you can try this:

Code: Select all

jack_control sm
which will just load back the current jack settings.
Ok, I'll try that (if changing that primary usb-interface to be directly conneted did not fix the problem)

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

tavasti
Established Member
Posts: 2059
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 375 times
Been thanked: 209 times
Contact:

Re: AC transients -> jack stops working

Post by tavasti »

tavasti wrote:
Jack Winter wrote:I would avoid using a USB hub when working with audio, not saying it won't work, but could be a source of trouble.
MB has 2x usb, and I have more than one audio interface, and other usb devices also. Maybe I have to investigate if mb has some usb pins, so that I could have more ports.
This was the magic fix. Now I've had all audio interfaces directly in computer, and no more problems. Most likely usb hub / it's power starts to be in in bad shape, so that even on ups power it has some problems :-o

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

Post Reply