[alsa-devel] Duplicate wake-ups in pcm_lib.c

Colin Guthrie gmane at colin.guthr.ie
Mon Jan 25 12:52:17 CET 2010


'Twas brillig, and Colin Guthrie at 20/01/10 15:12 did gyre and gimble:
> 'Twas brillig, and Colin Guthrie at 20/01/10 01:24 did gyre and gimble:
>> Hi,
>>
>> 'Twas brillig, and Jaroslav Kysela at 18/01/10 21:39 did gyre and gimble:
>>> On Mon, 18 Jan 2010, Colin Guthrie wrote:
>>>> This is handled in our bug report here:
>>>> https://qa.mandriva.com/show_bug.cgi?id=57010
>>>>
>>>> For reference relating to comment 12:
>>>> 2.6.32.3-1mnb: First introduced the above 4 fixes.
>>>> 2.6.32.3-2mnb: included 7b3a177
>>>> 2.6.32.4-0.rc1.1mnb: included ed69c6a
>>>>
>>>> Is there something more that needs done?
>>>
>>> Thanks for feedback. Please, provide debug information:
>>>
>>> http://www.alsa-project.org/main/index.php/XRUN_Debug
>>>
>>> Use 101 or 29 values for xrun_debug and try to put ksyslog messages 
>>> to a relation with the audiable problems.
>>
>> Just following up on this on behalf of a colleage.
>>
>> He's set the 101 value and this annoyingly seems to fix his problem
>> (well, no glitches to the ear anyway!).
>>
>> However he does get the following messages:
>>
>> kernel: PCM: hw_ptr skipping! [Q] (pos=1024, delta=8192, period=1024,
>> jdelta=0/170/0, hw_ptr=140116992/140116992)
>>
>> When he does the 29 value it spams the log >one every second and he
>> didn't try too long to get it to fail before he switched to 101. I can
>> get the full log of the above too if it's useful or run the 29 test and
>> capture the output if it'll still help even tho it's not showing the error.
> 
> Another reply on the bug with some debug output:
> 
> https://qa.mandriva.com/show_bug.cgi?id=57010#c14
> 
> 
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=16376/8192/16384,
> hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=0/8192/16384, hwptr=1900536/1884160
> hwptr log: pcmC0D0p:0: j=3421759, pos=0/8192/16384, hwptr=1900544/1900544
> hwptr log: pcmC0D0p:0: j=3421759, pos=0/8192/16384, hwptr=1900544/1900544
> hwptr log: pcmC0D0p:0: j=3421759, pos=0/8192/16384, hwptr=1900544/1900544
> PCM: hw_ptr skipping! [Q] (pos=0, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=1900544/1900544)
> PCM: hw_ptr skipping! [Q] (pos=0, delta=16384, period=8192,
> jdelta=1/371/0, hw_ptr=4882432/4882432)
> PCM: hw_ptr skipping! [Q] (pos=8192, delta=16384, period=8192,
> jdelta=0/371/0,hw_ptr=11395072/11395072)
> PCM: hw_ptr skipping! [Q] (pos=0, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=13156352/13156352)
> PCM: hw_ptr skipping! [Q] (pos=0, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=13893632/13893632)
> PCM: hw_ptr skipping! [Q] (pos=8192, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=20209664/20209664)
> PCM: hw_ptr skipping! [Q] (pos=8192, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=27860992/27860992)
> PCM: hw_ptr skipping! [Q] (pos=0, delta=16384, period=8192,
> jdelta=0/371/0, hw_ptr=28639232/28639232)


Does this info help at all? Is there anything else I can get the guys
suffering with this to do?

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]



More information about the Alsa-devel mailing list