Loading docs/musings/display.md 0 → 100644 +18 −0 Original line number Diff line number Diff line ## PyGame doesn't want to talk to the Framebuffer This does not work: ```python #!/bin/env python3 import os import pygame os.environ["SDL_FBDEV"] = "/dev/fb0" os.environ["SDL_VIDEODRIVER"] = "directfb" screen = pygame.display.set_mode() print(screen) # This does not show the dimensions of my small extra screen. Feels like it writes to HDMI. ``` Which is sad, because I think it should work. Loading
docs/musings/display.md 0 → 100644 +18 −0 Original line number Diff line number Diff line ## PyGame doesn't want to talk to the Framebuffer This does not work: ```python #!/bin/env python3 import os import pygame os.environ["SDL_FBDEV"] = "/dev/fb0" os.environ["SDL_VIDEODRIVER"] = "directfb" screen = pygame.display.set_mode() print(screen) # This does not show the dimensions of my small extra screen. Feels like it writes to HDMI. ``` Which is sad, because I think it should work.