1

I have a basic graphical app running in full screen on my Pi, but it's a really old Raspberry Pi B+ and the desktop environment is really bloated and I have some performances issues.

I tried to make a simple POC with Pygame using Buster Lite, basically trying to pygame.init() without having a bunch of errors

I have tried many SDL drivers and I have errors with them all.

here is my code

import pygame
import os

pygame.init()

screen = pygame.display.set_mode((0,0), pygame.FULLSCREEN)

clock = pygame.time.Clock()

screen.fill((255,255,255))

while True:
    for event in pygame.event.get():
            if event.type == pygame.QUIT:
                pygame.quit()
    pygame.display.update()
    clock.tick(20)
Filburt
  • 17,626
  • 12
  • 64
  • 115
Sandra
  • 36
  • 4

0 Answers0