From 8b6d1f117a3f3139939680d69c7b9562d64a1b7e Mon Sep 17 00:00:00 2001
From: j1nx
Date: Sun, 8 Aug 2021 12:08:20 +0200
Subject: [PATCH] Force eglfs to use Atomic API
---
buildroot-external/package/mycroft-service/mycroft-gui.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/buildroot-external/package/mycroft-service/mycroft-gui.service b/buildroot-external/package/mycroft-service/mycroft-gui.service
index 2070e5df..f9100560 100644
--- a/buildroot-external/package/mycroft-service/mycroft-gui.service
+++ b/buildroot-external/package/mycroft-service/mycroft-gui.service
@@ -8,6 +8,7 @@ After=mycroft-messagebus.service
User=mycroft
WorkingDirectory=/home/mycroft
Environment=QT_QPA_PLATFORM=eglfs
+Environment=QT_QPA_EGLFS_KMS_ATOMIC=1
Environment=QT_QPA_PLATFORMTHEME=qt5ct
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
Environment=QT_QUICK_CONTROLS_CONF=/home/mycroft/.config/qtquickcontrols2material.conf