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.
Team
We are still stuck with AM57XX and the video windows positioning - Trying to do this with IVI shell and launching Gstreamer with Waylandsink, it ends with a Segmentation fault.
- Do you have any guidelines how to solve that?
Also, please note that we don't see a possibility to do video positioning from script in Weston with default desktop shell backend.
In case we would not be able to position windows with HW accelerated video, we cannot use AM57XX in our application.
We would appreciate a prompt reaction.
Thank you.
//Previous post: Linux/AM5728: Cameras and SDK error - Processors forum - Processors - TI E2E support forums
Hi Bartosz,
Please share complete pipeline that is causing segmentation fault with waylandsink along with ivi shell configuration tried.
Default Desktop shell doesn't have the ability to fix the position of the window, so it won't help the use case.
Regards,
Manisha
Hi Bartosz,
As mentioned in the wiki page -
"With ivi-shell configured for weston, wayland client applications use ivi-application protocol to be managed by a central HMI window management. The wayland-ivi-extension provides ivi-controller.so to manage properties of surfaces/layers/screens and it also provides the ivi-input-controller.so to manage the input focus on a surface.
Applications must support the ivi-application protocol to be managed by the HMI central controller with an unique numeric ID. "
Waylandsink client application is opensource gstreamer plugin not supported by TI. To be able to use ivi shell with gstreamer framework, customer will need to add the ivi-application protocol to the the waylandsink. They can refer to other weston client application on how to add the support. The weston client example application can be found in Arago build package. Look for any weston application in Arago build (can be found under build\arago-tmp-external-linaro-toolchain\work\armv7ahf-neon-linux-gnueabi\weston\1.11.0-r0.arago22\weston-1.11.0\clients) and grep for ivi in that file. Changes doesn't seems much.
Waylandsink plugin code can be found under build\arago-tmp-external-linaro-toolchain\work\am57xx_evm-linux-gnueabi\gstreamer1.0-plugins-bad\1.8.3-r5\gst-plugins-bad-1.8.3\ext\wayland.
There's another approach of using ivi-controller which will also requires modification in waylandsink plugin. Please refer to this link -
I am not sure which promotional material is being referred which says all these are possible through command line. Window positioning is possible at low level framework using DRM APIs or weston manager can enable it using ivi shell. Customer can refer to dual camera demo out of box application which demonstrates window positioning using DRM APIs.
To work with ivi shell, it is up to the client application to support the protocol. There can be many different client applications and onus is on customers to support the ivi-shell protocol on the application referring to examples available in arago build.
The trouble with customer is they are staying with gstreamer framework for advance display/graphics usage and the client application for ivi shell with gstreamer is open source waylandsink.
Gstreamer framework is more of a multimedia framework and not much applicable for advance display and graphics functionality usage. Typically most of the customers chooses to use to work outside gstreamer framework for advance display and graphics need.
Manisha, Thanks for your clear comments.
Bartozs, I am not sure what kind of promotion material he is talking about...it would be good to know, because in case we are misleading customers, we need to correct our material...