RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
$ mkfs.ext3 /dev/hdb1 |
---|
$ mkdir /ext_hdd $ mount /dev/hdb1 /ext_hdd |
---|
$ scp <file_name> root@<your_emulator_vm_ip>:/ext_hdd |
---|
As described in the previous section, you can log in to your emulator VM from your Host Machine using the ssh command.
$ ssh root@x.x.x.x |
---|
RDK emulator supports westeros compositor and renderer module as westeros-renderer-gl
1) ssh login to the Emulator
Westeros compositor will run automatically in startup of Emulator image
run. Do the following to check westeros animation using westeros_test command line utility.
$ killall westeros |
---|
Code Block | ||
---|---|---|
| ||
$ mkdir -p /run/user/0 $ export XDG_RUNTIME_DIR=/run/user/0/ $ westeros --renderer <renderer module> --display <socket-name> & $ westeros --renderer /usr/lib/libwesteros_render_gl.so.0.0.0 --display WPE & $ gdisplay start $ export WAYLAND_DISPLAY=WPE for Dunfell Emulator --------------------- $ mkdir -p /run/user/0 $ export XDG_RUNTIME_DIR=/run/user/0/ Add the below line in westeros-init.sh export LD_PRELOAD=/usr/lib/libwesteros_gl.so.0.0.0 $ westeros --renderer /usr/lib/libwesteros_render_gl.so.0.0.0 --display WPE & Run the commands westeros-init.sh westeors_test |
westeros compositor will launch
to test westeros compositor with simple egl test apliaction
run westeros_test
Code Block | ||
---|---|---|
| ||
# After Launching westeros compositor in emulator $ export XDG_RUNTIME_DIR=/run/user/0/ $ export WAYLAND_DISPLAY=WPE $ westeros_test (or) $ westeros_test --display WPE |
Code Block | ||
---|---|---|
| ||
$ export XDG_RUNTIME_DIR=/run/user/0/ $ export WAYLAND_DISPLAY=WPE #Check the plugin in image $ gst-inspect-1.0 westerossink # To play the video and render on westeros compositor $ gst-launch-1.0 playbin uri=http://localhost:50050/received_spts1.ts videosink=westerossink |