Skip to content
Snippets Groups Projects
Commit e382ac22 authored by Felix Gerking's avatar Felix Gerking Committed by Jonas Höppner
Browse files

qt-multi-screen-compositor: Add systemd units for imx6ull and the other platforms

imx6ull uses the linuxfb backend,
imx6 and imx8m* using eglfs.
parent bb708bf0
No related branches found
No related tags found
1 merge request!346Add qt-multi-screen-compositor recipe as alternative to weston
[Unit]
Description=Qt multi-screen Compositor
RequiresMountsFor=/run
Conflicts=plymouth-quit.service
After=systemd-user-sessions.service plymouth-quit-wait.service systemd-logind.service
[Service]
User=%i
PAMName=login
Environment=XDG_RUNTIME_DIR=/var/run/user/0
Environment=QT_QPA_FONTDIR=/usr/share/fonts/truetype
Environment=QT_QPA_PLATFORM=linuxfb
Environment=QT_QUICK_BACKEND=software
# Use this if the touch entry is rotated compared to the screen
# as the normal libinput calibration is not yet implemented
# this is the only way of touch calibration available
# Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=rotate=180
StandardError=journal
PermissionsStartOnly=true
IgnoreSIGPIPE=no
#Type=notify
#NotifyAccess=all
Type=simple
ExecStart=/usr/bin/multi-screen
......@@ -9,11 +9,15 @@ User=%i
PAMName=login
Environment=XDG_RUNTIME_DIR=/var/run/user/0
Environment=QT_QPA_FONTDIR=/usr/share/fonts/truetype
Environment=QT_QPA_PLATFORM=wayland
Environment=QT_QPA_EGLFS_KMS_CONFIG=/etc/kms.conf
Environment=QT_QPA_PLATFORM=eglfs
Environment=QT_QPA_EGLFS_INTEGRATION=eglfs_kms
Environment=QT_QPA_EGLFS_KMS_ATOMIC=1
Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=rotate=180
# Use this if the touch entry is rotated compared to the screen
# as the normal libinput calibration is not yet implemented
# this is the only way of touch calibration available
# Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=rotate=180
StandardError=journal
PermissionsStartOnly=true
IgnoreSIGPIPE=no
......@@ -21,4 +25,5 @@ IgnoreSIGPIPE=no
#Type=notify
#NotifyAccess=all
Type=simple
ExecStart=/usr/bin/multi-screen -platform eglfs
ExecStart=/usr/bin/multi-screen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment