When I run my pygame code it bogs down the system. PyGame becomes unresponsive and it slows down Ubuntu so much that I’ve had to force a shut down twice.
I posted a very similar question here:
Why is my basic PyGame module so slow?
but I decided to rephrase it because when I asked the original question I wasn’t aware of the full symptoms.
You should limit the fps, you can use clock.tick for that