Please tell me any one, how to run weston two different QT clients on two different display if we have multiple display device?
Regards
Mayur
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Please tell me any one, how to run weston two different QT clients on two different display if we have multiple display device?
Regards
Mayur
Hi Mayur,
Yes, default layer_add_surface from wayland_ivi_extension takes 2 arguments. TI has modified this to take screenID also as argument in PSDKLA3.04 release. What is the SDK you are using?
If you just copy this application from PSDKLA3.04 filesystem to your rootfs , that's sufficient.
Hi Mayur,
Yes, this support doesn't exist in PSDKLA3.04 and added in later releases. You can try applying these two patches on wayland-ivi-extension reprository
or directly use the attached layer_add_surfaces which supports adding screenIDlayer_add_surface.zip as an argument.
use screenID 0 for LCD and 1 for HDMI.
Hi Mayur,
The way we tested dual display with this binary is
$layer_arun.zipdd_surfaces 0 1000 1 &
$Launch first QT application. Make sure this application creates ivi_surface with a unique ID. You should observe application running on LCD.
$layer_add_surfaces 1 2000 1 &
$Launch second QT application on HDMI . Make sure this application creates ivi_surface with a unique ID. You should observe second application on HDMI.
I have attached the script which I tested with wayland-clients.
Thanks
Ramprasad