#12677 NORM 13.2.0: Pygame causes ALSA underruns due to small period size on XO-4 (was: Pygame activities use a lot of cpu and show alsa error on XO-4)

Zarro Boogs per Child bugtracker at laptop.org
Tue May 14 19:06:48 EDT 2013


#12677: Pygame causes ALSA underruns due to small period size on XO-4
-------------------------------------------+--------------------------------
           Reporter:  godiard              |       Owner:  Quozl 
               Type:  defect               |      Status:  new   
           Priority:  normal               |   Milestone:  13.2.0
          Component:  ofw - open firmware  |     Version:  4-C1  
         Resolution:                       |    Keywords:  pygame
        Next_action:  diagnose             |    Verified:  0     
Deployment_affected:                       |   Blockedby:        
           Blocking:                       |  
-------------------------------------------+--------------------------------
Changes (by dsd):

  * owner:  => Quozl
  * component:  not assigned => ofw - open firmware
  * milestone:  Not Triaged => 13.2.0


Comment:

 I think the problem (high CPU usage) occurs on all platforms, but I guess
 you are viewing specifically the error spew as a cause for concern.

 James, please increase the max period size provided by the firmware (in
 #12400) from 2048 to 4096, this matches XO-1.75. SDL works with a low
 number of periods so increasing the size of each period gives it more
 leeway to avoid underruns.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12677#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list