[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sound jerking with via 82xx soundcard



On 1/25/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Wed, Jan 24, 2007 at 06:35:10PM +0200, Atis wrote:
> Hi,
>
> A little update to the sound jerking problem.
>
> If i unload most of applications, leave almost plain KDE, i can hear
> KDE startup sound almost normally, just few flickers...
>
> however no chances of running any kind of media player.. here's an
> example.. i freed up memory, and launched noatun playing (jerking)
> mp3, and looked for `ps aux` and `top` in console (see end). no signs
> of high load problems.
>
> anyone can give some references, where to start debugging?

what happens when you run noatun from a terminal? I don't use it so
don't know that kind of output it produces... might help.

also, try using an output intensive program like mplayer or maybe xine
from a command line and see what kind of output you get...might point
you in the right direction.

i see you are using artsd which I think is the kde sound daemon, try
killing that to get a direct alsa connection without anything else
possibly interfering...

Artsd is nothing wrong, it's just used for KDE sounds.. none of
players tried was using it. For being sure, i just killed it before
next tests.

Just tried mplayer, surprisingly it played almost normal (lag every 5
or so seconds :D), i set verbosity to 5, and got some output at moment
of lag (see below).

From this i suspect it could be some kind of buffering problem. As i
understand, it's  lagging when it cant play some larger chunk, so it's
trying smaller and smaller..

Anyone have any ideas what buffer i could check/increase?

Regards,
Atis.



*** Normal mplayer output:
decaudio: decoding 1536 bytes, max: 67584 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=4096 out=4096 (max 57344)
A:   8.0 (07.9) of 316.0 (05:16.0)  1.8%
decaudio: minlen=4096 maxlen=57344 declen=4096 (max=70144)
decaudio: decoding 1024 bytes, max: 67072 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=4096 out=4096 (max 57344)
A:   8.0 (07.9) of 316.0 (05:16.0)  1.8%
decaudio: minlen=4096 maxlen=57344 declen=4096 (max=70144)
decaudio: decoding 512 bytes, max: 66560 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=4096 out=4096 (max 57344)
A:   8.0 (08.0) of 316.0 (05:16.0)  1.8%
decaudio: minlen=4096 maxlen=57344 declen=4096 (max=70144)
decaudio: declen=4096 out=4096 (max 57344)
A:   8.0 (08.0) of 316.0 (05:16.0)  1.8%
decaudio: minlen=4096 maxlen=57344 declen=4096 (max=70144)
decaudio: decoding 4096 bytes, max: 70144 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=4096 out=4096 (max 57344)
A:   8.1 (08.0) of 316.0 (05:16.0)  1.8%


*** mplayer Lag:
decaudio: minlen=12288 maxlen=57344 declen=12288 (max=70144)
decaudio: decoding 11776 bytes, max: 69632 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 7168 bytes, max: 65024 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 2560 bytes, max: 60416 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=12288 out=12288 (max 57344)
A:   8.4 (08.3) of 316.0 (05:16.0)  1.7%
decaudio: minlen=45056 maxlen=57344 declen=45056 (max=70144)
decaudio: decoding 43008 bytes, max: 68096 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 38400 bytes, max: 63488 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 33792 bytes, max: 58880 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 29184 bytes, max: 54272 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 24576 bytes, max: 49664 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 19968 bytes, max: 45056 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 15360 bytes, max: 40448 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 10752 bytes, max: 35840 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 6144 bytes, max: 31232 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: decoding 1536 bytes, max: 26624 (4608)
FRAMESIZE: 27648000, layer: 3, bitrate: 192, mult: 144000
decaudio: declen=45056 out=45056 (max 57344)
A:   8.4 (08.3) of 316.0 (05:16.0)  1.7%


--
Atis Lezdins,
IT Responsible of BEST Riga,
atis@BEST.eu.org
ICQ: 142239285
Skype: atis.lezdins
Cell Phone: +371 28806004 [Tele2, Latvia]
Work phone: +1 800 7502835 [Toll free, USA]
?BEST? -> www.BEST.eu.org



Reply to: