wayland-ivi-extension 1.9.1 error log query

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Wed Mar 8 06:45:51 EST 2017


Hi,

Maybe you can probe ivi_layout_surface_destroy to see, if it is called.

Because in ivi_layout_surface_destroy function, surface is removed from the layer:
331 /**
 332  * Called at destruction of wl_surface/ivi_surface
 333  */
 334 void
 335 ivi_layout_surface_destroy(struct ivi_layout_surface *ivisurf)
 336 {
 337         struct ivi_layout *layout = get_instance();
 338 
 339         if (ivisurf == NULL) {
 340                 weston_log("%s: invalid argument\n", __func__);
 341                 return;
 342         }
 343 
 344         wl_list_remove(&ivisurf->transform.link);
 345         wl_list_remove(&ivisurf->pending.link);
 346         wl_list_remove(&ivisurf->order.link);
 347         wl_list_remove(&ivisurf->link);
 348         remove_ordersurface_from_layer(ivisurf);
 349 
 350         wl_signal_emit(&layout->surface_notification.removed, ivisurf);
 351 
 352         remove_configured_listener(ivisurf);
 353 
 354         ivi_layout_surface_remove_notification(ivisurf);
 355 
 356         free(ivisurf);
 357 }

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937

> -----Original Message-----
> From: Vikas Patil [mailto:vikasmpatil at gmail.com]
> Sent: Mittwoch, 8. März 2017 11:58
> To: Ucan, Emre (ADITG/SW1)
> Cc: genivi-ivi-layer-management at lists.genivi.org
> Subject: Re: wayland-ivi-extension 1.9.1 error log query
> 
> Hi Emre Ucan,
> 
> 
> >> Maybe gstreamer sink did not destroy ilmSurface when you stop it.
> 
> I am cleaning up as follows and also verified the control reaches till this point.
> Am I missing anything? or it could be it didn't completed it and request come
> fast for creation.
> 
>     ilm_surfaceRemoveNotification(ilmSurfaceId);
>     ilm_commitChanges();
> 
>     printf("----------->destroy_surfaces: destroying ilm surface , no notify\n");
>     if (ilmSurfaceId > 0)
>         ilm_surfaceRemove(ilmSurfaceId);
> 
> 
>     ilmClient_destroy();
>     ilm_destroy();
> 
> 
> Regards,
> 
> Vikash
> 
> 
> On Wed, Mar 8, 2017 at 4:16 PM, Ucan, Emre (ADITG/SW1) <eucan at de.adit-
> jv.com> wrote:
> 
> 
> 	Hi Vikash,
> 
> 	Maybe gstreamer sink did not destroy ilmSurface when you stop it.
> 
> 	Second error message says that the surface is already on the layer
> but someone is trying to add it anyway.
> 
> 	Best regards
> 
> 	Emre Ucan
> 	Software Group I (ADITG/SW1)
> 
> 	Tel. +49 5121 49 6937
> 
> 	> -----Original Message-----
> 	> From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-
> management- <mailto:genivi-ivi-layer-management->
> 	> bounces at lists.genivi.org] On Behalf Of Vikas Patil
> 	> Sent: Mittwoch, 8. März 2017 10:59
> 	> To: genivi-ivi-layer-management at lists.genivi.org <mailto:genivi-ivi-
> layer-management at lists.genivi.org>
> 	> Subject: wayland-ivi-extension 1.9.1 error log query
> 	>
> 	> Hi All,
> 	>
> 	> With my test video player, I am seeing following error on console
> and in
> 	> weston log. What do these error/log signify? Do I need to fix them
> or these
> 	> could be ignored? Below errors
> 	> count increases each time my test application repeats (sets) the
> state of
> 	> pipeline to play and null.
> 	>
> 	> On Console:
> 	> invalid id_surface in controller_listener_surface
> 	> invalid id_surface in controller_listener_surface
> 	> invalid id_surface in controller_listener_surface
> 	> invalid id_surface in controller_listener_surface
> 	> invalid id_surface in controller_listener_surface
> 	>
> 	> Line 725:
> 	> https://github.com/GENIVI/wayland-ivi-extension/blob/1.9.1/ivi-
> <https://github.com/GENIVI/wayland-ivi-extension/blob/1.9.1/ivi->
> 	> layermanagement-
> api/ilmControl/src/ilm_control_wayland_platform.c
> 	>
> 	> In weston log:
> 	> [00:00:12.264] ivi_layout_layer_add_surface: addsurf is already
> available
> 	> [00:00:16.751] ivi_layout_layer_add_surface: addsurf is already
> available
> 	> [00:00:21.381] ivi_layout_layer_add_surface: addsurf is already
> available
> 	> [00:00:26.001] ivi_layout_layer_add_surface: addsurf is already
> available
> 	> [00:00:30.648] ivi_layout_layer_add_surface: addsurf is already
> available
> 	>
> 	> Line 2551:
> 	> https://cgit.freedesktop.org/wayland/weston/tree/ivi-shell/ivi-
> <https://cgit.freedesktop.org/wayland/weston/tree/ivi-shell/ivi->
> 	> layout.c?h=1.9
> 	>
> 	> I am using wayland-ivi-extension 1.9.1 and weston 1.9.0 with i.MX6
> platform.
> 	>
> 	> Test player uses glimagesink (gstreamer video sink supporting
> wayland and
> 	> wayland-ivi-extesnion). I have used ilmclient and ilmcontrol apis
> directly
> 	> inside glimage sink plugin to support wayland-ivi-extension. Test
> player
> 	> set the pipeline state to play and null repetitively to test the video
> 	> playback.
> 	>
> 	> Thanking in advance for any comments/suggestions.
> 	>
> 	> Regards,
> 	> Vikash
> 
> 	> _______________________________________________
> 	> genivi-ivi-layer-management mailing list
> 	> genivi-ivi-layer-management at lists.genivi.org <mailto:genivi-ivi-
> layer-management at lists.genivi.org>
> 	> http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-
> management <http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-
> management>
> 
> 



More information about the genivi-ivi-layer-management mailing list