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.

BEAGL-BONE-BLACK: High memory consumption while using QML application on weston with AM335x Kirkstone Release

Part Number: BEAGL-BONE-BLACK

Tool/software:

Hi,

i want port a QML Application to a AM335x Kirkstone Release, but detected a very high memory consumption. This problem can be reproduced using the example image tisdk-default-image Release 09.01.00.001.

My simple "Hello World" application consumes about 250MB of data, while showing a simple "Hello world" text: 

To get an HDMI output i need to add "gbm-format=rgb565" to /etc/xdg/weston/weston.ini. With default setting or all other settings, weston fails with "format 0x34325258 not supported by output HDMI-A-1" error in weston.log.

My example is pretty simple and can be executed by qmlscene application.

* https://filebin.net/v2frbtvp2insmvp5/hw.qml

* https://filebin.net/v2frbtvp2insmvp5/itemRect.qml

In my custom image i disabled weston support and use eglfs. This is working fine and the memory consumption is okay (<<100MB). So i assume, the problem is related to weston or the qt wayland implementation.

Is QML supported by Kirkstone Release? Do i need to specify special options to support QML with wayland?

Idle memory usage:

root@am335x-evm:~# free -m
               total        used        free      shared  buff/cache   available
Mem:             488          82         185          17         219         377
Swap:              0           0           0

After starting qmlscene:

root@am335x-evm:~# free -m
               total        used        free      shared  buff/cache   available
Mem:             488         311          11          18         165         146
Swap:              0           0           0

qmlscene output:

root@am335x-evm:~# export MESA_DEBUG=1
root@am335x-evm:~# export EGL_LOG_LEVEL=debug
root@am335x-evm:~# export LIBGL_DEBUG=verbose
root@am335x-evm:~# export WAYLAND_DEBUG=1
root@am335x-evm:~# qmlscene /tmp/qml/hw.qml 
[3461159.798]  -> wl_display@1.get_registry(new id wl_registry@2)
[3461161.698]  -> wl_display@1.sync(new id wl_callback@3)
[3461163.506] wl_display@1.delete_id(3)
[3461164.211] wl_registry@2.global(1, "wl_compositor", 4)
[3461166.226]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[3461167.900] wl_registry@2.global(2, "wl_subcompositor", 1)
[3461169.351]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[3461170.985] wl_registry@2.global(3, "wp_viewporter", 1)
[3461171.994] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
[3461172.423]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@6)
[3461173.069]  -> wl_display@1.sync(new id wl_callback@7)
[3461173.371] wl_registry@2.global(5, "wp_presentation", 1)
[3461173.717] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
[3461174.028] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
[3461174.433] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
[3461174.736] wl_registry@2.global(9, "wl_data_device_manager", 3)
[3461175.202]  -> wl_registry@2.bind(9, "wl_data_device_manager", 1, new id [unknown]@8)
[3461175.957] wl_registry@2.global(10, "wl_shm", 1)
[3461176.394]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@9)
[3461177.041] wl_registry@2.global(11, "weston_touch_calibration", 1)
[3461177.441] wl_registry@2.global(12, "wl_drm", 2)
[3461177.799] wl_registry@2.global(13, "wl_seat", 7)
[3461178.292]  -> wl_registry@2.bind(13, "wl_seat", 5, new id [unknown]@10)
[3461178.977]  -> wl_data_device_manager@8.get_data_device(new id wl_data_device@11, wl_seat@10)
[3461179.600] wl_registry@2.global(14, "zwp_linux_dmabuf_v1", 4)
[3461180.599] wl_registry@2.global(15, "weston_direct_display_v1", 1)
[3461180.996] wl_registry@2.global(16, "weston_content_protection", 1)
[3461181.380] wl_registry@2.global(18, "zwp_input_panel_v1", 1)
[3461181.851] wl_registry@2.global(19, "zwp_input_method_v1", 1)
[3461182.246] wl_registry@2.global(20, "zwp_text_input_manager_v1", 1)
[3461182.552] wl_registry@2.global(21, "xdg_wm_base", 3)
[3461182.924] wl_registry@2.global(22, "weston_desktop_shell", 1)
[3461183.216] wl_registry@2.global(23, "weston_screenshooter", 1)
[3461183.578] wl_registry@2.global(24, "wl_output", 3)
[3461183.995]  -> wl_registry@2.bind(24, "wl_output", 2, new id [unknown]@12)
[3461184.919]  -> zxdg_output_manager_v1@6.get_xdg_output(new id zxdg_output_v1@13, wl_output@12)
[3461185.794] wl_callback@3.done(51)
[3461187.218] wl_display@1.delete_id(7)
[3461187.805] wl_callback@7.done(51)
[3461187.952] wl_shm@9.format(0)
[3461188.071] wl_shm@9.format(1)
[3461188.338] wl_shm@9.format(909199186)
[3461188.416] wl_shm@9.format(842093913)
[3461188.702] wl_shm@9.format(842094158)
[3461188.859] wl_shm@9.format(1448695129)
[3461188.942] wl_shm@9.format(1448434008)
[3461189.182] wl_seat@10.capabilities(1)
[3461189.710]  -> wl_seat@10.get_pointer(new id wl_pointer@7)
[3461190.350] wl_seat@10.name("default")
[3461190.623] wl_output@12.geometry(0, 0, 600, 340, 0, "DEL", "DELL P2719H", 0)
[3461191.349] wl_output@12.scale(1)
[3461191.617] wl_output@12.mode(1, 1280, 1024, 60020)
[3461191.856] wl_output@12.mode(0, 1152, 864, 75000)
[3461192.224] wl_output@12.mode(0, 1280, 720, 60000)
[3461192.582] wl_output@12.mode(0, 1280, 720, 60000)
[3461193.038] wl_output@12.mode(0, 1280, 720, 59940)
[3461193.275] wl_output@12.mode(0, 1280, 720, 50000)
[3461193.726] wl_output@12.mode(0, 1024, 768, 75029)
[3461194.089] wl_output@12.mode(0, 1024, 768, 60004)
[3461194.437] wl_output@12.mode(0, 800, 600, 75000)
[3461194.825] wl_output@12.mode(0, 800, 600, 60317)
[3461195.170] wl_output@12.mode(0, 720, 576, 50000)
[3461195.617] wl_output@12.mode(0, 720, 576, 50000)
[3461195.980] wl_output@12.mode(0, 720, 480, 60000)
[3461196.452] wl_output@12.mode(0, 720, 480, 60000)
[3461196.802] wl_output@12.mode(0, 720, 480, 59940)
[3461197.187] wl_output@12.mode(0, 720, 480, 59940)
[3461197.652] wl_output@12.mode(0, 720, 480, 59940)
[3461198.036] wl_output@12.mode(0, 720, 480, 60002)
[3461198.532] wl_output@12.mode(0, 720, 480, 59940)
[3461198.880] wl_output@12.mode(0, 640, 480, 75000)
[3461199.353] wl_output@12.mode(0, 640, 480, 60000)
[3461199.745] wl_output@12.mode(0, 640, 480, 59940)
[3461200.090] wl_output@12.mode(0, 640, 480, 59940)
[3461200.545] wl_output@12.mode(0, 720, 400, 70082)
[3461200.923] wl_output@12.done()
[3461201.151] zxdg_output_v1@13.logical_position(0, 0)
[3461201.635] zxdg_output_v1@13.logical_size(1280, 1024)
[3461201.937] zxdg_output_v1@13.name("HDMI-A-1")
[3461202.071] zxdg_output_v1@13.done()
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[3461281.871]  -> wl_display@1.get_registry(new id wl_registry@3)
[3461283.520]  -> wl_display@1.sync(new id wl_callback@14)
[3461285.193] wl_display@1.delete_id(14)
[3461286.404] wl_registry@3.global(1, "wl_compositor", 4)
[3461287.962] wl_registry@3.global(2, "wl_subcompositor", 1)
[3461289.480] wl_registry@3.global(3, "wp_viewporter", 1)
[3461290.943] wl_registry@3.global(4, "zxdg_output_manager_v1", 2)
[3461292.305] wl_registry@3.global(5, "wp_presentation", 1)
[3461292.734] wl_registry@3.global(6, "zwp_relative_pointer_manager_v1", 1)
[3461293.071] wl_registry@3.global(7, "zwp_pointer_constraints_v1", 1)
[3461293.511] wl_registry@3.global(8, "zwp_input_timestamps_manager_v1", 1)
[3461294.043] wl_registry@3.global(9, "wl_data_device_manager", 3)
[3461294.433] wl_registry@3.global(10, "wl_shm", 1)
[3461295.006] wl_registry@3.global(11, "weston_touch_calibration", 1)
[3461295.652] wl_registry@3.global(12, "wl_drm", 2)
[3461296.339] wl_registry@3.global(13, "wl_seat", 7)
[3461297.064] wl_registry@3.global(14, "zwp_linux_dmabuf_v1", 4)
[3461297.739]  -> wl_registry@3.bind(14, "zwp_linux_dmabuf_v1", 4, new id [unknown]@15)
[3461298.459] wl_registry@3.global(15, "weston_direct_display_v1", 1)
[3461298.985] wl_registry@3.global(16, "weston_content_protection", 1)
[3461299.185] wl_registry@3.global(18, "zwp_input_panel_v1", 1)
[3461299.468] wl_registry@3.global(19, "zwp_input_method_v1", 1)
[3461299.794] wl_registry@3.global(20, "zwp_text_input_manager_v1", 1)
[3461300.161] wl_registry@3.global(21, "xdg_wm_base", 3)
[3461300.435] wl_registry@3.global(22, "weston_desktop_shell", 1)
[3461300.901] wl_registry@3.global(23, "weston_screenshooter", 1)
[3461301.099] wl_registry@3.global(24, "wl_output", 3)
[3461301.376] wl_callback@14.done(51)
[3461301.742]  -> zwp_linux_dmabuf_v1@15.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@14)
[3461302.089]  -> wl_display@1.sync(new id wl_callback@16)
[3461302.977] wl_display@1.delete_id(16)
[3461303.451] zwp_linux_dmabuf_feedback_v1@14.format_table(fd 6, 32)
[3461304.221] zwp_linux_dmabuf_feedback_v1@14.main_device(array[8])
[3461308.077] zwp_linux_dmabuf_feedback_v1@14.tranche_target_device(array[8])
[3461309.156] zwp_linux_dmabuf_feedback_v1@14.tranche_flags(0)
[3461309.701] zwp_linux_dmabuf_feedback_v1@14.tranche_formats(array[4])
[3461310.232] zwp_linux_dmabuf_feedback_v1@14.tranche_done()
[3461310.739] zwp_linux_dmabuf_feedback_v1@14.done()
[3461311.064] wl_callback@16.done(51)
[3461311.694]  -> zwp_linux_dmabuf_feedback_v1@14.destroy()
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/root/.drirc: No such file or directory.
libEGL debug: using driver pvr for 6

libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/root/.drirc: No such file or directory.
libEGL debug: MESA-LOADER: device is not located on the PCI bus

libEGL debug: using driver pvr for 6

libEGL debug: MESA-LOADER: failed to open /usr/lib/dri/pvr_dri.so: /usr/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory

libEGL warning: MESA-LOADER: failed to open pvr: /usr/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL debug: EGL user error 0x3003 (EGL_BAD_ALLOC) in eglInitialize: DRI3: failed to load driver

[3461337.653]  -> zwp_linux_dmabuf_v1@15.destroy()
[3461338.431]  -> wl_display@1.get_registry(new id wl_registry@16)
[3461339.303]  -> wl_display@1.sync(new id wl_callback@17)
[3461340.587] wl_display@1.delete_id(14)
[3461341.386] wl_display@1.delete_id(15)
[3461341.927] wl_display@1.delete_id(17)
[3461342.479] wl_registry@16.global(1, "wl_compositor", 4)
[3461343.602] wl_registry@16.global(2, "wl_subcompositor", 1)
[3461344.788] wl_registry@16.global(3, "wp_viewporter", 1)
[3461345.643] wl_registry@16.global(4, "zxdg_output_manager_v1", 2)
[3461346.062] wl_registry@16.global(5, "wp_presentation", 1)
[3461346.406] wl_registry@16.global(6, "zwp_relative_pointer_manager_v1", 1)
[3461346.763] wl_registry@16.global(7, "zwp_pointer_constraints_v1", 1)
[3461347.225] wl_registry@16.global(8, "zwp_input_timestamps_manager_v1", 1)
[3461347.583] wl_registry@16.global(9, "wl_data_device_manager", 3)
[3461347.860] wl_registry@16.global(10, "wl_shm", 1)
[3461348.221]  -> wl_registry@16.bind(10, "wl_shm", 1, new id [unknown]@15)
[3461348.563] wl_registry@16.global(11, "weston_touch_calibration", 1)
[3461349.072] wl_registry@16.global(12, "wl_drm", 2)
[3461349.395] wl_registry@16.global(13, "wl_seat", 7)
[3461349.709] wl_registry@16.global(14, "zwp_linux_dmabuf_v1", 4)
[3461350.026] wl_registry@16.global(15, "weston_direct_display_v1", 1)
[3461350.351] wl_registry@16.global(16, "weston_content_protection", 1)
[3461350.673] wl_registry@16.global(18, "zwp_input_panel_v1", 1)
[3461351.025] wl_registry@16.global(19, "zwp_input_method_v1", 1)
[3461351.346] wl_registry@16.global(20, "zwp_text_input_manager_v1", 1)
[3461351.617] wl_registry@16.global(21, "xdg_wm_base", 3)
[3461351.962] wl_registry@16.global(22, "weston_desktop_shell", 1)
[3461352.242] wl_registry@16.global(23, "weston_screenshooter", 1)
[3461352.561] wl_registry@16.global(24, "wl_output", 3)
[3461352.877] wl_callback@17.done(51)
[3461353.002]  -> wl_display@1.sync(new id wl_callback@17)
[3461353.719] wl_display@1.delete_id(17)
[3461354.075] wl_shm@15.format(0)
[3461354.227] wl_shm@15.format(1)
[3461354.455] wl_shm@15.format(909199186)
[3461354.717] wl_shm@15.format(842093913)
[3461354.843] wl_shm@15.format(842094158)
[3461355.054] wl_shm@15.format(1448695129)
[3461355.424] wl_shm@15.format(1448434008)
[3461355.519] wl_callback@17.done(51)
libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/swrast_dri.so)

libEGL debug: found extension `DRI_Core'
libEGL info: found extension DRI_Core version 2
libEGL debug: found extension `DRI_SWRast'
libEGL info: found extension DRI_SWRast version 4
libEGL debug: found extension `DRI_CopySubBuffer'
libEGL debug: found extension `DRI_ConfigOptions'
libEGL debug: found extension `DRI_DriverVtable'
libEGL debug: found extension `DRI_Core'
libEGL debug: found extension `DRI_SWRast'
libEGL debug: found extension `DRI_CopySubBuffer'
libEGL debug: found extension `DRI_ConfigOptions'
libEGL info: found extension DRI_ConfigOptions version 2
libEGL debug: found extension `DRI_DriverVtable'
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/root/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/root/.drirc: No such file or directory.
libEGL debug: found extension `DRI_TexBuffer'
libEGL info: found extension DRI_TexBuffer version 2
libEGL debug: found extension `DRI_RENDERER_QUERY'
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL debug: found extension `DRI2_Fence'
libEGL debug: found extension `DRI_IMAGE'
libEGL debug: found extension `DRI_FlushControl'
libEGL debug: found extension `DRI_TexBuffer'
libEGL debug: found extension `DRI_RENDERER_QUERY'
libEGL info: found extension DRI_RENDERER_QUERY version 1
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL info: found extension DRI_CONFIG_QUERY version 2
libEGL debug: found extension `DRI2_Fence'
libEGL info: found extension DRI2_Fence version 2
libEGL debug: found extension `DRI_IMAGE'
libEGL info: found extension DRI_IMAGE version 6
libEGL debug: found extension `DRI_FlushControl'
libEGL info: found extension DRI_FlushControl version 1
libEGL debug: did not find optional extension DRI_Robustness version 1
libEGL debug: did not find optional extension DRI2_BufferDamage version 1
libEGL debug: did not find optional extension DRI2_Interop version 1
libEGL debug: did not find optional extension DRI2_Blob version 1
libEGL debug: did not find optional extension DRI_MutableRenderBufferDriver version 1
libEGL debug: did not find optional extension DRI_Kopper version 1
libEGL debug: No DRI config supports native format ABGR16F
libEGL debug: No DRI config supports native format XBGR16F
libEGL debug: No DRI config supports native format XRGB2101010
libEGL debug: No DRI config supports native format ARGB2101010
libEGL debug: No DRI config supports native format XBGR2101010
libEGL debug: No DRI config supports native format ABGR2101010
libEGL debug: No DRI config supports native format ABGR8888
libEGL debug: No DRI config supports native format XBGR8888
libEGL debug: No DRI config supports native format YUYV
libEGL debug: eglPrintConfigDebug: nothing to print
libEGL debug: ---------------
libEGL debug: Configurations:
libEGL debug: cho       bf lv colourbuffer dp st  ms           vis  cav  bi     renderable           supported
libEGL debug: sen    id sz  l  r  g  b  a  th cl ns b           id  eat  nd  gl es es2 es3 vg         surfaces
libEGL debug: ---------------
libEGL debug:     0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x002 32  0  8  8  8  8  16  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x003 32  0  8  8  8  8  24  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:   0 0x004 32  0  8  8  8  8  24  8  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x005 32  0  8  8  8  8  32  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x006 24  0  8  8  8  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x007 24  0  8  8  8  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x008 24  0  8  8  8  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x009 24  0  8  8  8  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00a 24  0  8  8  8  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00b 16  0  5  6  5  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00c 16  0  5  6  5  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00d 16  0  5  6  5  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00e 16  0  5  6  5  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00f 16  0  5  6  5  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
[3461709.185]  -> wl_compositor@4.create_surface(new id wl_surface@17)
[3461711.010]  -> wl_shm@15.create_pool(new id wl_shm_pool@14, fd 7, 4)
[3461712.711]  -> wl_shm_pool@14.create_buffer(new id wl_buffer@18, 0, 1, 1, 4, 0)
[3461715.091]  -> wl_shm_pool@14.destroy()
[3461716.155]  -> wl_buffer@18.destroy()
[3461717.049]  -> wl_surface@17.destroy()
[3461874.676]  -> wl_compositor@4.create_surface(new id wl_surface@19)
libEGL debug: eglPrintConfigDebug: nothing to print
libEGL debug: ---------------
libEGL debug: Configurations:
libEGL debug: cho       bf lv colourbuffer dp st  ms           vis  cav  bi     renderable           supported
libEGL debug: sen    id sz  l  r  g  b  a  th cl ns b           id  eat  nd  gl es es2 es3 vg         surfaces
libEGL debug: ---------------
libEGL debug:     0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x002 32  0  8  8  8  8  16  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x003 32  0  8  8  8  8  24  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:   0 0x004 32  0  8  8  8  8  24  8  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x005 32  0  8  8  8  8  32  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x006 24  0  8  8  8  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x007 24  0  8  8  8  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x008 24  0  8  8  8  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x009 24  0  8  8  8  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00a 24  0  8  8  8  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00b 16  0  5  6  5  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00c 16  0  5  6  5  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00d 16  0  5  6  5  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00e 16  0  5  6  5  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00f 16  0  5  6  5  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
[3461889.163]  -> wl_registry@2.bind(21, "xdg_wm_base", 1, new id [unknown]@20)
[3461891.259]  -> xdg_wm_base@20.get_xdg_surface(new id xdg_surface@21, wl_surface@19)
[3461892.631]  -> xdg_surface@21.get_toplevel(new id xdg_toplevel@22)
[3461893.649]  -> xdg_toplevel@22.set_title("qmlscene")
[3461894.441]  -> xdg_toplevel@22.set_app_id("org.qt-project.qmlscene")
[3461895.033]  -> wl_surface@19.set_buffer_scale(1)
[3461900.120]  -> wl_surface@19.set_buffer_transform(0)
[3461901.284]  -> wl_surface@19.commit()
[3461903.146]  -> wl_compositor@4.create_region(new id wl_region@23)
[3461904.306]  -> wl_region@23.add(3, 30, 320, 480)
[3461906.312]  -> wl_surface@19.set_opaque_region(wl_region@23)
[3461906.976]  -> wl_region@23.destroy()
[3461907.861] wl_display@1.delete_id(14)
[3461908.705] wl_display@1.delete_id(18)
[3461909.315] wl_display@1.delete_id(17)
[3461909.803] xdg_toplevel@22.configure(0, 0, array[0])
[3461911.157] xdg_surface@21.configure(52)
[3461912.070]  -> xdg_surface@21.set_window_geometry(0, 0, 326, 513)
[3461913.408]  -> xdg_toplevel@22.set_min_size(0, 0)
[3461913.977]  -> xdg_toplevel@22.set_max_size(0, 0)
[3461914.250]  -> xdg_surface@21.ack_configure(52)
libEGL debug: eglPrintConfigDebug: nothing to print
libEGL debug: ---------------
libEGL debug: Configurations:
libEGL debug: cho       bf lv colourbuffer dp st  ms           vis  cav  bi     renderable           supported
libEGL debug: sen    id sz  l  r  g  b  a  th cl ns b           id  eat  nd  gl es es2 es3 vg         surfaces
libEGL debug: ---------------
libEGL debug:     0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x002 32  0  8  8  8  8  16  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x003 32  0  8  8  8  8  24  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:   0 0x004 32  0  8  8  8  8  24  8  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x005 32  0  8  8  8  8  32  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x006 24  0  8  8  8  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x007 24  0  8  8  8  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x008 24  0  8  8  8  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x009 24  0  8  8  8  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00a 24  0  8  8  8  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00b 16  0  5  6  5  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00c 16  0  5  6  5  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00d 16  0  5  6  5  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00e 16  0  5  6  5  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00f 16  0  5  6  5  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
[3462224.470]  -> wl_compositor@4.create_surface(new id wl_surface@17)
[3462226.585]  -> wl_shm@15.create_pool(new id wl_shm_pool@18, fd 8, 4)
[3462228.040]  -> wl_shm_pool@18.create_buffer(new id wl_buffer@14, 0, 1, 1, 4, 0)
[3462230.477]  -> wl_shm_pool@18.destroy()
[3462231.090]  -> wl_buffer@14.destroy()
[3462231.751]  -> wl_surface@17.destroy()
[3462232.689]  -> wl_compositor@4.create_surface(new id wl_surface@24)
libEGL debug: eglPrintConfigDebug: nothing to print
libEGL debug: ---------------
libEGL debug: Configurations:
libEGL debug: cho       bf lv colourbuffer dp st  ms           vis  cav  bi     renderable           supported
libEGL debug: sen    id sz  l  r  g  b  a  th cl ns b           id  eat  nd  gl es es2 es3 vg         surfaces
libEGL debug: ---------------
libEGL debug:     0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x002 32  0  8  8  8  8  16  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x003 32  0  8  8  8  8  24  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:   0 0x004 32  0  8  8  8  8  24  8  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x005 32  0  8  8  8  8  32  0  0 0 0x00000000--        a   y  y   y   y             win,pb,
libEGL debug:     0x006 24  0  8  8  8  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x007 24  0  8  8  8  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x008 24  0  8  8  8  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x009 24  0  8  8  8  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00a 24  0  8  8  8  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00b 16  0  5  6  5  0   0  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00c 16  0  5  6  5  0  16  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00d 16  0  5  6  5  0  24  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00e 16  0  5  6  5  0  24  8  0 0 0x00000000--        y   y  y   y   y             win,pb,
libEGL debug:     0x00f 16  0  5  6  5  0  32  0  0 0 0x00000000--        y   y  y   y   y             win,pb,
[3462240.216]  -> wl_shm@15.create_pool(new id wl_shm_pool@25, fd 10, 668952)
[3462241.791]  -> wl_shm_pool@25.create_buffer(new id wl_buffer@26, 0, 326, 513, 1304, 0)
[3462244.311]  -> wl_shm_pool@25.destroy()
[3462650.697]  -> wl_surface@19.damage(0, 0, 326, 30)
[3462652.865]  -> wl_surface@19.damage(0, 30, 3, 480)
[3462654.468]  -> wl_surface@19.damage(323, 30, 3, 480)
[3462656.066]  -> wl_surface@19.damage(0, 510, 326, 3)
[3462657.319]  -> wl_surface@19.damage(0, 513, 3, 30)
[3463387.375]  -> wl_surface@19.frame(new id wl_callback@27)
[3463393.038]  -> wl_surface@19.attach(wl_buffer@26, 0, 0)
[3463394.977]  -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
[3463396.793]  -> wl_surface@19.commit()
[3463397.189]  -> wl_display@1.sync(new id wl_callback@28)
[3463404.089] wl_display@1.delete_id(23)
[3463404.193] wl_display@1.delete_id(18)
[3463404.223] wl_display@1.delete_id(14)
[3463404.249] wl_display@1.delete_id(17)
[3463404.276] wl_display@1.delete_id(25)
[3463404.301] wl_display@1.delete_id(28)
[3463404.327] wl_surface@19.enter(wl_output@12)
[3463404.540] xdg_toplevel@22.configure(0, 0, array[4])
[3463404.604] xdg_surface@21.configure(53)
[3463404.972]  -> wl_display@1.sync(new id wl_callback@25)
[3463405.117]  -> xdg_surface@21.set_window_geometry(0, 0, 326, 513)
[3463405.998]  -> xdg_toplevel@22.set_min_size(0, 0)
[3463407.231]  -> xdg_toplevel@22.set_max_size(0, 0)
[3463408.169]  -> xdg_surface@21.ack_configure(53)
[3463694.127] wl_callback@28.done(52)
[3463695.925]  -> wl_shm@15.create_pool(new id wl_shm_pool@28, fd 9, 668952)
[3463697.598]  -> wl_shm_pool@28.create_buffer(new id wl_buffer@17, 0, 326, 513, 1304, 0)
[3463700.302]  -> wl_shm_pool@28.destroy()
[3463705.082]  -> wl_surface@19.damage(0, 0, 326, 30)
[3463707.245]  -> wl_surface@19.damage(0, 30, 3, 480)
[3463712.114]  -> wl_surface@19.damage(323, 30, 3, 480)
[3463713.734]  -> wl_surface@19.damage(0, 510, 326, 3)
[3463715.488]  -> wl_surface@19.damage(0, 513, 3, 30)
[3464513.934] wl_display@1.delete_id(27)
[3464514.818] wl_display@1.delete_id(25)
[3464515.813] wl_display@1.delete_id(28)
[3464516.435] wl_callback@27.done(231439)
[3464517.211]  -> wl_surface@19.frame(new id wl_callback@27)
[3464522.454]  -> wl_surface@19.attach(wl_buffer@17, 0, 0)
[3464524.302]  -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
[3464525.988]  -> wl_surface@19.commit()
[3464526.480]  -> wl_display@1.sync(new id wl_callback@28)
[3464528.014] wl_callback@25.done(53)
[3464528.255] wl_display@1.delete_id(28)
[3464557.425] wl_display@1.delete_id(27)
[3464557.590] wl_callback@27.done(232539)

weston.log:

root@am335x-evm:~# cat /tmp/weston.log 
Date: 2000-01-01 UTC
[00:00:37.946] weston 10.0.2
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: 10.0.2
[00:00:37.946] Command line: /usr/bin/weston --modules=systemd-notify.so --log=/tmp/weston.log
[00:00:37.946] OS: Linux, 6.1.46-g1d4b5da681, #1 PREEMPT Thu Oct 19 10:19:08 UTC 2023, armv7l
[00:00:37.946] Flight recorder: enabled
[00:00:37.975] Using config file '/etc/xdg/weston/weston.ini'
[00:00:37.984] Output repaint window is 7 ms maximum.
[00:00:37.987] Loading module '/usr/lib/libweston-10/drm-backend.so'
[00:00:38.013] initializing drm backend
[00:00:38.013] Trying logind launcher...
[00:00:38.044] logind: session control granted
[00:00:38.068] using /dev/dri/card0
[00:00:38.068] DRM: supports atomic modesetting
[00:00:38.068] DRM: supports GBM modifiers
[00:00:38.068] DRM: supports picture aspect ratio
[00:00:38.095] Loading module '/usr/lib/libweston-10/gl-renderer.so'
[00:00:38.345] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_device_base EGL_EXT_device_enumeration
               EGL_EXT_device_query EGL_EXT_platform_base
               EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
               EGL_EXT_platform_device EGL_EXT_platform_wayland
               EGL_KHR_platform_wayland EGL_EXT_platform_x11
               EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm
               EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
[00:00:38.351] EGL device extensions: EGL_EXT_device_drm
               EGL_EXT_device_drm_render_node
[00:00:38.351] EGL version: 1.4
[00:00:38.351] EGL vendor: Mesa Project
[00:00:38.352] EGL client APIs: OpenGL_ES 
[00:00:38.352] EGL extensions: EGL_EXT_buffer_age
               EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
               EGL_KHR_config_attribs EGL_KHR_create_context
               EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
               EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_image_pixmap
               EGL_KHR_no_config_context EGL_KHR_reusable_sync
               EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
               EGL_KHR_wait_sync EGL_MESA_configless_context
               EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_IMG_cl_image
[00:00:38.352] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[00:00:38.353] EGL_KHR_surfaceless_context available
[00:00:38.377] GL version: OpenGL ES 2.0 build 1.17@4948957
[00:00:38.377] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
[00:00:38.377] GL vendor: Imagination Technologies
[00:00:38.377] GL renderer: PowerVR SGX 530
[00:00:38.378] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
               GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
               GL_OES_element_index_uint GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
               GL_OES_fragment_precision_high GL_OES_get_program_binary
               GL_OES_mapbuffer GL_OES_packed_depth_stencil
               GL_OES_required_internalformat GL_OES_rgb8_rgba8
               GL_OES_standard_derivatives GL_OES_surfaceless_context
               GL_OES_texture_float GL_OES_texture_half_float
               GL_OES_vertex_array_object GL_OES_vertex_half_float
               GL_EXT_blend_minmax GL_EXT_discard_framebuffer
               GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
               GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
               GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
               GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
               GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
               GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
               GL_EXT_texture_storage
[00:00:38.467] GL ES 2.0 - renderer features:
               read-back format: RGBA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[00:00:38.560] event0  - PixArt USB Optical Mouse: is tagged by udev as: Mouse
[00:00:38.561] event0  - PixArt USB Optical Mouse: device set to 1000 DPI
[00:00:38.561] event0  - PixArt USB Optical Mouse: device is a pointer
[00:00:38.562] libinput: configuring device "PixArt USB Optical Mouse".
[00:00:38.613] DRM: head 'HDMI-A-1' updated, connector 35 is connected, EDID make 'DEL', model 'DELL P2719H', serial '6KLZ6R2'
[00:00:38.616] DRM: head 'HDMI-A-1' found, connector 35 is connected, EDID make 'DEL', model 'DELL P2719H', serial '6KLZ6R2'
[00:00:38.617] Registered plugin API 'weston_drm_output_api_v1' of size 12
[00:00:38.618] Color manager: no-op
[00:00:38.619] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[00:00:38.620] Chosen EGL config details: id:   9 rgba: 5 6 5 0 buf: 16 dep:  0 stcl: 0 int: 1-1 type: win|pbf vis_id: RGB565 (0x36314752)
[00:00:38.620] Output HDMI-A-1 (crtc 33) video modes:
               1280x1024@60.0, current, 108.0 MHz
               1152x864@75.0, 108.0 MHz
               1280x720@60.0, 74.2 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@59.9 16:9, 74.2 MHz
               1280x720@50.0 16:9, 74.2 MHz
               1024x768@75.0, 78.8 MHz
               1024x768@60.0, 65.0 MHz
               800x600@75.0, 49.5 MHz
               800x600@60.3, 40.0 MHz
               720x576@50.0 16:9, 27.0 MHz
               720x576@50.0 16:9, 13.5 MHz
               720x480@60.0 4:3, 27.0 MHz
               720x480@60.0 16:9, 27.0 MHz
               720x480@59.9, 27.0 MHz
               720x480@59.9 16:9, 27.0 MHz
               720x480@59.9 4:3, 27.0 MHz
               720x480@60.0 16:9, 13.5 MHz
               720x480@59.9 16:9, 13.5 MHz
               640x480@75.0, 31.5 MHz
               640x480@60.0 4:3, 25.2 MHz
               640x480@59.9, 25.2 MHz
               640x480@59.9 4:3, 25.2 MHz
               720x400@70.1, 28.3 MHz
[00:00:38.621] associating input device event0 with output HDMI-A-1 (none by udev)
[00:00:38.622] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[00:00:38.622] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: no
               color operations: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[00:00:38.658] Loading module '/usr/lib/weston/desktop-shell.so'
[00:00:38.664] launching '/usr/libexec/weston-keyboard'
[00:00:38.668] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[00:00:38.672] Loading module '/usr/lib/weston/systemd-notify.so'
[00:00:38.674] info: add 1 socket(s) provided by systemd
[00:00:38.687] launching '/usr/libexec/weston-desktop-shell'
[00:01:00.444] DRM: head 'HDMI-A-1' updated, connector 35 is disconnected.
[00:01:00.444] Output 'HDMI-A-1' no heads left, disabling.
[00:01:00.444] Disabling output HDMI-A-1
[00:01:00.478] output for input device event0 removed
[00:01:02.635] DRM: head 'HDMI-A-1' updated, connector 35 is connected, EDID make 'DEL', model 'DELL P2719H', serial '6KLZ6R2'
[00:01:02.636] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[00:01:02.637] Chosen EGL config details: id:   9 rgba: 5 6 5 0 buf: 16 dep:  0 stcl: 0 int: 1-1 type: win|pbf vis_id: RGB565 (0x36314752)
[00:01:02.637] Output HDMI-A-1 (crtc 33) video modes:
               1280x1024@60.0, current, 108.0 MHz
               1152x864@75.0, 108.0 MHz
               1280x720@60.0, 74.2 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@59.9 16:9, 74.2 MHz
               1280x720@50.0 16:9, 74.2 MHz
               1024x768@75.0, 78.8 MHz
               1024x768@60.0, 65.0 MHz
               800x600@75.0, 49.5 MHz
               800x600@60.3, 40.0 MHz
               720x576@50.0 16:9, 27.0 MHz
               720x576@50.0 16:9, 13.5 MHz
               720x480@60.0 4:3, 27.0 MHz
               720x480@60.0 16:9, 27.0 MHz
               720x480@59.9, 27.0 MHz
               720x480@59.9 16:9, 27.0 MHz
               720x480@59.9 4:3, 27.0 MHz
               720x480@60.0 16:9, 13.5 MHz
               720x480@59.9 16:9, 13.5 MHz
               640x480@75.0, 31.5 MHz
               640x480@60.0 4:3, 25.2 MHz
               640x480@59.9, 25.2 MHz
               640x480@59.9 4:3, 25.2 MHz
               720x400@70.1, 28.3 MHz
[00:01:02.639] associating input device event0 with output HDMI-A-1 (none by udev)
[00:01:02.640] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1