Moving to offscreen Driver

This commit is contained in:
2026-02-25 00:21:36 -06:00
parent aab94d5e96
commit cbdd4a2952
2 changed files with 32 additions and 8 deletions

View File

@@ -8,8 +8,8 @@ Type=simple
User=pi
WorkingDirectory=/opt/KH_Clock
# Tell SDL to render via KMS/DRM (required on Le Potato and similar ARM boards)
Environment=SDL_VIDEODRIVER=kmsdrm
# SDL renders offscreen; pixels are blit directly to /dev/fb0 (Amlogic kmsdrm is unsupported)
Environment=SDL_VIDEODRIVER=offscreen
# Disable console blanking so the TV stays on
ExecStartPre=/bin/sh -c 'echo -ne "\033[9;0]" > /dev/tty1'