the big jack bug... > crappy audio on XRUNS

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

the big jack bug... > crappy audio on XRUNS

federico-3
it happens randomly, while I play a soft synth, that jack XRUNs once,
and the audio become crappy, noisy, like a kinda of digital
effect....bit crusher?

then all synthesizers (all audio apps) sound the same sh*t...
i tried recording with ardour the output, and the output is clean, so I
guess is a problem of sync or something that has to do with the hardware
(soundcard).

in order to record this noise, i had to connect the soundcard output in
its input and record it via analog in:
http://xaero.ath.cx/jackbug_stereo.wav.bz2 (it is a stereo file, with
the clean track panned on the left, and the dirty one on the right).

i hope it could be useful to debug the problem...
what other information I can provide useful for debug?
note that this happens with many version of alsa (1.0.9b, 1.0.10rc2,
1.0.7 or less) and with many kernels (gentoo-sources (slightly patched
for speed improvement), ck-sources, ck-sources+realtime-lsm)

i hope to solve this problem, since my audio desktop is unusable as si,
since audio crasher after playng for just 5 minutes :(


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: the big jack bug... > crappy audio on XRUNS

Jack O'Quin-2
federico <[hidden email]> writes:

> it happens randomly, while I play a soft synth, that jack XRUNs once,
> and the audio become crappy, noisy, like a kinda of digital
> effect....bit crusher?
>
> then all synthesizers (all audio apps) sound the same sh*t...
> i tried recording with ardour the output, and the output is clean, so
> I guess is a problem of sync or something that has to do with the
> hardware (soundcard).

This is likely a hardware problem.

Have you reported it on alsa-devel?  What card do you have?
--
  joq


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [linux-audio-dev] the big jack bug... > crappy audio on XRUNS

Lee Revell
In reply to this post by federico-3
On Sun, 2005-11-06 at 16:48 +0100, federico wrote:
> it happens randomly, while I play a soft synth, that jack XRUNs once,
> and the audio become crappy, noisy, like a kinda of digital
> effect....bit crusher?

It's probably a driver bug but could also be a PCI latency issue.

Try setpci -d CARD:ID latency_timer=40 where CARD:ID is the PCI id of
the card obtained from lspci.  Do this immediately after loading the
driver and before playing any audio.

Lee



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: the big jack bug... > crappy audio on XRUNS

Salvatore Di Pietro
In reply to this post by federico-3
federico wrote:

> it happens randomly, while I play a soft synth, that jack XRUNs once,
> and the audio become crappy, noisy, like a kinda of digital
> effect....bit crusher?
>
> then all synthesizers (all audio apps) sound the same sh*t...
> i tried recording with ardour the output, and the output is clean, so I
> guess is a problem of sync or something that has to do with the hardware
> (soundcard).
>
> in order to record this noise, i had to connect the soundcard output in
> its input and record it via analog in:
> http://xaero.ath.cx/jackbug_stereo.wav.bz2 (it is a stereo file, with
> the clean track panned on the left, and the dirty one on the right).
>
> i hope it could be useful to debug the problem...
> what other information I can provide useful for debug?
> note that this happens with many version of alsa (1.0.9b, 1.0.10rc2,
> 1.0.7 or less) and with many kernels (gentoo-sources (slightly patched
> for speed improvement), ck-sources, ck-sources+realtime-lsm)
>
> i hope to solve this problem, since my audio desktop is unusable as si,
> since audio crasher after playng for just 5 minutes :(

Yeah, it's a real showstopper.
What soundcard are you using with jack ?
I think we share(d) the same problem (though I was not even having xruns):
read my post and the subsequent thread at

http://music.columbia.edu/pipermail/linux-audio-user/2005-August/025787.html
where I explain what I used to to to "solve" the problem

Anyway, if you use mainly softsynths and don't do capture, you can start
jack in playback only mode with -P (no alsa_pcm capture ports) and the
problem shouldn't arise at all.

P.S. I own an M-Audio Delta44 now, and it seems not to suffer this
problem anymore, so it could be a poor hardware design issue or an alsa
driver bug or a jackd bug

--
           salvuz
      POST FATA RESVRGO
  Linux registered user #291700 | machine #174619
  get counted on ---> http://counter.li.org/ <---


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Alsa-devel] Re: [linux-audio-dev] the big jack bug... > crappy audio on XRUNS

Giuliano Pochini-2
In reply to this post by Lee Revell


On Sun, 6 Nov 2005, Lee Revell wrote:

> On Sun, 2005-11-06 at 16:48 +0100, federico wrote:
> > it happens randomly, while I play a soft synth, that jack XRUNs once,
> > and the audio become crappy, noisy, like a kinda of digital
> > effect....bit crusher?
>
> It's probably a driver bug but could also be a PCI latency issue.
>
> Try setpci -d CARD:ID latency_timer=40 where CARD:ID is the PCI id of
> the card obtained from lspci.  Do this immediately after loading the
> driver and before playing any audio.

No, the latency must be 192 and the driver already sets it at startup.


--
Giuliano.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel