Skip to content

Pygame Error #3

@ghost

Description

The following error occurs after running python home_screen.py.

pygame.error: Could not make GL context current: BadAccess (attempt to access private resource denied)

After this error occurs the home_screen will no longer respond. Tried this same code on my windows PC and everything works properly. Only real difference is my windows PC has a GPU whereas the Raspberry Pi 5 does not. Wondering if there's a way to switch pygame to use CPU only and not a GPU.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions