Getting error "ivi-shell: source rectangle is not yet set byivi_layout_surface_set_source_rectangle"when following the ivi extension quick start guide
Johan Klokkhammer Helsing
johan.helsing at theqtcompany.com
Fri Apr 15 10:32:14 EDT 2016
Using the layer-add-surfaces example worked, and I can see the example
I also tried the approach of adding the source and destination regions
like you suggested, and while that got rid of the error message, I
still couldn't see the client.
In any case the quick start guide should probably be updated then?
On Fri, Apr 15, 2016 at 3:39 PM, Ucan, Emre (ADITG/SW1)
<eucan at de.adit-jv.com> wrote:
> Hi Johan,
> You have to set the properties of the surface:
> Source rectangle:
> LayerManagerControl set surface 10 source region 0 0 800 480
> Destination rectangle:
> LayerManagerControl set surface 10 destination region 0 0 800 480
> LayerManagerControl set surface 10 visibility 1
> You can use layer-add-surfaces example. It does all these things for
> Layer-add-surfaces 1000 1 &
> Best regards
> Emre Ucan
> Software Group I (ADITG/SW1)
> Tel. +49 5121 49 6937
>> -----Original Message-----
>> From: genivi-ivi-layer-management-bounces at lists.genivi.org
>> ivi-layer-management-bounces at lists.genivi.org] On Behalf Of Johan
>> Klokkhammer Helsing
>> Sent: Freitag, 15. April 2016 15:11
>> To: genivi-ivi-layer-management at lists.genivi.org
>> Subject: Getting error "ivi-shell: source rectangle is not yet set
>> ivi_layout_surface_set_source_rectangle" when following the ivi
>> quick start guide
>> Hi all.
>> I'm trying to familiarize myself with the ivi extensions for
>> Wayland, with the
>> intention of eventually implementing some basic support at least
>> for ivi-
>> application in the Qt Wayland compositor API.
>> As part of this, I thought I'd follow the quick start quide
>> (http://projects.genivi.org/wayland-ivi-extension/quick-start) in
>> order to
>> play around with some clients and get a feel for how it works.
>> I built and installed the plugin according to the guide without
>> trouble, but I
>> get an error when trying to run the example. i.e. when running this
>> part of
>> the guide:
>> $ export XDG_RUNTIME_DIR=/var/run/user/1000
>> $ weston & #reports ivi-shell.so and ivi-controller.so being
>> loaded, no errors
>> $ EGLWLMockNavigation & # no errors
>> $ LayerManagerControl create layer 1000 600 400
>> $ LayerManagerControl set layer 1000 render order 10
>> $ LayerManagerControl set screen 0 render order 1000 # prints:
>> source rectangle is not yet set by
>> $ LayerManagerControl set layer 1000 visibility 1
>> The compositor window is black the whole time, and I never see the
>> Running the client with WAYLAND_DEBUG=1 I can see a request for
>> ivi_application::surface_create along with an attach, damage and
>> commit for
>> the surface.
>> I'm doing this on Ubuntu 15.04 inside X, using the wayland and
>> weston 1.9
>> branches. Regular weston with xdg_shell clients runs fine.
>> I tried with wayland-ivi-extension 1.9.0 and 1.9.1.
>> Am I doing something wrong? Is the guide out of date? Or is this
>> supposed to
>> work and should be filed as a bug?
>> Johan Helsing
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the genivi-ivi-layer-management