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.

AM5728: QT app on weston ivi shell

Part Number: AM5728

Hi 

I am trying to run QT application on weston ivi shell. I have configured weston to use ivi shell. 

Now I am able to run weston sample client app with commands as mentioned in following document. 

http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Graphics/Graphics_and_Display.html

But when I run QT application, I am not getting any display.

Weston.ini file

--------------------

[core]
idle-time=0
shell=ivi-shell.so
modules=ivi-controller.so

[ivi-shell]
ivi-module=ivi-controller.so
ivi-input-module=ivi-input-controller.so

background-image=/usr/share/backgrounds/gnome/Aqua.jpg
background-color=0xff002244
background-type=tile
panel-position=0

weston debug Logs  :

-------------------------------

root@am57xx-evm:~# ./windowtest
[4090710.819] -> wl_display@1.get_registry(new id wl_registry@2)
[4090711.734] -> wl_display@1.sync(new id wl_callback@3)
[4090712.818] wl_display@1.delete_id(3)
[4090713.354] wl_registry@2.global(1, "wl_compositor", 4)
[4090714.250] -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[4090715.380] wl_registry@2.global(2, "wl_subcompositor", 1)
[4090716.247] -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[4090717.373] wl_registry@2.global(3, "wp_viewporter", 1)
[4090718.232] wl_registry@2.global(4, "wp_presentation", 1)
[4090719.048] wl_registry@2.global(5, "zwp_relative_pointer_manager_v1", 1)
[4090719.874] wl_registry@2.global(6, "zwp_pointer_constraints_v1", 1)
[4090723.227] wl_registry@2.global(7, "zwp_input_timestamps_manager_v1", 1)
[4090724.060] wl_registry@2.global(8, "wl_data_device_manager", 3)
[4090724.960] -> wl_registry@2.bind(8, "wl_data_device_manager", 1, new id [unknown]@6)
[4090726.088] wl_registry@2.global(9, "wl_shm", 1)
[4090726.961] -> wl_registry@2.bind(9, "wl_shm", 1, new id [unknown]@7)
[4090728.180] wl_registry@2.global(10, "wl_drm", 2)
[4090729.038] wl_registry@2.global(11, "wl_seat", 5)
[4090729.503] -> wl_registry@2.bind(11, "wl_seat", 4, new id [unknown]@8)
[4090730.023] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@9, wl_seat@8)
[4090730.375] wl_registry@2.global(12, "zwp_linux_dmabuf_v1", 3)
[4090730.737] wl_registry@2.global(13, "wl_output", 3)
[4090731.111] -> wl_registry@2.bind(13, "wl_output", 2, new id [unknown]@10)
[4090731.594] -> wl_display@1.sync(new id wl_callback@11)
[4090731.882] wl_registry@2.global(14, "zwp_input_panel_v1", 1)
[4090732.248] wl_registry@2.global(15, "zwp_input_method_v1", 1)
[4090733.075] wl_registry@2.global(16, "zwp_text_input_manager_v1", 1)
[4090733.469] wl_registry@2.global(17, "ivi_application", 1)
[4090733.849] wl_registry@2.global(18, "ivi_wm", 1)
[4090734.207] wl_registry@2.global(19, "ivi_input", 1)
[4090736.617] wl_callback@3.done(1)
[4090740.838] wl_display@1.delete_id(11)
[4090741.116] wl_shm@7.format(0)
[4090741.316] wl_shm@7.format(1)
[4090741.502] wl_shm@7.format(909199186)
[4090741.685] wl_shm@7.format(842093913)
[4090741.868] wl_shm@7.format(842094158)
[4090742.057] wl_shm@7.format(1448695129)
[4090742.242] wl_seat@8.capabilities(6)
[4090742.609] -> wl_seat@8.get_keyboard(new id wl_keyboard@3)
[4090742.984] -> wl_seat@8.get_touch(new id wl_touch@12)
[4090743.244] wl_seat@8.name("default")
[4090743.576] wl_output@10.geometry(0, 0, 152, 91, 0, "unknown", "unknown", 0)
[4090744.321] wl_output@10.scale(1)
[4090744.507] wl_output@10.mode(3, 800, 480, 59524)
[4090745.009] wl_output@10.done()
[4090745.188] wl_callback@11.done(1)
[4090745.684] -> wl_shm@7.create_pool(new id wl_shm_pool@11, fd 6, 4096)
[4090746.747] -> wl_shm_pool@11.resize(8832)
[4090747.269] -> wl_shm_pool@11.resize(18624)
Using Wayland-EGL
[4090783.998] -> wl_display@1.get_registry(new id wl_registry@13)
[4090784.565] -> wl_display@1.sync(new id wl_callback@14)
[4090785.772] wl_display@1.delete_id(14)
[4090786.215] wl_registry@13.global(1, "wl_compositor", 4)
[4090787.130] wl_registry@13.global(2, "wl_subcompositor", 1)
[4090790.392] wl_registry@13.global(3, "wp_viewporter", 1)
[4090791.221] wl_registry@13.global(4, "wp_presentation", 1)
[4090792.090] wl_registry@13.global(5, "zwp_relative_pointer_manager_v1", 1)
[4090792.998] wl_registry@13.global(6, "zwp_pointer_constraints_v1", 1)
[4090793.819] wl_registry@13.global(7, "zwp_input_timestamps_manager_v1", 1)
[4090794.786] wl_registry@13.global(8, "wl_data_device_manager", 3)
[4090795.707] wl_registry@13.global(9, "wl_shm", 1)
[4090796.564] wl_registry@13.global(10, "wl_drm", 2)
[4090806.350] -> wl_registry@13.bind(10, "wl_drm", 2, new id [unknown]@15)
[4090807.637] wl_registry@13.global(11, "wl_seat", 5)
[4090808.460] wl_registry@13.global(12, "zwp_linux_dmabuf_v1", 3)
[4090809.285] -> wl_registry@13.bind(12, "zwp_linux_dmabuf_v1", 3, new id [unknown]@16)
[4090810.301] wl_registry@13.global(13, "wl_output", 3)
[4090810.659] wl_registry@13.global(14, "zwp_input_panel_v1", 1)
[4090810.947] wl_registry@13.global(15, "zwp_input_method_v1", 1)
[4090811.306] wl_registry@13.global(16, "zwp_text_input_manager_v1", 1)
[4090811.671] wl_registry@13.global(17, "ivi_application", 1)
[4090812.138] wl_registry@13.global(18, "ivi_wm", 1)
[4090812.585] wl_registry@13.global(19, "ivi_input", 1)
[4090812.876] wl_callback@14.done(1)
[4090812.999] -> wl_display@1.sync(new id wl_callback@14)
[4090813.499] wl_display@1.delete_id(14)
[4090813.698] wl_drm@15.device("/dev/dri/card0")
[4090813.986] -> wl_drm@15.authenticate(2)
[4090814.390] wl_drm@15.format(875713089)
[4090814.579] wl_drm@15.format(875713112)
[4090814.764] wl_drm@15.format(909199186)
[4090814.948] wl_drm@15.format(961959257)
[4090815.181] wl_drm@15.format(825316697)
[4090815.279] wl_drm@15.format(842093913)
[4090815.464] wl_drm@15.format(909202777)
[4090815.651] wl_drm@15.format(875713881)
[4090815.835] wl_drm@15.format(842094158)
[4090816.019] wl_drm@15.format(909203022)
[4090816.204] wl_drm@15.format(1448695129)
[4090816.389] wl_drm@15.capabilities(1)
[4090816.574] zwp_linux_dmabuf_v1@16.modifier(875713089, 16777215, 4294967295)
[4090816.934] zwp_linux_dmabuf_v1@16.modifier(875713112, 16777215, 4294967295)
[4090817.291] zwp_linux_dmabuf_v1@16.modifier(1448695129, 16777215, 4294967295)
[4090817.690] zwp_linux_dmabuf_v1@16.modifier(842094158, 16777215, 4294967295)
[4090817.969] zwp_linux_dmabuf_v1@16.modifier(842093913, 16777215, 4294967295)
[4090818.328] zwp_linux_dmabuf_v1@16.modifier(875713881, 16777215, 4294967295)
[4090818.711] wl_callback@14.done(1)
[4090818.900] -> wl_display@1.sync(new id wl_callback@14)
[4090819.285] wl_display@1.delete_id(14)
[4090819.544] wl_drm@15.authenticated()
[4090819.631] wl_callback@14.done(1)
[4090842.145] -> wl_compositor@4.create_surface(new id wl_surface@14)
[4090845.265] -> wl_shm_pool@11.create_buffer(new id wl_buffer@17, 4032, 10, 16, 40, 0)
Using the 'ivi-shell' shell integration
[4090848.892] -> wl_registry@2.bind(17, "ivi_application", 1, new id [unknown]@18)
[4090850.061] -> ivi_application@18.surface_create(1611, wl_surface@14, new id ivi_surface@19)
[4090851.143] -> wl_surface@14.set_buffer_scale(1)
[4090852.966] -> wl_surface@14.set_buffer_transform(0)
[4090853.411] -> wl_surface@14.commit()
[4090853.727] wl_keyboard@3.repeat_info(40, 400)
[4090854.561] wl_keyboard@3.keymap(1, fd 6, 48417)
xkbcommon: ERROR: couldn't find a Compose file for locale "C"
[4090871.021] -> wl_shm@7.create_pool(new id wl_shm_pool@20, fd 12, 355992)
[4090874.927] -> wl_shm_pool@20.create_buffer(new id wl_buffer@21, 0, 326, 273, 1304, 0)
[4090887.860] -> wl_surface@14.damage(0, 0, 326, 30)
[4090891.377] -> wl_surface@14.damage(329, 0, 3, 30)
[4090892.536] -> wl_surface@14.damage(0, 30, 3, 243)
[4090893.566] -> wl_surface@14.damage(329, 30, 3, 243)
[4090894.631] -> wl_surface@14.damage(0, 303, 326, 3)
[4090896.162] -> wl_surface@14.frame(new id wl_callback@22)
[4090896.711] -> wl_surface@14.attach(wl_buffer@21, 0, 0)
[4090897.583] -> wl_surface@14.damage(3, 30, 320, 240)
[4090898.604] -> wl_surface@14.commit()