Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch screen not working #364

Open
wouterh-dev opened this issue Oct 15, 2024 · 1 comment
Open

Touch screen not working #364

wouterh-dev opened this issue Oct 15, 2024 · 1 comment

Comments

@wouterh-dev
Copy link

wouterh-dev commented Oct 15, 2024

I'm running Cage 0.1.5 and touch events appear to be ignored.

In the log I am seeing:

00:00:00.672 [DEBUG] [backend/libinput/events.c:70] Adding Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen [26133:139]
00:00:00.672 [INFO] [../seat.c:139] Input device Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen cannot be mapped to an output device

00:00:00.672 [DEBUG] [backend/libinput/events.c:70] Adding Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen [26133:139]
00:00:00.672 [INFO] [../seat.c:139] Input device Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen cannot be mapped to an output device

Is this relevant? I can see the events via libinput debug-events:

# libinput debug-events
-event5   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event7   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event2   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event4   DEVICE_ADDED            Sleep Button                      seat0 default group4  cap:k
-event0   DEVICE_ADDED            Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen seat0 default group5  cap:p left scroll-nat calib
-event3   DEVICE_ADDED            Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen seat0 default group5  cap:t  size 596x372mm ntouches 5 calib
-event1   DEVICE_ADDED            CHICONY HP Basic USB Keyboard     seat0 default group6  cap:k
-event3   TOUCH_DOWN              +0.000s	0 (0) 37.59/48.46 (223.98/180.44mm)
 event3   TOUCH_FRAME             +0.000s	
 event3   TOUCH_UP                +0.019s	0 (0)
 event3   TOUCH_FRAME             +0.019s	
Full logs
00:00:00.000 [INFO] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.000 [INFO] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.019 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.019 [INFO] [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.029 [INFO] [backend/backend.c:220] Found 1 GPUs
00:00:00.029 [INFO] [backend/drm/backend.c:200] Initializing DRM backend for /dev/dri/card0 (i915)
00:00:00.029 [DEBUG] [backend/drm/drm.c:88] Using atomic DRM interface
00:00:00.029 [DEBUG] [backend/drm/drm.c:100] ADDFB2 modifiers supported
00:00:00.029 [INFO] [backend/drm/drm.c:253] Found 2 DRM CRTCs
00:00:00.029 [INFO] [backend/drm/drm.c:180] Found 8 DRM planes
00:00:00.034 [INFO] [render/egl.c:201] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.038 [DEBUG] [render/egl.c:469] Using EGL device /dev/dri/card0
00:00:00.135 [INFO] [render/egl.c:347] Using EGL 1.5
00:00:00.135 [INFO] [render/egl.c:348] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
00:00:00.135 [INFO] [render/egl.c:350] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
00:00:00.135 [INFO] [render/egl.c:352] EGL vendor: Mesa Project
00:00:00.135 [DEBUG] [render/egl.c:121] Supported DMA-BUF formats:
00:00:00.135 [DEBUG] [render/egl.c:165]   AB4H (0x48344241)
00:00:00.135 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.135 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:165]   XB4H (0x48344258)
00:00:00.136 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:165]   AB48 (0x38344241)
00:00:00.136 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:165]   XB48 (0x38344258)
00:00:00.136 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.136 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:165]   AR30 (0x30335241)
00:00:00.137 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:165]   XR30 (0x30335258)
00:00:00.137 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:165]   AB30 (0x30334241)
00:00:00.137 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.137 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:165]   AR24 (0x34325241)
00:00:00.138 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:165]   AB24 (0x34324241)
00:00:00.138 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:165]   XR24 (0x34325258)
00:00:00.138 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.138 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:165]   XB24 (0x34324258)
00:00:00.139 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:165]   AR15 (0x35315241)
00:00:00.139 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:165]   RG16 (0x36314752)
00:00:00.139 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.139 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:165]   R8 (0x20203852)
00:00:00.140 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:165]   R16 (0x20363152)
00:00:00.140 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:165]   GR88 (0x38385247)
00:00:00.140 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.140 [DEBUG] [render/egl.c:165]   GR32 (0x32335247)
00:00:00.141 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:165]   YUV9 (0x39565559)
00:00:00.141 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:165]   YU11 (0x31315559)
00:00:00.141 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.141 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.141 [DEBUG] [render/egl.c:165]   YU12 (0x32315559)
00:00:00.141 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.142 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:165]   YU16 (0x36315559)
00:00:00.142 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.142 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:165]   YU24 (0x34325559)
00:00:00.142 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.142 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.142 [DEBUG] [render/egl.c:165]   YVU9 (0x39555659)
00:00:00.142 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.142 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:165]   YV11 (0x31315659)
00:00:00.143 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.143 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:165]   YV12 (0x32315659)
00:00:00.143 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.143 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:165]   YV16 (0x36315659)
00:00:00.143 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.143 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.143 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:165]   YV24 (0x34325659)
00:00:00.144 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.144 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:165]   NV12 (0x3231564E)
00:00:00.144 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.144 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:165]   P010 (0x30313050)
00:00:00.144 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.144 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.144 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:165]   P012 (0x32313050)
00:00:00.145 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.145 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:165]   P016 (0x36313050)
00:00:00.145 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.145 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:165]   NV16 (0x3631564E)
00:00:00.145 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.145 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.145 [DEBUG] [render/egl.c:165]   AYUV (0x56555941)
00:00:00.146 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.146 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:165]   XYUV (0x56555958)
00:00:00.146 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.146 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:165]   Y410 (0x30313459)
00:00:00.146 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.146 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.146 [DEBUG] [render/egl.c:165]   Y412 (0x32313459)
00:00:00.146 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.147 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:165]   Y416 (0x36313459)
00:00:00.147 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.147 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:165]   YUYV (0x56595559)
00:00:00.147 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.147 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.147 [DEBUG] [render/egl.c:165]   UYVY (0x59565955)
00:00:00.147 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.148 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:165]   Y210 (0x30313259)
00:00:00.148 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.148 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:165]   Y212 (0x32313259)
00:00:00.148 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.148 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.148 [DEBUG] [render/egl.c:165]   Y216 (0x36313259)
00:00:00.148 [DEBUG] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.148 [DEBUG] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.149 [DEBUG] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.149 [DEBUG] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.149 [DEBUG] [render/egl.c:185] EGL DMA-BUF format modifiers supported
00:00:00.152 [DEBUG] [render/egl.c:420] Obtained high priority context
00:00:00.152 [DEBUG] [render/egl.c:518] Using EGL_PLATFORM_DEVICE_EXT
00:00:00.157 [INFO] [render/gles2/renderer.c:718] Creating GLES2 renderer
00:00:00.157 [INFO] [render/gles2/renderer.c:719] Using OpenGL ES 3.0 Mesa 22.3.6
00:00:00.157 [INFO] [render/gles2/renderer.c:720] GL vendor: Intel
00:00:00.157 [INFO] [render/gles2/renderer.c:721] GL renderer: Mesa Intel(R) HD Graphics (BYT)
00:00:00.157 [INFO] [render/gles2/renderer.c:722] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_integer_mix GL_INTEL_performance_query GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_multisample_interpolation GL_OES_texture_border_clamp GL_EXT_blend_func_extended GL_EXT_float_blend GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra 
00:00:00.186 [DEBUG] [render/allocator/allocator.c:106] Trying to create gbm allocator
00:00:00.199 [DEBUG] [render/allocator/gbm.c:210] Created GBM allocator with backend drm
00:00:00.199 [DEBUG] [render/allocator/gbm.c:213] Using DRM node /dev/dri/card0
00:00:00.201 [DEBUG] [types/wlr_idle.c:246] idle manager created
00:00:00.201 [DEBUG] [backend/libinput/backend.c:87] Starting libinput backend
00:00:00.576 [DEBUG] [backend/libinput/events.c:70] Adding Power Button [0:1]
00:00:00.596 [DEBUG] [../seat.c:363] Created keyboard group
00:00:00.604 [DEBUG] [backend/libinput/events.c:70] Adding Video Bus [0:6]
00:00:00.627 [DEBUG] [../seat.c:336] Added new keyboard to existing group
00:00:00.627 [DEBUG] [backend/libinput/events.c:70] Adding Power Button [0:1]
00:00:00.650 [DEBUG] [../seat.c:336] Added new keyboard to existing group
00:00:00.650 [DEBUG] [backend/libinput/events.c:70] Adding Sleep Button [0:3]
00:00:00.672 [DEBUG] [../seat.c:336] Added new keyboard to existing group
00:00:00.672 [DEBUG] [backend/libinput/events.c:70] Adding Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen [26133:139]
00:00:00.672 [INFO] [../seat.c:139] Input device Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen cannot be mapped to an output device

00:00:00.672 [DEBUG] [backend/libinput/events.c:70] Adding Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen [26133:139]
00:00:00.672 [INFO] [../seat.c:139] Input device Beijing IRTOUCHSYSTEMS Co.,LtD USB TouchScreen cannot be mapped to an output device

00:00:00.672 [DEBUG] [backend/libinput/events.c:70] Adding CHICONY HP Basic USB Keyboard [1008:36]
00:00:00.694 [DEBUG] [../seat.c:336] Added new keyboard to existing group
00:00:00.694 [DEBUG] [backend/libinput/backend.c:128] libinput successfully initialized
00:00:00.694 [INFO] [backend/drm/drm.c:1338] Scanning DRM connectors on /dev/dri/card0
00:00:00.695 [INFO] [backend/drm/drm.c:1389] Found connector 'eDP-1'
00:00:00.695 [INFO] [backend/drm/drm.c:1414] 'eDP-1' connected
00:00:00.695 [DEBUG] [backend/drm/drm.c:1220] Current CRTC: 51
00:00:00.695 [INFO] [util/env.c:9] Loading WLR_NO_HARDWARE_CURSORS option: 1
00:00:00.696 [DEBUG] [types/output/output.c:382] WLR_NO_HARDWARE_CURSORS set, forcing software cursors
00:00:00.696 [INFO] [backend/drm/drm.c:1230] Physical size: 0x0
00:00:00.696 [INFO] [backend/drm/drm.c:1287] Detected modes:
00:00:00.696 [INFO] [backend/drm/drm.c:1315]   1024x768 @ 60.004 Hz (preferred)
00:00:00.696 [INFO] [backend/drm/drm.c:1315]   1024x768 @ 49.997 Hz 
00:00:00.696 [INFO] [backend/drm/drm.c:1315]   1024x768 @ 39.999 Hz 
00:00:00.703 [INFO] [backend/drm/drm.c:1389] Found connector 'VGA-1'
00:00:00.703 [INFO] [backend/drm/drm.c:1389] Found connector 'DP-1'
00:00:00.704 [INFO] [backend/drm/drm.c:1389] Found connector 'HDMI-A-1'
00:00:00.704 [DEBUG] [backend/drm/drm.c:1011] Reallocating CRTCs
00:00:00.704 [DEBUG] [backend/drm/drm.c:1022] State before reallocation:
00:00:00.704 [DEBUG] [backend/drm/drm.c:1036]   'eDP-1' crtc=0 status=1 want_crtc=1
00:00:00.705 [DEBUG] [backend/drm/drm.c:1036]   'VGA-1' crtc=-1 status=2 want_crtc=0
00:00:00.705 [DEBUG] [backend/drm/drm.c:1036]   'DP-1' crtc=-1 status=2 want_crtc=0
00:00:00.705 [DEBUG] [backend/drm/drm.c:1036]   'HDMI-A-1' crtc=-1 status=2 want_crtc=0
00:00:00.705 [DEBUG] [backend/drm/drm.c:1078] State after reallocation:
00:00:00.705 [DEBUG] [backend/drm/drm.c:1085]   'eDP-1' crtc=0 status=1
00:00:00.705 [DEBUG] [backend/drm/drm.c:1085]   'VGA-1' crtc=-1 status=2
00:00:00.705 [DEBUG] [backend/drm/drm.c:1085]   'DP-1' crtc=-1 status=2
00:00:00.705 [DEBUG] [backend/drm/drm.c:1085]   'HDMI-A-1' crtc=-1 status=2
00:00:00.705 [INFO] [backend/drm/drm.c:1447] connector eDP-1: Requesting modeset
00:00:00.705 [DEBUG] [types/output/render.c:229] Attaching empty buffer to output for modeset
00:00:00.705 [DEBUG] [types/output/render.c:75] Choosing primary buffer format XR24 (0x34325258) for output 'eDP-1'
00:00:00.705 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.708 [DEBUG] [render/allocator/gbm.c:143] Allocated 1024x768 GBM buffer with format XR24 (0x34325258), modifier X_TILED (0x0100000000000001)
00:00:00.708 [DEBUG] [render/gles2/renderer.c:148] Created GL FBO for buffer 1024x768
00:00:00.750 [DEBUG] [xcursor/wlr_xcursor.c:243] Loaded cursor theme 'default' at size 24 (124 available cursors)
00:00:00.750 [DEBUG] [../output.c:79] Enabling output eDP-1
00:00:00.750 [DEBUG] [types/output/render.c:229] Attaching empty buffer to output for modeset
00:00:00.750 [INFO] [backend/drm/drm.c:586] connector eDP-1: Modesetting with 1024x768 @ 60.004 Hz
00:00:00.766 [DEBUG] [../cage.c:564] Cage 0.1.5-83ffc57 (branch 'HEAD') is running on Wayland display wayland-0
00:00:00.769 [DEBUG] [../cage.c:138] Child process created with pid 20505
00:00:00.770 [DEBUG] [render/swapchain.c:105] Allocating new swapchain buffer
00:00:00.773 [DEBUG] [render/allocator/gbm.c:143] Allocated 1024x768 GBM buffer with format XR24 (0x34325258), modifier X_TILED (0x0100000000000001)
00:00:00.773 [DEBUG] [render/gles2/renderer.c:148] Created GL FBO for buffer 1024x768
00:00:01.282 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6e28c70 (res 0x5582e6f22320)
00:00:01.432 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6f88990 (res 0x5582e6f1f3e0)
00:00:01.432 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6dcc280 (res 0x5582e6f1f860)
00:00:01.897 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6e322c0 (res 0x5582e6f16d20)
MESA-INTEL: warning: Bay Trail Vulkan support is incomplete
00:00:02.215 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6e32620 (res 0x5582e6f171a0)
00:00:02.216 [DEBUG] [types/wlr_compositor.c:673] New wlr_surface 0x5582e6f919a0 (res 0x5582e6f16420)
00:00:02.386 [DEBUG] [types/xdg_shell/wlr_xdg_surface.c:387] new xdg_surface 0x5582e6e31070 (res 0x5582e6f1b7e0)
00:00:02.386 [DEBUG] [types/wlr_xdg_decoration_v1.c:206] new xdg_toplevel_decoration 0x5582e6e2df30 (res 0x5582e6f1b360)

I'm running Debian bookworm so compiling cage 0.2.0 is problematic due to it requiring a newer version of wlroots & wayland, and it's only a week old so it's hard to believe touch input didn't work before then.

@joggee-fr
Copy link
Collaborator

PR #272 which have been merged after release 0.1.5 may be a solution to the issue you observe.
Meson subprojects can be the way to go to deal with out-of-date dependencies on Debian stable. Take a look at recent issue #358 for quick details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants