Anzeige kann in Pygame 2 auf Raspberry Pi OS Lite (Bullseye) nicht initialisiert werden

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Hallo,

    Ich habe das Problem für Pygame 2 eingereicht: https://github.com/pygame/pygame/issues/3168

    Ich frage mich nur, ob jemand in diesem Forum das gleiche Problem hatte und weiß, wie man es beheben kann.

    System: Raspberry Pi 4B, das neueste Raspberry Pi OS Lite (Bullseye)

    SDL2 (benötigt für Pygame 2) und Pygame 2 wurden wie folgt installiert:

    sudo apt install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0

    pip3 install pygame

    Da dies ein Lite OS ist (kein X11), muss ich mit Pygame über den Framebuffer arbeiten. Aber es sieht so aus, als ob der Treiber dafür nach der Installation von SDL2/Pygame 2 nicht verfügbar ist.

    Vielen Dank!

    ---------------------------------------------------------

    Hi,

    I've filed the issue for the Pygame 2: https://github.com/pygame/pygame/issues/3168

    Just wondering if anybody on this forum faced the same issue and knows how to fix it.

    System: Raspberry Pi 4B, the latest Raspberry Pi OS Lite (Bullseye)

    the SDL2 (required for Pygame 2) and Pygame 2 were installed this way:

    sudo apt install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0

    pip3 install pygame

    As this is Lite OS (no X11) I need to work with Pygame through the framebuffer. But it looks like the driver for it is not available after SDL2/Pygame 2 installation.

    Thanks!

    Peppy Player Entwickler. Ehemaliger DESY (Hamburg) Entwickler :)

  • Anzeige kann in Pygame 2 auf Raspberry Pi OS Lite (Bullseye) nicht initialisiert werden? Schau mal ob du hier fündig wirst!

  • Ich habe SDL2 manuell mit directfb und kmsdrm-Videotreibern erstellt. Ich kann immer noch keinen Bildschirm initialisieren:

    Peppy Player Entwickler. Ehemaliger DESY (Hamburg) Entwickler :)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!