diff --git a/systemd/rock5_qopenhd.service b/systemd/rock5_qopenhd.service index 0101783fc..4f9f660b5 100644 --- a/systemd/rock5_qopenhd.service +++ b/systemd/rock5_qopenhd.service @@ -5,10 +5,13 @@ After=multi-user.target [Service] Type=simple Environment="QT_QPA_EGLFS_KMS_ATOMIC=1" -Environment="QT_QPA_EGLFS_DEBUG=1" -Environment="QT_QPA_EGLFS_KMS_ZPOS=2" +Environment="QT_LOGGING_RULES=qt.qpa.egl*=true" +Environment="QT_QPA_EGLFS_KMS_PLANE_INDEX=1" Environment="QT_QPA_EGLFS_FORCE888=1" -Environment="QT_QPA_EGLFS_KMS_CONFIG=/usr/local/share/qopenhd/rock_qt_eglfs_kms_config.json" +Environment="QT_QPA_EGLFS_SWAPINTERVAL=0" +Environment="QT_QPA_EGLFS_KMS_CONFIG=/usr/local/share/qopenhd/rock_qt_eglfs_kms> +ExecStart=/usr/local/bin/QOpenHD -platform eglfs + ExecStart=/usr/local/bin/QOpenHD -platform eglfs User=root Restart=always