All of lore.kernel.org
 help / color / mirror / Atom feed
* the big jack bug... > crappy audio on XRUNS
@ 2005-11-06 15:48 federico
  2005-11-06 17:25 ` Jack O'Quin
  2005-11-06 18:37 ` [linux-audio-dev] " Lee Revell
  0 siblings, 2 replies; 6+ messages in thread
From: federico @ 2005-11-06 15:48 UTC (permalink / raw)
  To: jackit-devel, alsa-devel, linux-audio-dev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: the big jack bug... > crappy audio on XRUNS
  2005-11-06 15:48 the big jack bug... > crappy audio on XRUNS federico
@ 2005-11-06 17:25 ` Jack O'Quin
  2005-11-06 17:26   ` [Jackit-devel] " federico
  2005-11-06 18:37 ` [linux-audio-dev] " Lee Revell
  1 sibling, 1 reply; 6+ messages in thread
From: Jack O'Quin @ 2005-11-06 17:25 UTC (permalink / raw)
  To: federico; +Cc: jackit-devel, alsa-devel, linux-audio-dev

federico <xaero@inwind.it> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Jackit-devel] the big jack bug... > crappy audio on XRUNS
  2005-11-06 17:25 ` Jack O'Quin
@ 2005-11-06 17:26   ` federico
  2005-11-07 12:00     ` Giuliano Pochini
  0 siblings, 1 reply; 6+ messages in thread
From: federico @ 2005-11-06 17:26 UTC (permalink / raw)
  To: Jack O'Quin; +Cc: alsa-devel

Jack O'Quin ha scritto:

>federico <xaero@inwind.it> 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?
>  
>
it is an Echoaudio Gina24
the problem seems to came up more frequently with lower period sizes


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-audio-dev] the big jack bug... > crappy audio on XRUNS
  2005-11-06 15:48 the big jack bug... > crappy audio on XRUNS federico
  2005-11-06 17:25 ` Jack O'Quin
@ 2005-11-06 18:37 ` Lee Revell
  2005-11-07 13:49   ` Giuliano Pochini
  1 sibling, 1 reply; 6+ messages in thread
From: Lee Revell @ 2005-11-06 18:37 UTC (permalink / raw)
  To: The Linux Audio Developers' Mailing List; +Cc: jackit-devel, alsa-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: [Jackit-devel] the big jack bug... > crappy audio on XRUNS
  2005-11-06 17:26   ` [Jackit-devel] " federico
@ 2005-11-07 12:00     ` Giuliano Pochini
  0 siblings, 0 replies; 6+ messages in thread
From: Giuliano Pochini @ 2005-11-07 12:00 UTC (permalink / raw)
  To: federico; +Cc: Jack O'Quin, alsa-devel



On Sun, 6 Nov 2005, 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).
> >>
> >
> >This is likely a hardware problem.
> >
> >Have you reported it on alsa-devel?  What card do you have?
> >
> >
> it is an Echoaudio Gina24
> the problem seems to came up more frequently with lower period sizes

It happened to me a lot of time ago before I discovered an hw quirk
(irq are generated at boundaries of 32 frames) and a driver bug (buffer
size was not an integer multiple of period size). After the fix, it never
happened anymore. I fixed it before the driver was merged into
alsa-driver. BTW, it was extremely difficult to reproduce and I never
undestood exactly why alsa wasn't able to recover from such a weird state.

I need to know: sample rate, # of running substreams, period and buffer
size of each substream, anything else you thing may be useful.


--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: [linux-audio-dev] the big jack bug... > crappy audio on XRUNS
  2005-11-06 18:37 ` [linux-audio-dev] " Lee Revell
@ 2005-11-07 13:49   ` Giuliano Pochini
  0 siblings, 0 replies; 6+ messages in thread
From: Giuliano Pochini @ 2005-11-07 13:49 UTC (permalink / raw)
  To: Lee Revell
  Cc: The Linux Audio Developers' Mailing List, jackit-devel,
	alsa-devel



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-07 13:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-06 15:48 the big jack bug... > crappy audio on XRUNS federico
2005-11-06 17:25 ` Jack O'Quin
2005-11-06 17:26   ` [Jackit-devel] " federico
2005-11-07 12:00     ` Giuliano Pochini
2005-11-06 18:37 ` [linux-audio-dev] " Lee Revell
2005-11-07 13:49   ` Giuliano Pochini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.