Skip to content Skip to sidebar Skip to footer

Pygame Full Core Usage In Simple Loop

Edit This is an open issue and appears to be related to alsa audio. A workaround is to shutdown the audio mixer, or install pyGame from source. pygame.init() pygame.mixer.quit()

Solution 1:

We fixed this in pygame 2. It does not take 100% of a CPU core on some linux systems anymore.

python3 -m pip install pygame --upgrade

As of pygame 2.0.0, it may be better to install pygame from source on some linux systems.

cheers,

Post a Comment for "Pygame Full Core Usage In Simple Loop"