Debian 9 - Xrun

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Debian 9 - Xrun

list
Hello.

Just installed a brand new Debian 9.

Running Jack from debian's package -  1.9.10+20150825git1ed50c92~dfsg-5
Star Jack with Qjackctl.

I get Xruns, or to be clear i get 1 xrun by hour (!)
The same if i leave the computer on, and leave it without any sound
application open/running, or browser or whatever. Just booted, start
jack/qjackctl & wait...


So i see nothing in the journalctl (or message/kern.log/syslog )
something that could make it append at the same time/hour the xrun
appear. No matching time.

Running a «vanilla» kernel - not RT

Tried with 3 different USB cards, same thing.

I'll try to build a new kernel more low latency oriented to see.
In the meantime, if anyone on the list have any idea...i'll be happy to
listen.

All the best !



 

Jack's Log for instance :

09:57:25.763 Récupération désynchronisation (XRUN) (1).
10:49:37.168 Récupération désynchronisation (XRUN) (2).
11:41:52.216 Récupération désynchronisation (XRUN) (3).
12:34:05.214 Récupération désynchronisation (XRUN) (4).
13:25:59.400 Récupération désynchronisation (XRUN) (5).
14:16:48.822 Récupération désynchronisation (XRUN) (6).
15:07:09.699 Récupération désynchronisation (XRUN) (7).
15:57:19.958 Récupération désynchronisation (XRUN) (8).
16:47:36.611 Récupération désynchronisation (XRUN) (9).
17:37:46.095 Récupération désynchronisation (XRUN) (10).
18:28:00.192 Récupération désynchronisation (XRUN) (11).
19:18:12.370 Récupération désynchronisation (XRUN) (12).
20:08:26.216 Récupération désynchronisation (XRUN) (13).
20:58:39.548 Récupération désynchronisation (XRUN) (14).
21:49:14.628 Récupération désynchronisation (XRUN) (15).
22:40:41.036 Récupération désynchronisation (XRUN) (16).
23:32:22.559 Récupération désynchronisation (XRUN) (17).
00:24:06.765 Récupération désynchronisation (XRUN) (18).
04:16:35.653 Récupération désynchronisation (XRUN) (1).
05:26:21.403 Récupération désynchronisation (XRUN) (1).
08:11:29.084 Récupération désynchronisation (XRUN) (1).
09:02:24.274 Récupération désynchronisation (XRUN) (2).
09:52:58.428 Récupération désynchronisation (XRUN) (3).
10:43:40.306 Récupération désynchronisation (XRUN) (4).
11:35:04.556 Récupération désynchronisation (XRUN) (5).
12:26:52.992 Récupération désynchronisation (XRUN) (6).
13:19:31.474 Récupération désynchronisation (XRUN) (7).
14:12:28.646 Récupération désynchronisation (XRUN) (8).
15:05:29.786 Récupération désynchronisation (XRUN) (9).
15:58:27.466 Récupération désynchronisation (XRUN) (10).
16:51:27.070 Récupération désynchronisation (XRUN) (11).
17:44:20.021 Récupération désynchronisation (XRUN) (12).
18:37:14.504 Récupération désynchronisation (XRUN) (13).
19:30:17.562 Récupération désynchronisation (XRUN) (14).
20:23:12.175 Récupération désynchronisation (XRUN) (15).
21:16:00.387 Récupération désynchronisation (XRUN) (16).
22:08:40.533 Récupération désynchronisation (XRUN) (17).
23:08:42.689 Récupération désynchronisation (XRUN) (1).
00:20:20.381 Récupération désynchronisation (XRUN) (1).
01:12:50.131 Récupération désynchronisation (XRUN) (2).
02:05:32.685 Récupération désynchronisation (XRUN) (3).
02:58:06.533 Récupération désynchronisation (XRUN) (4).
13:27:59.434 Récupération désynchronisation (XRUN) (1).
14:19:19.428 Récupération désynchronisation (XRUN) (2).
15:10:51.709 Récupération désynchronisation (XRUN) (3).
16:02:33.079 Récupération désynchronisation (XRUN) (4).
16:54:18.669 Récupération désynchronisation (XRUN) (5).
17:45:54.920 Récupération désynchronisation (XRUN) (6).
18:37:29.886 Récupération désynchronisation (XRUN) (7).
19:29:04.348 Récupération désynchronisation (XRUN) (8).
20:20:32.533 Récupération désynchronisation (XRUN) (9).
21:12:07.758 Récupération désynchronisation (XRUN) (10).
22:04:02.953 Récupération désynchronisation (XRUN) (11).
22:55:54.305 Récupération désynchronisation (XRUN) (12).
23:47:40.795 Récupération désynchronisation (XRUN) (13).
00:39:36.883 Récupération désynchronisation (XRUN) (14).
01:31:22.304 Récupération désynchronisation (XRUN) (15).
02:23:14.812 Récupération désynchronisation (XRUN) (16).
14:05:47.652 Récupération désynchronisation (XRUN) (1).
14:57:53.984 Récupération désynchronisation (XRUN) (2).
15:49:54.043 Récupération désynchronisation (XRUN) (3).
16:41:36.435 Récupération désynchronisation (XRUN) (4).
17:33:16.524 Récupération désynchronisation (XRUN) (5).
18:25:00.067 Récupération désynchronisation (XRUN) (6).
19:16:41.694 Récupération désynchronisation (XRUN) (7).
20:08:19.223 Récupération désynchronisation (XRUN) (8).
20:59:45.104 Récupération désynchronisation (XRUN) (9).
21:51:11.369 Récupération désynchronisation (XRUN) (10).
22:42:35.840 Récupération désynchronisation (XRUN) (11).
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

Will Godfrey
On Mon, 28 Aug 2017 23:31:53 +0200
list <[hidden email]> wrote:

> Hello.
>
> Just installed a brand new Debian 9.
>
> Running Jack from debian's package -  1.9.10+20150825git1ed50c92~dfsg-5
> Star Jack with Qjackctl.
>
> I get Xruns, or to be clear i get 1 xrun by hour (!)
> The same if i leave the computer on, and leave it without any sound
> application open/running, or browser or whatever. Just booted, start
> jack/qjackctl & wait...
>
>
> So i see nothing in the journalctl (or message/kern.log/syslog )
> something that could make it append at the same time/hour the xrun
> appear. No matching time.
>
> Running a «vanilla» kernel - not RT
>
> Tried with 3 different USB cards, same thing.
>
> I'll try to build a new kernel more low latency oriented to see.
> In the meantime, if anyone on the list have any idea...i'll be happy to
> listen.
>
> All the best !

Have you tried disabling the on-board sound? This looks rather like two
soundcards slipping out of sync.

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

David Jones
In reply to this post by list

On Aug 28, 2017 11:49, Will Godfrey <[hidden email]> wrote:

>
> On Mon, 28 Aug 2017 23:31:53 +0200
> list <[hidden email]> wrote:
>
> > Hello.
> >
> > Just installed a brand new Debian 9.
> >
> > Running Jack from debian's package -  1.9.10+20150825git1ed50c92~dfsg-5
> > Star Jack with Qjackctl.
> >
> > I get Xruns, or to be clear i get 1 xrun by hour (!)
> > The same if i leave the computer on, and leave it without any sound
> > application open/running, or browser or whatever. Just booted, start
> > jack/qjackctl & wait...
> >
> >
> > So i see nothing in the journalctl (or message/kern.log/syslog )
> > something that could make it append at the same time/hour the xrun
> > appear. No matching time.
> >
> > Running a «vanilla» kernel - not RT
> >
> > Tried with 3 different USB cards, same thing.
> >
> > I'll try to build a new kernel more low latency oriented to see.
> > In the meantime, if anyone on the list have any idea...i'll be happy to
> > listen.
> >
> > All the best !
>
> Have you tried disabling the on-board sound? This looks rather like two
> soundcards slipping out of sync.

Disable wifi?

David W. Jones
[hidden email]
authenticity, honesty, community
http://dancingtreefrog.com

_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

Jonathan Brickman
Hello.

Just installed a brand new Debian 9.

Running Jack from debian's package -  1.9.10+20150825git1ed50c92~dfsg-5
Star Jack with Qjackctl.

I get Xruns, or to be clear i get 1 xrun by hour (!) 
The same if i leave the computer on, and leave it without any sound
application open/running, or browser or whatever. Just booted, start
jack/qjackctl & wait...
Same as I did when I tried Debian recently.  Which desktop environment do you have set up?  One good rule of thumb is to use LXDE, and to disable (or remove, if you can without breaking the package structure) all GVFS items.

--
Jonathan E. Brickman   jeb@...   (785)233-9977
Hear us at http://ponderworthy.com -- CDs and MP3s now available!
Music of compassion; fire, and life!!!


_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

Ralf Mardorf
On Mon, 28 Aug 2017 19:27:32 -0500, Jonathan E. Brickman wrote:
>to disable (or remove, if you can without breaking the package
>structure) all GVFS items.

Hi,

in my experiences gvfs doesn't affect audio at all. However, I always
replace gvfs by an empty dummy package, because it makes external green
drives spin down and up again and again.

#!/bin/dash

eqgvfs()
{
cat<<EOF
Priority: optional
Standards-Version: 3.9.2
Package: gvfs
Version: 2017:08-29-dummy
Architecture: all
Description: Dummy package
EOF
}

sudo apt-get update
sudo apt-get install equivs

cd /tmp
eqgvfs      >gvfs
equivs-build gvfs >/dev/null
sudo dpkg -i gvfs*all.deb >/dev/null

exit

Regards,
Ralf
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

Peter P.-2
In reply to this post by David Jones
* David Jones <[hidden email]> [2017-08-29 02:03]:
[...]
> > > I'll try to build a new kernel more low latency oriented to see.
Debian hast realtime kernels as packages, see
 $ aptitude search linux-image | grep rt
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

David Jones
On 08/28/2017 08:14 PM, Peter P. wrote:
> * David Jones <[hidden email]> [2017-08-29 02:03]:
> [...]
>>>> I'll try to build a new kernel more low latency oriented to see.
> Debian hast realtime kernels as packages, see
>  $ aptitude search linux-image | grep rt

Yes, it does. I have a Debian RT kernel on my desktop machine. But it
was someone else who wanted to build a Debian 9 RT kernel.

--
David W. Jones
[hidden email]
authenticity, honesty, community
http://dancingtreefrog.com
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

David Jones
In reply to this post by Ralf Mardorf
On 08/28/2017 04:47 PM, Ralf Mardorf wrote:
> On Mon, 28 Aug 2017 19:27:32 -0500, Jonathan E. Brickman wrote:
>> to disable (or remove, if you can without breaking the package
>> structure) all GVFS items.
>
> in my experiences gvfs doesn't affect audio at all. However, I always
> replace gvfs by an empty dummy package, because it makes external green
> drives spin down and up again and again.

Haven't had any problems with GVFS and green drives - I don't have any
green drives.

My only problem with GVFS is it defaults a setting (AutoMount=true) in
its /usr/share/gvfs/mounts/network.mount config file. That makes XFCE's
Thunar file manager hang for about 30 seconds (or more) every time I
open it. Changing the setting to false eliminates the problem.

But I haven't seen any impact from GVFS on audio.

--
David W. Jones
[hidden email]
authenticity, honesty, community
http://dancingtreefrog.com
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

Ralf Mardorf
In reply to this post by list
On Mon, 28 Aug 2017 23:31:53 +0200, list wrote:
>I get Xruns, or to be clear i get 1 xrun by hour (!)

The Debian and Ubuntu policy is to autostart everything a package
contains that could be autostarted. Consider to disable all services
you don't need. You might be using something like ntpd, perhaps polling
1 time each hour, maybe by wifi, sharing an IRQ with the USB ports you
use for the USB audio interfaces. It might be something similar absurd.
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user
Reply | Threaded
Open this post in threaded view
|

Re: Debian 9 - Xrun

David Jones
In reply to this post by list
On Aug 28, 2017 22:48, Ralf Mardorf <[hidden email]> wrote:
>
> On Mon, 28 Aug 2017 23:31:53 +0200, list wrote:
> >I get Xruns, or to be clear i get 1 xrun by hour (!)
>
> The Debian and Ubuntu policy is to autostart everything a package
> contains that could be autostarted. Consider to disable all services
> you don't need. You might be using something like ntpd, perhaps polling
> 1 time each hour, maybe by wifi, sharing an IRQ with the USB ports you
> use for the USB audio interfaces. It might be something similar absurd.

I have heard that many wifi drivers can block interrupts when scanning for signals. I would try disabling wifi and see if it helps.

David W. Jones
[hidden email]
authenticity, honesty, community
http://dancingtreefrog.com 
_______________________________________________
Linux-audio-user mailing list
[hidden email]
https://lists.linuxaudio.org/listinfo/linux-audio-user