Python Forum
FYI Pygame high cpu usage. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Game Development (https://python-forum.io/forum-11.html)
+--- Thread: FYI Pygame high cpu usage. (/thread-6840.html)



FYI Pygame high cpu usage. - Windspar - Dec-10-2017

It all depends what version of pygame you are using. I was using 1.9.3 whl.
I was getting 100% usage for a simple program.
This bug is known. Pygame High Cpu Usage Bug
I had to uninstall pip pygame an download pygame from github.
build it from source and now my cpu doesn't even hit 25%.


RE: FYI Pygame high cpu usage. - j.crater - Dec-10-2017

I made a quick search and indeed it seems to be a problem across all platforms.

Has anyone managed to build pygame from source on a Windows system? A tutorial on that could be a handy addition on our list of tuts.


RE: FYI Pygame high cpu usage. - metulburr - Dec-10-2017

(Dec-10-2017, 05:03 AM)Windspar Wrote: It all depends what version of pygame you are using. I was using 1.9.3 whl.
I was getting 100% usage for a simple program.
This bug is known. Pygame High Cpu Usage Bug
I had to uninstall pip pygame an download pygame from github.
build it from source and now my cpu doesn't even hit 25%.

If the bug is being discussed then they will fix it. I think i am still using 1.9.2 though. But good to know there is an issue going on....thanks.