diff options
author | Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com> | 2022-12-07 10:37:11 +0700 |
---|---|---|
committer | Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com> | 2022-12-07 10:37:11 +0700 |
commit | e454e0ed9080b740c74eac99d7805fe7bba12dbe (patch) | |
tree | 2da9240ff7cecc886f776f40cad9b1c728b80cb3 | |
parent | f6911a11dc911a5bcb380d0895db6cfd533a3569 (diff) | |
download | wayland-ivi-extension-e454e0ed9080b740c74eac99d7805fe7bba12dbe.tar.gz |
README: update for wayland backend
On Ubuntu 22.04, the display controller are using the wayland protocols
by default. Run a new weston process need to pass the wayland display
socket listening. Clients want to run with new weston process need to
set WAYLAND_DISPLAY environment variable.
Signed-off-by: Tran Ba Khang(MS/EMC31-XC) <Khang.TranBa@vn.bosch.com>
-rw-r--r-- | README | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -46,17 +46,21 @@ Pre-requisite: export LD_LIBRARY_PATH=<your installation path>/lib Start-up Weston: - Example: <your installation path>/bin/weston + Syntax: <your installation path>/bin/weston [wayland_display_to_listen_on] + Example: /usr/bin/weston -Swayland-1 Start-up HMI helper: - Example: <your installation path>/bin/layer-add-surfaces 1000 1 + Syntax: [wayland_display_to_connect_to] <your installation path>/bin/layer-add-surfaces <layer_id> <surface_count> + Example: WAYLAND_DISPLAY=wayland-1 $HOME/bin/layer-add-surfaces 1000 1 EGLWLMockNavigation: - Example: <your installation path>/bin/EGLWLMockNavigation + Syntax: [wayland_display_to_connect_to] <your installation path>/bin/EGLWLMockNavigation + Example: WAYLAND_DISPLAY=wayland-1 $HOME/bin/EGLWLMockNavigation How to test ==================================== 1. Build the testsuite by setting BUILD_ILM_API_TESTS option. Example: cmake -DBUILD_ILM_API_TESTS 2. After starting up Weston run the testsuite. - Example: <your installation path>/bin/ivi-layermanagement-api-test + Syntax: [wayland_display_to_connect_to] <your installation path>/bin/ivi-layermanagement-api-test + Example: WAYLAND_DISPLAY=wayland-1 $HOME/bin/ivi-layermanagement-api-test |