doc:appunti:hardware:mini_pc_intel_pentium_j3710
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| doc:appunti:hardware:mini_pc_intel_pentium_j3710 [2026/02/22 18:49] – [Blanking the Virtual Terminal] niccolo | doc:appunti:hardware:mini_pc_intel_pentium_j3710 [2026/02/22 19:35] (current) – [Pygame] niccolo | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| ===== Pygame ===== | ===== Pygame ===== | ||
| - | When running a Pygame app in **SDL_VIDEODRIVER=fbcon**, | + | We verified what driver uses the Pygame app: |
| + | <code python> | ||
| + | import pygame | ||
| + | pygame.init() | ||
| + | print(pygame.display.get_driver()) | ||
| + | </ | ||
| + | |||
| + | It says **KMSDRM**. | ||
| + | |||
| + | Using that driver the SDL **Simple DirectMedia Layer** library owns the DRM master, external tools (modetest, sysfs) do not work for blanking the screen. The correct solution is to control this from inside SDL. | ||
doc/appunti/hardware/mini_pc_intel_pentium_j3710.1771782590.txt.gz · Last modified: by niccolo
