[Bugs] #2937 UNSP: Pygame Performance with pulseaudio
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Jun 30 10:05:09 EDT 2011
#2937: Pygame Performance with pulseaudio
------------------------------------------+---------------------------------
Reporter: pmoleri | Owner:
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: untriaged | Version: 0.88.x
Severity: Major | Keywords:
Distribution: OLPC | Status_field: Unconfirmed
------------------------------------------+---------------------------------
This problem was detected in olpc xo-1.0 using Dextrose image from Uruguay
(dxo-uy-1.0).
After executing in python:
{{{
import pygame
pygame.init()
}}}
the proccess pulseaudio shows 10% cpu usage.
Changing the SDL audio driver is a workaround:
{{{
import os
os.environ['SDL_AUDIODRIVER'] = 'alsa'
import pygame
pygame.init()
}}}
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2937>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list