Warning when disabling and enabling video

Jithin Das P jithin.das at quest-global.com
Fri Dec 15 02:51:57 EST 2017


Hi,

Thank you for confirming the sequence.

Whenever the issue occurs, this warning is also output.
We assume that the previous surface delete was not proper.
Is it possible to debug this further?


Regards
Jithin

From: Ucan, Emre (ADITG/ESB) [mailto:eucan at de.adit-jv.com]
Sent: Friday, December 15, 2017 1:07 PM
To: Jithin Das P <jithin.das at quest-global.com>; genivi-ivi-layer-management at lists.genivi.org
Cc: Kiran George Varghese <kiran.varghese at quest-global.com>; Biju P N <biju.pn at quest-global.com>
Subject: RE: Warning when disabling and enabling video

Hi,

The sequence looks ok. I guess that you have some other problem.

Best regards

Emre Ucan
Engineering Software Base (ADITG/ESB)

Tel. +49 5121 49 6937
From: Jithin Das P [mailto:jithin.das at quest-global.com]
Sent: Freitag, 15. Dezember 2017 08:20
To: Ucan, Emre (ADITG/ESB); genivi-ivi-layer-management at lists.genivi.org<mailto:genivi-ivi-layer-management at lists.genivi.org>
Cc: Kiran George Varghese; Biju P N
Subject: RE: Warning when disabling and enabling video

Hi,

Thank you for the feedback.
However, we are facing issues(black screen issues) when this scenario occurs.

Is it possible to know/debug further the reason for this warning?
Additionally, can you confirm whether there is any problem with the current sequence?

1. enable the video device
wl_display_connect
wl_display_get_registry
wl_registry_add_listener
wl_display_roundtrip
wl_compositor_create_surface
ivi_application_surface_create

2. disable the video device
ivi_surface_destroy
wl_surface_destroy
wl_compositor_destroy
ivi_application_destroy
wl_registry_destroy
wl_display_flush
wl_display_disconnect

Regards
Jithin

From: Ucan, Emre (ADITG/ESB) [mailto:eucan at de.adit-jv.com]
Sent: Friday, December 15, 2017 12:42 PM
To: Jithin Das P <jithin.das at quest-global.com<mailto:jithin.das at quest-global.com>>; genivi-ivi-layer-management at lists.genivi.org<mailto:genivi-ivi-layer-management at lists.genivi.org>
Cc: Kiran George Varghese <kiran.varghese at quest-global.com<mailto:kiran.varghese at quest-global.com>>; Biju P N <biju.pn at quest-global.com<mailto:biju.pn at quest-global.com>>
Subject: RE: Warning when disabling and enabling video

Hi,

The warning is not important. Somebody is setting input acceptance for the same surface twice. It should not cause any problems.

Best regards

Emre Ucan
Engineering Software Base (ADITG/ESB)

Tel. +49 5121 49 6937
From: Jithin Das P [mailto:jithin.das at quest-global.com]
Sent: Mittwoch, 13. Dezember 2017 07:22
To: genivi-ivi-layer-management at lists.genivi.org<mailto:genivi-ivi-layer-management at lists.genivi.org>; Ucan, Emre (ADITG/ESB)
Cc: Kiran George Varghese; Biju P N
Subject: Warning when disabling and enabling video

Hi

We have queries regarding GENIVI IVI layer/surface management. Could you help?

We are getting a warning when enabling and disabling video many times.
The warning message/log is from the wayland side.

invalid id_surface in controller_listener_surface
Warning: input acceptance event trying to add seat default, that is already in surface 1000


We are only the user of Wayland Client API.
We are not able to debug further.
We have adjusted the Wayland API order as following.
We don't see any further problem from a wayland client API user's point of view.

1. enable the video device

wl_display_connect
wl_display_get_registry
wl_registry_add_listener
wl_display_roundtrip
wl_compositor_create_surface
ivi_application_surface_create


2. disable the video device

ivi_surface_destroy
wl_surface_destroy
wl_compositor_destroy
ivi_application_destroy
wl_registry_destroy
wl_display_flush
wl_display_disconnect

We would like to know the real root cause of it on wayland side.
Could you advise us what we are doing wrong on our side.
Is the above sequence correct or should there be any change?

Please see the error details below:
[247862.100]  -> wl_registry at 2.bind(1<mailto:wl_registry at 2.bind(1>, "wl_compositor", 2, new id [unknown]@4)
[247862.267] wl_registry at 2.global(2<mailto:wl_registry at 2.global(2>, "wl_subcompositor", 1)
[247862.403] wl_registry at 2.global(3<mailto:wl_registry at 2.global(3>, "wl_scaler", 2)
[247862.552]  -> wl_registry at 2.bind(3<mailto:wl_registry at 2.bind(3>, "wl_scaler", 2, new id [unknown]@5)
[247862.765] wl_registry at 2.global(4<mailto:wl_registry at 2.global(4>, "presentation", 1)
[247862.902] wl_registry at 2.global(5<mailto:wl_registry at 2.global(5>, "wl_data_device_manager", 2)
[247863.103] wl_registry at 2.global(6<mailto:wl_registry at 2.global(6>, "wl_shm", 1)
[247863.235]  -> wl_registry at 2.bind(6<mailto:wl_registry at 2.bind(6>, "wl_shm", 1, new id [unknown]@6)
[247863.388] wl_registry at 2.global(7<mailto:wl_registry at 2.global(7>, "wl_drm", 1)
[247863.514] wl_registry at 2.global(8<mailto:wl_registry at 2.global(8>, "wl_output", 2)
[247863.652]  -> wl_registry at 2.bind(8<mailto:wl_registry at 2.bind(8>, "wl_output", 2, new id [unknown]@7)
[247863.804] wl_registry at 2.global(9<mailto:wl_registry at 2.global(9>, "wl_output", 2)
[247863.980]  -> wl_registry at 2.bind(9<mailto:wl_registry at 2.bind(9>, "wl_output", 2, new id [unknown]@8)
[247864.214] wl_registry at 2.global(10<mailto:wl_registry at 2.global(10>, "zlinux_dmabuf", 1)
[247864.345] wl_registry at 2.global(11<mailto:wl_registry at 2.global(11>, "wl_input_panel", 1)
[247864.473] wl_registry at 2.global(12<mailto:wl_registry at 2.global(12>, "wl_text_input_manager", 1)
[247864.601] wl_registry at 2.global(13<mailto:wl_registry at 2.global(13>, "ivi_application", 1)
[247864.732]  -> wl_registry at 2.bind(13<mailto:wl_registry at 2.bind(13>, "ivi_application", 1, new id [unknown]@9)
[247864.883] wl_registry at 2.global(14<mailto:wl_registry at 2.global(14>, "ivi_controller", 1)
[247865.008] wl_registry at 2.global(15<mailto:wl_registry at 2.global(15>, "ivi_input", 1)
[247865.188] wl_registry at 2.global(16<mailto:wl_registry at 2.global(16>, "screenshooter", 1)
[247865.315] wl_callback at 3.done(0)<mailto:wl_callback at 3.done(0)>
[247865.372]  -> wl_compositor at 4.create_surface(new<mailto:wl_compositor at 4.create_surface(new> id wl_surface at 3)
[247865.486]  -> ivi_application at 9.surface_create(1000<mailto:ivi_application at 9.surface_create(1000>, wl_surface at 3, new id ivi_surface at 10)
[247866.822]  -> wl_display at 1.get_registry(new<mailto:wl_display at 1.get_registry(new> id wl_registry at 11)
[247866.906]  -> wl_display at 1.sync(new<mailto:wl_display at 1.sync(new> id wl_callback at 12)
[247869.898] wl_display at 1.delete_id(12)<mailto:wl_display at 1.delete_id(12)>
[247869.967] wl_shm at 6.format(callbackFunction<mailto:wl_shm at 6.format(callbackFunction> Called, id = 1000, layer =1000, created

0)
[247870.144] wl_shm at 6.format(invalid<mailto:wl_shm at 6.format(invalid> id_surface in controller_listener_surface
1)
Warning: input acceptance event trying to add seat default, that is already in surface 1000

Regards
Jithin
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------



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