diff options
author | 2025-01-15 17:22:25 +0900 | |
---|---|---|
committer | 2025-01-17 08:58:19 +0000 | |
commit | 5bf650925c8d8d6cf77139a2a2deee74e2b5cfe7 (patch) | |
tree | 53dd73e7085b6283f2d55f65e00d42036ea7d3ec /meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files | |
parent | d81cbb24347f42be696984087846d29c67519be8 (diff) |
Unified HMI: Preconfigured Images
A new preconfigured demo image for Unified HMI has been added.
By building and launching the images for both the sender and receiver,
and executing a few commands, you can display the application across
two displays.
It supports three boards: qemu-x86-64, raspberrypi4, and agl-refhw.
Bug-AGL: SPEC-5321
Change-Id: I682f9eef6d1861e9ec2a7153dd8f3c42f1078a05
Signed-off-by: Kenta <murakami.kenta002@jp.panasonic.com>
Diffstat (limited to 'meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files')
5 files changed, 86 insertions, 0 deletions
diff --git a/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/app.json b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/app.json new file mode 100644 index 00000000..1dcce8aa --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/app.json @@ -0,0 +1,49 @@ +{ + "format_v1": { + "command_type" : "remote_virtio_gpu", + "appli_name" : "glmark2", + "sender" : { + "launcher" : "agl-host0", + "command" : "/usr/bin/ucl-virtio-gpu-wl-send", + "frontend_params" : { + "scanout_x" : 0, + "scanout_y" : 0, + "scanout_w" : 1920, + "scanout_h" : 1080, + "server_port" : 33445 + }, + "appli" : "/usr/bin/glmark2-es2-wayland -s 1920x1080", + "env" : "LD_LIBRARY_PATH=/usr/lib/mesa-virtio" + }, + "receivers" : [ + { + "launcher" : "agl-host0", + "command" : "/usr/bin/ucl-virtio-gpu-wl-recv", + "backend_params" : { + "ivi_surface_id" : 101000, + "scanout_x" : 0, + "scanout_y" : 0, + "scanout_w" : 1920, + "scanout_h" : 1080, + "listen_port" : 33445, + "initial_screen_color" : "0x33333333" + }, + "env" : "XDG_RUNTIME_DIR=/run/user/200 WAYLAND_DISPLAY=wayland-1" + }, + { + "launcher" : "agl-host1", + "command" : "/usr/bin/ucl-virtio-gpu-wl-recv", + "backend_params" : { + "ivi_surface_id" : 101000, + "scanout_x" : 0, + "scanout_y" : 0, + "scanout_w" : 1920, + "scanout_h" : 1080, + "listen_port" : 33445, + "initial_screen_color" : "0x33333333" + }, + "env" : "XDG_RUNTIME_DIR=/run/user/200 WAYLAND_DISPLAY=wayland-1" + } + ] + } +} diff --git a/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/initial_vscreen.json b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/initial_vscreen.json new file mode 100644 index 00000000..d6ac7771 --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/initial_vscreen.json @@ -0,0 +1,20 @@ +{ + "command": "initial_vscreen", + "vlayer": [ + { + "VID": 1010000, + "coord": "global", + "virtual_w": 1920, "virtual_h": 1080, + "vsrc_x": 0, "vsrc_y": 0, "vsrc_w": 1920, "vsrc_h": 1080, + "vdst_x": 960, "vdst_y": 0, "vdst_w": 1920, "vdst_h": 1080, + "vsurface": [ + { + "VID": 101000, + "pixel_w": 1920, "pixel_h": 1080, + "psrc_x": 0, "psrc_y": 0, "psrc_w": 1920, "psrc_h": 1080, + "vdst_x": 0, "vdst_y": 0, "vdst_w": 1920, "vdst_h": 1080 + } + ] + } + ] +} diff --git a/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/uhmi-ivi-wm.conf b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/uhmi-ivi-wm.conf new file mode 100644 index 00000000..546a61c4 --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/uhmi-ivi-wm.conf @@ -0,0 +1,3 @@ +[Service] +Environment="XDG_RUNTIME_DIR=/run/user/200" +Environment="WAYLAND_DISPLAY=wayland-1" diff --git a/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-receiver.config b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-receiver.config new file mode 100644 index 00000000..9d6b3a63 --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-receiver.config @@ -0,0 +1,7 @@ +[global] +Name = Wired +Description = Wired network configuration + +[service_ether] +Type = ethernet +IPv4 = 192.168.0.101/24 diff --git a/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-sender.config b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-sender.config new file mode 100644 index 00000000..777a3e95 --- /dev/null +++ b/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/files/wired-sender.config @@ -0,0 +1,7 @@ +[global] +Name = Wired +Description = Wired network configuration + +[service_ether] +Type = ethernet +IPv4 = 192.168.0.100/24 |