From dd48c93dc7ca4e37156413652ba716d008c2edcd Mon Sep 17 00:00:00 2001 From: Kenta Date: Thu, 10 Oct 2024 18:10:32 +0900 Subject: Unified HMI: Consolidate recipes under meta-uhmi Move all recipes from meta-rvgpu and meta-distributed-display-fw into meta-uhmi. And, document the build instructions for RVGPU and DDFW in the README. Bug-AGL: SPEC-5254 Change-Id: I0f3362b0f79105de39584d0a5659ac9e3c9d3a2b Signed-off-by: Kenta --- meta-uhmi/meta-rvgpu/README.md | 54 ------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 meta-uhmi/meta-rvgpu/README.md (limited to 'meta-uhmi/meta-rvgpu/README.md') diff --git a/meta-uhmi/meta-rvgpu/README.md b/meta-uhmi/meta-rvgpu/README.md deleted file mode 100644 index 3d524fef..00000000 --- a/meta-uhmi/meta-rvgpu/README.md +++ /dev/null @@ -1,54 +0,0 @@ -## How to run RVGPU remotely -Prepare two images, one as the Sender and the other as the Receiver. -It is necessary for the Sender and Receiver to be within the same network. - -**Receiver side** -``` -$ export XDG_RUNTIME_DIR=/run/user/ -$ rvgpu-renderer -b @0,0 -p & -``` - -Replace the placeholders with the appropriate values: -- ``: Specify according to your environment, for example: 200 -- ``: Enter an usable area for example: 1920x1080 -- ``: Enter an available port number, for example: 55555 - -**Sender side** -Create the following shell script **run_remote_app.sh** in any `` for a smooth experience. -``` -#!/bin/bash - -export XDG_RUNTIME_DIR=/tmp -export LD_LIBRARY_PATH=/usr/lib/mesa-virtio - -# ------------- -# launch app -# ------------- -$@ -``` - -Save the file and run the following to start weston. - -``` -$ rvgpu-proxy -s @0,0 -n : & -$ EGLWINSYS_DRM_DEV_NAME= /run_remote_app.sh rvgpu-wlproxy -s -S & -``` -Replace the placeholders with the appropriate values: -- ``: Port set in the renderer. -- ``: Specify your WAYLAND_DISPLAY socket name, for example: wayland-uhmi-0 -- ``: Specify rvgpu drm device path generated by rvgpu-proxy, for example: /dev/dri/rvgpu_virtio0 - -After completing these steps, the Weston screen from the Sender will be transferred and displayed on the Receiver using rvgpu-proxy and rvgpu-renderer. You can verify that everything is functioning properly by launching wayland applications on the Sender side, such as: -``` -$ WAYLAND_DISPLAY= /run_remote_app.sh weston-simple-egl -f -``` - -You can also verify the touch or keyboard operation support of the RVGPU by using app such as -``` -$ WAYLAND_DISPLAY= /run_remote_app.sh weston-smoke -$ WAYLAND_DISPLAY= /run_remote_app.sh weston-editor -``` - -**Appendix** -- By building the RVGPU on Ubuntu, it is possible to enable bidirectional remote rendering between the agl-demo-platform and Ubuntu. -For the build procedure on Ubuntu, see the following URL: https://github.com/unified-hmi/remote-virtio-gpu \ No newline at end of file -- cgit 1.2.3-korg