Moving to offscreen Driver
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user