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.

PROCESSOR-SDK-AM335X: am335x: ti-sgx-ddk-um: weston: qt 5.15:

Part Number: PROCESSOR-SDK-AM335X

Tool/software:

Hello,

I am in the process of upgrading an Embedian smarct355x (am335x) based platform to Yocto Kirkstone (processor-sdk-09.01.00-legacy-config.txt), and I am having some issues getting Weston to play nicely with TI's provided 'user-mode' driver package ti-sgx-ddk-um, the error I am seeing trying to load e.g. weston-simple-egl is:

[destroyed object]: error 7: importing the supplied dmabufs failed
The Wayland connection experienced a fatal error: Protocol error


And in the log:

Oct 10 09:36:37 am335x-deltatouch weston[7488]: CreateImageSharedFromDmaBufs: Failed to create buffer for shared image
Oct 10 09:36:37 am335x-deltatouch weston[7488]: [09:36:37.528] Error during import, and no known conversion for format AR24 in the renderer
Oct 10 09:36:37 am335x-deltatouch weston[7488]: [09:36:37.528] libwayland: error in client communication (pid 7487)


All Weston examples seem to work except the ones requiring EGL support.

Output of 'weston-simple-dmabuf-egl':

This client was written with the purpose of manually test Weston's dma-buf feedback implementation. See main() description for more details on how to test this.

compositor sent main_device event for dma-buf feedback - /dev/dri/renderD128
├──────target_device for tranche - /dev/dri/renderD128
│       └scanout tranche? no
│       ├────────tranche format/modifier pair - format ARGB8888, modifier NONE_INVALID_MODIFIER (0xffffffffffffff)
│       ├────────tranche format/modifier pair - format XRGB8888, modifier NONE_INVALID_MODIFIER (0xffffffffffffff)
│       └end of tranche
└end of dma-buf feedback

weston-simple-dmabuf-feedback: ../../../../../../workspace/sources/weston/clients/simple-dmabuf-feedback.c:403: create_fbo_for_buffer: Assertion `buffer->egl_image != EGL_NO_IMAGE_KHR && "error: EGLImageKHR creation failed"' failed.
Aborted (core dumped)


I have tried the reference implementation of am335x-evm.conf which is set up to use 'mesa-pvr' as provider, but here I have the problem that the required 'pvr_dri.so' plugin is not generated when compiling with MACHINE_FEATURE 'sgx', there is however a 'sgx_dri.so'. As I understand it, the mesa-pvr support is something recently introduced, therefore I checked older configurations, e.g. Dunfell and there they use the pre-compiled user-mode binary package.

So I decided to change to recipes to do the same and install the pre-compiled user-mode binaries for Kirkstone.

ti-sgx-ddk-um: omap5-sgx-ddk-um-linux
ti-sgx-ddk-km: omap5-sgx-ddk-linux

Yocto MACHINE conf settings:

# Graphics providers and variables
MACHINE_EXTRA_RDEPENDS += "ti-sgx-ddk-km"
DEPENDS:remove = "virtual/libgl"
PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km"


Any help, greatly appreciated.

Cheers.

  • Hi our expert is out of office this week. Feel free to ping here next week if you haven't gotten a response

    thank you,

    Paula

  • Some additional info:

    I have created two simple QT Apps, one with QML and one normal widget "hello world", the widget one works fine under Weston. QML does not work for some reason.

    About the buffer issue mentioned in my other post, this might be a known issue, see commit log of:

    git.ti.com/.../

    I read somewhere else that QML requires the QT Quick 2d Renderer for QML.

  • Hi,

    Do you see similar issue on our EVM with our default 9.x SDK?

    Regards,
    Krunal

  • Hi Krunal,

    Thanks for replying.

    Unfortunately, I do not have the EVM, I used the am335x-evm.conf as a starting point because they have similar foundations (am33xx).

    cheers.

  • Hi,

    I just checked internally and both weston-simple-egl and weston-simple-dmabuff is currently broken. We are working on a new release where we will address weston-simple-egl but dmabuff example is still broken. With regards to Qt, it should be functional and what errors do you run into while running a QML file.

    Regards,
    Krunal

  • Hello Krunal,

    For context:

    - I am comparing two test applications, testgui (widget based) and testqml (qmlbased).
    - Before running any of these, I make sure weston is stopped.
    - Both of the apps I run with -platform eglfs and -platform wayland (default weston)
    - Before running i set the environment:
      export WESTON_DEBUG=1; export EGL_LOG_LEVEL=debug; export LIBGL_DEBUG=verbose; export MESA_DEBUG=1; export MESA_VERBOSE=1; export QT_QPA_EGLFS_DEBUG=1; export GALLIUM_HUD=simple,fps,cpu,draw-calls; export WAYLAND_DEBUG=1; export QT_LOGGING_RULES="qt.qml.debug=true"
    - I captured the direct application output and the journal log in all cases.


    Results:
    - Running testqml with eglfs does not work, there is no output on the screen, there is an error in the log "Failed to move cursor on" not sure if it is related. See test_qml.log.
    - Running testqml in Wayland|weston does not work, weston windownmanager is shown on the screen but no testqml gui, see: testqml_weston.log. There are some additional messages in the testqml_weston_journal.log.
    - I can run the testgui in Wayland|Weston without issues, weston windowmanager is shown with testgui, see the testgui_weston.log and testgui_weston_journal.log.
    - Running the testgui with eglfs does not work, permission errors, see: test_gui_eglfs.log (there is no additional journal logging)


    Priority:
    1) The most important thing I need is the QML version to run on Weston.
    2) Would be nice to understand why running eglfs results in permission denied.


    Config:

    # Graphics providers and variables
    MACHINE_EXTRA_RDEPENDS += "ti-sgx-ddk-km"
    # DEPENDS:remove = "virtual/libgl"
    PREFERRED_PROVIDER_virtual/libgl = "ti-sgx-ddk-um"
    PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
    PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
    PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
    PREFERRED_PROVIDER_virtual/libgbm = "ti-sgx-ddk-um"
    PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km"

    # Machine features
    MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa gpu screen touchscreen sgx"

    PACKAGECONFIG:pn-qtbase = "release accessibility dbus udev evdev libs fontconfig freetype pcre openssl jpeg libpng zlib concurrent gles2 linuxfb gif gbm kms libinput icu widgets sql-mysql xkbcommon"

    IMAGE_INSTALL += "\
        devicetree kernel-modules amx3-cm3 weston-examples libdrm libgbm libdrm-tests ti-sgx-ddk-km ti-sgx-ddk-um \
        packagegroup-arago-qte qtwayland qt5-opengles2-test cinematicexperience qt5everywheredemo qt5ledscreen qt5nmapcarousedemo qt5nmapper \
        qtsystems qtimageformats qtsensors qtscript qtserialport qtsvg qttranslations qtquickcontrols2 \
        qtxmlpatterns qttools"


    I have attached all the log files and test project files for reference.

    root@am335x-deltatouch (0) /usr/bin# ./testguiapp 
    [ 435690.938]  -> wl_display@1.get_registry(new id wl_registry@2)
    [ 435693.561]  -> wl_display@1.sync(new id wl_callback@3)
    [ 440190.295] wl_display@1.delete_id(3)
    [ 440190.442] wl_registry@2.global(1, "wl_compositor", 4)
    [ 440190.606]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [ 440190.699] wl_registry@2.global(2, "wl_subcompositor", 1)
    [ 440190.784]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
    [ 440190.861] wl_registry@2.global(3, "wp_viewporter", 1)
    [ 440190.921] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
    [ 440191.012]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@6)
    [ 440191.081]  -> wl_display@1.sync(new id wl_callback@7)
    [ 440191.119] wl_registry@2.global(5, "wp_presentation", 1)
    [ 440191.179] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
    [ 440193.837] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
    [ 440194.523] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
    [ 440194.944] wl_registry@2.global(9, "wl_data_device_manager", 3)
    [ 440195.450]  -> wl_registry@2.bind(9, "wl_data_device_manager", 1, new id [unknown]@8)
    [ 440195.979] wl_registry@2.global(10, "wl_shm", 1)
    [ 440196.502]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@9)
    [ 440201.799] wl_registry@2.global(11, "wl_drm", 2)
    [ 440202.007] wl_registry@2.global(12, "wl_seat", 7)
    [ 440202.249]  -> wl_registry@2.bind(12, "wl_seat", 5, new id [unknown]@10)
    [ 440202.518]  -> wl_data_device_manager@8.get_data_device(new id wl_data_device@11, wl_seat@10)
    [ 440202.709] wl_registry@2.global(13, "zwp_linux_dmabuf_v1", 4)
    [ 440211.688] wl_registry@2.global(14, "weston_direct_display_v1", 1)
    [ 440213.176] wl_registry@2.global(15, "weston_content_protection", 1)
    [ 440213.489] wl_registry@2.global(16, "wl_output", 3)
    [ 440215.935]  -> wl_registry@2.bind(16, "wl_output", 2, new id [unknown]@12)
    [ 440218.551]  -> zxdg_output_manager_v1@6.get_xdg_output(new id zxdg_output_v1@13, wl_output@12)
    [ 440222.553] wl_registry@2.global(17, "zwp_input_panel_v1", 1)
    [ 440225.057] wl_registry@2.global(18, "zwp_input_method_v1", 1)
    [ 440226.049] wl_registry@2.global(19, "zwp_text_input_manager_v1", 1)
    [ 440226.746] wl_registry@2.global(20, "xdg_wm_base", 3)
    [ 440231.868] wl_registry@2.global(21, "weston_desktop_shell", 1)
    [ 440233.312] wl_registry@2.global(22, "weston_screenshooter", 1)
    [ 440234.483] wl_callback@3.done(1)
    [ 440237.243] wl_display@1.delete_id(7)
    [ 440249.134] wl_callback@7.done(1)
    [ 440249.622] wl_shm@9.format(0)
    [ 440250.903] wl_shm@9.format(1)
    [ 440251.068] wl_shm@9.format(909199186)
    [ 440251.150] wl_shm@9.format(842093913)
    [ 440251.908] wl_shm@9.format(842094158)
    [ 440252.157] wl_shm@9.format(1448695129)
    [ 440252.626] wl_shm@9.format(1448434008)
    [ 440253.119] wl_seat@10.capabilities(6)
    [ 440254.560]  -> wl_seat@10.get_keyboard(new id wl_keyboard@7)
    [ 440255.952]  -> wl_seat@10.get_touch(new id wl_touch@3)
    [ 440257.997] wl_seat@10.name("default")
    [ 440263.650] wl_output@12.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [ 440264.210] wl_output@12.scale(1)
    [ 440264.694] wl_output@12.mode(3, 800, 480, 60107)
    [ 440266.643] wl_output@12.done()
    [ 440266.897] zxdg_output_v1@13.logical_position(0, 0)
    [ 440267.032] zxdg_output_v1@13.logical_size(800, 480)
    [ 440271.419] zxdg_output_v1@13.name("LVDS-1")
    [ 440271.587] zxdg_output_v1@13.done()
    [ 440338.346]  -> wl_display@1.get_registry(new id wl_registry@14)
    [ 440352.653]  -> wl_display@1.sync(new id wl_callback@15)
    [ 440355.486] wl_display@1.delete_id(15)
    [ 440356.741] wl_registry@14.global(1, "wl_compositor", 4)
    [ 440358.497] wl_registry@14.global(2, "wl_subcompositor", 1)
    [ 440359.178] wl_registry@14.global(3, "wp_viewporter", 1)
    [ 440359.518] wl_registry@14.global(4, "zxdg_output_manager_v1", 2)
    [ 440359.718] wl_registry@14.global(5, "wp_presentation", 1)
    [ 440360.116] wl_registry@14.global(6, "zwp_relative_pointer_manager_v1", 1)
    [ 440360.491] wl_registry@14.global(7, "zwp_pointer_constraints_v1", 1)
    [ 440360.879] wl_registry@14.global(8, "zwp_input_timestamps_manager_v1", 1)
    [ 440361.026] wl_registry@14.global(9, "wl_data_device_manager", 3)
    [ 440361.599] wl_registry@14.global(10, "wl_shm", 1)
    [ 440362.039] wl_registry@14.global(11, "wl_drm", 2)
    [ 440362.275] wl_registry@14.global(12, "wl_seat", 7)
    [ 440362.699] wl_registry@14.global(13, "zwp_linux_dmabuf_v1", 4)
    [ 440362.900]  -> wl_registry@14.bind(13, "zwp_linux_dmabuf_v1", 4, new id [unknown]@16)
    [ 440363.576] wl_registry@14.global(14, "weston_direct_display_v1", 1)
    [ 440363.796] wl_registry@14.global(15, "weston_content_protection", 1)
    [ 440364.196] wl_registry@14.global(16, "wl_output", 3)
    [ 440364.339] wl_registry@14.global(17, "zwp_input_panel_v1", 1)
    [ 440364.726] wl_registry@14.global(18, "zwp_input_method_v1", 1)
    [ 440365.101] wl_registry@14.global(19, "zwp_text_input_manager_v1", 1)
    [ 440365.249] wl_registry@14.global(20, "xdg_wm_base", 3)
    [ 440365.629] wl_registry@14.global(21, "weston_desktop_shell", 1)
    [ 440365.772] wl_registry@14.global(22, "weston_screenshooter", 1)
    [ 440366.150] wl_callback@15.done(1)
    [ 440366.334]  -> zwp_linux_dmabuf_v1@16.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@15)
    [ 440367.007]  -> wl_display@1.sync(new id wl_callback@17)
    [ 440367.891] wl_display@1.delete_id(17)
    [ 440368.031] zwp_linux_dmabuf_feedback_v1@15.format_table(fd 7, 32)
    [ 440368.619] zwp_linux_dmabuf_feedback_v1@15.main_device(array[8])
    [ 440372.962] zwp_linux_dmabuf_feedback_v1@15.tranche_target_device(array[8])
    [ 440382.021] zwp_linux_dmabuf_feedback_v1@15.tranche_flags(0)
    [ 440382.914] zwp_linux_dmabuf_feedback_v1@15.tranche_formats(array[4])
    [ 440383.899] zwp_linux_dmabuf_feedback_v1@15.tranche_done()
    [ 440384.461] zwp_linux_dmabuf_feedback_v1@15.done()
    [ 440384.957] wl_callback@17.done(1)
    [ 440385.761]  -> zwp_linux_dmabuf_feedback_v1@15.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 7
    
    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 7
    
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/pvr_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL info: found extension DRI_IMAGE_DRIVER version 1
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    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: Supported screen extensions:
    LibGL: 	DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL: 	DRI2_Flush (supported version: 4 - max version: 4)
    LibGL: 	DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL: 	DRI_Robustness (supported version: 1 - max version: 1)
    LibGL: 	DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: 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 RGB565
    libEGL debug: No DRI config supports native format YUYV
    [ 440532.003]  -> wl_compositor@4.create_surface(new id wl_surface@17)
    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:   0 0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   2 0x002 32  0  8  8  8  8   0  0  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   1 0x003 32  0  8  8  8  8  24  8  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   3 0x004 32  0  8  8  8  8  24  8  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x007 24  0  8  8  8  0  24  8  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x008 24  0  8  8  8  0  24  8  4 1 0x00000000--        y      y   y                 win,pb,
    [ 440655.683]  -> wl_registry@2.bind(20, "xdg_wm_base", 1, new id [unknown]@18)
    [ 440664.498]  -> xdg_wm_base@18.get_xdg_surface(new id xdg_surface@19, wl_surface@17)
    [ 440666.371]  -> xdg_surface@19.get_toplevel(new id xdg_toplevel@20)
    [ 440672.899]  -> xdg_toplevel@20.set_title("Simple C++ GUI Application")
    [ 440676.224]  -> xdg_toplevel@20.set_app_id("testguiapp")
    [ 440677.127]  -> wl_surface@17.set_buffer_scale(1)
    [ 440701.817]  -> wl_surface@17.set_buffer_transform(0)
    [ 440703.395]  -> wl_surface@17.commit()
    [ 440704.007] wl_keyboard@7.repeat_info(40, 400)
    [ 440705.313] wl_keyboard@7.keymap(1, fd 6, 64434)
    [ 440775.850]  -> wl_compositor@4.create_region(new id wl_region@21)
    [ 440792.977]  -> wl_region@21.add(3, 30, 400, 300)
    [ 440795.258]  -> wl_surface@17.set_opaque_region(wl_region@21)
    [ 440796.081]  -> wl_region@21.destroy()
    Application started
    [ 440818.864] wl_display@1.delete_id(15)
    [ 440818.980] wl_display@1.delete_id(21)
    [ 440819.009] xdg_toplevel@20.configure(0, 0, array[0])
    [ 440819.134] xdg_surface@19.configure(2)
    [ 440819.401]  -> xdg_surface@19.set_window_geometry(0, 0, 406, 333)
    [ 440819.548]  -> xdg_toplevel@20.set_min_size(91, 36)
    [ 440819.604]  -> xdg_toplevel@20.set_max_size(0, 0)
    [ 440819.642]  -> xdg_surface@19.ack_configure(2)
    [ 440820.826]  -> wl_shm@9.create_pool(new id wl_shm_pool@21, fd 9, 540792)
    [ 440820.941]  -> wl_shm_pool@21.create_buffer(new id wl_buffer@15, 0, 406, 333, 1624, 0)
    [ 440842.634]  -> wl_surface@17.damage(0, 0, 406, 30)
    [ 440846.001]  -> wl_surface@17.damage(0, 30, 3, 300)
    [ 440847.784]  -> wl_surface@17.damage(403, 30, 3, 300)
    [ 440848.425]  -> wl_surface@17.damage(0, 330, 406, 3)
    [ 440848.613]  -> wl_surface@17.damage(0, 333, 3, 30)
    [ 440850.018]  -> wl_surface@17.frame(new id wl_callback@22)
    [ 440851.968]  -> wl_surface@17.attach(wl_buffer@15, 0, 0)
    [ 440852.787]  -> wl_surface@17.damage(3, 30, 400, 300)
    [ 440853.248]  -> wl_surface@17.commit()
    [ 440861.962] wl_surface@17.enter(wl_output@12)
    [ 440863.388] wl_keyboard@7.enter(3, wl_surface@17, array[0])
    [ 440864.235] wl_keyboard@7.modifiers(3, 0, 0, 0, 0)
    [ 440865.251] wl_data_device@11.selection(nil)
    [ 440865.723] xdg_toplevel@20.configure(0, 0, array[4])
    [ 440866.191] xdg_surface@19.configure(4)
    [ 440866.959]  -> wl_display@1.sync(new id wl_callback@23)
    [ 440868.326]  -> xdg_surface@19.set_window_geometry(0, 0, 406, 333)
    [ 440868.863]  -> xdg_toplevel@20.set_min_size(91, 36)
    [ 440869.281]  -> xdg_toplevel@20.set_max_size(0, 0)
    [ 440869.606]  -> xdg_surface@19.ack_configure(4)
    [ 440876.494]  -> wl_surface@17.damage(0, 0, 406, 30)
    [ 440882.019]  -> wl_surface@17.damage(0, 30, 3, 300)
    [ 440884.653]  -> wl_surface@17.damage(403, 30, 3, 300)
    [ 440887.357]  -> wl_surface@17.damage(0, 330, 406, 3)
    [ 440887.543]  -> wl_surface@17.damage(0, 333, 3, 30)
    [ 440924.703] wl_display@1.delete_id(22)
    [ 440924.825] wl_buffer@15.release()
    [ 440924.854] wl_callback@22.done(1207873)
    [ 440926.355] wl_display@1.delete_id(23)
    [ 440926.449] wl_callback@23.done(4)
    
    
    

    Oct 11 07:09:13 am335x-test systemd[1]: Starting Weston, a Wayland compositor, as a system service...
    Oct 11 07:09:13 am335x-test systemd[1]: Created slice User Slice of UID 1000.
    Oct 11 07:09:13 am335x-test systemd[1]: Starting User Runtime Directory /run/user/1000...
    Oct 11 07:09:13 am335x-test systemd-logind[198]: New session c10 of user weston.
    Oct 11 07:09:13 am335x-test systemd[1]: Finished User Runtime Directory /run/user/1000.
    Oct 11 07:09:13 am335x-test systemd[1]: Starting User Manager for UID 1000...
    Oct 11 07:09:16 am335x-test systemd[1357]: Queued start job for default target Main User Target.
    Oct 11 07:09:16 am335x-test systemd[1357]: Created slice User Application Slice.
    Oct 11 07:09:16 am335x-test systemd[1357]: Reached target Paths.
    Oct 11 07:09:16 am335x-test systemd[1357]: Reached target Timers.
    Oct 11 07:09:16 am335x-test systemd[1357]: Starting D-Bus User Message Bus Socket...
    Oct 11 07:09:16 am335x-test systemd[1357]: Listening on D-Bus User Message Bus Socket.
    Oct 11 07:09:16 am335x-test systemd[1357]: Reached target Sockets.
    Oct 11 07:09:16 am335x-test systemd[1357]: Reached target Basic System.
    Oct 11 07:09:16 am335x-test systemd[1]: Started User Manager for UID 1000.
    Oct 11 07:09:16 am335x-test systemd[1357]: Reached target Main User Target.
    Oct 11 07:09:16 am335x-test systemd[1357]: Startup finished in 3.249s.
    Oct 11 07:09:16 am335x-test systemd[1]: Started Session c10 of User weston.
    Oct 11 07:09:16 am335x-test weston[1355]: Date: 2024-10-11 UTC
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.949] weston 10.0.2
    Oct 11 07:09:16 am335x-test weston[1355]:                https://wayland.freedesktop.org
    Oct 11 07:09:16 am335x-test weston[1355]:                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
    Oct 11 07:09:16 am335x-test weston[1355]:                Build: 10.0.2
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.966] Command line: /usr/bin/weston --modules=systemd-notify.so
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.966] OS: Linux, 6.1.46-g999, #1 PREEMPT Mon Oct  7 13:00:18 UTC 2024, armv7l
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.966] Flight recorder: enabled
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.967] Using config file '/etc/xdg/weston/weston.ini'
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.967] Output repaint window is 7 ms maximum.
    Oct 11 07:09:16 am335x-test weston[1355]: [07:09:16.967] Loading module '/usr/lib/libweston-10/drm-backend.so'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.026] initializing drm backend
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.027] Trying logind launcher...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.057] logind: session control granted
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.080] using /dev/dri/card0
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.081] DRM: supports atomic modesetting
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.082] DRM: supports GBM modifiers
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.083] DRM: supports picture aspect ratio
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.084] Loading module '/usr/lib/libweston-10/gl-renderer.so'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.139] EGL client extensions: EGL_EXT_client_extensions
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_device_base EGL_EXT_device_enumeration
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_device_query EGL_EXT_platform_base
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_platform_device EGL_EXT_platform_wayland
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_platform_wayland EGL_MESA_platform_gbm
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.146] EGL device extensions: EGL_EXT_device_drm
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_device_drm_render_node
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.146] EGL version: 1.4
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.146] EGL vendor: Mesa Project
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.146] EGL client APIs: OpenGL_ES
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.146] EGL extensions: EGL_EXT_buffer_age
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_config_attribs EGL_KHR_create_context
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_image_base EGL_KHR_image_pixmap
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_no_config_context EGL_KHR_reusable_sync
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_KHR_wait_sync EGL_MESA_configless_context
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_IMG_cl_image
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.147] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.147] EGL_KHR_surfaceless_context available
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.166] GL version: OpenGL ES 2.0 build 1.17@4948957
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.167] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.168] GL vendor: Imagination Technologies
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.169] GL renderer: PowerVR SGX 530
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.169] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_element_index_uint GL_OES_EGL_image
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_fragment_precision_high GL_OES_get_program_binary
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_mapbuffer GL_OES_packed_depth_stencil
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_required_internalformat GL_OES_rgb8_rgba8
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_standard_derivatives GL_OES_surfaceless_context
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_texture_float GL_OES_texture_half_float
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_OES_vertex_array_object GL_OES_vertex_half_float
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_EXT_blend_minmax GL_EXT_discard_framebuffer
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
    Oct 11 07:09:17 am335x-test weston[1355]:                GL_EXT_texture_storage
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.213] GL ES 2.0 - renderer features:
    Oct 11 07:09:17 am335x-test weston[1355]:                read-back format: RGBA
    Oct 11 07:09:17 am335x-test weston[1355]:                wl_shm sub-image to texture: no
    Oct 11 07:09:17 am335x-test weston[1355]:                EGL Wayland extension: yes
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.287] event1  - generic ft5x06 (00): is tagged by udev as: Touchscreen
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.293] event1  - generic ft5x06 (00): device is a touch device
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.309] event0  - touch_key: is tagged by udev as: Keyboard
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.310] event0  - touch_key: device is a keyboard
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.312] Touchscreen - generic ft5x06 (00) - /sys/devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100000/4819c000.target-module/4819c000.i2c/i2c-2/i2c-4/4-0038/input/input1/event1
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.313] libinput: configuring device "generic ft5x06 (00)".
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.314] input device event1 has no enabled output associated (none named), skipping calibration for now.
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.362] libinput: configuring device "touch_key".
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.364] DRM: head 'LVDS-1' updated, connector 35 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.365] DRM: head 'LVDS-1' found, connector 35 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.366] Registered plugin API 'weston_drm_output_api_v1' of size 12
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.367] Color manager: no-op
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.368] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.369] Chosen EGL config details: id:   5 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pbf vis_id: XRGB8888 (0x34325258)
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.370] Output LVDS-1 (crtc 33) video modes:
    Oct 11 07:09:17 am335x-test weston[1355]:                800x480@60.1, preferred, current, 33.3 MHz
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.371] associating input device event1 with output LVDS-1 (none by udev)
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.372] associating input device event0 with output LVDS-1 (none by udev)
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.372] Output 'LVDS-1' enabled with head(s) LVDS-1
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.372] Compositor capabilities:
    Oct 11 07:09:17 am335x-test weston[1355]:                arbitrary surface rotation: yes
    Oct 11 07:09:17 am335x-test weston[1355]:                screen capture uses y-flip: yes
    Oct 11 07:09:17 am335x-test weston[1355]:                cursor planes: yes
    Oct 11 07:09:17 am335x-test weston[1355]:                arbitrary resolutions: no
    Oct 11 07:09:17 am335x-test weston[1355]:                view mask clipping: yes
    Oct 11 07:09:17 am335x-test weston[1355]:                explicit sync: no
    Oct 11 07:09:17 am335x-test weston[1355]:                color operations: no
    Oct 11 07:09:17 am335x-test weston[1355]:                presentation clock: CLOCK_MONOTONIC, id 1
    Oct 11 07:09:17 am335x-test weston[1355]:                presentation clock resolution: 0.000000001 s
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.373] Loading module '/usr/lib/weston/desktop-shell.so'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.376] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.379] 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.
    Oct 11 07:09:17 am335x-test weston[1364]: [07:09:17.388] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.392] Loading module '/usr/lib/weston/systemd-notify.so'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.395] info: add 1 socket(s) provided by systemd
    Oct 11 07:09:17 am335x-test systemd[1]: Started Weston, a Wayland compositor, as a system service.
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.406] launching '/usr/libexec/weston-desktop-shell'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.499] input_method disconnected, respawning...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.512] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.518] none exited with status 255
    Oct 11 07:09:17 am335x-test weston[1366]: [07:09:17.525] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1365]: could not load cursor 'dnd-move'
    Oct 11 07:09:17 am335x-test weston[1365]: could not load cursor 'dnd-copy'
    Oct 11 07:09:17 am335x-test weston[1365]: could not load cursor 'dnd-none'
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.552] input_method disconnected, respawning...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.558] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1367]: [07:09:17.576] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.582] none exited with status 255
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.595] input_method disconnected, respawning...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.597] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1368]: [07:09:17.612] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.615] none exited with status 255
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.622] input_method disconnected, respawning...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.623] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1369]: [07:09:17.632] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.630] none exited with status 255
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.642] input_method disconnected, respawning...
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.643] launching 'none'
    Oct 11 07:09:17 am335x-test weston[1371]: [07:09:17.652] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.655] none exited with status 255
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.658] input_method disconnected, giving up.
    Oct 11 07:09:17 am335x-test weston[1355]: [07:09:17.681] none exited with status 255
    
    
    
    

    root@am335x-test (0) /usr/bin# ./testqml -platform eglfs
    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.
    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: Supported screen extensions:
    LibGL: 	DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL: 	DRI2_Flush (supported version: 4 - max version: 4)
    LibGL: 	DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL: 	DRI_Robustness (supported version: 1 - max version: 1)
    LibGL: 	DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/tilcdc_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL info: found extension DRI_DRI2 version 4
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: No DRI config supports native format R8  
    libEGL debug: No DRI config supports native format R16 
    libEGL debug: No DRI config supports native format GR88
    libEGL debug: No DRI config supports native format GR32
    libEGL debug: No DRI config supports native format AR15
    libEGL debug: No DRI config supports native format AR12
    libEGL debug: No DRI config supports native format BG24
    libEGL debug: No DRI config supports native format XB24
    libEGL debug: No DRI config supports native format AB24
    libEGL debug: No DRI config supports native format XR30
    libEGL debug: No DRI config supports native format AR30
    libEGL debug: No DRI config supports native format XB30
    libEGL debug: No DRI config supports native format AB30
    libEGL debug: No DRI config supports native format XB4H
    libEGL debug: No DRI config supports native format AB4H
    libEGL debug: No DRI config supports native format YUYV
    libEGL debug: No DRI config supports native format IMG2
    Failed to move cursor on screen LVDS1: -13
    Failed to move cursor on screen LVDS1: -13
    
    
    
    


    root@am335x-deltatouch (0) /usr/bin# ./testguiapp 
    [ 435690.938]  -> wl_display@1.get_registry(new id wl_registry@2)
    [ 435693.561]  -> wl_display@1.sync(new id wl_callback@3)
    [ 440190.295] wl_display@1.delete_id(3)
    [ 440190.442] wl_registry@2.global(1, "wl_compositor", 4)
    [ 440190.606]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [ 440190.699] wl_registry@2.global(2, "wl_subcompositor", 1)
    [ 440190.784]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
    [ 440190.861] wl_registry@2.global(3, "wp_viewporter", 1)
    [ 440190.921] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
    [ 440191.012]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@6)
    [ 440191.081]  -> wl_display@1.sync(new id wl_callback@7)
    [ 440191.119] wl_registry@2.global(5, "wp_presentation", 1)
    [ 440191.179] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
    [ 440193.837] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
    [ 440194.523] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
    [ 440194.944] wl_registry@2.global(9, "wl_data_device_manager", 3)
    [ 440195.450]  -> wl_registry@2.bind(9, "wl_data_device_manager", 1, new id [unknown]@8)
    [ 440195.979] wl_registry@2.global(10, "wl_shm", 1)
    [ 440196.502]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@9)
    [ 440201.799] wl_registry@2.global(11, "wl_drm", 2)
    [ 440202.007] wl_registry@2.global(12, "wl_seat", 7)
    [ 440202.249]  -> wl_registry@2.bind(12, "wl_seat", 5, new id [unknown]@10)
    [ 440202.518]  -> wl_data_device_manager@8.get_data_device(new id wl_data_device@11, wl_seat@10)
    [ 440202.709] wl_registry@2.global(13, "zwp_linux_dmabuf_v1", 4)
    [ 440211.688] wl_registry@2.global(14, "weston_direct_display_v1", 1)
    [ 440213.176] wl_registry@2.global(15, "weston_content_protection", 1)
    [ 440213.489] wl_registry@2.global(16, "wl_output", 3)
    [ 440215.935]  -> wl_registry@2.bind(16, "wl_output", 2, new id [unknown]@12)
    [ 440218.551]  -> zxdg_output_manager_v1@6.get_xdg_output(new id zxdg_output_v1@13, wl_output@12)
    [ 440222.553] wl_registry@2.global(17, "zwp_input_panel_v1", 1)
    [ 440225.057] wl_registry@2.global(18, "zwp_input_method_v1", 1)
    [ 440226.049] wl_registry@2.global(19, "zwp_text_input_manager_v1", 1)
    [ 440226.746] wl_registry@2.global(20, "xdg_wm_base", 3)
    [ 440231.868] wl_registry@2.global(21, "weston_desktop_shell", 1)
    [ 440233.312] wl_registry@2.global(22, "weston_screenshooter", 1)
    [ 440234.483] wl_callback@3.done(1)
    [ 440237.243] wl_display@1.delete_id(7)
    [ 440249.134] wl_callback@7.done(1)
    [ 440249.622] wl_shm@9.format(0)
    [ 440250.903] wl_shm@9.format(1)
    [ 440251.068] wl_shm@9.format(909199186)
    [ 440251.150] wl_shm@9.format(842093913)
    [ 440251.908] wl_shm@9.format(842094158)
    [ 440252.157] wl_shm@9.format(1448695129)
    [ 440252.626] wl_shm@9.format(1448434008)
    [ 440253.119] wl_seat@10.capabilities(6)
    [ 440254.560]  -> wl_seat@10.get_keyboard(new id wl_keyboard@7)
    [ 440255.952]  -> wl_seat@10.get_touch(new id wl_touch@3)
    [ 440257.997] wl_seat@10.name("default")
    [ 440263.650] wl_output@12.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [ 440264.210] wl_output@12.scale(1)
    [ 440264.694] wl_output@12.mode(3, 800, 480, 60107)
    [ 440266.643] wl_output@12.done()
    [ 440266.897] zxdg_output_v1@13.logical_position(0, 0)
    [ 440267.032] zxdg_output_v1@13.logical_size(800, 480)
    [ 440271.419] zxdg_output_v1@13.name("LVDS-1")
    [ 440271.587] zxdg_output_v1@13.done()
    [ 440338.346]  -> wl_display@1.get_registry(new id wl_registry@14)
    [ 440352.653]  -> wl_display@1.sync(new id wl_callback@15)
    [ 440355.486] wl_display@1.delete_id(15)
    [ 440356.741] wl_registry@14.global(1, "wl_compositor", 4)
    [ 440358.497] wl_registry@14.global(2, "wl_subcompositor", 1)
    [ 440359.178] wl_registry@14.global(3, "wp_viewporter", 1)
    [ 440359.518] wl_registry@14.global(4, "zxdg_output_manager_v1", 2)
    [ 440359.718] wl_registry@14.global(5, "wp_presentation", 1)
    [ 440360.116] wl_registry@14.global(6, "zwp_relative_pointer_manager_v1", 1)
    [ 440360.491] wl_registry@14.global(7, "zwp_pointer_constraints_v1", 1)
    [ 440360.879] wl_registry@14.global(8, "zwp_input_timestamps_manager_v1", 1)
    [ 440361.026] wl_registry@14.global(9, "wl_data_device_manager", 3)
    [ 440361.599] wl_registry@14.global(10, "wl_shm", 1)
    [ 440362.039] wl_registry@14.global(11, "wl_drm", 2)
    [ 440362.275] wl_registry@14.global(12, "wl_seat", 7)
    [ 440362.699] wl_registry@14.global(13, "zwp_linux_dmabuf_v1", 4)
    [ 440362.900]  -> wl_registry@14.bind(13, "zwp_linux_dmabuf_v1", 4, new id [unknown]@16)
    [ 440363.576] wl_registry@14.global(14, "weston_direct_display_v1", 1)
    [ 440363.796] wl_registry@14.global(15, "weston_content_protection", 1)
    [ 440364.196] wl_registry@14.global(16, "wl_output", 3)
    [ 440364.339] wl_registry@14.global(17, "zwp_input_panel_v1", 1)
    [ 440364.726] wl_registry@14.global(18, "zwp_input_method_v1", 1)
    [ 440365.101] wl_registry@14.global(19, "zwp_text_input_manager_v1", 1)
    [ 440365.249] wl_registry@14.global(20, "xdg_wm_base", 3)
    [ 440365.629] wl_registry@14.global(21, "weston_desktop_shell", 1)
    [ 440365.772] wl_registry@14.global(22, "weston_screenshooter", 1)
    [ 440366.150] wl_callback@15.done(1)
    [ 440366.334]  -> zwp_linux_dmabuf_v1@16.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@15)
    [ 440367.007]  -> wl_display@1.sync(new id wl_callback@17)
    [ 440367.891] wl_display@1.delete_id(17)
    [ 440368.031] zwp_linux_dmabuf_feedback_v1@15.format_table(fd 7, 32)
    [ 440368.619] zwp_linux_dmabuf_feedback_v1@15.main_device(array[8])
    [ 440372.962] zwp_linux_dmabuf_feedback_v1@15.tranche_target_device(array[8])
    [ 440382.021] zwp_linux_dmabuf_feedback_v1@15.tranche_flags(0)
    [ 440382.914] zwp_linux_dmabuf_feedback_v1@15.tranche_formats(array[4])
    [ 440383.899] zwp_linux_dmabuf_feedback_v1@15.tranche_done()
    [ 440384.461] zwp_linux_dmabuf_feedback_v1@15.done()
    [ 440384.957] wl_callback@17.done(1)
    [ 440385.761]  -> zwp_linux_dmabuf_feedback_v1@15.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 7
    
    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 7
    
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/pvr_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL info: found extension DRI_IMAGE_DRIVER version 1
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    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: Supported screen extensions:
    LibGL: 	DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL: 	DRI2_Flush (supported version: 4 - max version: 4)
    LibGL: 	DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL: 	DRI_Robustness (supported version: 1 - max version: 1)
    LibGL: 	DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: 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 RGB565
    libEGL debug: No DRI config supports native format YUYV
    [ 440532.003]  -> wl_compositor@4.create_surface(new id wl_surface@17)
    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:   0 0x001 32  0  8  8  8  8   0  0  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   2 0x002 32  0  8  8  8  8   0  0  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   1 0x003 32  0  8  8  8  8  24  8  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   3 0x004 32  0  8  8  8  8  24  8  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x007 24  0  8  8  8  0  24  8  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x008 24  0  8  8  8  0  24  8  4 1 0x00000000--        y      y   y                 win,pb,
    [ 440655.683]  -> wl_registry@2.bind(20, "xdg_wm_base", 1, new id [unknown]@18)
    [ 440664.498]  -> xdg_wm_base@18.get_xdg_surface(new id xdg_surface@19, wl_surface@17)
    [ 440666.371]  -> xdg_surface@19.get_toplevel(new id xdg_toplevel@20)
    [ 440672.899]  -> xdg_toplevel@20.set_title("Simple C++ GUI Application")
    [ 440676.224]  -> xdg_toplevel@20.set_app_id("testguiapp")
    [ 440677.127]  -> wl_surface@17.set_buffer_scale(1)
    [ 440701.817]  -> wl_surface@17.set_buffer_transform(0)
    [ 440703.395]  -> wl_surface@17.commit()
    [ 440704.007] wl_keyboard@7.repeat_info(40, 400)
    [ 440705.313] wl_keyboard@7.keymap(1, fd 6, 64434)
    [ 440775.850]  -> wl_compositor@4.create_region(new id wl_region@21)
    [ 440792.977]  -> wl_region@21.add(3, 30, 400, 300)
    [ 440795.258]  -> wl_surface@17.set_opaque_region(wl_region@21)
    [ 440796.081]  -> wl_region@21.destroy()
    Application started
    [ 440818.864] wl_display@1.delete_id(15)
    [ 440818.980] wl_display@1.delete_id(21)
    [ 440819.009] xdg_toplevel@20.configure(0, 0, array[0])
    [ 440819.134] xdg_surface@19.configure(2)
    [ 440819.401]  -> xdg_surface@19.set_window_geometry(0, 0, 406, 333)
    [ 440819.548]  -> xdg_toplevel@20.set_min_size(91, 36)
    [ 440819.604]  -> xdg_toplevel@20.set_max_size(0, 0)
    [ 440819.642]  -> xdg_surface@19.ack_configure(2)
    [ 440820.826]  -> wl_shm@9.create_pool(new id wl_shm_pool@21, fd 9, 540792)
    [ 440820.941]  -> wl_shm_pool@21.create_buffer(new id wl_buffer@15, 0, 406, 333, 1624, 0)
    [ 440842.634]  -> wl_surface@17.damage(0, 0, 406, 30)
    [ 440846.001]  -> wl_surface@17.damage(0, 30, 3, 300)
    [ 440847.784]  -> wl_surface@17.damage(403, 30, 3, 300)
    [ 440848.425]  -> wl_surface@17.damage(0, 330, 406, 3)
    [ 440848.613]  -> wl_surface@17.damage(0, 333, 3, 30)
    [ 440850.018]  -> wl_surface@17.frame(new id wl_callback@22)
    [ 440851.968]  -> wl_surface@17.attach(wl_buffer@15, 0, 0)
    [ 440852.787]  -> wl_surface@17.damage(3, 30, 400, 300)
    [ 440853.248]  -> wl_surface@17.commit()
    [ 440861.962] wl_surface@17.enter(wl_output@12)
    [ 440863.388] wl_keyboard@7.enter(3, wl_surface@17, array[0])
    [ 440864.235] wl_keyboard@7.modifiers(3, 0, 0, 0, 0)
    [ 440865.251] wl_data_device@11.selection(nil)
    [ 440865.723] xdg_toplevel@20.configure(0, 0, array[4])
    [ 440866.191] xdg_surface@19.configure(4)
    [ 440866.959]  -> wl_display@1.sync(new id wl_callback@23)
    [ 440868.326]  -> xdg_surface@19.set_window_geometry(0, 0, 406, 333)
    [ 440868.863]  -> xdg_toplevel@20.set_min_size(91, 36)
    [ 440869.281]  -> xdg_toplevel@20.set_max_size(0, 0)
    [ 440869.606]  -> xdg_surface@19.ack_configure(4)
    [ 440876.494]  -> wl_surface@17.damage(0, 0, 406, 30)
    [ 440882.019]  -> wl_surface@17.damage(0, 30, 3, 300)
    [ 440884.653]  -> wl_surface@17.damage(403, 30, 3, 300)
    [ 440887.357]  -> wl_surface@17.damage(0, 330, 406, 3)
    [ 440887.543]  -> wl_surface@17.damage(0, 333, 3, 30)
    [ 440924.703] wl_display@1.delete_id(22)
    [ 440924.825] wl_buffer@15.release()
    [ 440924.854] wl_callback@22.done(1207873)
    [ 440926.355] wl_display@1.delete_id(23)
    [ 440926.449] wl_callback@23.done(4)
    
    
    

    Oct 11 07:04:43 am335x-test systemd[1]: Starting Weston, a Wayland compositor, as a system service...
    Oct 11 07:04:43 am335x-test systemd-journald[123]: Forwarding to syslog missed 32 messages.
    Oct 11 07:04:43 am335x-test systemd[1]: Created slice User Slice of UID 1000.
    Oct 11 07:04:43 am335x-test systemd[1]: Starting User Runtime Directory /run/user/1000...
    Oct 11 07:04:43 am335x-test systemd-logind[198]: New session c9 of user weston.
    Oct 11 07:04:43 am335x-test systemd[1]: Finished User Runtime Directory /run/user/1000.
    Oct 11 07:04:43 am335x-test systemd[1]: Starting User Manager for UID 1000...
    Oct 11 07:04:46 am335x-test systemd[1024]: Queued start job for default target Main User Target.
    Oct 11 07:04:46 am335x-test systemd[1024]: Created slice User Application Slice.
    Oct 11 07:04:46 am335x-test systemd[1024]: Reached target Paths.
    Oct 11 07:04:46 am335x-test systemd[1024]: Reached target Timers.
    Oct 11 07:04:46 am335x-test systemd[1024]: Starting D-Bus User Message Bus Socket...
    Oct 11 07:04:46 am335x-test systemd[1024]: Listening on D-Bus User Message Bus Socket.
    Oct 11 07:04:46 am335x-test systemd[1024]: Reached target Sockets.
    Oct 11 07:04:46 am335x-test systemd[1024]: Reached target Basic System.
    Oct 11 07:04:46 am335x-test systemd[1]: Started User Manager for UID 1000.
    Oct 11 07:04:46 am335x-test systemd[1024]: Reached target Main User Target.
    Oct 11 07:04:46 am335x-test systemd[1024]: Startup finished in 3.311s.
    Oct 11 07:04:46 am335x-test systemd[1]: Started Session c9 of User weston.
    Oct 11 07:04:46 am335x-test weston[1022]: Date: 2024-10-11 UTC
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.928] weston 10.0.2
    Oct 11 07:04:46 am335x-test weston[1022]:                https://wayland.freedesktop.org
    Oct 11 07:04:46 am335x-test weston[1022]:                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
    Oct 11 07:04:46 am335x-test weston[1022]:                Build: 10.0.2
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.944] Command line: /usr/bin/weston --modules=systemd-notify.so
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.944] OS: Linux, 6.1.46-g999, #1 PREEMPT Mon Oct  7 13:00:18 UTC 2024, armv7l
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.944] Flight recorder: enabled
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.944] Using config file '/etc/xdg/weston/weston.ini'
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.945] Output repaint window is 7 ms maximum.
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.945] Loading module '/usr/lib/libweston-10/drm-backend.so'
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.989] initializing drm backend
    Oct 11 07:04:46 am335x-test weston[1022]: [07:04:46.990] Trying logind launcher...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.019] logind: session control granted
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.042] using /dev/dri/card0
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.043] DRM: supports atomic modesetting
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.043] DRM: supports GBM modifiers
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.044] DRM: supports picture aspect ratio
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.045] Loading module '/usr/lib/libweston-10/gl-renderer.so'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.100] EGL client extensions: EGL_EXT_client_extensions
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_device_base EGL_EXT_device_enumeration
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_device_query EGL_EXT_platform_base
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_platform_device EGL_EXT_platform_wayland
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_platform_wayland EGL_MESA_platform_gbm
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.109] EGL device extensions: EGL_EXT_device_drm
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_device_drm_render_node
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.111] EGL version: 1.4
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.111] EGL vendor: Mesa Project
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.112] EGL client APIs: OpenGL_ES
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.112] EGL extensions: EGL_EXT_buffer_age
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_config_attribs EGL_KHR_create_context
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_image_base EGL_KHR_image_pixmap
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_no_config_context EGL_KHR_reusable_sync
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_KHR_wait_sync EGL_MESA_configless_context
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_IMG_cl_image
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.113] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.114] EGL_KHR_surfaceless_context available
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.130] GL version: OpenGL ES 2.0 build 1.17@4948957
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.131] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.132] GL vendor: Imagination Technologies
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.133] GL renderer: PowerVR SGX 530
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.133] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_element_index_uint GL_OES_EGL_image
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_EGL_image_external GL_OES_fbo_render_mipmap
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_fragment_precision_high GL_OES_get_program_binary
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_mapbuffer GL_OES_packed_depth_stencil
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_required_internalformat GL_OES_rgb8_rgba8
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_standard_derivatives GL_OES_surfaceless_context
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_texture_float GL_OES_texture_half_float
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_OES_vertex_array_object GL_OES_vertex_half_float
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_EXT_blend_minmax GL_EXT_discard_framebuffer
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug
    Oct 11 07:04:47 am335x-test weston[1022]:                GL_EXT_texture_storage
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.176] GL ES 2.0 - renderer features:
    Oct 11 07:04:47 am335x-test weston[1022]:                read-back format: RGBA
    Oct 11 07:04:47 am335x-test weston[1022]:                wl_shm sub-image to texture: no
    Oct 11 07:04:47 am335x-test weston[1022]:                EGL Wayland extension: yes
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.281] event1  - generic ft5x06 (00): is tagged by udev as: Touchscreen
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.286] event1  - generic ft5x06 (00): device is a touch device
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.302] event0  - touch_key: is tagged by udev as: Keyboard
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.304] event0  - touch_key: device is a keyboard
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.305] Touchscreen - generic ft5x06 (00) - /sys/devices/platform/ocp/48000000.interconnect/48000000.interconnect:segment@100000/4819c000.target-module/4819c000.i2c/i2c-2/i2c-4/4-0038/input/input1/event1
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.306] libinput: configuring device "generic ft5x06 (00)".
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.307] input device event1 has no enabled output associated (none named), skipping calibration for now.
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.354] libinput: configuring device "touch_key".
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.356] DRM: head 'LVDS-1' updated, connector 35 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.357] DRM: head 'LVDS-1' found, connector 35 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.358] Registered plugin API 'weston_drm_output_api_v1' of size 12
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.359] Color manager: no-op
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.360] Output 'LVDS-1' using color profile: built-in default sRGB SDR profile
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.361] Chosen EGL config details: id:   5 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pbf vis_id: XRGB8888 (0x34325258)
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.362] Output LVDS-1 (crtc 33) video modes:
    Oct 11 07:04:47 am335x-test weston[1022]:                800x480@60.1, preferred, current, 33.3 MHz
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.363] associating input device event1 with output LVDS-1 (none by udev)
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.365] associating input device event0 with output LVDS-1 (none by udev)
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.366] Output 'LVDS-1' enabled with head(s) LVDS-1
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.367] Compositor capabilities:
    Oct 11 07:04:47 am335x-test weston[1022]:                arbitrary surface rotation: yes
    Oct 11 07:04:47 am335x-test weston[1022]:                screen capture uses y-flip: yes
    Oct 11 07:04:47 am335x-test weston[1022]:                cursor planes: yes
    Oct 11 07:04:47 am335x-test weston[1022]:                arbitrary resolutions: no
    Oct 11 07:04:47 am335x-test weston[1022]:                view mask clipping: yes
    Oct 11 07:04:47 am335x-test weston[1022]:                explicit sync: no
    Oct 11 07:04:47 am335x-test weston[1022]:                color operations: no
    Oct 11 07:04:47 am335x-test weston[1022]:                presentation clock: CLOCK_MONOTONIC, id 1
    Oct 11 07:04:47 am335x-test weston[1022]:                presentation clock resolution: 0.000000001 s
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.368] Loading module '/usr/lib/weston/desktop-shell.so'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.375] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.379] 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.
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.382] Loading module '/usr/lib/weston/systemd-notify.so'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.384] info: add 1 socket(s) provided by systemd
    Oct 11 07:04:47 am335x-test weston[1031]: [07:04:47.386] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test systemd[1]: Started Weston, a Wayland compositor, as a system service.
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.399] launching '/usr/libexec/weston-desktop-shell'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.495] input_method disconnected, respawning...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.506] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1033]: [07:04:47.518] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.525] none exited with status 255
    Oct 11 07:04:47 am335x-test weston[1032]: could not load cursor 'dnd-move'
    Oct 11 07:04:47 am335x-test weston[1032]: could not load cursor 'dnd-copy'
    Oct 11 07:04:47 am335x-test weston[1032]: could not load cursor 'dnd-none'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.556] none exited with status 255
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.557] input_method disconnected, respawning...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.557] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1034]: [07:04:47.587] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.602] input_method disconnected, respawning...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.603] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1035]: [07:04:47.619] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.624] none exited with status 255
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.642] input_method disconnected, respawning...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.643] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.647] none exited with status 255
    Oct 11 07:04:47 am335x-test weston[1036]: [07:04:47.650] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.662] input_method disconnected, respawning...
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.663] launching 'none'
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.667] none exited with status 255
    Oct 11 07:04:47 am335x-test weston[1037]: [07:04:47.670] compositor: executing 'none' failed: No such file or directory
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.682] input_method disconnected, giving up.
    Oct 11 07:04:47 am335x-test weston[1022]: [07:04:47.691] none exited with status 255
    
    
    
    

    root@am335x-test (1) /usr/bin# export WESTON_DEBUG=1 ;export EGL_LOG_LEVEL=debug ; export LIBGL_DEBUG=verbose ;export MESA_DEBUG=1 ;export MESA_VERBOSE=1; export QT_QPA_EGLFS_DEBUG=1 ;export GALLIUM_HUD=simple,fps,cpu,draw-calls ; export WAYLAND_DEBUG=1
    root@am335x-test (1) /usr/bin# ./testguiapp -platform eglfs
    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.
    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: Supported screen extensions:
    LibGL: 	DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL: 	DRI2_Flush (supported version: 4 - max version: 4)
    LibGL: 	DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL: 	DRI_Robustness (supported version: 1 - max version: 1)
    LibGL: 	DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/tilcdc_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL info: found extension DRI_DRI2 version 4
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: No DRI config supports native format R8  
    libEGL debug: No DRI config supports native format R16 
    libEGL debug: No DRI config supports native format GR88
    libEGL debug: No DRI config supports native format GR32
    libEGL debug: No DRI config supports native format AR15
    libEGL debug: No DRI config supports native format AR12
    libEGL debug: No DRI config supports native format BG24
    libEGL debug: No DRI config supports native format XB24
    libEGL debug: No DRI config supports native format AB24
    libEGL debug: No DRI config supports native format XR30
    libEGL debug: No DRI config supports native format AR30
    libEGL debug: No DRI config supports native format XB30
    libEGL debug: No DRI config supports native format AB30
    libEGL debug: No DRI config supports native format XB4H
    libEGL debug: No DRI config supports native format AB4H
    libEGL debug: No DRI config supports native format YUYV
    libEGL debug: No DRI config supports native format IMG2
    Failed to move cursor on screen LVDS1: -13
    Failed to move cursor on screen LVDS1: -13
    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:   8 0x001 32  0  8  8  8  8   0  0  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:  10 0x002 32  0  8  8  8  8   0  0  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   9 0x003 32  0  8  8  8  8  24  8  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:  11 0x004 32  0  8  8  8  8  24  8  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   4 0x005 24  0  8  8  8  0   0  0  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   6 0x006 24  0  8  8  8  0   0  0  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   5 0x007 24  0  8  8  8  0  24  8  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   7 0x008 24  0  8  8  8  0  24  8  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   0 0x009 16  0  5  6  5  0   0  0  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   2 0x00a 16  0  5  6  5  0   0  0  4 1 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   1 0x00b 16  0  5  6  5  0  24  8  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   3 0x00c 16  0  5  6  5  0  24  8  4 1 0x36314752--        y      y   y                 win,pb,
    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:   4 0x001 32  0  8  8  8  8   0  0  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   6 0x002 32  0  8  8  8  8   0  0  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   5 0x003 32  0  8  8  8  8  24  8  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   7 0x004 32  0  8  8  8  8  24  8  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   0 0x005 24  0  8  8  8  0   0  0  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   2 0x006 24  0  8  8  8  0   0  0  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   1 0x007 24  0  8  8  8  0  24  8  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   3 0x008 24  0  8  8  8  0  24  8  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   8 0x009 16  0  5  6  5  0   0  0  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:  10 0x00a 16  0  5  6  5  0   0  0  4 1 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   9 0x00b 16  0  5  6  5  0  24  8  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:  11 0x00c 16  0  5  6  5  0  24  8  4 1 0x36314752--        y      y   y                 win,pb,
    Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 0, redBufferSize 5, greenBufferSize 6, blueBufferSize 5, alphaBufferSize 0, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
    	EGL_BUFFER_SIZE: 16
    	EGL_ALPHA_SIZE: 0
    	EGL_BLUE_SIZE: 5
    	EGL_GREEN_SIZE: 6
    	EGL_RED_SIZE: 5
    	EGL_DEPTH_SIZE: 0
    	EGL_STENCIL_SIZE: 0
    	EGL_CONFIG_CAVEAT: 12344
    	EGL_CONFIG_ID: 9
    	EGL_LEVEL: 0
    	EGL_MAX_PBUFFER_HEIGHT: 2048
    	EGL_MAX_PBUFFER_PIXELS: 4194304
    	EGL_MAX_PBUFFER_WIDTH: 2048
    	EGL_NATIVE_RENDERABLE: 1
    	EGL_NATIVE_VISUAL_ID: 909199186
    	EGL_NATIVE_VISUAL_TYPE: 12344
    	EGL_SAMPLES: 0
    	EGL_SAMPLE_BUFFERS: 0
    	EGL_SURFACE_TYPE: 5
    	EGL_TRANSPARENT_TYPE: 12344
    	EGL_TRANSPARENT_BLUE_VALUE: 0
    	EGL_TRANSPARENT_GREEN_VALUE: 0
    	EGL_TRANSPARENT_RED_VALUE: 0
    	EGL_BIND_TO_TEXTURE_RGB: 1
    	EGL_BIND_TO_TEXTURE_RGBA: 0
    	EGL_MIN_SWAP_INTERVAL: 1
    	EGL_MAX_SWAP_INTERVAL: 1
    Application started
    Could not set DRM mode for screen LVDS1 (Permission denied)
    Could not queue DRM page flip on screen LVDS1 (Permission denied)
    
    


    test_project_files.zip

  • Hi,

    Let me look into the above behavior on our EVM and will keep you posted.

    Regards,
    Krunal

  • Hi Krunal,

    I found the issue related to QML not showing, this was my mistake. My QML file changes, where not synced to the 'devtool workspace' when deploying to my target. It was basically related to importing the correct QuickControls, i.e. import QtQuick.Controls 2.15.

    So at least I know QT is working correctly, I can also see my QML view using -platform 'vnc'.

    But when I try to run with '-platform wayland', I have the broken buffer issue you mentioned, i.e.:

    wl_display@1.sync(new id wl_callback@25)
    [4271652.848] wl_display@1.error(nil, 7, "importing the supplied dmabufs failed")
    [destroyed object]: error 7: importing the supplied dmabufs failed
    The Wayland connection experienced a fatal error: Protocol error



    And when running with '-platform eglfs' I now have the same result as with the 'testgui' example, i.e.:

    Could not set DRM mode for screen LVDS1 (Permission denied)
    Could not queue DRM page flip on screen LVDS1 (Permission denied)


    Having QML running on wayland (with the buffer) is quite critical to our application, do you know when a fix will come, or is there a temporary workaround I could apply?

  • Hi,

    The permission denied is because weston is running and can you ensure that no backend is running when you pass "eglfs". While runnning eglfs, it will attempt to take over entire screen and if Weston or other service is running, you will get permission denied error. 

    Just to confirm, if you boot your EVM you should see Weston screen and if you try runing Qt app without "--platform wayland" then do you also see the buffer error?

    Regards,
    Krunal

  • Hi Krunal,

    When the system starts, I first get the TI splash, then Weston and then it tries to boot my app. When I disable the splash, weston and my app service, I still get the Arago terminal (maybe this is the one locking the screen, don't know how to disable it).

    Then I start ./testqml (without -platform wayland|eglfs), then it will launch weston and give the 'dmabufs' failed error.

    ./testqml 
    [  86349.865]  -> wl_display@1.get_registry(new id wl_registry@2)
    [  86366.353]  -> wl_display@1.sync(new id wl_callback@3)
    [  91307.204] wl_display@1.delete_id(3)
    [  91307.408] wl_registry@2.global(1, "wl_compositor", 4)
    [  91307.580]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [  91307.684] wl_registry@2.global(2, "wl_subcompositor", 1)
    [  91307.778]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
    [  91307.861] wl_registry@2.global(3, "wp_viewporter", 1)
    [  91307.929] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
    [  91308.025]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@6)
    [  91308.101]  -> wl_display@1.sync(new id wl_callback@7)
    [  91308.139] wl_registry@2.global(5, "wp_presentation", 1)
    [  91308.195] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
    [  91308.253] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
    [  91308.308] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
    [  91308.361] wl_registry@2.global(9, "wl_data_device_manager", 3)
    [  91308.456]  -> wl_registry@2.bind(9, "wl_data_device_manager", 1, new id [unknown]@8)
    [  91308.534] wl_registry@2.global(10, "wl_shm", 1)
    [  91308.631]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@9)
    [  91308.719] wl_registry@2.global(11, "wl_drm", 2)
    [  91308.773] wl_registry@2.global(12, "wl_seat", 7)
    [  91308.932]  -> wl_registry@2.bind(12, "wl_seat", 5, new id [unknown]@10)
    [  91309.279]  -> wl_data_device_manager@8.get_data_device(new id wl_data_device@11, wl_seat@10)
    [  91309.381] wl_registry@2.global(13, "zwp_linux_dmabuf_v1", 4)
    [  91309.446] wl_registry@2.global(14, "weston_direct_display_v1", 1)
    [  91309.505] wl_registry@2.global(15, "weston_content_protection", 1)
    [  91309.560] wl_registry@2.global(16, "wl_output", 3)
    [  91309.665]  -> wl_registry@2.bind(16, "wl_output", 2, new id [unknown]@12)
    [  91309.832]  -> zxdg_output_manager_v1@6.get_xdg_output(new id zxdg_output_v1@13, wl_output@12)
    [  91309.923] wl_registry@2.global(17, "zwp_input_panel_v1", 1)
    [  91309.984] wl_registry@2.global(18, "zwp_input_method_v1", 1)
    [  91310.040] wl_registry@2.global(19, "zwp_text_input_manager_v1", 1)
    [  91310.094] wl_registry@2.global(20, "xdg_wm_base", 3)
    [  91310.147] wl_registry@2.global(21, "weston_desktop_shell", 1)
    [  91310.201] wl_registry@2.global(22, "weston_screenshooter", 1)
    [  91310.255] wl_callback@3.done(1)
    [  91315.503] wl_display@1.delete_id(7)
    [  91315.596] wl_callback@7.done(1)
    [  91315.634] wl_shm@9.format(0)
    [  91315.698] wl_shm@9.format(1)
    [  91315.726] wl_shm@9.format(909199186)
    [  91315.752] wl_shm@9.format(842093913)
    [  91315.779] wl_shm@9.format(842094158)
    [  91315.819] wl_shm@9.format(1448695129)
    [  91315.849] wl_shm@9.format(1448434008)
    [  91315.877] wl_seat@10.capabilities(6)
    [  91316.096]  -> wl_seat@10.get_keyboard(new id wl_keyboard@7)
    [  91316.285]  -> wl_seat@10.get_touch(new id wl_touch@3)
    [  91316.521] wl_seat@10.name("default")
    [  91316.578] wl_output@12.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [  91316.692] wl_output@12.scale(1)
    [  91316.722] wl_output@12.mode(3, 800, 480, 60107)
    [  91316.780] wl_output@12.done()
    [  91316.821] zxdg_output_v1@13.logical_position(0, 0)
    [  91316.861] zxdg_output_v1@13.logical_size(800, 480)
    [  91316.899] zxdg_output_v1@13.name("LVDS-1")
    [  91316.930] zxdg_output_v1@13.done()
    [  92232.846]  -> wl_display@1.get_registry(new id wl_registry@14)
    [  92233.103]  -> wl_display@1.sync(new id wl_callback@15)
    [  92234.889] wl_display@1.delete_id(15)
    [  92234.993] wl_registry@14.global(1, "wl_compositor", 4)
    [  92235.089] wl_registry@14.global(2, "wl_subcompositor", 1)
    [  92235.156] wl_registry@14.global(3, "wp_viewporter", 1)
    [  92235.218] wl_registry@14.global(4, "zxdg_output_manager_v1", 2)
    [  92235.281] wl_registry@14.global(5, "wp_presentation", 1)
    [  92235.342] wl_registry@14.global(6, "zwp_relative_pointer_manager_v1", 1)
    [  92235.406] wl_registry@14.global(7, "zwp_pointer_constraints_v1", 1)
    [  92235.467] wl_registry@14.global(8, "zwp_input_timestamps_manager_v1", 1)
    [  92235.530] wl_registry@14.global(9, "wl_data_device_manager", 3)
    [  92235.592] wl_registry@14.global(10, "wl_shm", 1)
    [  92235.653] wl_registry@14.global(11, "wl_drm", 2)
    [  92235.713] wl_registry@14.global(12, "wl_seat", 7)
    [  92235.775] wl_registry@14.global(13, "zwp_linux_dmabuf_v1", 4)
    [  92235.852]  -> wl_registry@14.bind(13, "zwp_linux_dmabuf_v1", 4, new id [unknown]@16)
    [  92235.946] wl_registry@14.global(14, "weston_direct_display_v1", 1)
    [  92236.009] wl_registry@14.global(15, "weston_content_protection", 1)
    [  92236.072] wl_registry@14.global(16, "wl_output", 3)
    [  92236.134] wl_registry@14.global(17, "zwp_input_panel_v1", 1)
    [  92236.196] wl_registry@14.global(18, "zwp_input_method_v1", 1)
    [  92236.257] wl_registry@14.global(19, "zwp_text_input_manager_v1", 1)
    [  92236.319] wl_registry@14.global(20, "xdg_wm_base", 3)
    [  92236.379] wl_registry@14.global(21, "weston_desktop_shell", 1)
    [  92236.440] wl_registry@14.global(22, "weston_screenshooter", 1)
    [  92236.504] wl_callback@15.done(1)
    [  92236.630]  -> zwp_linux_dmabuf_v1@16.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@15)
    [  92236.690]  -> wl_display@1.sync(new id wl_callback@17)
    [  92237.118] wl_display@1.delete_id(17)
    [  92237.183] zwp_linux_dmabuf_feedback_v1@15.format_table(fd 8, 32)
    [  92237.359] zwp_linux_dmabuf_feedback_v1@15.main_device(array[8])
    [  92245.040] zwp_linux_dmabuf_feedback_v1@15.tranche_target_device(array[8])
    [  92245.156] zwp_linux_dmabuf_feedback_v1@15.tranche_flags(0)
    [  92245.189] zwp_linux_dmabuf_feedback_v1@15.tranche_formats(array[4])
    [  92245.262] zwp_linux_dmabuf_feedback_v1@15.tranche_done()
    [  92245.288] zwp_linux_dmabuf_feedback_v1@15.done()
    [  92245.312] wl_callback@17.done(1)
    [  92245.395]  -> zwp_linux_dmabuf_feedback_v1@15.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 8
    
    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 8
    
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/pvr_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL info: found extension DRI_IMAGE_DRIVER version 1
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    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: Supported screen extensions:
    LibGL:  DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL:  DRI2_Flush (supported version: 4 - max version: 4)
    LibGL:  DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL:  DRI_Robustness (supported version: 1 - max version: 1)
    LibGL:  DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: 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 RGB565
    libEGL debug: No DRI config supports native format YUYV
    [  92836.744]  -> wl_compositor@4.create_surface(new id wl_surface@17)
    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                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   0 0x003 32  0  8  8  8  8  24  8  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   1 0x004 32  0  8  8  8  8  24  8  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x007 24  0  8  8  8  0  24  8  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x008 24  0  8  8  8  0  24  8  4 1 0x00000000--        y      y   y                 win,pb,
    [  92866.767]  -> wl_registry@2.bind(20, "xdg_wm_base", 1, new id [unknown]@18)
    [  92867.285]  -> xdg_wm_base@18.get_xdg_surface(new id xdg_surface@19, wl_surface@17)
    [  92867.523]  -> xdg_surface@19.get_toplevel(new id xdg_toplevel@20)
    [  92867.693]  -> xdg_toplevel@20.set_title("Hello QML")
    [  92867.825]  -> xdg_toplevel@20.set_app_id("testqml")
    [  92867.934]  -> wl_surface@17.set_buffer_scale(1)
    [  92876.044]  -> wl_surface@17.set_buffer_transform(0)
    [  92876.203]  -> wl_surface@17.commit()
    [  92876.255] wl_keyboard@7.repeat_info(40, 400)
    [  92876.324] wl_keyboard@7.keymap(1, fd 7, 64434)
    [  92911.394]  -> wl_compositor@4.create_region(new id wl_region@21)
    [  92911.535]  -> wl_region@21.add(3, 30, 360, 360)
    [  92911.628]  -> wl_surface@17.set_opaque_region(wl_region@21)
    [  92911.663]  -> wl_region@21.destroy()
    [  92912.741] wl_display@1.delete_id(15)
    [  92912.826] xdg_toplevel@20.configure(0, 0, array[0])
    [  92912.930] xdg_surface@19.configure(2)
    [  92913.149]  -> xdg_surface@19.set_window_geometry(0, 0, 366, 393)
    [  92913.284]  -> xdg_toplevel@20.set_min_size(0, 0)
    [  92913.342]  -> xdg_toplevel@20.set_max_size(0, 0)
    [  92913.385]  -> xdg_surface@19.ack_configure(2)
    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                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   0 0x003 32  0  8  8  8  8  24  8  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   1 0x004 32  0  8  8  8  8  24  8  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x007 24  0  8  8  8  0  24  8  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x008 24  0  8  8  8  0  24  8  4 1 0x00000000--        y      y   y                 win,pb,
    [  92942.983]  -> wl_compositor@4.create_surface(new id wl_surface@15)
    [  92943.292]  -> zwp_linux_dmabuf_v1@16.get_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@22, wl_surface@15)
    [  92943.437]  -> wl_display@1.sync(new id wl_callback@23)
    [  92944.050] wl_display@1.delete_id(21)
    [  92944.122] wl_display@1.delete_id(23)
    [  92944.158] wl_callback@23.done(2)
    [  92944.352] zwp_linux_dmabuf_feedback_v1@22.format_table(fd 7, 32)
    [  92944.524] zwp_linux_dmabuf_feedback_v1@22.main_device(array[8])
    [  92944.573] zwp_linux_dmabuf_feedback_v1@22.tranche_target_device(array[8])
    [  92944.611] zwp_linux_dmabuf_feedback_v1@22.tranche_flags(0)
    [  92944.649] zwp_linux_dmabuf_feedback_v1@22.tranche_formats(array[4])
    [  92944.719] zwp_linux_dmabuf_feedback_v1@22.tranche_done()
    [  92944.772] zwp_linux_dmabuf_feedback_v1@22.done()
    [  92974.125]  -> zwp_linux_dmabuf_feedback_v1@22.destroy()
    [  92974.511]  -> wl_surface@15.destroy()
    [  92975.054]  -> wl_compositor@4.create_surface(new id wl_surface@23)
    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                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   0 0x003 32  0  8  8  8  8  24  8  0 0 0x00000000--        a      y   y                 win,pb,
    libEGL debug:   1 0x004 32  0  8  8  8  8  24  8  4 1 0x00000000--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x007 24  0  8  8  8  0  24  8  0 0 0x00000000--        y      y   y                 win,pb,
    libEGL debug:     0x008 24  0  8  8  8  0  24  8  4 1 0x00000000--        y      y   y                 win,pb,
    [  93315.320]  -> zwp_linux_dmabuf_v1@16.get_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@21, wl_surface@17)
    [  93315.729]  -> wl_display@1.sync(new id wl_callback@24)
    [  93316.920] wl_display@1.delete_id(22)
    [  93317.161] wl_display@1.delete_id(15)
    [  93317.259] wl_display@1.delete_id(24)
    [  93317.349] wl_callback@24.done(2)
    [  93317.579] zwp_linux_dmabuf_feedback_v1@21.format_table(fd 10, 32)
    [  93317.893] zwp_linux_dmabuf_feedback_v1@21.main_device(array[8])
    [  93318.011] zwp_linux_dmabuf_feedback_v1@21.tranche_target_device(array[8])
    [  93318.109] zwp_linux_dmabuf_feedback_v1@21.tranche_flags(0)
    [  93318.204] zwp_linux_dmabuf_feedback_v1@21.tranche_formats(array[4])
    [  93318.350] zwp_linux_dmabuf_feedback_v1@21.tranche_done()
    [  93318.462] zwp_linux_dmabuf_feedback_v1@21.done()
    [  93452.350]  -> wl_surface@17.damage(0, 0, 366, 30)
    [  93452.926]  -> wl_surface@17.damage(0, 30, 3, 360)
    [  93453.012]  -> wl_surface@17.damage(363, 30, 3, 360)
    [  93453.091]  -> wl_surface@17.damage(0, 390, 366, 3)
    [  93453.168]  -> wl_surface@17.damage(0, 393, 3, 30)
    [  93470.134]  -> wl_surface@17.frame(new id wl_callback@24)
    [  93470.403]  -> zwp_linux_dmabuf_v1@16.create_params(new id zwp_linux_buffer_params_v1@15)
    [  93470.515]  -> zwp_linux_buffer_params_v1@15.add(fd 10, 0, 0, 1472, 16777215, 4294967295)
    [  93470.638]  -> zwp_linux_buffer_params_v1@15.create_immed(new id wl_buffer@22, 366, 393, 875713089, 0)
    [  93470.738]  -> zwp_linux_buffer_params_v1@15.destroy()
    [  93470.774]  -> wl_surface@17.attach(wl_buffer@22, 0, 0)
    [  93470.839]  -> wl_surface@17.damage(0, 0, 2147483647, 2147483647)
    [  93470.926]  -> wl_surface@17.commit()
    [  93470.958]  -> wl_display@1.sync(new id wl_callback@25)
    [  93477.801] wl_display@1.error(nil, 7, "importing the supplied dmabufs failed")
    [destroyed object]: error 7: importing the supplied dmabufs failed
    The Wayland connection experienced a fatal error: Protocol error
    

    When I do the same (starting without all the above services) and execute: ./testqml -platform wayland, it is the same result.

    When I do the same and start with: ./testqml -platform eglfs, I get "invalid argument", no more "Permission denied". This indeed only happens when weston is running.

    ./testqml -platform eglfs
    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.
    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: Supported screen extensions:
    LibGL:  DRI_TexBuffer (supported version: 2 - max version: 3)
    LibGL:  DRI2_Flush (supported version: 4 - max version: 4)
    LibGL:  DRI_IMAGE (supported version: 8 - max version: 20)
    LibGL:  DRI_Robustness (supported version: 1 - max version: 1)
    LibGL:  DRI2_Fence (supported version: 1 - max version: 2)
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/tilcdc_dri.so)
    
    libEGL debug: found extension `DRI_Core'
    libEGL info: found extension DRI_Core version 2
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL info: found extension DRI_DRI2 version 4
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: found extension `DRI_Core'
    libEGL debug: found extension `DRI_IMAGE_DRIVER'
    libEGL debug: found extension `DRI_DRI2'
    libEGL debug: found extension `DRI_DriverVtable'
    libEGL debug: did not find optional extension DRI_ConfigOptions version 1
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL info: found extension DRI_TexBuffer version 2
    libEGL debug: found extension `DRI2_Flush'
    libEGL info: found extension DRI2_Flush version 4
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL debug: found extension `DRI2_Fence'
    libEGL debug: found extension `DRI_TexBuffer'
    libEGL debug: found extension `DRI2_Flush'
    libEGL debug: found extension `DRI_IMAGE'
    libEGL info: found extension DRI_IMAGE version 8
    libEGL debug: found extension `DRI_Robustness'
    libEGL info: found extension DRI_Robustness version 1
    libEGL debug: found extension `DRI2_Fence'
    libEGL info: found extension DRI2_Fence version 1
    libEGL debug: did not find optional extension DRI_NoError version 1
    libEGL debug: did not find optional extension DRI_CONFIG_QUERY version 1
    libEGL debug: did not find optional extension DRI2_BufferDamage version 1
    libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
    libEGL debug: did not find optional extension DRI2_Interop version 1
    libEGL debug: did not find optional extension DRI_FlushControl 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: No DRI config supports native format R8  
    libEGL debug: No DRI config supports native format R16 
    libEGL debug: No DRI config supports native format GR88
    libEGL debug: No DRI config supports native format GR32
    libEGL debug: No DRI config supports native format AR15
    libEGL debug: No DRI config supports native format AR12
    libEGL debug: No DRI config supports native format BG24
    libEGL debug: No DRI config supports native format XB24
    libEGL debug: No DRI config supports native format AB24
    libEGL debug: No DRI config supports native format XR30
    libEGL debug: No DRI config supports native format AR30
    libEGL debug: No DRI config supports native format XB30
    libEGL debug: No DRI config supports native format AB30
    libEGL debug: No DRI config supports native format XB4H
    libEGL debug: No DRI config supports native format AB4H
    libEGL debug: No DRI config supports native format YUYV
    libEGL debug: No DRI config supports native format IMG2
    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 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   4 0x003 32  0  8  8  8  8  24  8  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   5 0x004 32  0  8  8  8  8  24  8  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   2 0x007 24  0  8  8  8  0  24  8  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   3 0x008 24  0  8  8  8  0  24  8  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x009 16  0  5  6  5  0   0  0  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:     0x00a 16  0  5  6  5  0   0  0  4 1 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   0 0x00b 16  0  5  6  5  0  24  8  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   1 0x00c 16  0  5  6  5  0  24  8  4 1 0x36314752--        y      y   y                 win,pb,
    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 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   4 0x003 32  0  8  8  8  8  24  8  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   5 0x004 32  0  8  8  8  8  24  8  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   2 0x007 24  0  8  8  8  0  24  8  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   3 0x008 24  0  8  8  8  0  24  8  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x009 16  0  5  6  5  0   0  0  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:     0x00a 16  0  5  6  5  0   0  0  4 1 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   0 0x00b 16  0  5  6  5  0  24  8  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   1 0x00c 16  0  5  6  5  0  24  8  4 1 0x36314752--        y      y   y                 win,pb,
    Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, sam:
            EGL_BUFFER_SIZE: 16
            EGL_ALPHA_SIZE: 0
            EGL_BLUE_SIZE: 5
            EGL_GREEN_SIZE: 6
            EGL_RED_SIZE: 5
            EGL_DEPTH_SIZE: 24
            EGL_STENCIL_SIZE: 8
            EGL_CONFIG_CAVEAT: 12344
            EGL_CONFIG_ID: 11
            EGL_LEVEL: 0
            EGL_MAX_PBUFFER_HEIGHT: 2048
            EGL_MAX_PBUFFER_PIXELS: 4194304
            EGL_MAX_PBUFFER_WIDTH: 2048
            EGL_NATIVE_RENDERABLE: 1
            EGL_NATIVE_VISUAL_ID: 909199186
            EGL_NATIVE_VISUAL_TYPE: 12344
            EGL_SAMPLES: 0
            EGL_SAMPLE_BUFFERS: 0
            EGL_SURFACE_TYPE: 5
            EGL_TRANSPARENT_TYPE: 12344
            EGL_TRANSPARENT_BLUE_VALUE: 0
            EGL_TRANSPARENT_GREEN_VALUE: 0
            EGL_TRANSPARENT_RED_VALUE: 0
            EGL_BIND_TO_TEXTURE_RGB: 1
            EGL_BIND_TO_TEXTURE_RGBA: 0
            EGL_MIN_SWAP_INTERVAL: 1
            EGL_MAX_SWAP_INTERVAL: 1
    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 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x002 32  0  8  8  8  8   0  0  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   2 0x003 32  0  8  8  8  8  24  8  0 0 0x34325241--        a      y   y                 win,pb,
    libEGL debug:   3 0x004 32  0  8  8  8  8  24  8  4 1 0x34325241--        a      y   y                 win,pb,
    libEGL debug:     0x005 24  0  8  8  8  0   0  0  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x006 24  0  8  8  8  0   0  0  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   0 0x007 24  0  8  8  8  0  24  8  0 0 0x34325258--        y      y   y                 win,pb,
    libEGL debug:   1 0x008 24  0  8  8  8  0  24  8  4 1 0x34325258--        y      y   y                 win,pb,
    libEGL debug:     0x009 16  0  5  6  5  0   0  0  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:     0x00a 16  0  5  6  5  0   0  0  4 1 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   4 0x00b 16  0  5  6  5  0  24  8  0 0 0x36314752--        y      y   y                 win,pb,
    libEGL debug:   5 0x00c 16  0  5  6  5  0  24  8  4 1 0x36314752--        y      y   y                 win,pb,
    Could not set DRM mode for screen LVDS1 (Invalid argument)
    Could not queue DRM page flip on screen LVDS1 (Invalid argument)
    

  • I will check with our developers later today and get back to you.

    Regards,
    Krunal

  • Hi Krunal, 

    Thank you. I am also interested in why I get the invalid argument, is it something I have to set in a configuration file, because it is also complaining about that. 

    kind regards. 

  • Hi,

    I believe you shared your qml app earlier but can you share again for our testing. I just wanna ensure we are both testing the same latest app. 

    Regards,
    Krunal

  • Hi,

    As I mentioned above, we are working on a new release that should address your issues. Our dev team ran your app and we saw a cyan box with "Hello, QML!" in the middle of the screen. I am assuming that's the expected output and could you please confirm.

    Regards,
    Krunal

  • Hi Krunal, 

    yes that is indeed what is expected. Is this outcome, with the new release that you are working on, or is this on the current release, that I am using? Thank you in advance, this sounds promising. 

    Regards,

    Raymond. 

  • Hi Raymond,

    The above testing was done with our new release of the driver where we are addressing bugs from the 9.x release.

    Regards,
    Krunal

  • Hi Krunal,

    Exciting! Let me know when it is available and I will immediately test it.

    Cheers.

  • Hi Krunal,

    Is there anything I can try already, a branch I can check out, I could help testing.

    Cheers.

  • Hi,

    I just checked internally and it seems like we pushed the following patch last night: https://lore.kernel.org/yocto-meta-ti/20241018005602.225710-1-rs@ti.com/T/#u.

    Regards,
    Krunal

  • Hello Krunal,

    Thank you for this. I have applied the patch, and there is progress indeed. I am now able to show QML screens using weston with.

    The thing is that the performance is really bad, e.g. it takes a lot of time to bring GUI screens to the foreground 'fading in' and clicking on a button also takes a long time to react.

    Is this something still being worked on, is there anything I can give you with a debug session that could help?

    Cheers,

    Raymond.

  • Hi,

    Is the GPU loaded? For example, if you run the command lsmod | grep pvr, do you see GPU getting initialized? I just want to ensure it's not SW rasterized. 

    Regards,
    Krunal

  • Hi Krunal,

    Ah shoot, I think you are right, i did not catch the swrast loading this time.  dlopen(/usr/lib/dri/swrast_dri.so

    odule                  Size  Used by
    rfcomm                 45056  2
    algif_hash             16384  1
    aes_arm                16384  1
    aes_generic            36864  1 aes_arm
    cbc                    16384  0
    aes_arm_bs             24576  2
    crypto_simd            16384  1 aes_arm_bs
    cryptd                 20480  2 crypto_simd
    algif_skcipher         16384  1
    af_alg                 20480  6 algif_hash,algif_skcipher
    pvrsrvkm              368640  0
    pwm_tiecap             16384  0
    tilcdc                 32768  1
    drm_dma_helper         16384  1 tilcdc
    snd_soc_tlv320aic3x_i2c    16384  0
    snd_soc_tlv320aic3x    53248  1 snd_soc_tlv320aic3x_i2c
    edt_ft5x06             24576  0
    snd_soc_davinci_mcasp    28672  0
    snd_soc_ti_udma        16384  1 snd_soc_davinci_mcasp
    snd_soc_ti_edma        16384  1 snd_soc_davinci_mcasp
    snd_soc_ti_sdma        16384  1 snd_soc_davinci_mcasp
    snd_soc_core          172032  5 snd_soc_davinci_mcasp,snd_soc_ti_sdma,snd_soc_ti_edma,snd_soc_tlv320aic3x,snd_soc_ti_udma
    snd_pcm_dmaengine      16384  1 snd_soc_core
    ac97_bus               16384  1 snd_soc_core
    snd_pcm                90112  4 snd_soc_davinci_mcasp,snd_pcm_dmaengine,snd_soc_core,snd_soc_tlv320aic3x
    snd_timer              28672  1 snd_pcm
    snd                    57344  3 snd_timer,snd_soc_core,snd_pcm
    soundcore              16384  1 snd
    omap_wdt               16384  0
    cryptodev              40960  0
    
    
    dmesg | grep pvr
    [   11.962591] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 1
    


    QML debugging is enabled. Only use this in a safe environment.
    No version number found
    [  18457.450]  -> wl_display@1.get_registry(new id wl_registry@2)
    [  18458.284]  -> wl_display@1.sync(new id wl_callback@3)
    [  19171.558] wl_display@1.delete_id(3)
    [  19171.774] wl_registry@2.global(1, "wl_compositor", 4)
    [  19171.982]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [  19172.090] wl_registry@2.global(2, "wl_subcompositor", 1)
    [  19172.197]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
    [  19172.289] wl_registry@2.global(3, "wp_viewporter", 1)
    [  19172.362] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
    [  19172.473]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@6)
    [  19172.547]  -> wl_display@1.sync(new id wl_callback@7)
    [  19172.587] wl_registry@2.global(5, "wp_presentation", 1)
    [  19172.644] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
    [  19172.704] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
    [  19172.759] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
    [  19172.815] wl_registry@2.global(9, "wl_data_device_manager", 3)
    [  19172.925]  -> wl_registry@2.bind(9, "wl_data_device_manager", 1, new id [unknown]@8)
    [  19173.004] wl_registry@2.global(10, "wl_shm", 1)
    [  19173.114]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@9)
    [  19173.206] wl_registry@2.global(11, "wl_drm", 2)
    [  19173.264] wl_registry@2.global(12, "wl_seat", 7)
    [  19173.402]  -> wl_registry@2.bind(12, "wl_seat", 5, new id [unknown]@10)
    [  19173.534]  -> wl_data_device_manager@8.get_data_device(new id wl_data_device@11, wl_seat@10)
    [  19173.639] wl_registry@2.global(13, "zwp_linux_dmabuf_v1", 3)
    [  19173.702] wl_registry@2.global(14, "weston_direct_display_v1", 1)
    [  19173.761] wl_registry@2.global(15, "weston_content_protection", 1)
    [  19173.818] wl_registry@2.global(16, "wl_output", 3)
    [  19173.938]  -> wl_registry@2.bind(16, "wl_output", 2, new id [unknown]@12)
    [  19174.287]  -> zxdg_output_manager_v1@6.get_xdg_output(new id zxdg_output_v1@13, wl_output@12)
    [  19174.392] wl_registry@2.global(17, "zwp_input_panel_v1", 1)
    [  19174.458] wl_registry@2.global(18, "zwp_input_method_v1", 1)
    [  19174.514] wl_registry@2.global(19, "zwp_text_input_manager_v1", 1)
    [  19174.569] wl_registry@2.global(20, "xdg_wm_base", 3)
    [  19174.623] wl_registry@2.global(21, "weston_desktop_shell", 1)
    [  19174.677] wl_registry@2.global(22, "weston_screenshooter", 1)
    [  19174.732] wl_callback@3.done(18)
    [  19175.395] wl_display@1.delete_id(7)
    [  19175.454] wl_callback@7.done(18)
    [  19175.488] wl_shm@9.format(0)
    [  19175.558] wl_shm@9.format(1)
    [  19175.587] wl_shm@9.format(909199186)
    [  19175.614] wl_shm@9.format(842093913)
    [  19175.640] wl_shm@9.format(842094158)
    [  19175.685] wl_shm@9.format(1448695129)
    [  19175.714] wl_shm@9.format(1448434008)
    [  19175.741] wl_shm@9.format(808665665)
    [  19175.767] wl_shm@9.format(808665688)
    [  19175.794] wl_shm@9.format(1211384385)
    [  19175.820] wl_shm@9.format(1211384408)
    [  19175.847] wl_seat@10.capabilities(6)
    [  19176.073]  -> wl_seat@10.get_keyboard(new id wl_keyboard@7)
    [  19176.208]  -> wl_seat@10.get_touch(new id wl_touch@3)
    [  19176.448] wl_seat@10.name("default")
    [  19176.500] wl_output@12.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [  19176.621] wl_output@12.scale(1)
    [  19176.651] wl_output@12.mode(3, 800, 480, 60107)
    [  19176.710] wl_output@12.done()
    [  19176.756] zxdg_output_v1@13.logical_position(0, 0)
    [  19176.797] zxdg_output_v1@13.logical_size(800, 480)
    [  19176.835] zxdg_output_v1@13.name("LVDS-1")
    [  19176.867] zxdg_output_v1@13.done()
    "INSERT INTO settings (config_key, config_value, Category, SyncStatus) VALUES (\"DeltaX_STARTED_ON\", \"21-10-2024\", \"99\", 1) ON DUPLICATE KEY UPDATE config_value = \"21-10-2024\", SyncStatus=1;"
    "Field 'volatile' doesn't have a default value QMYSQL: Unable to execute query"
    [  19646.770]  -> wl_display@1.get_registry(new id wl_registry@14)
    [  19647.075]  -> wl_display@1.sync(new id wl_callback@15)
    [  19648.769] wl_display@1.delete_id(15)
    [  19648.868] wl_registry@14.global(1, "wl_compositor", 4)
    [  19648.988] wl_registry@14.global(2, "wl_subcompositor", 1)
    [  19649.054] wl_registry@14.global(3, "wp_viewporter", 1)
    [  19649.418] wl_registry@14.global(4, "zxdg_output_manager_v1", 2)
    [  19649.485] wl_registry@14.global(5, "wp_presentation", 1)
    [  19649.547] wl_registry@14.global(6, "zwp_relative_pointer_manager_v1", 1)
    [  19649.608] wl_registry@14.global(7, "zwp_pointer_constraints_v1", 1)
    [  19649.670] wl_registry@14.global(8, "zwp_input_timestamps_manager_v1", 1)
    [  19649.731] wl_registry@14.global(9, "wl_data_device_manager", 3)
    [  19649.793] wl_registry@14.global(10, "wl_shm", 1)
    [  19649.853] wl_registry@14.global(11, "wl_drm", 2)
    [  19649.915] wl_registry@14.global(12, "wl_seat", 7)
    [  19649.976] wl_registry@14.global(13, "zwp_linux_dmabuf_v1", 3)
    [  19650.058]  -> wl_registry@14.bind(13, "zwp_linux_dmabuf_v1", 3, new id [unknown]@16)
    [  19650.154] wl_registry@14.global(14, "weston_direct_display_v1", 1)
    [  19650.217] wl_registry@14.global(15, "weston_content_protection", 1)
    [  19650.279] wl_registry@14.global(16, "wl_output", 3)
    [  19650.340] wl_registry@14.global(17, "zwp_input_panel_v1", 1)
    [  19650.401] wl_registry@14.global(18, "zwp_input_method_v1", 1)
    [  19650.462] wl_registry@14.global(19, "zwp_text_input_manager_v1", 1)
    [  19650.526] wl_registry@14.global(20, "xdg_wm_base", 3)
    [  19650.587] wl_registry@14.global(21, "weston_desktop_shell", 1)
    [  19650.648] wl_registry@14.global(22, "weston_screenshooter", 1)
    [  19650.742] wl_callback@15.done(18)
    [  19650.854]  -> wl_display@1.sync(new id wl_callback@15)
    [  19651.473] wl_display@1.delete_id(15)
    [  19651.535] zwp_linux_dmabuf_v1@16.modifier(1211384385, 16777215, 4294967295)
    [  19651.602] zwp_linux_dmabuf_v1@16.modifier(1211384408, 16777215, 4294967295)
    [  19651.665] zwp_linux_dmabuf_v1@16.modifier(942948929, 16777215, 4294967295)
    [  19651.730] zwp_linux_dmabuf_v1@16.modifier(942948952, 16777215, 4294967295)
    [  19651.792] zwp_linux_dmabuf_v1@16.modifier(808669761, 16777215, 4294967295)
    [  19651.855] zwp_linux_dmabuf_v1@16.modifier(808669784, 16777215, 4294967295)
    [  19651.917] zwp_linux_dmabuf_v1@16.modifier(808665665, 16777215, 4294967295)
    [  19651.979] zwp_linux_dmabuf_v1@16.modifier(808665688, 16777215, 4294967295)
    [  19652.042] zwp_linux_dmabuf_v1@16.modifier(875713089, 16777215, 4294967295)
    [  19652.105] zwp_linux_dmabuf_v1@16.modifier(875708993, 16777215, 4294967295)
    [  19652.168] zwp_linux_dmabuf_v1@16.modifier(875713112, 16777215, 4294967295)
    [  19652.231] zwp_linux_dmabuf_v1@16.modifier(875709016, 16777215, 4294967295)
    [  19652.293] zwp_linux_dmabuf_v1@16.modifier(892424769, 16777215, 4294967295)
    [  19652.355] zwp_linux_dmabuf_v1@16.modifier(909199186, 16777215, 4294967295)
    [  19652.417] zwp_linux_dmabuf_v1@16.modifier(538982482, 16777215, 4294967295)
    [  19652.479] zwp_linux_dmabuf_v1@16.modifier(540422482, 16777215, 4294967295)
    [  19652.541] zwp_linux_dmabuf_v1@16.modifier(943215175, 16777215, 4294967295)
    [  19652.603] zwp_linux_dmabuf_v1@16.modifier(842224199, 16777215, 4294967295)
    [  19652.665] zwp_linux_dmabuf_v1@16.modifier(961959257, 16777215, 4294967295)
    [  19652.726] zwp_linux_dmabuf_v1@16.modifier(825316697, 16777215, 4294967295)
    [  19652.788] zwp_linux_dmabuf_v1@16.modifier(842093913, 16777215, 4294967295)
    [  19652.850] zwp_linux_dmabuf_v1@16.modifier(909202777, 16777215, 4294967295)
    [  19652.911] zwp_linux_dmabuf_v1@16.modifier(875713881, 16777215, 4294967295)
    [  19652.973] zwp_linux_dmabuf_v1@16.modifier(961893977, 16777215, 4294967295)
    [  19653.035] zwp_linux_dmabuf_v1@16.modifier(825316953, 16777215, 4294967295)
    [  19653.098] zwp_linux_dmabuf_v1@16.modifier(842094169, 16777215, 4294967295)
    [  19653.160] zwp_linux_dmabuf_v1@16.modifier(909203033, 16777215, 4294967295)
    [  19653.222] zwp_linux_dmabuf_v1@16.modifier(875714137, 16777215, 4294967295)
    [  19653.283] zwp_linux_dmabuf_v1@16.modifier(842094158, 16777215, 4294967295)
    [  19653.345] zwp_linux_dmabuf_v1@16.modifier(808530000, 16777215, 4294967295)
    [  19986.835] zwp_linux_dmabuf_v1@16.modifier(842084432, 16777215, 4294967295)
    [  19987.018] zwp_linux_dmabuf_v1@16.modifier(909193296, 16777215, 4294967295)
    [  19987.186] zwp_linux_dmabuf_v1@16.modifier(909203022, 16777215, 4294967295)
    [  19987.351] zwp_linux_dmabuf_v1@16.modifier(1448433985, 16777215, 4294967295)
    [  19987.516] zwp_linux_dmabuf_v1@16.modifier(1448434008, 16777215, 4294967295)
    [  19987.680] zwp_linux_dmabuf_v1@16.modifier(808531033, 16777215, 4294967295)
    [  19987.845] zwp_linux_dmabuf_v1@16.modifier(842085465, 16777215, 4294967295)
    [  19988.010] zwp_linux_dmabuf_v1@16.modifier(909194329, 16777215, 4294967295)
    [  19988.175] zwp_linux_dmabuf_v1@16.modifier(1448695129, 16777215, 4294967295)
    [  19988.343] zwp_linux_dmabuf_v1@16.modifier(1498831189, 16777215, 4294967295)
    [  19988.509] zwp_linux_dmabuf_v1@16.modifier(808530521, 16777215, 4294967295)
    [  19988.675] zwp_linux_dmabuf_v1@16.modifier(842084953, 16777215, 4294967295)
    [  19988.840] zwp_linux_dmabuf_v1@16.modifier(909193817, 16777215, 4294967295)
    [  19989.008] wl_callback@15.done(18)
    [  19989.309]  -> wl_registry@14.bind(11, "wl_drm", 2, new id [unknown]@15)
    [  19989.578]  -> wl_display@1.sync(new id wl_callback@17)
    [  19991.232] wl_display@1.delete_id(17)
    [  19991.370] wl_drm@15.device("/dev/dri/card0")
    [  19992.559]  -> wl_drm@15.authenticate(1)
    [  19992.715] wl_drm@15.format(808669761)
    [  19992.823] wl_drm@15.format(808669784)
    [  19992.917] wl_drm@15.format(808665665)
    [  19993.009] wl_drm@15.format(808665688)
    [  19993.103] wl_drm@15.format(875713089)
    [  19993.191] wl_drm@15.format(875713112)
    [  19993.280] wl_drm@15.format(909199186)
    [  19993.372] wl_drm@15.format(961959257)
    [  19993.460] wl_drm@15.format(825316697)
    [  19993.549] wl_drm@15.format(842093913)
    [  19993.637] wl_drm@15.format(909202777)
    [  19993.727] wl_drm@15.format(875713881)
    [  19993.816] wl_drm@15.format(842094158)
    [  19993.905] wl_drm@15.format(909203022)
    [  19993.995] wl_drm@15.format(1448695129)
    [  19994.084] wl_drm@15.capabilities(1)
    [  19994.173] wl_callback@17.done(18)
    [  19994.286]  -> wl_display@1.sync(new id wl_callback@17)
    [  19995.014] wl_display@1.delete_id(17)
    [  19995.150] wl_drm@15.authenticated()
    [  19995.220] wl_callback@17.done(18)
    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 tilcdc for 8
    
    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 tilcdc for 8
    
    libEGL debug: MESA-LOADER: failed to open /usr/lib/dri/tilcdc_dri.so: /usr/lib/dri/tilcdc_dri.so: cannot open shared object file: No such file or directory
    
    libEGL warning: MESA-LOADER: failed to open tilcdc: /usr/lib/dri/tilcdc_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: DRI2: failed to load driver
    
    [  20026.383]  -> zwp_linux_dmabuf_v1@16.destroy()
    [  20026.542]  -> wl_display@1.get_registry(new id wl_registry@17)
    [  20026.597]  -> wl_display@1.sync(new id wl_callback@18)
    [  20027.147] wl_display@1.delete_id(16)
    [  20027.212] wl_display@1.delete_id(18)
    [  20027.242] wl_registry@17.global(1, "wl_compositor", 4)
    [  20027.294] wl_registry@17.global(2, "wl_subcompositor", 1)
    [  20027.343] wl_registry@17.global(3, "wp_viewporter", 1)
    [  20027.392] wl_registry@17.global(4, "zxdg_output_manager_v1", 2)
    [  20027.441] wl_registry@17.global(5, "wp_presentation", 1)
    [  20027.490] wl_registry@17.global(6, "zwp_relative_pointer_manager_v1", 1)
    [  20027.539] wl_registry@17.global(7, "zwp_pointer_constraints_v1", 1)
    [  20027.588] wl_registry@17.global(8, "zwp_input_timestamps_manager_v1", 1)
    [  20027.636] wl_registry@17.global(9, "wl_data_device_manager", 3)
    [  20027.686] wl_registry@17.global(10, "wl_shm", 1)
    [  20027.740]  -> wl_registry@17.bind(10, "wl_shm", 1, new id [unknown]@16)
    [  20027.813] wl_registry@17.global(11, "wl_drm", 2)
    [  20027.863] wl_registry@17.global(12, "wl_seat", 7)
    [  20362.005] wl_registry@17.global(13, "zwp_linux_dmabuf_v1", 3)
    [  20362.186] wl_registry@17.global(14, "weston_direct_display_v1", 1)
    [  20362.352] wl_registry@17.global(15, "weston_content_protection", 1)
    [  20362.516] wl_registry@17.global(16, "wl_output", 3)
    [  20362.679] wl_registry@17.global(17, "zwp_input_panel_v1", 1)
    [  20362.841] wl_registry@17.global(18, "zwp_input_method_v1", 1)
    [  20363.004] wl_registry@17.global(19, "zwp_text_input_manager_v1", 1)
    [  20363.168] wl_registry@17.global(20, "xdg_wm_base", 3)
    [  20363.330] wl_registry@17.global(21, "weston_desktop_shell", 1)
    [  20363.492] wl_registry@17.global(22, "weston_screenshooter", 1)
    [  20363.659] wl_callback@18.done(18)
    [  20363.788]  -> wl_display@1.sync(new id wl_callback@18)
    [  20364.615] wl_display@1.delete_id(18)
    [  20364.750] wl_shm@16.format(0)
    [  20364.845] wl_shm@16.format(1)
    [  20364.935] wl_shm@16.format(909199186)
    [  20365.025] wl_shm@16.format(842093913)
    [  20365.117] wl_shm@16.format(842094158)
    [  20365.207] wl_shm@16.format(1448695129)
    [  20365.296] wl_shm@16.format(1448434008)
    [  20365.388] wl_shm@16.format(808665665)
    [  20365.477] wl_shm@16.format(808665688)
    [  20365.567] wl_shm@16.format(1211384385)
    [  20365.657] wl_shm@16.format(1211384408)
    [  20365.746] wl_callback@18.done(18)
    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 ABGR8888
    libEGL debug: No DRI config supports native format XBGR8888
    libEGL debug: No DRI config supports native format YUYV
    [  20425.076]  -> wl_compositor@4.create_surface(new id wl_surface@18)
    libEGL debug: eglPrintConfigDebug: nothing to print
    


    So I have all these drivers installed: 

    ls /usr/lib/dri/
    kms_swrast_dri.so pvr_dri.so sgx_dri.so swrast_dri.so tidss_dri.so virtio_gpu_dri.so

    How does it determine what driver to load,an is there a way I can influence that? 

    Kind regards, 

    Raymond. 

  • Hi Krunal,

    Good news!

    Ok after digging a bit more, I found that it tries to link the loaded driver to a user mode driver with _dri. The loaded driver is tilcdc, thus tilcdc_dri.so. But this driver was not installed by MESA in /usr/lib/dri.

    I remember a setting in the Yocto graphic stack configuration 'PVR_DISPLAY_CONTROLLER_ALIAS' apparently, this must match the name of the kernel display driver, i.e. tilcdc.

    This is some kind of undocumented switch that controls what interface will be loaded and now MESA produces the tilcdc_dri.so object.

    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 tilcdc for 8
    
    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 tilcdc for 8
    
    libEGL debug: !!!! Name: tilcdc: _dri
    
    libEGL debug: !!!! PATH: /usr/lib/dri/tilcdc_dri.so
    
    libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/tilcdc_dri.so)


    So to recap:

    The Patch you gave me is working In combination with the following Yocto configuration settings:

    require conf/machine/include/mesa-pvr.inc
    PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
    PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"


    Weston is now showing my QML screen and I can continue!! Also, I do not have Kernel panics when shutting down on some buffer driver. Thank you to you and your team for solving this!

    Additionally, I tried other modes (not needed for my application), but maybe help-full for you or another reader.


    ./testqml -platform eglfs
    
    Could not set DRM mode for screen LVDS1 (Invalid argument)
    Could not queue DRM page flip on screen LVDS1 (Invalid argument)
    
    ./testqml -platform minimalegl
    
    libEGL debug: EGL user error 0x300b (EGL_BAD_NATIVE_WINDOW) in eglCreateWindowSurface: _eglCreateWindowSurfaceCommon
    
    Could not create the egl surface: error = 0x300b
    
    MESA: info: Unloaded libpvr_dri_support.so
    EGL error
    Aborted (core dumped)
    
    ./testqml -platform wayland-egl -> works
    ./testqml -platform wayland -> works
    ./testqml -platform linuxfb -> works
    ./testqml -platform vnc -> works


    If I find anything else, I can post it here. If there is anything else I can do or help to test just let me know.

    Many thanks,

    Raymond.

  • Hi Raymond,

    Awesome, thanks for the update and please let us know if you run into additional issues. With regards to the EGLFS, can you try to set the following variable: QT_QPA_EGLFS_FORCE_RGBA?

    Regards,
    Krunal

  • Hi Krunal,

    I have tried your suggestion and to my surprise, now eglfs also works.
    Platform 'minimalegl' is still broken. Happy that this works too, thanks. 

    'QT_QPA_EGLFS_FORCE_RGBA' is not documented anywhere, can't find it on Google search either. Searching in the meta layers, this variable is introduced in the 'meta-arago-distro', with patch:

    0001-eglfs-Force-888-format-only-on-env-flag.patch

    I am able to proceed, and I ran into another bug, this one is in QT when using QML and 'PNG' images. There is a deadlock, blocking on QQmlComponent::create.

    I have found a bug report here: https://bugreports.qt.io/browse/QTBUG-90629, but without a solution.

    Maybe good to introduce a patch for that in meta-arago-distro too.

    Kind regards,

    Raymond.

  • Hi Krunal,

    Here is my patch, as a workaround for the deadlock in qimage image conversion routines. In my case, I don't need a threadpool for image conversions.

    qtbase_%.bbappend

    SUMMARY = "Bugfixes for qtbase."
    FILESEXTRAPATHS:append := "${THISDIR}/${PN}"
    
    # This patch in meta-arago-distro breaks the QT platform plugin for eglfs. 
    # The following error will be shown when runnint with -platform eglfs:
    # Could not set DRM mode for screen LVDS1 (Invalid argument)
    # Could not queue DRM page flip on screen LVDS1 (Invalid argument)
    
    SRC_URI:remove = "file://0001-eglfs-Force-888-format-only-on-env-flag.patch"
    
    # This patch is a workaround to prevent a deadlock in QImage image conversion. 
    # See: https://bugreports.qt.io/browse/QTBUG-90629
    SRC_URI:append = "file://0001-Workaround-deadlock-QImage-conversion-hangs-on-futex.patch"

    0001-Workaround-deadlock-QImage-conversion-hangs-on-futex.patch

    From 9965ebb0d00aba5d70ce7eec4ccbe024c2f790dc Mon Sep 17 00:00:00 2001
    From: Raymond Siudak <raymond.siudak@justembed.nl>
    Date: Wed, 23 Oct 2024 13:42:00 +0200
    Subject: [PATCH] Workaround: deadlock QImage conversion, hangs on futex.
    
    In this version it will run into a deadlock in
    'convert_generic_inplace' in qimage_conversion.cpp.
    
    As a workaround, disable thread pool for Qimage operations.
    
    QTBUG: https://bugreports.qt.io/browse/QTBUG-90629
    This should be fixed in newer versions, but the newer version is not
    yet supported by meta-qt5.
    ---
     src/gui/image/qimage_conversions.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/gui/image/qimage_conversions.cpp b/src/gui/image/qimage_conversions.cpp
    index 9257ab8cfe..a81ee00d6b 100644
    --- a/src/gui/image/qimage_conversions.cpp
    +++ b/src/gui/image/qimage_conversions.cpp
    @@ -51,7 +51,7 @@
     #ifdef Q_OS_WASM
     // WebAssembly has threads; however we can't block the main thread.
     #else
    -#define QT_USE_THREAD_PARALLEL_IMAGE_CONVERSIONS
    +// #define QT_USE_THREAD_PARALLEL_IMAGE_CONVERSIONS
     #endif
     #endif
     
    -- 
    2.34.1
    
    


    Everything appears to be working now, thanks for the help. 

    Cheers Raymond.