This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: LibGL.so not present

Part Number: AM5728

LINUX PSDK 5.03

Hello,

I have written a third-party application that requires OpenGL libraries (libEGL.so, libGLESv2.so, libGL.so etc)

All these libraries are available on the EVM at /usr/lib/ path except for libGL.so.

When I try to cross-compile libGL.so form Mesa and use it in my application it shows multiple dependencies related to xcb and X11 libraries (libxcb-sync, libxcb-present etc).

Can you guide me to a path where I'd get libGL.so or correct sources of the same?

Thanks,

Devashish

  • Hello Devashish,

    Unfortunately, we do not support X11/GLX and is it possible to use Wayland/EGL with your application? Also, please share more information about the application you have created. 

    Regards,
    Krunal

  • Hello Krunal,

    YES! It is possible to use Wayland/EGL with my application. Infact, I have compiled my app for Desktop using Wayland/EGL and it ran successfully.

    However, when I cross-compile for ARM and run, it throws error related to SDL/EGL. I've written more about this error in next section.

    About My Application:

    I have built a simple application using Qt & SDL that has a button which opens a preview on clicking, whenever camera (system/usb) is connected to the EVM. My app successfully receives correct parameters related to camera (resolution, frame rate, frame format) and I have verified it using debug prints. However, when I click on preview button, it crashes and throws error related to EGL. On executing it with gdb, I found out that it is not able to get a valid EGL configuration. The eglChooseConfig doesn't find a matching EGL config and it fails to create a surface and open the preview. Also, I do not get any "EGL 1.4 Initialised" prints when my app executes. This print, on the contrary, is visible when I run OGLES2ChameleonMan in /usr/bin/SGX/demos/Wayland.

    I am including the output of ldd command below:

    root@am57xx-evm:/mnt# ldd cam_preview 
    	linux-vdso.so.1 (0xbec50000)
    	libpjsua.so.2 => /usr/local/PJSIP_ONLY/libpjsua.so.2 (0xb6e6e000)
    	libpjsip-ua.so.2 => /usr/local/PJSIP_ONLY/libpjsip-ua.so.2 (0xb6e48000)
    	libpjsip-simple.so.2 => /usr/local/PJSIP_ONLY/libpjsip-simple.so.2 (0xb6e28000)
    	libpjsip.so.2 => /usr/local/PJSIP_ONLY/libpjsip.so.2 (0xb6dda000)
    	libpjmedia-codec.so.2 => /usr/local/PJSIP_ONLY/libpjmedia-codec.so.2 (0xb6dba000)
    	libpjmedia-videodev.so.2 => /usr/local/PJSIP_ONLY/libpjmedia-videodev.so.2 (0xb6d9e000)
    	libpjmedia-audiodev.so.2 => /usr/local/PJSIP_ONLY/libpjmedia-audiodev.so.2 (0xb6d88000)
    	libpjmedia.so.2 => /usr/local/PJSIP_ONLY/libpjmedia.so.2 (0xb6d12000)
    	libpjnath.so.2 => /usr/local/PJSIP_ONLY/libpjnath.so.2 (0xb6cdf000)
    	libpjlib-util.so.2 => /usr/local/PJSIP_ONLY/libpjlib-util.so.2 (0xb6cab000)
    	libsrtp.so.2 => /usr/local/PJSIP_ONLY/libsrtp.so.2 (0xb6c87000)
    	libresample.so.2 => /usr/local/PJSIP_ONLY/libresample.so.2 (0xb6c6a000)
    	libgsmcodec.so.2 => /usr/local/PJSIP_ONLY/libgsmcodec.so.2 (0xb6c4c000)
    	libspeex.so.2 => /usr/local/PJSIP_ONLY/libspeex.so.2 (0xb6c13000)
    	libilbccodec.so.2 => /usr/local/PJSIP_ONLY/libilbccodec.so.2 (0xb6bf4000)
    	libg7221codec.so.2 => /usr/local/PJSIP_ONLY/libg7221codec.so.2 (0xb6bd4000)
    	libyuv.so.2 => /usr/local/PJSIP_ONLY/libyuv.so.2 (0xb6ba5000)
    	libpj.so.2 => /usr/local/PJSIP_ONLY/libpj.so.2 (0xb6b77000)
    	libopenh264.so.5 => /usr/local/PJSIP_ONLY/libopenh264.so.5 (0xb6a94000)
    	libstdc++.so.6 => /lib/libstdc++.so.6 (0xb6978000)
    	libuuid.so.1 => /lib/libuuid.so.1 (0xb6964000)
    	librt.so.1 => /lib/librt.so.1 (0xb694e000)
    	libasound.so.2 => /usr/lib/libasound.so.2 (0xb686a000)
    	libSDL2-2.0.so.0 => /usr/local/SDL_ONLY/libSDL2-2.0.so.0 (0xb6783000)
    	libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0xb6767000)
    	libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb625e000)
    	libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb5d71000)
    	libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb5887000)
    	libpthread.so.0 => /lib/libpthread.so.0 (0xb5863000)
    	libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0xb57e8000)
    	libQt5X11Extras.so.5 => /usr/local/PJSIP_ONLY/libQt5X11Extras.so.5 (0xb6f30000)
    	libX11.so.6 => /usr/lib/libX11.so.6 (0xb56cb000)
    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb569b000)
    	libXau.so.6 => /usr/lib/libXau.so.6 (0xb5688000)
    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb5673000)
    	libm.so.6 => /lib/libm.so.6 (0xb55f7000)
    	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb55ce000)
    	libc.so.6 => /lib/libc.so.6 (0xb54e1000)
    	/lib/ld-linux-armhf.so.3 (0xb6f16000)
    	libdl.so.2 => /lib/libdl.so.2 (0xb54ce000)
    	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb54b4000)
    	libpvr_wlegl.so.1 => /usr/lib/libpvr_wlegl.so.1 (0xb54a3000)
    	libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0xb548c000)
    	libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0xb5444000)
    	libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0xb53c0000)
    	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb537c000)
    	libsrv_um.so.1 => /usr/lib/libsrv_um.so.1 (0xb5338000)
    	libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb52ff000)
    	libz.so.1 => /lib/libz.so.1 (0xb52db000)
    	libicui18n.so.59 => /usr/lib/libicui18n.so.59 (0xb50db000)
    	libicuuc.so.59 => /usr/lib/libicuuc.so.59 (0xb4f71000)
    	libicudata.so.59 => /usr/lib/libicudata.so.59 (0xb364c000)
    	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb362f000)
    	libgbm.so.2 => /usr/lib/libgbm.so.2 (0xb361c000)
    	libudev.so.1 => /lib/libudev.so.1 (0xb3600000)
    	libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0xb35e3000)
    	libdrm_omap.so.1 => /usr/lib/libdrm_omap.so.1 (0xb35d0000)
    	libffi.so.6 => /usr/lib/libffi.so.6 (0xb35b9000)
    	libIMGegl.so.1 => /usr/lib/libIMGegl.so.1 (0xb3593000)
    	libpvr2d.so.1 => /usr/lib/libpvr2d.so.1 (0xb357f000)
    	libresolv.so.2 => /lib/libresolv.so.2 (0xb355e000)
    	libcap.so.2 => /lib/libcap.so.2 (0xb3549000)
    	libdbm.so.1 => /usr/lib/libdbm.so.1 (0xb3537000)
    

    Kindly acknowledge and revert.

    Thanks,

    Devashish

  • Hello Devashish,

    Please export the following variables and provide the full debug log:

    export MESA_DEBUG=1

    export EGL_LOG_LEVEL=debug

    export LIBGL_DEBUG=verbose

    export WAYLAND_DEBUG=1

    Regards,
    Krunal

  • Hello,

    Please find below two log files attached.

    full_debug_log.txt - has all the logs from the application with the values of environment variables suggested by you.

    without_debug_log.txt - normal run of the application

    You'll observe from the logs that application crashes after preview button was pressed.

    [3574885.456]  -> wl_display@1.get_registry(new id wl_registry@2)
    [3574885.657]  -> wl_display@1.sync(new id wl_callback@3)
    [3574885.996] wl_display@1.delete_id(3)
    [3574886.109] wl_registry@2.global(1, "wl_compositor", 4)
    [3574886.197]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [3574886.295] wl_registry@2.global(2, "wl_subcompositor", 1)
    [3574886.356] wl_registry@2.global(3, "wp_viewporter", 1)
    [3574886.414] wl_registry@2.global(4, "wp_presentation", 1)
    [3574886.472] wl_registry@2.global(5, "zwp_relative_pointer_manager_v1", 1)
    [3574886.531]  -> wl_registry@2.bind(5, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@5)
    [3574886.613] wl_registry@2.global(6, "zwp_pointer_constraints_v1", 1)
    [3574886.720]  -> wl_registry@2.bind(6, "zwp_pointer_constraints_v1", 1, new id [unknown]@6)
    [3574886.803] wl_registry@2.global(7, "wl_data_device_manager", 3)
    [3574886.863]  -> wl_registry@2.bind(7, "wl_data_device_manager", 3, new id [unknown]@7)
    [3574886.945] wl_registry@2.global(8, "wl_shm", 1)
    [3574887.006]  -> wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@8)
    [3574887.345]  -> wl_shm@8.create_pool(new id wl_shm_pool@9, fd 5, 4096)
    [3574887.633]  -> wl_shm_pool@9.resize(8832)
    [3574887.749]  -> wl_shm_pool@9.resize(18624)
    [3574887.814] wl_registry@2.global(9, "wl_drm", 1)
    [3574887.880] wl_registry@2.global(10, "wl_seat", 5)
    [3574887.942]  -> wl_registry@2.bind(10, "wl_seat", 1, new id [unknown]@10)
    [3574888.027]  -> wl_data_device_manager@7.get_data_device(new id wl_data_device@11, wl_seat@10)
    [3574888.236] wl_registry@2.global(11, "zwp_linux_dmabuf_v1", 1)
    [3574888.305] wl_registry@2.global(12, "wl_output", 3)
    [3574888.366]  -> wl_registry@2.bind(12, "wl_output", 2, new id [unknown]@12)
    [3574888.447] wl_registry@2.global(13, "zwp_input_panel_v1", 1)
    [3574888.506] wl_registry@2.global(14, "zwp_input_method_v1", 1)
    [3574888.564] wl_registry@2.global(15, "zwp_text_input_manager_v1", 1)
    [3574888.622] wl_registry@2.global(16, "zxdg_shell_v6", 1)
    [3574888.681]  -> wl_registry@2.bind(16, "zxdg_shell_v6", 1, new id [unknown]@13)
    [3574888.761] wl_registry@2.global(17, "xdg_shell", 1)
    [3574888.820] wl_registry@2.global(18, "wl_shell", 1)
    [3574888.879]  -> wl_registry@2.bind(18, "wl_shell", 1, new id [unknown]@14)
    [3574888.959] wl_registry@2.global(19, "weston_desktop_shell", 1)
    [3574889.017] wl_registry@2.global(20, "weston_screenshooter", 1)
    [3574889.075] wl_callback@3.done(5081)
    [3574889.134]  -> wl_display@1.sync(new id wl_callback@3)
    [3574889.282] wl_display@1.delete_id(3)
    [3574889.322] wl_seat@10.capabilities(7)
    [3574889.353]  -> wl_seat@10.get_pointer(new id wl_pointer@15)
    [3574889.409]  -> wl_seat@10.get_touch(new id wl_touch@16)
    [3574889.449]  -> wl_seat@10.get_keyboard(new id wl_keyboard@17)
    [3574889.486] wl_output@12.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [3574889.619] wl_output@12.scale(1)
    [3574889.649] wl_output@12.mode(3, 800, 480, 59524)
    [3574889.770] wl_output@12.done()
    [3574889.800] wl_callback@3.done(5081)
    [3574889.864]  -> wl_shm_pool@9.create_buffer(new id wl_buffer@3, 4032, 10, 16, 40, 0)
    [3574889.979]  -> wl_compositor@4.create_surface(new id wl_surface@18)
    [3574890.028]  -> wl_pointer@15.set_cursor(0, wl_surface@18, 1, 1)
    [3574890.103]  -> wl_surface@18.attach(wl_buffer@3, 0, 0)
    [3574890.163]  -> wl_surface@18.damage(0, 0, 10, 16)
    [3574890.236]  -> wl_surface@18.commit()
    [3574920.128]  -> wl_display@1.get_registry(new id wl_registry@2)
    [3574920.373]  -> wl_display@1.sync(new id wl_callback@3)
    [3574920.670] wl_display@1.delete_id(3)
    [3574920.711] wl_registry@2.global(1, "wl_compositor", 4)
    [3574920.839]  -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@4)
    [3574920.928] wl_registry@2.global(2, "wl_subcompositor", 1)
    [3574921.023]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
    [3574921.121] wl_registry@2.global(3, "wp_viewporter", 1)
    [3574921.185] wl_registry@2.global(4, "wp_presentation", 1)
    [3574921.247] wl_registry@2.global(5, "zwp_relative_pointer_manager_v1", 1)
    [3574921.311] wl_registry@2.global(6, "zwp_pointer_constraints_v1", 1)
    [3574921.372] wl_registry@2.global(7, "wl_data_device_manager", 3)
    [3574921.510]  -> wl_registry@2.bind(7, "wl_data_device_manager", 1, new id [unknown]@6)
    [3574921.596] wl_registry@2.global(8, "wl_shm", 1)
    [3574921.702]  -> wl_registry@2.bind(8, "wl_shm", 1, new id [unknown]@7)
    [3574921.800] wl_registry@2.global(9, "wl_drm", 1)
    [3574921.863] wl_registry@2.global(10, "wl_seat", 5)
    [3574921.983]  -> wl_registry@2.bind(10, "wl_seat", 4, new id [unknown]@8)
    [3574922.111]  -> wl_data_device_manager@6.get_data_device(new id wl_data_device@9, wl_seat@8)
    [3574922.214] wl_registry@2.global(11, "zwp_linux_dmabuf_v1", 1)
    [3574922.277] wl_registry@2.global(12, "wl_output", 3)
    [3574922.393]  -> wl_registry@2.bind(12, "wl_output", 2, new id [unknown]@10)
    [3574922.511]  -> wl_display@1.sync(new id wl_callback@11)
    [3574922.551] wl_registry@2.global(13, "zwp_input_panel_v1", 1)
    [3574922.613] wl_registry@2.global(14, "zwp_input_method_v1", 1)
    [3574922.676] wl_registry@2.global(15, "zwp_text_input_manager_v1", 1)
    [3574922.739] wl_registry@2.global(16, "zxdg_shell_v6", 1)
    [3574922.800] wl_registry@2.global(17, "xdg_shell", 1)
    [3574922.861] wl_registry@2.global(18, "wl_shell", 1)
    [3574922.921] wl_registry@2.global(19, "weston_desktop_shell", 1)
    [3574922.982] wl_registry@2.global(20, "weston_screenshooter", 1)
    [3574923.044] wl_callback@3.done(5081)
    [3574923.206] wl_display@1.delete_id(11)
    [3574923.245] wl_shm@7.format(0)
    [3574923.290] wl_shm@7.format(1)
    [3574923.320] wl_shm@7.format(909199186)
    [3574923.349] wl_shm@7.format(842093913)
    [3574923.378] wl_shm@7.format(842094158)
    [3574923.409] wl_shm@7.format(1448695129)
    [3574923.439] wl_seat@8.capabilities(7)
    [3574923.648]  -> wl_seat@8.get_keyboard(new id wl_keyboard@3)
    [3574923.762]  -> wl_seat@8.get_pointer(new id wl_pointer@12)
    [3574923.856]  -> wl_compositor@4.create_surface(new id wl_surface@13)
    [3574923.952]  -> wl_seat@8.get_touch(new id wl_touch@14)
    [3574924.105] wl_seat@8.name("default")
    [3574924.139] wl_output@10.geometry(0, 0, 0, 0, 0, "unknown", "unknown", 0)
    [3574924.284] wl_output@10.scale(1)
    [3574924.316] wl_output@10.mode(3, 800, 480, 59524)
    [3574924.390] wl_output@10.done()
    [3574924.498] wl_callback@11.done(5081)
    [3574924.719]  -> wl_shm@7.create_pool(new id wl_shm_pool@11, fd 7, 4096)
    [3574924.922]  -> wl_shm_pool@11.resize(8832)
    [3574925.018]  -> wl_shm_pool@11.resize(18624)
    
    Using Wayland-EGL
    
    [3574962.223]  -> wl_display@1.get_registry(new id wl_registry@15)
    [3574962.325]  -> wl_display@1.sync(new id wl_callback@16)
    [3574962.651] wl_display@1.delete_id(16)
    [3574962.693] wl_registry@15.global(1, "wl_compositor", 4)
    [3574962.773] wl_registry@15.global(2, "wl_subcompositor", 1)
    [3574962.835] wl_registry@15.global(3, "wp_viewporter", 1)
    [3574962.893] wl_registry@15.global(4, "wp_presentation", 1)
    [3574962.952] wl_registry@15.global(5, "zwp_relative_pointer_manager_v1", 1)
    [3574963.011] wl_registry@15.global(6, "zwp_pointer_constraints_v1", 1)
    [3574963.069] wl_registry@15.global(7, "wl_data_device_manager", 3)
    [3574963.127] wl_registry@15.global(8, "wl_shm", 1)
    [3574963.185] wl_registry@15.global(9, "wl_drm", 1)
    [3574963.264]  -> wl_registry@15.bind(9, "wl_drm", 1, new id [unknown]@17)
    [3574963.347] wl_registry@15.global(10, "wl_seat", 5)
    [3574963.406] wl_registry@15.global(11, "zwp_linux_dmabuf_v1", 1)
    [3574963.464] wl_registry@15.global(12, "wl_output", 3)
    [3574963.523] wl_registry@15.global(13, "zwp_input_panel_v1", 1)
    [3574963.581] wl_registry@15.global(14, "zwp_input_method_v1", 1)
    [3574963.639] wl_registry@15.global(15, "zwp_text_input_manager_v1", 1)
    [3574963.697] wl_registry@15.global(16, "zxdg_shell_v6", 1)
    [3574963.755] wl_registry@15.global(17, "xdg_shell", 1)
    [3574963.813] wl_registry@15.global(18, "wl_shell", 1)
    [3574963.871] wl_registry@15.global(19, "weston_desktop_shell", 1)
    [3574963.928] wl_registry@15.global(20, "weston_screenshooter", 1)
    [3574963.986] wl_callback@16.done(5081)
    [3574964.031]  -> wl_display@1.sync(new id wl_callback@16)
    [3574964.148] wl_display@1.delete_id(16)
    [3574964.186] wl_drm@17.device("/dev/dri/card0")
    [3574964.286]  -> wl_drm@17.authenticate(2)
    [3574964.321] wl_drm@17.format(875713089)
    [3574964.377] wl_drm@17.format(875713112)
    [3574964.407] wl_drm@17.format(961959257)
    [3574964.435] wl_drm@17.format(825316697)
    [3574964.464] wl_drm@17.format(842093913)
    [3574964.492] wl_drm@17.format(909202777)
    [3574964.521] wl_drm@17.format(875713881)
    [3574964.549] wl_drm@17.format(842094158)
    [3574964.578] wl_drm@17.format(909203022)
    [3574964.606] wl_drm@17.format(1448695129)
    [3574964.634] wl_drm@17.format(1498831189)
    [3574964.663] wl_callback@16.done(5081)
    [3574964.693]  -> wl_display@1.sync(new id wl_callback@16)
    [3574964.798] wl_display@1.delete_id(16)
    [3574964.835] wl_drm@17.authenticated()
    [3574964.857] wl_callback@16.done(5081)
    
    wlpvr: PVR Services Initialised
    
    [3574965.418]  -> wl_compositor@4.create_surface(new id wl_surface@16)
    [3574969.459]  -> wl_shm_pool@11.create_buffer(new id wl_buffer@18, 4032, 10, 16, 40, 0)
    [3574969.685]  -> wl_pointer@12.set_cursor(0, wl_surface@13, 1, 1)
    [3574969.763]  -> wl_surface@13.attach(wl_buffer@18, 0, 0)
    [3574969.825]  -> wl_surface@13.damage(0, 0, 10, 16)
    [3574969.898]  -> wl_surface@13.commit()
    [3574970.399]  -> wl_registry@2.bind(16, "zxdg_shell_v6", 1, new id [unknown]@19)
    
    Using the 'xdg-shell-v6' shell integration
    
    [3574970.626]  -> zxdg_shell_v6@19.get_xdg_surface(new id zxdg_surface_v6@20, wl_surface@16)
    [3574970.838]  -> zxdg_surface_v6@20.get_toplevel(new id zxdg_toplevel_v6@21)
    [3574970.969]  -> zxdg_toplevel_v6@21.set_title("cam_preview")
    [3574971.088]  -> zxdg_toplevel_v6@21.set_app_id("cam_preview")
    [3574971.169]  -> wl_surface@16.set_buffer_scale(1)
    [3574973.652]  -> wl_surface@16.set_buffer_transform(0)
    [3574973.721]  -> wl_surface@16.commit()
    [3574973.748] wl_keyboard@3.repeat_info(40, 400)
    [3574973.795] wl_keyboard@3.keymap(1, fd 7, 48097)
    
    13:54:14.807     alsa_dev.c  ..ALSA driver found 15 devices
    13:54:14.807     alsa_dev.c  ..ALSA initialized
    13:54:14.817    pjsua_vid.c  ..Initializing video subsystem..
    13:54:14.817   openh264.cpp  ...OpenH264 codec initialize
    13:54:15.295     v4l2_dev.c  ...Video4Linux2 has 1 devices
    
    [3577037.662] zxdg_toplevel_v6@21.configure(0, 0, array)
    [3577037.796] zxdg_surface_v6@20.configure(5082)
    [3577037.956]  -> zxdg_surface_v6@20.ack_configure(5082)
    [3577040.717]  -> wl_shm@7.create_pool(new id wl_shm_pool@22, fd 14, 292032)
    [3577040.860]  -> wl_shm_pool@22.create_buffer(new id wl_buffer@23, 0, 312, 234, 1248, 0)
    [3577056.089]  -> wl_surface@16.frame(new id wl_callback@24)
    [3577056.196]  -> wl_surface@16.attach(wl_buffer@23, 0, 0)
    [3577056.301]  -> wl_surface@16.damage(3, 30, 306, 201)
    [3577056.381]  -> wl_surface@16.commit()
    [3577056.459]  -> wl_surface@16.frame(new id wl_callback@25)
    [3577056.505]  -> wl_surface@16.attach(wl_buffer@23, 0, 0)
    [3577056.571]  -> wl_surface@16.damage(3, 30, 306, 201)
    [3577056.685]  -> wl_surface@16.commit()
    [3577057.362] wl_surface@16.enter(wl_output@10)
    [3577057.488] wl_keyboard@3.modifiers(5083, 0, 0, 16, 0)
    [3577057.623] wl_keyboard@3.enter(5083, wl_surface@16, array)
    [3577057.791]  -> wl_display@1.sync(new id wl_callback@26)
    [3577057.855] wl_data_device@9.selection(nil)
    [3577057.964] zxdg_toplevel_v6@21.configure(0, 0, array)
    [3577058.029] zxdg_surface_v6@20.configure(5084)
    [3577058.063]  -> zxdg_surface_v6@20.ack_configure(5084)
    [3577058.224] wl_display@1.delete_id(26)
    [3577058.266] wl_callback@26.done(5084)
    [3577059.382]  -> wl_shm@7.create_pool(new id wl_shm_pool@26, fd 14, 292032)
    [3577059.476]  -> wl_shm_pool@26.create_buffer(new id wl_buffer@27, 0, 312, 234, 1248, 0)
    [3577061.712]  -> wl_surface@16.frame(new id wl_callback@28)
    [3577061.780]  -> wl_surface@16.attach(wl_buffer@27, 0, 0)
    [3577061.849]  -> wl_surface@16.damage(41, 108, 19, 23)
    [3577061.928]  -> wl_surface@16.commit()
    [3577074.133] wl_display@1.delete_id(28)
    [3577074.242] wl_display@1.delete_id(25)
    [3577074.275] wl_display@1.delete_id(24)
    [3577074.306] wl_buffer@23.release()
    [3577074.329] wl_buffer@27.release()
    [3577074.352] wl_callback@28.done(9661039)
    
    13:54:15.296      sdl_dev.c  ...SDL 2.0 initialized
    13:54:15.296 colorbar_dev.c  ...Colorbar video src initialized with 2 device(s):
    13:54:15.296 colorbar_dev.c  ... 0: Colorbar generator
    13:54:15.296 colorbar_dev.c  ... 1: Colorbar-active
    
    [3577196.398]  -> wl_buffer@27.destroy()
    [3577196.523]  -> wl_shm_pool@22.destroy()
    [3577196.570]  -> wl_buffer@23.destroy()
    [3577196.782]  -> wl_shm@7.create_pool(new id wl_shm_pool@24, fd 14, 393420)
    [3577196.906]  -> wl_shm_pool@24.create_buffer(new id wl_buffer@25, 0, 395, 249, 1580, 0)
    [3577204.974]  -> wl_surface@16.frame(new id wl_callback@28)
    [3577205.075]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3577205.214]  -> wl_surface@16.damage(3, 30, 389, 216)
    [3577205.334]  -> wl_surface@16.commit()
    [3577206.873]  -> wl_surface@16.frame(new id wl_callback@29)
    [3577206.991]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3577207.109]  -> wl_surface@16.damage(3, 30, 389, 216)
    [3577207.245]  -> wl_surface@16.commit()
    [3577210.099] wl_display@1.delete_id(26)
    [3577210.171] wl_display@1.delete_id(27)
    [3577210.218] wl_display@1.delete_id(22)
    [3577210.264] wl_display@1.delete_id(23)
    [3577210.309] wl_display@1.delete_id(28)
    [3577210.355] wl_buffer@25.release()
    [3577225.786] wl_display@1.delete_id(29)
    [3577225.851] wl_buffer@25.release()
    [3577225.881] wl_callback@29.done(9661207)
    [3577536.718]  -> wl_surface@16.frame(new id wl_callback@29)
    [3577536.826]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3577536.928]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3577537.047]  -> wl_surface@16.commit()
    [3577545.144] wl_display@1.delete_id(29)
    [3577545.221] wl_buffer@25.release()
    [3577545.257] wl_callback@29.done(9661526)
    [3578011.873]  -> wl_surface@16.frame(new id wl_callback@29)
    [3578011.988]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3578012.093]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3578012.214]  -> wl_surface@16.commit()
    [3578015.406] wl_display@1.delete_id(29)
    [3578015.482] wl_buffer@25.release()
    [3578015.518] wl_callback@29.done(9661996)
    [3578510.092]  -> wl_surface@16.frame(new id wl_callback@29)
    [3578510.198]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3578510.300]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3578510.419]  -> wl_surface@16.commit()
    [3578519.708] wl_display@1.delete_id(29)
    [3578519.782] wl_buffer@25.release()
    [3578519.818] wl_callback@29.done(9662500)
    [3579008.834]  -> wl_surface@16.frame(new id wl_callback@29)
    [3579008.937]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3579009.040]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3579009.158]  -> wl_surface@16.commit()
    [3579023.470] wl_display@1.delete_id(29)
    [3579023.550] wl_buffer@25.release()
    [3579023.587] wl_callback@29.done(9662987)
    [3579508.641]  -> wl_surface@16.frame(new id wl_callback@29)
    [3579508.749]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3579508.851]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3579508.968]  -> wl_surface@16.commit()
    [3579527.038] wl_display@1.delete_id(29)
    [3579527.119] wl_buffer@25.release()
    [3579527.154] wl_callback@29.done(9663491)
    [3580009.150]  -> wl_surface@16.frame(new id wl_callback@29)
    [3580009.309]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3580009.443]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3580009.567]  -> wl_surface@16.commit()
    [3580014.852] wl_display@1.delete_id(29)
    [3580014.928] wl_buffer@25.release()
    [3580014.964] wl_callback@29.done(9663995)
    [3580509.018]  -> wl_surface@16.frame(new id wl_callback@29)
    [3580509.124]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3580509.226]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3580509.344]  -> wl_surface@16.commit()
    [3580518.460] wl_display@1.delete_id(29)
    [3580518.541] wl_buffer@25.release()
    [3580518.576] wl_callback@29.done(9664499)
    [3581008.632]  -> wl_surface@16.frame(new id wl_callback@29)
    [3581008.736]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3581008.838]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3581008.957]  -> wl_surface@16.commit()
    [3581022.113] wl_display@1.delete_id(29)
    [3581022.198] wl_buffer@25.release()
    [3581022.233] wl_callback@29.done(9664987)
    [3581509.266]  -> wl_surface@16.frame(new id wl_callback@29)
    [3581509.371]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3581509.474]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3581509.592]  -> wl_surface@16.commit()
    [3581525.719] wl_display@1.delete_id(29)
    [3581525.802] wl_buffer@25.release()
    [3581525.837] wl_callback@29.done(9665491)
    [3582008.845]  -> wl_surface@16.frame(new id wl_callback@29)
    [3582008.948]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3582009.049]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3582009.168]  -> wl_surface@16.commit()
    [3582014.379] wl_display@1.delete_id(29)
    [3582014.458] wl_buffer@25.release()
    [3582014.493] wl_callback@29.done(9665994)
    [3582509.558]  -> wl_surface@16.frame(new id wl_callback@29)
    [3582509.709]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3582509.811]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3582509.930]  -> wl_surface@16.commit()
    [3582517.962] wl_display@1.delete_id(29)
    [3582518.045] wl_buffer@25.release()
    [3582518.080] wl_callback@29.done(9666498)
    [3583009.095]  -> wl_surface@16.frame(new id wl_callback@29)
    [3583009.195]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3583009.298]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3583009.417]  -> wl_surface@16.commit()
    [3583021.629] wl_display@1.delete_id(29)
    [3583021.710] wl_buffer@25.release()
    [3583021.745] wl_callback@29.done(9666986)
    [3583508.793]  -> wl_surface@16.frame(new id wl_callback@29)
    [3583508.900]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3583509.002]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3583509.121]  -> wl_surface@16.commit()
    [3583525.202] wl_display@1.delete_id(29)
    [3583525.281] wl_buffer@25.release()
    [3583525.315] wl_callback@29.done(9667490)
    [3584009.315]  -> wl_surface@16.frame(new id wl_callback@29)
    [3584009.415]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3584009.517]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3584009.634]  -> wl_surface@16.commit()
    [3584012.803] wl_display@1.delete_id(29)
    [3584012.888] wl_buffer@25.release()
    [3584012.925] wl_callback@29.done(9667994)
    [3584508.979]  -> wl_surface@16.frame(new id wl_callback@29)
    [3584509.086]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3584509.190]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3584509.309]  -> wl_surface@16.commit()
    [3584517.529] wl_display@1.delete_id(29)
    [3584517.610] wl_buffer@25.release()
    [3584517.646] wl_callback@29.done(9668498)
    [3584737.541] wl_pointer@12.enter(5086, wl_surface@16, 15.566406, 214.007812)
    [3584738.191]  -> wl_pointer@12.set_cursor(5086, wl_surface@13, 1, 1)
    [3584738.327]  -> wl_surface@13.attach(wl_buffer@18, 0, 0)
    [3584738.423]  -> wl_surface@13.damage(0, 0, 10, 16)
    [3584738.540]  -> wl_surface@13.commit()
    [3584738.699] zxdg_shell_v6@19.ping(5087)
    [3584738.784]  -> zxdg_shell_v6@19.pong(5087)
    [3584738.833] wl_pointer@12.motion(9668730, 15.566406, 214.007812)
    [3584745.458] wl_pointer@12.motion(9668738, 27.566406, 222.007812)
    [3584753.441] wl_pointer@12.motion(9668746, 33.558594, 226.003906)
    [3584761.402] wl_pointer@12.motion(9668754, 37.367188, 227.910156)
    [3584769.397] wl_pointer@12.motion(9668762, 42.699219, 231.464844)
    [3584777.394] wl_pointer@12.motion(9668770, 49.492188, 234.859375)
    [3584785.416] wl_pointer@12.motion(9668778, 57.769531, 241.480469)
    [3584793.420] wl_pointer@12.motion(9668786, 65.906250, 244.734375)
    [3584801.684] wl_pointer@12.leave(5088, wl_surface@16)
    [3584977.501] wl_pointer@12.enter(5095, wl_surface@16, 249.527344, 247.113281)
    [3584977.798]  -> wl_pointer@12.set_cursor(5095, wl_surface@13, 1, 1)
    [3584977.926]  -> wl_surface@13.attach(wl_buffer@18, 0, 0)
    [3584978.022]  -> wl_surface@13.damage(0, 0, 10, 16)
    [3584978.139]  -> wl_surface@13.commit()
    [3584978.269] zxdg_shell_v6@19.ping(5096)
    [3584978.321]  -> zxdg_shell_v6@19.pong(5096)
    [3584978.369] wl_pointer@12.motion(9668970, 249.527344, 247.113281)
    [3584986.074] wl_pointer@12.motion(9668978, 249.527344, 239.519531)
    [3584993.403] wl_pointer@12.motion(9668986, 249.527344, 231.761719)
    [3585002.838] wl_pointer@12.motion(9668994, 249.527344, 223.902344)
    [3585008.574]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585011.364]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585011.469]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3585011.585]  -> wl_surface@16.commit()
    [3585011.653] wl_pointer@12.motion(9669002, 245.503906, 213.171875)
    [3585017.406] wl_pointer@12.motion(9669010, 242.750000, 203.531250)
    [3585020.679] wl_display@1.delete_id(29)
    [3585020.749] wl_buffer@25.release()
    [3585020.779] wl_callback@29.done(9669002)
    [3585025.418] wl_pointer@12.motion(9669018, 238.558594, 193.750000)
    [3585027.512]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585027.598]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585027.687]  -> wl_surface@16.damage(149, 176, 232, 23)
    [3585027.788]  -> wl_surface@16.commit()
    [3585033.420] wl_pointer@12.motion(9669026, 232.894531, 183.835938)
    [3585037.553] wl_display@1.delete_id(29)
    [3585037.627] wl_buffer@25.release()
    [3585037.657] wl_callback@29.done(9669018)
    [3585041.420] wl_pointer@12.motion(9669034, 225.390625, 176.332031)
    [3585049.398] wl_pointer@12.motion(9669042, 222.320312, 170.191406)
    [3585050.790]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585050.870]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585050.957]  -> wl_surface@16.damage(149, 176, 232, 23)
    [3585051.058]  -> wl_surface@16.commit()
    [3585054.381] wl_display@1.delete_id(29)
    [3585054.449] wl_buffer@25.release()
    [3585054.479] wl_callback@29.done(9669035)
    [3585057.427] wl_pointer@12.motion(9669050, 219.402344, 165.816406)
    [3585065.396] wl_pointer@12.motion(9669058, 215.175781, 160.183594)
    [3585073.394] wl_pointer@12.motion(9669066, 210.996094, 153.214844)
    [3585081.652] wl_pointer@12.motion(9669074, 208.238281, 147.695312)
    [3585089.408] wl_pointer@12.motion(9669082, 202.730469, 139.437500)
    [3585090.990]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585091.079]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585091.182]  -> wl_surface@16.damage(149, 118, 232, 23)
    [3585091.301]  -> wl_surface@16.commit()
    [3585097.435] wl_pointer@12.motion(9669090, 199.988281, 135.324219)
    [3585105.011] wl_display@1.delete_id(29)
    [3585105.080] wl_buffer@25.release()
    [3585105.110] wl_callback@29.done(9669086)
    [3585105.414] wl_pointer@12.motion(9669098, 194.554688, 128.531250)
    [3585113.406] wl_pointer@12.motion(9669106, 191.855469, 124.480469)
    [3585121.391] wl_pointer@12.motion(9669114, 189.207031, 121.832031)
    [3585129.382] wl_pointer@12.motion(9669122, 187.914062, 119.242188)
    [3585137.380] wl_pointer@12.motion(9669130, 186.656250, 116.726562)
    [3585138.757]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585138.837]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585138.923]  -> wl_surface@16.damage(149, 118, 232, 23)
    [3585139.024]  -> wl_surface@16.commit()
    [3585145.428] wl_pointer@12.motion(9669138, 184.218750, 113.070312)
    [3585155.543] wl_display@1.delete_id(29)
    [3585155.619] wl_buffer@25.release()
    [3585155.654] wl_callback@29.done(9669136)
    [3585155.700] wl_pointer@12.motion(9669146, 183.046875, 111.898438)
    [3585161.407] wl_pointer@12.motion(9669154, 183.046875, 109.847656)
    [3585163.320]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585163.411]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585163.513]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3585163.822]  -> wl_surface@16.commit()
    [3585172.000] wl_display@1.delete_id(29)
    [3585172.074] wl_buffer@25.release()
    [3585172.104] wl_callback@29.done(9669153)
    [3585172.145] wl_pointer@12.motion(9669162, 182.046875, 108.847656)
    [3585241.490] wl_pointer@12.motion(9669234, 182.953125, 108.847656)
    [3585249.406] wl_pointer@12.motion(9669242, 184.765625, 108.847656)
    [3585257.408] wl_pointer@12.motion(9669250, 187.765625, 107.847656)
    [3585265.398] wl_pointer@12.motion(9669258, 189.765625, 106.847656)
    [3585273.393] wl_pointer@12.motion(9669266, 191.765625, 104.847656)
    [3585281.393] wl_pointer@12.motion(9669274, 193.765625, 103.847656)
    [3585289.396] wl_pointer@12.motion(9669282, 195.765625, 102.847656)
    [3585297.392] wl_pointer@12.motion(9669290, 196.765625, 102.847656)
    [3585305.392] wl_pointer@12.motion(9669298, 199.765625, 101.847656)
    [3585313.411] wl_pointer@12.motion(9669306, 200.765625, 100.847656)
    [3585322.492] wl_pointer@12.motion(9669314, 201.765625, 99.847656)
    [3585338.850] wl_pointer@12.motion(9669330, 203.765625, 97.847656)
    [3585353.398] wl_pointer@12.motion(9669346, 204.765625, 96.847656)
    [3585361.390] wl_pointer@12.motion(9669354, 205.765625, 95.847656)
    [3585369.387] wl_pointer@12.motion(9669362, 208.765625, 93.847656)
    [3585385.387] wl_pointer@12.motion(9669378, 209.765625, 92.847656)
    [3585409.423] wl_pointer@12.motion(9669402, 210.765625, 91.847656)
    [3585509.231]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585509.330]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585509.433]  -> wl_surface@16.damage(59, 112, 10, 16)
    [3585509.551]  -> wl_surface@16.commit()
    [3585523.611] wl_display@1.delete_id(29)
    [3585523.694] wl_buffer@25.release()
    [3585523.772] wl_callback@29.done(9669489)
    [3585649.461] wl_pointer@12.motion(9669642, 212.636719, 91.847656)
    [3585665.387] wl_pointer@12.motion(9669658, 213.253906, 92.464844)
    [3585697.394] wl_pointer@12.motion(9669690, 213.863281, 93.074219)
    [3585705.373] wl_pointer@12.motion(9669698, 214.472656, 93.683594)
    [3585713.377] wl_pointer@12.motion(9669706, 215.097656, 94.308594)
    [3585721.372] wl_pointer@12.motion(9669714, 215.742188, 94.953125)
    [3585729.376] wl_pointer@12.motion(9669722, 216.406250, 95.617188)
    [3585737.374] wl_pointer@12.motion(9669730, 216.406250, 96.562500)
    [3585745.390] wl_pointer@12.motion(9669738, 217.406250, 98.562500)
    [3585785.417] wl_pointer@12.motion(9669778, 218.406250, 99.562500)
    [3585985.456] wl_pointer@12.button(5097, 9669978, 272, 1)
    [3585989.122]  -> wl_surface@16.frame(new id wl_callback@29)
    [3585989.228]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3585989.329]  -> wl_surface@16.damage(149, 89, 232, 19)
    [3585989.447]  -> wl_surface@16.damage(41, 108, 102, 4)
    [3585989.564]  -> wl_surface@16.damage(149, 108, 232, 4)
    [3585989.680]  -> wl_surface@16.damage(41, 112, 102, 19)
    [3585989.796]  -> wl_surface@16.commit()
    [3585995.248] wl_display@1.delete_id(29)
    [3585995.324] wl_buffer@25.release()
    [3585995.354] wl_callback@29.done(9669976)
    [3586121.454] wl_pointer@12.button(5098, 9670114, 272, 0)
    [3586121.626] zxdg_shell_v6@19.ping(5099)
    [3586121.681]  -> zxdg_shell_v6@19.pong(5099)
    [3586124.592]  -> wl_surface@16.frame(new id wl_callback@29)
    [3586124.685]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3586124.789]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3586124.909]  -> wl_surface@16.commit()
    [3586259.707] wl_keyboard@17.keymap(1, fd 14, 48097)
    [3586272.065]  -> wl_compositor@4.create_surface(new id wl_surface@19)
    [3586272.162]  -> zxdg_shell_v6@13.get_xdg_surface(new id zxdg_surface_v6@20, wl_surface@19)
    [3586272.252]  -> zxdg_surface_v6@20.get_toplevel(new id zxdg_toplevel_v6@21)
    [3586272.313]  -> zxdg_toplevel_v6@21.set_app_id("cam_preview")
    [3586272.469]  -> zxdg_toplevel_v6@21.destroy()
    [3586272.532]  -> zxdg_surface_v6@20.destroy()
    [3586272.569]  -> wl_surface@19.destroy()
    [3586307.972]  -> wl_compositor@4.create_surface(new id wl_surface@28)
    [3586313.734]  -> zxdg_shell_v6@19.get_xdg_surface(new id zxdg_surface_v6@23, wl_surface@28)
    [3586313.834]  -> zxdg_surface_v6@23.get_toplevel(new id zxdg_toplevel_v6@22)
    [3586313.905]  -> zxdg_toplevel_v6@22.set_title("Error creating preview")
    [3586313.956]  -> zxdg_toplevel_v6@22.set_app_id("cam_preview")
    [3586313.994]  -> wl_surface@28.set_buffer_scale(1)
    [3586314.078]  -> wl_surface@28.set_buffer_transform(0)
    [3586314.115]  -> wl_surface@28.commit()
    [3586314.275] zxdg_toplevel_v6@22.configure(0, 0, array)
    [3586314.349] zxdg_surface_v6@23.configure(5100)
    [3586314.386]  -> zxdg_surface_v6@23.ack_configure(5100)
    [3586314.573]  -> wl_shm@7.create_pool(new id wl_shm_pool@27, fd 16, 393420)
    [3586314.659]  -> wl_shm_pool@27.create_buffer(new id wl_buffer@26, 0, 395, 249, 1580, 0)
    [3586317.278]  -> wl_surface@16.frame(new id wl_callback@30)
    [3586317.356]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3586317.427]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3586317.507]  -> wl_surface@16.commit()
    [3586317.767]  -> wl_shm@7.create_pool(new id wl_shm_pool@31, fd 17, 196504)
    [3586317.855]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@32, 0, 406, 121, 1624, 0)
    [3586324.758]  -> wl_surface@28.frame(new id wl_callback@33)
    [3586324.834]  -> wl_surface@28.attach(wl_buffer@32, 0, 0)
    [3586324.904]  -> wl_surface@28.damage(3, 30, 400, 88)
    [3586324.984]  -> wl_surface@28.commit()
    [3586327.812]  -> wl_shm@7.create_pool(new id wl_shm_pool@34, fd 16, 196504)
    [3586327.995]  -> wl_shm_pool@34.create_buffer(new id wl_buffer@35, 0, 406, 121, 1624, 0)
    [3586331.367]  -> wl_surface@28.frame(new id wl_callback@36)
    [3586331.460]  -> wl_surface@28.attach(wl_buffer@35, 0, 0)
    [3586331.531]  -> wl_surface@28.damage(65, 41, 327, 30)
    [3586331.610]  -> wl_surface@28.commit()
    [3586331.710] wl_buffer@25.release()
    [3586331.748] wl_surface@28.enter(wl_output@10)
    [3586331.845] wl_keyboard@3.leave(5101, wl_surface@16)
    [3586332.075]  -> wl_display@1.sync(new id wl_callback@37)
    [3586332.170] wl_keyboard@3.modifiers(5102, 0, 0, 16, 0)
    [3586332.272] wl_keyboard@3.enter(5102, wl_surface@28, array)
    [3586332.338] wl_data_device@9.selection(nil)
    [3586332.372] zxdg_toplevel_v6@21.configure(0, 0, array)
    [3586332.435] zxdg_surface_v6@20.configure(5103)
    [3586332.469]  -> zxdg_surface_v6@20.ack_configure(5103)
    [3586332.500] zxdg_toplevel_v6@22.configure(0, 0, array)
    [3586332.562] zxdg_surface_v6@23.configure(5104)
    [3586332.594]  -> zxdg_surface_v6@23.ack_configure(5104)
    [3586332.675] wl_display@1.delete_id(30)
    [3586332.724] wl_display@1.delete_id(29)
    [3586332.762] wl_display@1.delete_id(33)
    [3586332.797] wl_buffer@32.release()
    [3586332.819] wl_buffer@26.release()
    [3586332.840] wl_callback@30.done(9670295)
    [3586332.920] wl_display@1.delete_id(37)
    [3586332.956] wl_callback@37.done(5104)
    [3586335.120]  -> wl_surface@28.frame(new id wl_callback@37)
    [3586335.195]  -> wl_surface@28.attach(wl_buffer@32, 0, 0)
    [3586335.262]  -> wl_surface@28.damage(65, 41, 327, 30)
    [3586335.342]  -> wl_surface@28.damage(312, 83, 80, 24)
    [3586335.420]  -> wl_surface@28.commit()
    [3586336.852]  -> wl_surface@16.frame(new id wl_callback@30)
    [3586336.920]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3586336.988]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3586337.068]  -> wl_surface@16.commit()
    [3586348.550] wl_display@1.delete_id(30)
    [3586348.757] wl_display@1.delete_id(37)
    [3586348.790] wl_display@1.delete_id(36)
    [3586348.820] wl_buffer@35.release()
    [3586348.844] wl_buffer@32.release()
    [3586348.865] wl_buffer@26.release()
    [3586348.887] wl_callback@30.done(9670329)
    [3586348.917] wl_callback@37.done(9670329)
    [3589753.322] wl_pointer@12.motion(9673746, 216.917969, 99.562500)
    [3589761.226] wl_pointer@12.motion(9673754, 215.144531, 99.562500)
    [3589769.206] wl_pointer@12.motion(9673762, 213.144531, 99.562500)
    [3589777.206] wl_pointer@12.motion(9673770, 211.144531, 99.562500)
    [3589793.195] wl_pointer@12.motion(9673786, 210.144531, 99.562500)
    [3589809.207] wl_pointer@12.motion(9673802, 208.144531, 99.562500)
    [3589817.206] wl_pointer@12.motion(9673810, 207.144531, 99.562500)
    [3589825.197] wl_pointer@12.motion(9673818, 206.144531, 99.562500)
    [3589841.212] wl_pointer@12.motion(9673834, 205.144531, 99.562500)
    [3589849.195] wl_pointer@12.motion(9673842, 202.144531, 99.562500)
    [3589857.872] wl_pointer@12.motion(9673850, 201.144531, 99.562500)
    [3589865.195] wl_pointer@12.motion(9673858, 198.144531, 97.562500)
    [3589874.691] wl_pointer@12.motion(9673866, 195.144531, 96.562500)
    [3589881.195] wl_pointer@12.motion(9673874, 191.144531, 95.562500)
    [3589889.197] wl_pointer@12.motion(9673882, 188.144531, 94.562500)
    [3589897.200] wl_pointer@12.motion(9673890, 184.144531, 91.562500)
    [3589905.189] wl_pointer@12.motion(9673898, 181.144531, 90.562500)
    [3589913.198] wl_pointer@12.motion(9673906, 178.144531, 89.562500)
    [3589921.204] wl_pointer@12.motion(9673914, 175.144531, 87.562500)
    [3589929.201] wl_pointer@12.motion(9673922, 172.144531, 86.562500)
    [3589937.217] wl_pointer@12.motion(9673930, 170.144531, 85.562500)
    [3589945.195] wl_pointer@12.motion(9673938, 168.144531, 84.562500)
    [3589953.190] wl_pointer@12.motion(9673946, 167.144531, 84.562500)
    [3589961.201] wl_pointer@12.motion(9673954, 165.144531, 82.562500)
    [3589969.195] wl_pointer@12.motion(9673962, 163.144531, 81.562500)
    [3589985.185] wl_pointer@12.motion(9673978, 162.144531, 81.562500)
    [3589993.189] wl_pointer@12.motion(9673986, 161.144531, 81.562500)
    [3590001.189] wl_pointer@12.motion(9673994, 160.144531, 80.562500)
    [3590025.214] wl_pointer@12.motion(9674018, 158.144531, 80.562500)
    [3590033.208] wl_pointer@12.motion(9674026, 156.144531, 79.562500)
    [3590057.213] wl_pointer@12.motion(9674050, 154.144531, 77.562500)
    [3590073.189] wl_pointer@12.motion(9674066, 153.144531, 76.562500)
    [3590081.208] wl_pointer@12.motion(9674074, 151.144531, 75.562500)
    [3590097.257] wl_pointer@12.motion(9674090, 150.144531, 73.562500)
    [3590105.210] wl_pointer@12.motion(9674098, 149.144531, 72.562500)
    [3590113.219] wl_pointer@12.leave(5105, wl_surface@16)
    [3590113.356] wl_pointer@12.enter(5106, wl_surface@28, 353.144531, 120.562500)
    [3590113.514]  -> wl_pointer@12.set_cursor(5106, wl_surface@13, 1, 1)
    [3590113.638]  -> wl_surface@13.attach(wl_buffer@18, 0, 0)
    [3590113.734]  -> wl_surface@13.damage(0, 0, 10, 16)
    [3590113.850]  -> wl_surface@13.commit()
    [3590113.887] zxdg_shell_v6@19.ping(5107)
    [3590113.936]  -> zxdg_shell_v6@19.pong(5107)
    [3590113.982] wl_pointer@12.motion(9674106, 353.144531, 120.562500)
    [3590121.204] wl_pointer@12.motion(9674114, 351.144531, 118.562500)
    [3590129.201] wl_pointer@12.motion(9674122, 351.144531, 116.562500)
    [3590137.200] wl_pointer@12.motion(9674130, 350.144531, 114.562500)
    [3590145.196] wl_pointer@12.motion(9674138, 349.144531, 111.562500)
    [3590153.331] wl_pointer@12.motion(9674146, 349.144531, 110.562500)
    [3590161.201] wl_pointer@12.motion(9674154, 349.144531, 107.562500)
    [3590169.193] wl_pointer@12.motion(9674162, 349.144531, 105.562500)
    [3590171.335]  -> wl_surface@28.frame(new id wl_callback@37)
    [3590171.432]  -> wl_surface@28.attach(wl_buffer@32, 0, 0)
    [3590171.536]  -> wl_surface@28.damage(312, 83, 80, 24)
    [3590171.656]  -> wl_surface@28.commit()
    [3590177.831] wl_display@1.delete_id(37)
    [3590177.914] wl_buffer@32.release()
    [3590177.950] wl_callback@37.done(9674159)
    [3590177.996] wl_pointer@12.motion(9674170, 348.144531, 104.562500)
    [3590185.203] wl_pointer@12.motion(9674178, 348.144531, 102.562500)
    [3590194.049] wl_pointer@12.motion(9674186, 348.144531, 101.562500)
    [3590201.181] wl_pointer@12.motion(9674194, 348.144531, 100.562500)
    [3590211.036] wl_pointer@12.motion(9674202, 348.144531, 99.562500)
    [3590297.242] wl_pointer@12.motion(9674290, 348.144531, 97.562500)
    [3590441.272] wl_pointer@12.button(5108, 9674434, 272, 1)
    [3590443.361]  -> wl_surface@28.frame(new id wl_callback@37)
    [3590443.456]  -> wl_surface@28.attach(wl_buffer@32, 0, 0)
    [3590443.559]  -> wl_surface@28.damage(312, 83, 80, 24)
    [3590443.678]  -> wl_surface@28.commit()
    [3590446.757] wl_display@1.delete_id(37)
    [3590446.833] wl_buffer@32.release()
    [3590446.868] wl_callback@37.done(9674428)
    [3590553.263] wl_pointer@12.button(5109, 9674546, 272, 0)
    [3590553.434] zxdg_shell_v6@19.ping(5110)
    [3590553.487]  -> zxdg_shell_v6@19.pong(5110)
    [3590555.116]  -> wl_surface@28.frame(new id wl_callback@37)
    [3590555.208]  -> wl_surface@28.attach(wl_buffer@32, 0, 0)
    [3590555.310]  -> wl_surface@28.damage(312, 83, 80, 24)
    [3590555.428]  -> wl_surface@28.commit()
    [3590555.887]  -> zxdg_toplevel_v6@22.destroy()
    [3590555.974]  -> zxdg_surface_v6@23.destroy()
    [3590556.107]  -> wl_surface@28.destroy()
    [3590558.506]  -> wl_shm_pool@31.destroy()
    [3590558.582]  -> wl_buffer@32.destroy()
    [3590558.674]  -> wl_shm_pool@34.destroy()
    [3590558.718]  -> wl_buffer@35.destroy()
    [3590558.955]  -> wl_display@1.sync(new id wl_callback@36)
    [3590560.111] wl_display@1.delete_id(22)
    [3590560.178] wl_display@1.delete_id(23)
    [3590560.225] wl_display@1.delete_id(28)
    [3590560.269] wl_display@1.delete_id(31)
    [3590560.315] wl_display@1.delete_id(32)
    [3590560.359] wl_display@1.delete_id(34)
    [3590560.403] wl_display@1.delete_id(35)
    [3590560.447] wl_display@1.delete_id(36)
    [3590560.492] wl_keyboard@3.leave(5111, nil)
    [3590560.559] wl_pointer@12.leave(5112, nil)
    [3590560.627] wl_callback@36.done(5112)
    [3590564.084] wl_display@1.delete_id(37)
    [3590564.153] wl_keyboard@3.modifiers(5113, 0, 0, 16, 0)
    [3590564.298] wl_pointer@12.enter(5113, wl_surface@16, 144.144531, 48.562500)
    [3590564.445]  -> wl_pointer@12.set_cursor(5113, wl_surface@13, 1, 1)
    [3590564.569]  -> wl_surface@13.attach(wl_buffer@18, 0, 0)
    [3590564.663]  -> wl_surface@13.damage(0, 0, 10, 16)
    [3590564.779]  -> wl_surface@13.commit()
    [3590564.824] zxdg_shell_v6@19.ping(5114)
    [3590564.874]  -> zxdg_shell_v6@19.pong(5114)
    [3590714.712] wl_pointer@12.motion(9674706, 145.789062, 48.562500)
    [3590721.184] wl_pointer@12.motion(9674714, 147.570312, 49.453125)
    [3590729.183] wl_pointer@12.motion(9674722, 150.570312, 50.453125)
    [3590737.188] wl_pointer@12.motion(9674730, 153.570312, 51.453125)
    [3590753.173] wl_pointer@12.motion(9674746, 154.570312, 52.453125)
    [3590777.177] wl_pointer@12.motion(9674770, 155.570312, 53.453125)
    [3590809.171] wl_pointer@12.motion(9674802, 156.570312, 53.453125)
    [3590817.170] wl_pointer@12.motion(9674810, 157.570312, 53.453125)
    [3590825.194] wl_pointer@12.motion(9674818, 158.570312, 54.453125)
    [3590833.198] wl_pointer@12.motion(9674826, 161.570312, 55.453125)
    [3590841.182] wl_pointer@12.motion(9674834, 163.570312, 55.453125)
    [3590849.159] wl_pointer@12.motion(9674842, 165.570312, 57.453125)
    [3590857.169] wl_pointer@12.motion(9674850, 166.570312, 57.453125)
    [3590873.170] wl_pointer@12.motion(9674866, 168.570312, 57.453125)
    [3590882.665] wl_pointer@12.motion(9674874, 170.570312, 57.453125)
    [3590889.164] wl_pointer@12.motion(9674882, 171.570312, 58.453125)
    [3590897.169] wl_pointer@12.motion(9674890, 173.570312, 59.453125)
    [3590905.172] wl_pointer@12.motion(9674898, 179.570312, 62.453125)
    [3590907.535]  -> wl_surface@16.frame(new id wl_callback@30)
    [3590907.637]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3590907.740]  -> wl_surface@16.damage(149, 62, 232, 21)
    [3590907.860]  -> wl_surface@16.commit()
    [3590913.212] wl_pointer@12.motion(9674906, 182.570312, 63.453125)
    [3590917.368]  -> wl_surface@16.frame(new id wl_callback@37)
    [3590917.690]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3590917.793]  -> wl_surface@16.damage(149, 62, 232, 21)
    [3590917.909]  -> wl_surface@16.commit()
    [3590917.982] wl_display@1.delete_id(30)
    [3590918.036] wl_buffer@26.release()
    [3590921.218] wl_pointer@12.motion(9674914, 183.570312, 63.453125)
    [3590929.401] wl_pointer@12.motion(9674922, 186.570312, 64.453125)
    [3590934.039] wl_display@1.delete_id(37)
    [3590934.109] wl_buffer@25.release()
    [3590934.140] wl_callback@37.done(9674915)
    [3590937.192] wl_pointer@12.motion(9674930, 188.570312, 65.453125)
    [3590945.156] wl_pointer@12.motion(9674938, 190.570312, 65.453125)
    [3590961.187] wl_pointer@12.motion(9674954, 191.570312, 65.453125)
    [3590969.156] wl_pointer@12.motion(9674962, 193.570312, 67.453125)
    [3590985.176] wl_pointer@12.motion(9674978, 195.570312, 67.453125)
    [3590993.184] wl_pointer@12.motion(9674986, 196.570312, 68.453125)
    [3591001.162] wl_pointer@12.motion(9674994, 197.570312, 68.453125)
    [3591009.167] wl_pointer@12.motion(9675002, 199.570312, 69.453125)
    [3591017.166] wl_pointer@12.motion(9675010, 201.570312, 69.453125)
    [3591025.160] wl_pointer@12.motion(9675018, 206.570312, 70.453125)
    [3591041.179] wl_pointer@12.motion(9675034, 209.570312, 71.453125)
    [3591050.670] wl_pointer@12.motion(9675042, 213.570312, 73.453125)
    [3591057.159] wl_pointer@12.motion(9675050, 215.570312, 73.453125)
    [3591065.164] wl_pointer@12.motion(9675058, 216.570312, 74.453125)
    [3591073.158] wl_pointer@12.motion(9675066, 217.570312, 74.453125)
    [3591113.158] wl_pointer@12.motion(9675106, 218.570312, 74.453125)
    [3591121.158] wl_pointer@12.motion(9675114, 219.570312, 75.453125)
    [3591129.153] wl_pointer@12.motion(9675122, 220.570312, 75.453125)
    [3591137.162] wl_pointer@12.motion(9675130, 221.570312, 76.453125)
    [3591145.153] wl_pointer@12.motion(9675138, 222.570312, 77.453125)
    [3591153.161] wl_pointer@12.motion(9675146, 223.570312, 78.453125)
    [3591161.158] wl_pointer@12.motion(9675154, 224.570312, 79.453125)
    [3591305.200] wl_pointer@12.motion(9675298, 224.570312, 77.640625)
    [3591313.183] wl_pointer@12.motion(9675306, 223.472656, 68.843750)
    [3591321.178] wl_pointer@12.motion(9675314, 218.824219, 62.644531)
    [3591329.165] wl_pointer@12.motion(9675322, 217.445312, 57.128906)
    [3591331.228]  -> wl_surface@16.frame(new id wl_callback@37)
    [3591331.323]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3591331.427]  -> wl_surface@16.damage(149, 62, 232, 21)
    [3591331.548]  -> wl_surface@16.commit()
    [3591337.451] wl_display@1.delete_id(37)
    [3591337.538] wl_buffer@25.release()
    [3591337.574] wl_callback@37.done(9675318)
    [3591337.622] wl_pointer@12.motion(9675330, 214.796875, 50.507812)
    [3591345.147] wl_pointer@12.motion(9675338, 212.210938, 46.628906)
    [3591353.142] wl_pointer@12.motion(9675346, 210.968750, 42.902344)
    [3591361.384] wl_pointer@12.motion(9675354, 209.773438, 40.511719)
    [3591369.923] wl_pointer@12.motion(9675362, 209.773438, 38.218750)
    [3591377.150] wl_pointer@12.motion(9675370, 209.773438, 37.117188)
    [3591386.786] wl_pointer@12.motion(9675378, 207.730469, 35.074219)
    [3591401.162] wl_pointer@12.motion(9675394, 206.730469, 34.074219)
    [3591417.159] wl_pointer@12.motion(9675410, 206.730469, 33.074219)
    [3591433.143] wl_pointer@12.motion(9675426, 206.730469, 32.074219)
    [3591441.148] wl_pointer@12.motion(9675434, 205.730469, 30.074219)
    [3591449.160] wl_pointer@12.motion(9675442, 205.730469, 29.074219)
    [3591457.157] wl_pointer@12.motion(9675450, 204.730469, 27.074219)
    [3591465.144] wl_pointer@12.motion(9675458, 204.730469, 23.074219)
    [3591473.157] wl_pointer@12.motion(9675466, 204.730469, 22.074219)
    [3591481.145] wl_pointer@12.motion(9675474, 202.730469, 20.074219)
    [3591489.141] wl_pointer@12.motion(9675482, 202.730469, 18.074219)
    [3591497.135] wl_pointer@12.motion(9675490, 202.730469, 15.074219)
    [3591504.434] wl_keyboard@3.modifiers(5115, 0, 0, 16, 0)
    [3591504.592] wl_keyboard@3.enter(5115, wl_surface@16, array)
    [3591504.694]  -> wl_display@1.sync(new id wl_callback@30)
    [3591504.758] wl_data_device@9.selection(nil)
    [3591504.809] zxdg_toplevel_v6@21.configure(0, 0, array)
    [3591504.902] zxdg_surface_v6@20.configure(5116)
    [3591504.952]  -> zxdg_surface_v6@20.ack_configure(5116)
    [3591505.233] wl_display@1.delete_id(30)
    [3591505.291] wl_pointer@12.motion(9675498, 202.730469, 14.074219)
    [3591505.408] wl_callback@30.done(5116)
    [3591507.464]  -> wl_surface@16.frame(new id wl_callback@37)
    [3591507.564]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3591507.668]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3591507.788]  -> wl_surface@16.commit()
    [3591513.178] wl_pointer@12.motion(9675506, 201.730469, 13.074219)
    [3591522.052] wl_display@1.delete_id(37)
    [3591522.148] wl_buffer@25.release()
    [3591522.179] wl_callback@37.done(9675503)
    [3591529.165] wl_pointer@12.motion(9675522, 201.730469, 12.074219)
    [3591554.607] wl_pointer@12.motion(9675546, 201.730469, 10.074219)
    [3591817.186] wl_pointer@12.motion(9675810, 202.593750, 10.937500)
    [3591825.145] wl_pointer@12.motion(9675818, 204.378906, 12.722656)
    [3591833.129] wl_pointer@12.motion(9675826, 205.378906, 14.722656)
    [3591841.128] wl_pointer@12.motion(9675834, 205.378906, 17.722656)
    [3591849.130] wl_pointer@12.motion(9675842, 208.566406, 20.910156)
    [3591857.126] wl_pointer@12.motion(9675850, 209.703125, 25.449219)
    [3591865.129] wl_pointer@12.motion(9675858, 213.343750, 32.730469)
    [3591873.781] wl_pointer@12.motion(9675866, 213.343750, 37.886719)
    [3591881.128] wl_pointer@12.motion(9675874, 215.949219, 45.703125)
    [3591890.571] wl_pointer@12.motion(9675882, 217.300781, 55.171875)
    [3591897.129] wl_pointer@12.motion(9675890, 221.500000, 64.964844)
    [3591899.268]  -> wl_surface@16.frame(new id wl_callback@37)
    [3591899.364]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3591899.468]  -> wl_surface@16.damage(149, 62, 232, 21)
    [3591899.588]  -> wl_surface@16.commit()
    [3591905.169] wl_pointer@12.motion(9675898, 224.410156, 78.058594)
    [3591908.516] wl_display@1.delete_id(37)
    [3591908.602] wl_buffer@25.release()
    [3591908.638] wl_callback@37.done(9675889)
    [3591913.158] wl_pointer@12.motion(9675906, 228.957031, 91.695312)
    [3591915.732]  -> wl_surface@16.frame(new id wl_callback@37)
    [3591915.827]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3591915.927]  -> wl_surface@16.damage(149, 62, 232, 21)
    [3591916.047]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3591916.165]  -> wl_surface@16.commit()
    [3591921.364] wl_pointer@12.motion(9675914, 232.058594, 104.105469)
    [3591925.256] wl_display@1.delete_id(37)
    [3591925.324] wl_buffer@25.release()
    [3591925.353] wl_callback@37.done(9675906)
    [3591929.135] wl_pointer@12.motion(9675922, 235.164062, 113.425781)
    [3591930.803]  -> wl_surface@16.frame(new id wl_callback@37)
    [3591930.883]  -> wl_surface@16.attach(wl_buffer@25, 0, 0)
    [3591930.971]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3591931.072]  -> wl_surface@16.commit()
    [3591937.140] wl_pointer@12.motion(9675930, 236.710938, 124.242188)
    [3591938.689]  -> wl_surface@16.frame(new id wl_callback@30)
    [3591938.807]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3591938.895]  -> wl_surface@16.damage(149, 118, 232, 23)
    [3591938.994]  -> wl_surface@16.commit()
    [3591941.977] wl_display@1.delete_id(30)
    [3591942.044] wl_display@1.delete_id(37)
    [3591942.085] wl_buffer@25.release()
    [3591942.113] wl_buffer@26.release()
    [3591942.142] wl_callback@30.done(9675923)
    [3591945.138] wl_pointer@12.motion(9675938, 238.253906, 135.042969)
    [3591953.113] wl_pointer@12.motion(9675946, 239.796875, 145.835938)
    [3591954.468]  -> wl_surface@16.frame(new id wl_callback@30)
    [3591954.546]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3591954.632]  -> wl_surface@16.damage(149, 118, 232, 23)
    [3591954.733]  -> wl_surface@16.commit()
    [3591958.866] wl_display@1.delete_id(30)
    [3591958.936] wl_buffer@26.release()
    [3591958.966] wl_callback@30.done(9675940)
    [3591961.144] wl_pointer@12.motion(9675954, 239.796875, 155.039062)
    [3591969.138] wl_pointer@12.motion(9675962, 242.824219, 161.093750)
    [3591977.124] wl_pointer@12.motion(9675970, 242.824219, 164.050781)
    [3591985.125] wl_pointer@12.motion(9675978, 242.824219, 169.828125)
    [3591993.115] wl_pointer@12.motion(9675986, 244.253906, 174.113281)
    [3592001.110] wl_pointer@12.motion(9675994, 244.253906, 175.515625)
    [3592002.652]  -> wl_surface@16.frame(new id wl_callback@30)
    [3592002.741]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3592002.842]  -> wl_surface@16.damage(149, 176, 232, 23)
    [3592002.960]  -> wl_surface@16.commit()
    [3592009.409] wl_display@1.delete_id(30)
    [3592009.490] wl_buffer@26.release()
    [3592009.525] wl_callback@30.done(9675990)
    [3592009.595] wl_pointer@12.motion(9676002, 244.253906, 176.863281)
    [3592017.140] wl_pointer@12.motion(9676010, 245.554688, 180.765625)
    [3592041.142] wl_pointer@12.motion(9676034, 245.554688, 181.972656)
    [3592065.124] wl_pointer@12.motion(9676058, 245.554688, 183.042969)
    [3592217.168] wl_pointer@12.motion(9676210, 245.554688, 184.042969)
    [3592225.131] wl_pointer@12.motion(9676218, 245.554688, 187.042969)
    [3592233.107] wl_pointer@12.motion(9676226, 245.554688, 188.042969)
    [3592249.112] wl_pointer@12.motion(9676242, 245.554688, 189.042969)
    [3592345.155] wl_pointer@12.motion(9676338, 246.554688, 190.042969)
    [3592489.163] wl_pointer@12.button(5117, 9676482, 272, 1)
    [3592491.522]  -> wl_surface@16.frame(new id wl_callback@30)
    [3592491.620]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3592491.720]  -> wl_surface@16.damage(149, 89, 232, 23)
    [3592491.838]  -> wl_surface@16.damage(149, 176, 232, 23)
    [3592491.956]  -> wl_surface@16.commit()
    [3592497.048] wl_display@1.delete_id(30)
    [3592497.132] wl_buffer@26.release()
    [3592497.167] wl_callback@30.done(9676477)
    [3592601.179] wl_pointer@12.button(5118, 9676594, 272, 0)
    [3592601.349] zxdg_shell_v6@19.ping(5119)
    [3592601.401]  -> zxdg_shell_v6@19.pong(5119)
    [3592602.912]  -> wl_surface@16.frame(new id wl_callback@30)
    [3592603.005]  -> wl_surface@16.attach(wl_buffer@26, 0, 0)
    [3592603.106]  -> wl_surface@16.damage(149, 176, 232, 23)
    [3592603.224]  -> wl_surface@16.commit()
    
    13:54:24.388    pjsua_vid.c !Starting preview for cap_dev=-1, show=0
    13:54:24.388    pjsua_vid.c  .Creating video window: type=preview, cap_id=-1, rend_id=-2
    Return from vid_preview_get_win =-1 :: CHECK : WINDOW CREATED, win = 013:54:24.389     vid_port.c  ..Opening device UVC Camera (046d:0825) [v4l2] for capture: format=YUY2, size=320x240 @25:1 fps
    
    1313:54:24.522     vid_port.c  ..Device UVC Camera (046d:0825) [v4l2] opened: format=YUY2, size=320x240 @25:1 fps
    13:54:24.522     vid_conf.c  ..Added port 0 (UVC Camera (046d:0825))
    13:54:24.522     vid_port.c  ..Opening device SDL renderer [SDL] for render: format=YUY2, size=320x240 @25:1 fps
    
     DEBUG : SDL Window Creation Started.. 
    13:54:24.536      sdl_dev.c !SDL_CreateWindow() error: failed to create a window surface
     DEBUG : SDL Window Creation Failed.. 
    13:54:24.536      sdl_dev.c  SDL_CreateRenderer() error: Invalid window
    13:54:24.536      sdl_dev.c !..Stopping sdl video stream
    13:54:24.536     vid_port.c  ..Closing SDL renderer..
    13:54:24.536    pjsua_vid.c  ..Window 0: destroying..
    13:54:24.536     vid_conf.c  ...Removed port 0 (UVC Camera (046d:0825))
    13:54:24.536     v4l2_dev.c  ...Stopping v4l2 video stream UVC Camera (046d:0825)
    
    1313:54:24.536     vid_port.c  ...Closing UVC Camera (046d:0825)..
    13:54:24.536     v4l2_dev.c  ...Stopping v4l2 video stream UVC Camera (046d:0825)
    
    1313:54:24.536     v4l2_dev.c  ...Destroying v4l2 video stream UVC Camera (046d:0825)
    
    13:54:32.314     udp0xd6240  .SIP [3594052.309]  -> zxdg_toplevel_v6@21.destroy()
    [3594052.372]  -> zxdg_surface_v6@20.destroy()
    [3594052.422]  -> wl_surface@16.destroy()
    [3594053.068]  -> wl_shm_pool@27.destroy()
    [3594053.122]  -> wl_buffer@26.destroy()
    [3594053.254]  -> wl_shm_pool@24.destroy()
    [3594053.298]  -> wl_buffer@25.destroy()
    [3594053.360]  -> wl_display@1.sync(new id wl_callback@37)
    
    wlpvr: PVR Services DeInitialised
    
    [3594148.359]  -> wl_pointer@12.release()
    [3594148.868]  -> wl_keyboard@3.release()
    [3594149.007]  -> wl_touch@14.release()
    [3594149.270]  -> wl_buffer@18.destroy()
    [3594149.345]  -> wl_shm_pool@11.destroy()
    
    
    Using Wayland-EGL
    wlpvr: PVR Services Initialised
    Using the 'xdg-shell-v6' shell integration
    13:56:52.370     alsa_dev.c  ..ALSA driver found 15 devices
    13:56:52.370     alsa_dev.c  ..ALSA initialized
    13:56:52.380    pjsua_vid.c  ..Initializing video subsystem..
    13:56:52.380   openh264.cpp  ...OpenH264 codec initialized
    13:56:52.858     v4l2_dev.c  ...Video4Linux2 has 1 devices
    13:56:52.859      sdl_dev.c  ...SDL 2.0 initialized
    13:56:52.859 colorbar_dev.c  ...Colorbar video src initialized with 2 device(s):
    13:56:52.859 colorbar_dev.c  ... 0: Colorbar generator
    13:56:52.859 colorbar_dev.c  ... 1: Colorbar-active
    
    13:56:58.869    pjsua_vid.c !Starting preview for cap_dev=-1, show=0
    13:56:58.869    pjsua_vid.c  .Creating video window: type=preview, cap_id=-1, rend_id=-2
    Return from vid_preview_get_win =-1 :: CHECK : WINDOW CREATED, win = 013:56:58.869     vid_port.c  ..Opening device UVC Camera (046d:0825) [v4l2] for capture: format=YUY2, size=320x240 @25:1 fps
    
    1313:56:59.001     vid_port.c  ..Device UVC Camera (046d:0825) [v4l2] opened: format=YUY2, size=320x240 @25:1 fps
    13:56:59.001     vid_conf.c  ..Added port 0 (UVC Camera (046d:0825))
    13:56:59.001     vid_port.c  ..Opening device SDL renderer [SDL] for render: format=YUY2, size=320x240 @25:1 fps
    
     DEBUG : SDL Window Creation Started.. 
    13:56:59.014      sdl_dev.c !SDL_CreateWindow() error: failed to create a window surface
     DEBUG : SDL Window Creation Failed.. 
    13:56:59.014      sdl_dev.c  SDL_CreateRenderer() error: Invalid window
    13:56:59.014      sdl_dev.c !..Stopping sdl video stream
    13:56:59.015     vid_port.c  ..Closing SDL renderer..
    13:56:59.015    pjsua_vid.c  ..Window 0: destroying..
    13:56:59.015     vid_conf.c  ...Removed port 0 (UVC Camera (046d:0825))
    13:56:59.015     v4l2_dev.c  ...Stopping v4l2 video stream UVC Camera (046d:0825)
    
    1313:56:59.015     vid_port.c  ...Closing UVC Camera (046d:0825)..
    13:56:59.015     v4l2_dev.c  ...Stopping v4l2 video stream UVC Camera (046d:0825)
    
    1313:56:59.015     v4l2_dev.c  ...Destroying v4l2 video stream UVC Camera (046d:0825)
    wlpvr: PVR Services DeInitialised
    
    

    Kindly acknowledge and revert.

    Thanks,

    Devashish

  • Hello,

    I also forgot to mention that "eglinfo" commands return EGL_BAD_ALLOC on my EVM. And eglGetConfigs() returns 0.

    Please see.

    root@am57xx-evm:/mnt# eglinfo

    eglGetConfigs():
    ======================================================================
    
    **********************************
    EGL config number: 0
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x1 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x1 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Permission denied [0, ]
    Unable to create surface
        egl error 'EGL_BAD_ALLOC' (0x3003)
    

    And gles1test1 and gles2test1 commands also return egl error EGL_BAD_ALLOC.

    root@am57xx-evm:/mnt# gles1test1 
    PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Permission denied [0, ]
    'eglCreateWindowSurface' returned egl error 'EGL_BAD_ALLOC' (0x3003)
    
    root@am57xx-evm:/mnt# gles2test1 
    --------------------- started ---------------------
    PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Permission denied [0, ]
    'eglCreateWindowSurface' returned egl error 'EGL_BAD_ALLOC' (0x3003)
    

    Thanks,

    Devashish

  • Hello Devashish,

    Could you please disable Weston (/etc/init.d/weston stop) and run the above commands (eglinfo, gles2test1, etc) again?

    Regards,
    Krunal

  • Hello,

    I am able to run eglinfo command after stopping weston. It returns following-

    eglGetConfigs():
    ======================================================================
    
    **********************************
    EGL config number: 0
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x1 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x1 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x1
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x1
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x1
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x1
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 1
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x2 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x1 
     EGL_DEPTH_SIZE = 0x0 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x0 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x2
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x2
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x2
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x2
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 2
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x3 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x1 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x1  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x1 
     EGL_SAMPLES = 0x4 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x3
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x3
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x3
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x3
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 3
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x4 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x3 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0x1 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x3038 
     EGL_RENDERABLE_TYPE = 0x3  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x1  EGL_PBUFFER_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x4
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x4
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 4
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x5 
     EGL_BUFFER_SIZE = 0x10 
     EGL_RED_SIZE = 0x5 
     EGL_GREEN_SIZE = 0x6 
     EGL_BLUE_SIZE = 0x5 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x0 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x0 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x3 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0x1 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x3038 
     EGL_RENDERABLE_TYPE = 0x3  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x1  EGL_PBUFFER_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x5
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x5
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 5
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x6 
     EGL_BUFFER_SIZE = 0x10 
     EGL_RED_SIZE = 0x4 
     EGL_GREEN_SIZE = 0x4 
     EGL_BLUE_SIZE = 0x4 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x4 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x3 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0x1 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x3038 
     EGL_RENDERABLE_TYPE = 0x3  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x1  EGL_PBUFFER_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x6
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x6
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 6
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x7 
     EGL_BUFFER_SIZE = 0x10 
     EGL_RED_SIZE = 0x5 
     EGL_GREEN_SIZE = 0x5 
     EGL_BLUE_SIZE = 0x5 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x1 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x1 
     EGL_BIND_TO_TEXTURE_RGBA = 0x1 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x3 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0x1 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x3038 
     EGL_RENDERABLE_TYPE = 0x3  EGL_OPENGL_ES_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x1  EGL_PBUFFER_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x7
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 1 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x7
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x1
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 7
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x8 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x0 
     EGL_BIND_TO_TEXTURE_RGBA = 0x0 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x4 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x4  EGL_OPENGL_ES2_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x8
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 2 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x8
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x2
     EGL_RENDER_BUFFER = 0x3038
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x8
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 2 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x8
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x2
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 8
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0x9 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x0 
     EGL_BIND_TO_TEXTURE_RGBA = 0x0 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x4 
     EGL_DEPTH_SIZE = 0x0 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x4  EGL_OPENGL_ES2_BIT 
     EGL_SAMPLE_BUFFERS = 0x0 
     EGL_SAMPLES = 0x0 
     EGL_STENCIL_SIZE = 0x0 
     EGL_SURFACE_TYPE = 0x5  EGL_PBUFFER_BIT  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x9
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 2 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x9
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x2
     EGL_RENDER_BUFFER = 0x3038
    
    Creating Pbuffer surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0x9
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x1000
     EGL_HEIGHT = 0x1000
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0x1
     EGL_MIPMAP_TEXTURE = 0x0
     EGL_MIPMAP_LEVEL = 0x0
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x0
     EGL_TEXTURE_FORMAT = 0x305c
     EGL_TEXTURE_TARGET = 0x305c
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 2 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0x9
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x2
     EGL_RENDER_BUFFER = 0x3038
    
    **********************************
    EGL config number: 9
    EGL vendor string: Imagination Technologies
    EGL version string: 1.4 build 1.14@3699939 (MAIN)
    EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_IMG_context_priority EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_KHR_create_context EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    EGL client APIs are: OpenGL_ES 
    
    EGL config Attributes:
     EGL_CONFIG_ID = 0xa 
     EGL_BUFFER_SIZE = 0x20 
     EGL_RED_SIZE = 0x8 
     EGL_GREEN_SIZE = 0x8 
     EGL_BLUE_SIZE = 0x8 
     EGL_LUMINANCE_SIZE = 0x0 
     EGL_ALPHA_SIZE = 0x8 
     EGL_ALPHA_MASK_SIZE = 0x0 
     EGL_BIND_TO_TEXTURE_RGB = 0x0 
     EGL_BIND_TO_TEXTURE_RGBA = 0x0 
     EGL_COLOR_BUFFER_TYPE = 0x308e 
     EGL_CONFIG_CAVEAT = 0x3038 
     EGL_CONFORMANT = 0x4 
     EGL_DEPTH_SIZE = 0x18 
     EGL_LEVEL = 0x0 
     EGL_MAX_PBUFFER_WIDTH = 0x1000 
     EGL_MAX_PBUFFER_HEIGHT = 0x1000 
     EGL_MAX_PBUFFER_PIXELS = 0x1000000 
     EGL_MAX_SWAP_INTERVAL = 0xa 
     EGL_MIN_SWAP_INTERVAL = 0x1 
     EGL_NATIVE_RENDERABLE = 0x0 
     EGL_NATIVE_VISUAL_ID = 0x0 
     EGL_NATIVE_VISUAL_TYPE = 0x0 
     EGL_RENDERABLE_TYPE = 0x4  EGL_OPENGL_ES2_BIT 
     EGL_SAMPLE_BUFFERS = 0x1 
     EGL_SAMPLES = 0x4 
     EGL_STENCIL_SIZE = 0x8 
     EGL_SURFACE_TYPE = 0x4  EGL_WINDOW_BIT 
     EGL_TRANSPARENT_TYPE = 0x3038 
     EGL_TRANSPARENT_RED_VALUE = 0x0 
     EGL_TRANSPARENT_GREEN_VALUE = 0x0 
     EGL_TRANSPARENT_BLUE_VALUE = 0x0 
    
    Creating Window surface..
    
    EGL surface Attributes:
     EGL_CONFIG_ID = 0xa
     EGL_VG_ALPHA_FORMAT = 0x308b
     EGL_VG_COLORSPACE = 0x3089
     EGL_WIDTH = 0x320
     EGL_HEIGHT = 0x1e0
     EGL_HORIZONTAL_RESOLUTION = 0xffffffff
     EGL_LARGEST_PBUFFER = 0xffffffff
     EGL_MIPMAP_TEXTURE = 0xffffffff
     EGL_MIPMAP_LEVEL = 0xffffffff
     EGL_PIXEL_ASPECT_RATIO = 0xffffffff
     EGL_RENDER_BUFFER = 0x3084
     EGL_SWAP_BEHAVIOR = 0x3094
     EGL_TEXTURE_FORMAT = 0x3094
     EGL_TEXTURE_TARGET = 0x3094
     EGL_VERTICAL_RESOLUTION = 0xffffffff
    
    Creating OpenGL ES 2 context..
    
    EGL context Attributes:
     EGL_CONFIG_ID = 0xa
     EGL_CONTEXT_CLIENT_TYPE = 0x30a0
     EGL_CONTEXT_CLIENT_VERSION = 0x2
     EGL_RENDER_BUFFER = 0x3038
    
    Printing API info..
    
    Creating Window surface..
    
    Creating OpenGL ES 2 context..
    
    OpenGL ES 2 Information:
    
    GLES 2 String Information :
     GL_VENDOR = Imagination Technologies 
     GL_RENDERER = PowerVR SGX 544MP 
     GL_VERSION = OpenGL ES 2.0 build 1.14@3699939 (MAIN) 
     GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN) 
     GL_EXTENSIONS = GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot GL_OES_surfaceless_context GL_EXT_discard_framebuffer GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_draw_buffers GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_uniform_buffer_object GL_IMG_multisampled_render_to_texture GL_KHR_debug 
    
    GLES 2 Boolean Information :
     GL_SHADER_COMPILER =  0x1 
     GL_COLOR_WRITEMASK =  0x1  0x1  0x1  0x1 
     GL_DEPTH_WRITEMASK =  0x1  0x1  0x1  0x1 
    
    GLES 2 Integer Information :
     GL_SUBPIXEL_BITS =  0x4 
     GL_MAX_TEXTURE_SIZE =  0x1000 
     GL_MAX_CUBE_MAP_TEXTURE_SIZE =  0x1000 
     GL_MAX_VIEWPORT_DIMS =  0x1000  0x1000 
     GL_NUM_COMPRESSED_TEXTURE_FORMATS =  0x7 
     GL_NUM_SHADER_BINARY_FORMATS =  0x1 
     GL_MAX_VERTEX_ATTRIBS =  0x10 
     GL_MAX_VERTEX_UNIFORM_VECTORS =  0x80 
     GL_MAX_VARYING_VECTORS =  0x8 
     GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS =  0x8 
     GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS =  0x8 
     GL_MAX_TEXTURE_IMAGE_UNITS =  0x8 
     GL_MAX_FRAGMENT_UNIFORM_VECTORS =  0x40 
     GL_MAX_RENDERBUFFER_SIZE =  0x1000 
     GL_IMPLEMENTATION_COLOR_READ_TYPE =  0x1401 
     GL_IMPLEMENTATION_COLOR_READ_FORMAT =  0x80e1 
    
    GLES 2 Float Information :
     GL_ALIASED_POINT_SIZE_RANGE =  1.000000  511.000000 
     GL_ALIASED_LINE_WIDTH_RANGE =  1.000000  16.000000 
    
    Creating Window surface..
    
    Creating OpenGL ES 1 context..
    
    OpenGL ES 1 Information:
    
    GLES String Information :
     GL_VENDOR = Imagination Technologies 
     GL_RENDERER = PowerVR SGX 544MP 
     GL_VERSION = OpenGL ES-CM 1.1 
     GL_EXTENSIONS = GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_OES_egl_sync GL_IMG_vertex_array_object GL_APPLE_texture_2D_limited_npot 
    
    GLES Integer Information :
     GL_MAX_LIGHTS =  0x8 
     GL_MAX_CLIP_PLANES =  0x6 
     GL_MAX_MODELVIEW_STACK_DEPTH =  0x10 
     GL_MAX_PROJECTION_STACK_DEPTH =  0x2 
     GL_MAX_TEXTURE_STACK_DEPTH =  0x4 
     GL_SUBPIXEL_BITS =  0x4 
     GL_MAX_TEXTURE_SIZE =  0x1000 
     GL_MAX_VIEWPORT_DIMS =  0x1000  0x1000 
     GL_MAX_TEXTURE_UNITS =  0x4 
     GL_NUM_COMPRESSED_TEXTURE_FORMATS =  0xf 
    
    GLES Float Information :
     GL_ALIASED_POINT_SIZE_RANGE =  1.000000  32.000000 
     GL_SMOOTH_POINT_SIZE_RANGE =  1.000000  1.000000 
     GL_ALIASED_LINE_WIDTH_RANGE =  1.000000  16.000000 
     GL_SMOOTH_LINE_WIDTH_RANGE =  1.000000  1.000000 
    

    However, gles2test1 command still throws error.

    root@am57xx-evm:~# gles2test1 
    --------------------- started ---------------------
    Error: Failed to open shader file 'glsltest1_vertshader.txt'!
    --------------------- finished ---------------------
    

    Also, did you see the logs I sent in the previous reply? Please revert.

    Thanks,

    Devashish

  • Hello,

    One more thing, Is there any way to run eglinfo command without stopping weston?

    Because I think my application is polling available egl configurations ( _this->egl_data->eglChooseConfig() )at the run time but is not returning anything as it runs over weston.

    Please revert.

    Thanks,

    Devashish

  • Hello,

    This is a gentle reminder regarding the queries I have posted.

    Please acknowledge and update asap.

    Regards,

    Devashish

  • Hello,

    This is another reminder regarding the queries I have posted.

    Kindly acknowledge.

    Regards,

    Devashish

  • Hello,

    Could you please try using the latest PSDK 6.02? Also, in order to run the gles2test1, please navigate to the "/usr/bin" folder and execute the test: "root@am57xx-evm:/usr/bin# gles2test1"

    Regards,
    Krunal

  • Hello,

    I downloaded and flashed LINUX PSDK 6.02 on my AM5728 EVM.

    gles2test1 is not present in /usr/bin folder. Infact, eglinfo is also not available in 6.02 PSDK.

    Regards,

    Devashish

  • Hello Devashish,

    I am wondering if there is a reason why you would like to run gles2test1 and eglinfo. Based on my discussion with our developer, you could always copy the binaries from PSDK6.1 to PSDK6.2. Also, is your application working on PSDK6.2 and if not, please share the debug logs.

    Regards,
    Krunal

  • Hello,

    My application is working in PSDK6.02.

    I think the upgradation of tradition EGL libraries to MESA-based EGL did the trick.

    Thanks,

    Devashish