Verified Commit a45dc59d authored by Jakob Moser's avatar Jakob Moser
Browse files

Add musing about implementation that didn't work

parent 8465762f
Loading
Loading
Loading
Loading
+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.