Keep getting xruns no matter what

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

User avatar
pkslot
Established Member
Posts: 40
Joined: Sun Feb 07, 2010 7:36 pm
Location: Denmark

Re: Keep getting xruns no matter what

Post by pkslot »

falkTX wrote:
pkslot wrote:I can't change it, even when i edit the /.config/jack/conf.xml manually, it's changed. When i change it to capital letters in qjackctl, they change back to sb at the instance i hit save.
You should not edit jack/conf.xml manually, as it says in the file itself:
<!--
JACK settings, as persisted by D-Bus object.
You probably don't want to edit this because
it will be overwritten next time jackdbus saves.
-->
afaik the QjackCtl combo-boxes are editable, so you should be able to delete the current entry and write down a custom one.
Oops, i didn't read that :shock:

The problem is, that i can easily write in the boxes in qjackctl, but as soon as i hit "save" it changes the capital SB to sb.
User avatar
pkslot
Established Member
Posts: 40
Joined: Sun Feb 07, 2010 7:36 pm
Location: Denmark

Re: Keep getting xruns no matter what

Post by pkslot »

I posted this in my terminal:

Code: Select all

peter@pks:~$ jackd -d hw:SB
And got this:

Code: Select all

jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Unknown driver "hw:SB"
peter@pks:~$

Something tells me that this soundcard isn't properly installed.
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Keep getting xruns no matter what

Post by autostatic »

This step isn't necesarry, you can also leave it to default or select hw:0.
Which version of QjackCtl are you using? Does it also happen when you click OK instead of Save?
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Keep getting xruns no matter what

Post by autostatic »

pkslot wrote:I posted this in my terminal:

Code: Select all

peter@pks:~$ jackd -d hw:SB
Try

Code: Select all

jackd -d alsa hw:SB
User avatar
pkslot
Established Member
Posts: 40
Joined: Sun Feb 07, 2010 7:36 pm
Location: Denmark

Re: Keep getting xruns no matter what

Post by pkslot »

AutoStatic wrote:
pkslot wrote:I posted this in my terminal:

Code: Select all

peter@pks:~$ jackd -d hw:SB
Try

Code: Select all

jackd -d alsa hw:SB
It gives me this in the terminal:

Code: Select all

peter@pks:~$     jackd -d alsa hw:SB
jackdmp 1.9.8
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2011 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
  

And this in qjackctl messages:

Code: Select all

21:49:19.161 Patchbay deactivated.
21:49:19.272 Statistics reset.
21:49:19.315 ALSA connection change.
21:49:19.457 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
21:49:19.511 JACK connection change.
21:49:19.534 Client activated.
21:49:29.059 XRUN callback (1).
21:49:29.568 XRUN callback (3 skipped).
21:49:31.572 XRUN callback (3 skipped).
21:49:32.971 XRUN callback (9).
21:49:33.575 XRUN callback (3 skipped).
21:49:37.455 XRUN callback (13).
21:49:37.580 XRUN callback (1 skipped).
21:49:39.584 XRUN callback (3 skipped).
21:49:40.859 XRUN callback (19).
21:49:41.587 XRUN callback (3 skipped).
21:49:49.119 XRUN callback (23).
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: Keep getting xruns no matter what

Post by autostatic »

Looks good to me! Except for the xruns of course. I now see you're using Jack2. You might want to try the -S (synchronous) option:

Code: Select all

jackd -S -d alsa hw:SB
You can add this switch to the Server Prefix field in QjackCtl so that it says /usr/bin/jackd -S (or just add -S to the Server Suffix field if you're using QjackCtl 0.3.9).
Post Reply