Skip to content

Commit

Permalink
Refactor eglfs config for RPi compat (relates to #22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel McKnight committed Mar 27, 2024
1 parent f436aa5 commit d013fd4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion overlays/29-ovos-shell/etc/neon/eglfs.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "device": "/dev/dri/card1" }
{ "device": "/dev/dri/card0" }
1 change: 0 additions & 1 deletion overlays/29-ovos-shell/etc/neon/gui-shell.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
QT_IM_MODULE=qtvirtualkeyboard
QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_KMS_ATOMIC=1
QT_QPA_EGLFS_KMS_CONFIG=/etc/neon/eglfs.json
QT_QPA_PLATFORMTHEME=qt5ct
QT_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins:/usr/lib/aarch64-linux-gnu/qt5/plugins/kf5
QT_QUICK_CONTROLS_CONF=/home/neon/.config/qtquickcontrols2material.conf
Expand Down
3 changes: 1 addition & 2 deletions recipes/29-ovos-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ actions:
- action: run
description: Patch device path for Orange Pi5
chroot: True
command: |
sed -i -e "s|card1|card0|g" /etc/neon/eglfs.json
command: echo "QT_QPA_EGLFS_KMS_CONFIG=/etc/neon/eglfs.json" >> /etc/neon/gui-shell.conf
{{ end }}

- action: run
Expand Down

0 comments on commit d013fd4

Please sign in to comment.