mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Lee Revell <rlrevell@joe-job.com>
Subject: 2.6.14-rt1 - xruns in a certain circumstance
Date: Sun, 30 Oct 2005 18:28:04 -0800	[thread overview]
Message-ID: <5bdc1c8b0510301828p29ea517ew467a5f6503435314@mail.gmail.com> (raw)

Hi,
   I've been running 2.6.14-rt1 today. For the most part there seem to
be no changes for me from 2.6.14-rc5-rt3. One place I saw xruns
earlier is still there and I do not understand why this situation
should be able to create xruns.

   I really think there is something to be learned from this problem.
The way I see it What's going on with Myth is completely separate from
what's going on with Jack, but Myth is causing xruns somehow.

1) I have Jack running. It is using sound card #2, my RME HDSP 9652. I
can run for hours and see no xruns.

2) I start MythTV using sound card #1. Within MythTV there are
essentially 3 types  of operation:

a) Basic menus
b) Preview menu
c) Full screen video watching

What I'm seeing is that when using basic menus, or when watching
videos I get no xruns. However, if I'm in the preview menu I get an
xrun every few minutes. In the following snippet I started Jack and
ran for about 20 minutes with no problems. I was using MythTV and
watching videos. I spent very little time in the preview menu:

16:19:26.184 Server configuration saved to "/home/mark/.jackdrc".
16:19:26.185 Statistics reset.
16:19:26.411 Client activated.
16:19:26.412 Audio connection change.
16:19:26.415 Audio connection graph change.
16:20:34.918 Audio connection graph change.
16:20:34.977 Audio connection change.
16:20:37.842 Audio connection graph change.

At about 4:45PM I exited the videos and left Myth sitting in a preview
menu. In this mode Myth puts a small video screen in the bottom right
corner where oyu get a low quality picture so you can see what the
start of the program looks like. While sitting in this mode for about
45  minutes I got 10 xruns:

16:45:45.670 XRUN callback (1).
**** alsa_pcm: xrun of at least 0.663 msecs
16:47:41.697 XRUN callback (2).
**** alsa_pcm: xrun of at least 0.415 msecs
subgraph starting at qjackctl-8363 timed out (subgraph_wait_fd=17,
status = 0, state = Finished)
17:06:47.023 XRUN callback (3).
**** alsa_pcm: xrun of at least 0.781 msecs
**** alsa_pcm: xrun of at least 4.924 msecs
17:06:49.003 XRUN callback (1 skipped).
subgraph starting at qjackctl-8363 timed out (subgraph_wait_fd=17,
status = 0, state = Finished)
17:15:36.697 XRUN callback (5).
**** alsa_pcm: xrun of at least 0.831 msecs
**** alsa_pcm: xrun of at least 2.850 msecs
17:15:37.707 XRUN callback (1 skipped).
17:17:38.387 XRUN callback (7).
**** alsa_pcm: xrun of at least 0.617 msecs
subgraph starting at qjackctl-8363 timed out (subgraph_wait_fd=17,
status = 0, state = Finished)
17:18:52.275 XRUN callback (8).
**** alsa_pcm: xrun of at least 1.654 msecs
17:20:44.214 XRUN callback (9).
**** alsa_pcm: xrun of at least 0.664 msecs
17:28:00.610 XRUN callback (10).
**** alsa_pcm: xrun of at least 0.244 msecs
subgraph starting at qjackctl-8363 timed out (subgraph_wait_fd=17,
status = 0, state = Finished)

At this point I exited the preview menu and went to a higher level
menu and just let the machine sit in Myth for about 20 minutes. No
xruns: At about 5:50PM I went back into the preview menu and got an
xrun within 2 minutes:

17:51:59.548 XRUN callback (11).
**** alsa_pcm: xrun of at least 1.156 msecs
17:52:32.464 XRUN callback (12).
subgraph starting at qjackctl-8363 timed out (subgraph_wait_fd=17,
status = 0, state = Finished)
**** alsa_pcm: xrun of at least 1.326 msecs

   Note that on this machine I can browse the web, transfer files via
the network, build kernels, do an emerge world, run cpuburn, etc., and
I get no xruns. However, if I run MythTV in the preview menu I get
them consistently.

   Also note that the MythTV server is actually located over a
wireless connection. There is no wireless on my machine - the
connection is between the router and the machines in another part of
the house. I bring this up in case it indirectly bears upon the
networking, etc.

   I look forward to hearing what you all think I should look at here.

   I have not yet turned on the preempt debugging stuff. I'll work on
that after I hear back that I'm not wasting my time.

Thanks,
Mark

             reply	other threads:[~2005-10-31  2:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31  2:28 Mark Knecht [this message]
2005-10-31  6:49 ` Lee Revell
2005-10-31 14:22 ` Ingo Molnar
2005-10-31 16:18   ` Lee Revell
2005-10-31 15:10 ` K.R. Foley
2005-10-31 15:26   ` Mark Knecht
2005-10-31 15:35     ` K.R. Foley
2005-10-31 16:39     ` Lee Revell
2005-10-31 17:38       ` Mark Knecht
2005-10-31 23:22       ` Mark Knecht
2005-11-01  1:48         ` Nuno Silva
2005-11-01  7:37           ` Lee Revell
2005-11-01  7:54           ` Lee Revell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b0510301828p29ea517ew467a5f6503435314@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rlrevell@joe-job.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®