[Interest] Qt 5.9 with Wayland IVI Extension

Awadhiya, Vikas Vikas.Awadhiya at ifm.com
Wed Dec 26 08:16:27 CET 2018

Hi All,

Following link https://download.automotivelinux.org/AGL/release/albacore/0.1rc1/qemux86/deploy/sources/i586-poky-linux/qtwayland-5.5.1+gitAUTOINC+9d40864945-r0/0001-Implement-initial-IVI-shell-support-with-shell-integ.patch
explains how to set surface id but it doesn't work, if it works for some then please share how it works?

Basic problem with writing application are,

1.     How to set surface id from app level.

2.     Again how to do ilm command from application to reposition window.

There is one more condition, If we want to develop custom window manager which expose api to get surface id and other ilm commands then how do we interact with window manager from Qt application?

Vikas Awadhiya

From: Johan Helsing [mailto:johan.helsing at qt.io]
Sent: Friday, December 21, 2018 2:03 PM
To: Christian Gagneraud <chgans at gmail.com>
Cc: Awadhiya, Vikas <Vikas.Awadhiya at ifm.com>; interest <interest at qt-project.org>; cordlandwehr at kde.org
Subject: Re: [Interest] Qt 5.9 with Wayland IVI Extension

Hi again,

Looking at QWaylandIviShellIntegration::createShellSurface, there is code that positions a Qt Client using ivi_controller. Are you sure your Weston version supports it? Maybe it's using ivi_wm instead? You can check by running weston-info.

If it is running ivi_controller, and you can't move the windows, please file a bug for it and attach logs with WAYLAND_DEBUG=1

As for your linked slides about performance issues, they're complaining about missing support for buffer modifiers, which was just implemented https://codereview.qt-project.org/#/c/214050/<https://urldefense.proofpoint.com/v2/url?u=https-3A__codereview.qt-2Dproject.org_-23_c_214050_&d=DwMFAw&c=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0&r=cxhVCJYKAOBZLhZyNj5ikRWlb-5iDb7mF9OXtsOC4z0&m=i6AVratYH3E5Olejs4Jcj3eb78WzPDtgbFOwTNxPCVw&s=Xxdt24k7Jyv1v0SSD91G4ManGsJ9vLIIr8-0gLVLH-o&e=> and should be in Qt 5.13, huge thanks to Andreas Cord-Landwehr for contributing the code :) Cherry-picking the patch onto 5.12 shouldn't be that hard either.


From: Christian Gagneraud <chgans at gmail.com<mailto:chgans at gmail.com>>
Sent: Friday, December 21, 2018 02:14
To: Johan Helsing
Cc: Vikas.Awadhiya at ifm.com<mailto:Vikas.Awadhiya at ifm.com>; interest
Subject: Re: [Interest] Qt 5.9 with Wayland IVI Extension

On Fri, 21 Dec 2018 at 14:12, Christian Gagneraud <chgans at gmail.com<mailto:chgans at gmail.com>> wrote:
> That's a pity, because QtWayland could be used for client side only,
> and Weston+IVI on the compositor side.
> Apparently Weston is "better" Than QtWayland, see 26:36 of
> https://www.youtube.com/watch?v=k9mobviOpFQ<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_watch-3Fv-3Dk9mobviOpFQ&d=DwMFAw&c=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0&r=cxhVCJYKAOBZLhZyNj5ikRWlb-5iDb7mF9OXtsOC4z0&m=i6AVratYH3E5Olejs4Jcj3eb78WzPDtgbFOwTNxPCVw&s=sklyY_zn5VfZAHFZ6EgC51YoDV4uyNEBiUVX4ONHTDE&e=> (The Modern Linux Graphics
> Stack on Embedded Systems - Michael Tretter, Pengutronix)

Slide 41 of https://elinux.org/images/9/93/The-Modern-Linux-Graphics-Stack-on-Embedded-Systems-Michael-Tretter-Pengutronix.pdf<https://urldefense.proofpoint.com/v2/url?u=https-3A__elinux.org_images_9_93_The-2DModern-2DLinux-2DGraphics-2DStack-2Don-2DEmbedded-2DSystems-2DMichael-2DTretter-2DPengutronix.pdf&d=DwMFAw&c=riR7jviByh3sGm7GIiSlHkFN0_aSATB6A8x0nHa2EM0&r=cxhVCJYKAOBZLhZyNj5ikRWlb-5iDb7mF9OXtsOC4z0&m=i6AVratYH3E5Olejs4Jcj3eb78WzPDtgbFOwTNxPCVw&s=O_Pnjo1NJhuyMbvC0hR4SN4Vyt822Xkfmf_WHPgXt84&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181226/9b59b3d3/attachment.html>

More information about the Interest mailing list