diff mbox series

[master/kirkstone] weston-init: provide a custom beaglebone weston.ini file

Message ID 20231201205006.3991-1-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master/kirkstone] weston-init: provide a custom beaglebone weston.ini file | expand

Commit Message

Denys Dmytriyenko Dec. 1, 2023, 8:50 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

AM335x has some display/graphics hardware limitations and moreover
BeagleBone Black only has external HDMI output, hence add a custom
weston.ini that sets core/gbm-format=rgb565 and output/name=HDMI-A-1
to work out of the box. The rest of the .ini file is unmodified from
the generic one.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../wayland/weston-init/beaglebone/weston.ini | 85 +++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini

Comments

Andrew Davis Dec. 5, 2023, 12:47 a.m. UTC | #1
On 12/1/23 2:50 PM, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@konsulko.com>
> 
> AM335x has some display/graphics hardware limitations and moreover
> BeagleBone Black only has external HDMI output, hence add a custom
> weston.ini that sets core/gbm-format=rgb565 and output/name=HDMI-A-1
> to work out of the box. The rest of the .ini file is unmodified from
> the generic one.
> 
> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> ---

Acked-by: Andrew Davis <afd@ti.com>

>   .../wayland/weston-init/beaglebone/weston.ini | 85 +++++++++++++++++++
>   1 file changed, 85 insertions(+)
>   create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini
> 
> diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini b/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini
> new file mode 100644
> index 00000000..9fd9851d
> --- /dev/null
> +++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini
> @@ -0,0 +1,85 @@
> +# configuration file for Weston
> +
> +[core]
> +idle-time=0
> +#modules=xwayland.so,cms-colord.so
> +#shell=desktop-shell.so
> +gbm-format=rgb565
> +require-input=false
> +
> +[shell]
> +locking=false
> +animation=zoom
> +panel-position=top
> +startup-animation=fade
> +#background-image=/usr/share/backgrounds/gnome/Aqua.jpg
> +#background-color=0xff002244
> +#background-type=tile
> +#clock-format=minutes
> +#panel-color=0x90ff0000
> +#locking=true
> +#animation=zoom
> +#startup-animation=fade
> +#binding-modifier=ctrl
> +#num-workspaces=6
> +#cursor-theme=whiteglass
> +#cursor-size=24
> +
> +#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
> +#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
> +#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
> +#animation=fade
> +
> +#[launcher]
> +#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
> +#path=/usr/bin/gnome-terminal
> +
> +#[launcher]
> +#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
> +#path=/usr/bin/weston-terminal
> +
> +#[launcher]
> +#icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
> +#path=/usr/bin/google-chrome
> +
> +#[launcher]
> +#icon=/usr/share/icons/gnome/24x24/apps/arts.png
> +#path=/build/weston-0lEgCh/weston-1.11.0/weston-flower
> +
> +#[input-method]
> +#path=/usr/libexec/weston-keyboard
> +
> +[output]
> +name=HDMI-A-1
> +#mode=1680x1050
> +#transform=90
> +#icc_profile=/usr/share/color/icc/colord/Bluish.icc
> +
> +#[output]
> +#name=VGA1
> +#mode=173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
> +#transform=flipped
> +
> +#[output]
> +#name=X1
> +#mode=1024x768
> +#transform=flipped-90
> +
> +[libinput]
> +touchscreen_calibrator=true
> +#enable_tap=true
> +
> +#[touchpad]
> +#constant_accel_factor = 50
> +#min_accel_factor = 0.16
> +#max_accel_factor = 1.0
> +
> +[screen-share]
> +command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
> +
> +#[xwayland]
> +#path=/usr/bin/Xwayland
> +
> +[autolaunch]
> +# launch the calibrator on startup if a touchscreen is detected
> +path=/usr/bin/weston-launch-calibrator
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini b/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini
new file mode 100644
index 00000000..9fd9851d
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/beaglebone/weston.ini
@@ -0,0 +1,85 @@ 
+# configuration file for Weston
+
+[core]
+idle-time=0
+#modules=xwayland.so,cms-colord.so
+#shell=desktop-shell.so
+gbm-format=rgb565
+require-input=false
+
+[shell]
+locking=false
+animation=zoom
+panel-position=top
+startup-animation=fade
+#background-image=/usr/share/backgrounds/gnome/Aqua.jpg
+#background-color=0xff002244
+#background-type=tile
+#clock-format=minutes
+#panel-color=0x90ff0000
+#locking=true
+#animation=zoom
+#startup-animation=fade
+#binding-modifier=ctrl
+#num-workspaces=6
+#cursor-theme=whiteglass
+#cursor-size=24
+
+#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
+#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
+#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
+#animation=fade
+
+#[launcher]
+#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
+#path=/usr/bin/gnome-terminal
+
+#[launcher]
+#icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
+#path=/usr/bin/weston-terminal
+
+#[launcher]
+#icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
+#path=/usr/bin/google-chrome
+
+#[launcher]
+#icon=/usr/share/icons/gnome/24x24/apps/arts.png
+#path=/build/weston-0lEgCh/weston-1.11.0/weston-flower
+
+#[input-method]
+#path=/usr/libexec/weston-keyboard
+
+[output]
+name=HDMI-A-1
+#mode=1680x1050
+#transform=90
+#icc_profile=/usr/share/color/icc/colord/Bluish.icc
+
+#[output]
+#name=VGA1
+#mode=173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
+#transform=flipped
+
+#[output]
+#name=X1
+#mode=1024x768
+#transform=flipped-90
+
+[libinput]
+touchscreen_calibrator=true
+#enable_tap=true
+
+#[touchpad]
+#constant_accel_factor = 50
+#min_accel_factor = 0.16
+#max_accel_factor = 1.0
+
+[screen-share]
+command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
+
+#[xwayland]
+#path=/usr/bin/Xwayland
+
+[autolaunch]
+# launch the calibrator on startup if a touchscreen is detected
+path=/usr/bin/weston-launch-calibrator