weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2023-12-04T14:30:55Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/846ivi-shell: setting surface visibility to 0 does not prevent the content from ...2023-12-04T14:30:55ZAlexandru N. Oneaivi-shell: setting surface visibility to 0 does not prevent the content from being renderedI am implementing a custom controller for the `ivi-shell` together with a custom protocol. The protocol defines a request that a client can make to the controller to remove an `ivi_surface` from a certain output. The implementation of th...I am implementing a custom controller for the `ivi-shell` together with a custom protocol. The protocol defines a request that a client can make to the controller to remove an `ivi_surface` from a certain output. The implementation of this request on the controller side, for the moment, just sets the visibility of the respective `ivi_layout_surface` to `0` and calls `commit_changes`. I was expecting that after that, the content of the surface is no longer visible on the screen, but it is.
Am I missing something?https://gitlab.freedesktop.org/wayland/weston/-/issues/844Mouse click event issue on rdp + chromium2023-11-23T09:16:13ZHimanshu BhavaniMouse click event issue on rdp + chromiumHi @mvlad weston rdp working fine at client and server side but when I run chromium browser I am not able to access chromium from client rdp desktop.
It is looks like mouse is hiding behind the chromium on rdp windows.
I have found this ...Hi @mvlad weston rdp working fine at client and server side but when I run chromium browser I am not able to access chromium from client rdp desktop.
It is looks like mouse is hiding behind the chromium on rdp windows.
I have found this type of issue is already open in here https://monorail-prod.appspot.com/p/chromium/issues/detail?id=1284377
Is there any solution for this ?
I am using weston version 10.https://gitlab.freedesktop.org/wayland/weston/-/issues/826weston rdp screen sharing2023-11-23T08:54:46Zhelm denweston rdp screen sharingHi,
Can i sharing a screen using weston rdp ? like vnc tools is used to share screen between two platform.
I want to share screen between two devices. 1.imx board and linux host machine. the imx board should work like client and linux m...Hi,
Can i sharing a screen using weston rdp ? like vnc tools is used to share screen between two platform.
I want to share screen between two devices. 1.imx board and linux host machine. the imx board should work like client and linux machine is host.https://gitlab.freedesktop.org/wayland/weston/-/issues/832VNC on imx82023-11-23T08:52:13ZHimanshu BhavaniVNC on imx8Hello @mvlad, I am trying to run x11vnc on imx8mm based custom board using below command
```x11vnc -display :0 -passwd admin```
and the output is
```
passing arg to libvncserver: -passwd
x11vnc version: 0.9.16 lastmod: 2019-01-05 pid...Hello @mvlad, I am trying to run x11vnc on imx8mm based custom board using below command
```x11vnc -display :0 -passwd admin```
and the output is
```
passing arg to libvncserver: -passwd
x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 468
Wayland display server detected.
Wayland sessions are as of now only supported via -rawfb and the bundled deskshot utility. Exiting.
```
After that vnc is not starting so i added -rawfb
```x11vnc -display :0 -passwd admin -rawfb /dev/fb0```
and it is started vnc server but getting black screen because in `imx8mm` not used `fb0` it is using `drm` buffer.
this command `x11vnc -display :0 -passwd admin -rawfb /dev/fb0` working on imx6 devices.
How i config x11vnc on my imx8 based device? also i am using `weston` display.https://gitlab.freedesktop.org/wayland/weston/-/issues/833Dual screen in kiosk mode2023-11-23T06:41:01ZRob KramerDual screen in kiosk modeI'm trying to create a single 2160x1920 desktop from two rotated HD screens using kiosk-shell. However, one of the monitors will never show output when I run an application such as 'weston-fullscreen -w 2150 -h 1910'. Using desktop-shell...I'm trying to create a single 2160x1920 desktop from two rotated HD screens using kiosk-shell. However, one of the monitors will never show output when I run an application such as 'weston-fullscreen -w 2150 -h 1910'. Using desktop-shell, there is no issue. I want to use kiosk-shell, since there's a few extensions floating around that add DPMS (sleep) control to it.
Could it be something obvious that I'm missing? I'm assuming kiosk-mode can handle multiple monitors in the first place, since I can't find any documentation stating otherwise. Below is my config file and a log file in drm-debug mode.
```plaintext
[core]
backend=drm-backend.so
shell=kiosk-shell.so
idle-time=0
require-input=false
[shell]
panel-position=none
background-color=0xff000000
[output]
name=HDMI-A-1
mode=1920x1080
transform=rotate-270
[output]
name=HDMI-A-2
mode=1920x1080
transform=rotate-270
```
(I tried to make the below log a collapsible section, but gave up after 7 retries..)
```plaintext
Date: 2023-10-26 SGT
[20:04:51.325] weston 10.0.2
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 10.0.2
[20:04:51.325] Command line: weston --tty=1 --debug --logger-scopes=log,drm-backend --log=/tmp/weston.log
[20:04:51.325] OS: Linux, 6.1.59, #1 SMP PREEMPT_DYNAMIC Sun Dec 11 22:15:18 UTC 2022, x86_64
[20:04:51.325] Flight recorder: enabled
[20:04:51.325] Using config file '/etc/xdg/weston/weston.ini'
[20:04:51.325] Output repaint window is 7 ms maximum.
[20:04:51.325] Loading module '/usr/lib/libweston-10/drm-backend.so'
[20:04:51.326] initializing drm backend
[20:04:51.326] Trying weston_launch launcher...
[20:04:51.326] could not get launcher fd from env
[20:04:51.326] Trying direct launcher...
[20:04:51.338] using /dev/dri/card0
[20:04:51.338] DRM: supports atomic modesetting
[20:04:51.338] DRM: supports GBM modifiers
[20:04:51.338] DRM: supports picture aspect ratio
[20:04:51.338] Loading module '/usr/lib/libweston-10/gl-renderer.so'
[20:04:51.341] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_device_base EGL_EXT_device_enumeration
EGL_EXT_device_query EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
EGL_EXT_platform_device EGL_EXT_platform_wayland
EGL_KHR_platform_wayland EGL_EXT_platform_x11
EGL_KHR_platform_x11 EGL_MESA_platform_xcb
EGL_MESA_platform_gbm EGL_KHR_platform_gbm
EGL_MESA_platform_surfaceless
[20:04:51.342] EGL device extensions: EGL_EXT_device_drm
EGL_EXT_device_drm_render_node
[20:04:51.342] EGL version: 1.5
[20:04:51.342] EGL vendor: Mesa Project
[20:04:51.342] EGL client APIs: OpenGL OpenGL_ES
[20:04:51.342] EGL extensions: EGL_ANDROID_blob_cache
EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
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_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 EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver EGL_WL_bind_wayland_display
[20:04:51.342] EGL_KHR_surfaceless_context available
[20:04:51.343] GL version: OpenGL ES 3.2 Mesa 22.0.3
[20:04:51.343] GLSL version: OpenGL ES GLSL ES 3.20
[20:04:51.343] GL vendor: Intel
[20:04:51.343] GL renderer: Mesa Intel(R) Graphics (ADL GT2)
[20:04:51.343] GL 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_EXT_frag_depth
GL_NV_fbo_color_attachments GL_OES_EGL_image_external
GL_OES_EGL_sync GL_OES_vertex_array_object
GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_EXT_occlusion_query_boolean GL_EXT_robustness
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_robustness
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_sRGB_write_control GL_EXT_separate_shader_objects
GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote
GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix
GL_EXT_tessellation_point_size GL_EXT_tessellation_shader
GL_INTEL_conservative_rasterization GL_INTEL_performance_query
GL_ANDROID_extension_pack_es31a 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_gpu_shader5 GL_EXT_polygon_offset_clamp
GL_EXT_primitive_bounding_box GL_EXT_render_snorm
GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp
GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
GL_EXT_texture_norm16 GL_EXT_texture_view
GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent
GL_KHR_context_flush_control
GL_KHR_robust_buffer_access_behavior GL_NV_image_formats
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5
GL_OES_primitive_bounding_box GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_io_blocks
GL_OES_shader_multisample_interpolation
GL_OES_tessellation_point_size GL_OES_tessellation_shader
GL_OES_texture_border_clamp GL_OES_texture_buffer
GL_OES_texture_cube_map_array GL_OES_texture_stencil8
GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view
GL_EXT_blend_func_extended GL_EXT_buffer_storage
GL_EXT_float_blend GL_EXT_geometry_point_size
GL_EXT_geometry_shader GL_EXT_shader_samples_identical
GL_EXT_texture_sRGB_R8 GL_KHR_no_error
GL_KHR_texture_compression_astc_sliced_3d
GL_NV_fragment_shader_interlock GL_OES_EGL_image_external_essl3
GL_OES_geometry_point_size GL_OES_geometry_shader
GL_OES_shader_image_atomic GL_EXT_clear_texture
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_NV_compute_shader_derivatives
GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp
GL_EXT_texture_query_lod GL_MESA_bgra
[20:04:51.346] GL ES 3.2 - renderer features:
read-back format: BGRA
EGL Wayland extension: yes
[20:04:51.358] event8 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch
[20:04:51.373] event8 - not using input device '/dev/input/event8'
[20:04:51.374] event0 - Microsoft Wired Keyboard 600: is tagged by udev as: Keyboard
[20:04:51.374] event0 - Microsoft Wired Keyboard 600: device is a keyboard
[20:04:51.374] event10 - HDA Intel PCH HDMI/DP,pcm=9: is tagged by udev as: Switch
[20:04:51.385] event10 - not using input device '/dev/input/event10'
[20:04:51.386] event2 - Sleep Button: is tagged by udev as: Keyboard
[20:04:51.386] event2 - Sleep Button: device is a keyboard
[20:04:51.386] event4 - Power Button: is tagged by udev as: Keyboard
[20:04:51.387] event4 - Power Button: device is a keyboard
[20:04:51.387] event7 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch
[20:04:51.402] event7 - not using input device '/dev/input/event7'
[20:04:51.402] event9 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch
[20:04:51.418] event9 - not using input device '/dev/input/event9'
[20:04:51.419] event1 - Microsoft Wired Keyboard 600: is tagged by udev as: Keyboard
[20:04:51.419] event1 - Microsoft Wired Keyboard 600: device is a keyboard
[20:04:51.420] event3 - Power Button: is tagged by udev as: Keyboard
[20:04:51.420] event3 - Power Button: device is a keyboard
[20:04:51.421] event5 - Video Bus: is tagged by udev as: Keyboard
[20:04:51.421] event5 - Video Bus: device is a keyboard
[20:04:51.422] event6 - HDA Intel PCH Headphone Mic: is tagged by udev as: Switch
[20:04:51.434] event6 - not using input device '/dev/input/event6'
[20:04:51.440] libinput: configuring device "Microsoft Wired Keyboard 600".
[20:04:51.440] libinput: configuring device "Sleep Button".
[20:04:51.440] libinput: configuring device "Power Button".
[20:04:51.440] libinput: configuring device "Microsoft Wired Keyboard 600".
[20:04:51.440] libinput: configuring device "Power Button".
[20:04:51.440] libinput: configuring device "Video Bus".
[20:04:51.468] DRM: head 'HDMI-A-1' updated, connector 236 is connected, EDID make 'DEL', model 'DELL S2721QS', serial '4Q7XM43'
[20:04:51.468] DRM: head 'HDMI-A-1' found, connector 236 is connected, EDID make 'DEL', model 'DELL S2721QS', serial '4Q7XM43'
[20:04:51.495] DRM: head 'HDMI-A-2' updated, connector 245 is connected, EDID make 'DEL', model 'DELL S2721QS', serial '7S7XM43'
[20:04:51.495] DRM: head 'HDMI-A-2' found, connector 245 is connected, EDID make 'DEL', model 'DELL S2721QS', serial '7S7XM43'
[20:04:51.495] DRM: head 'HDMI-A-3' updated, connector 249 is disconnected.
[20:04:51.495] DRM: head 'HDMI-A-3' found, connector 249 is disconnected.
[20:04:51.495] DRM: head 'HDMI-A-4' updated, connector 253 is disconnected.
[20:04:51.495] DRM: head 'HDMI-A-4' found, connector 253 is disconnected.
[20:04:51.495] Registered plugin API 'weston_drm_output_api_v1' of size 24
[20:04:51.495] Color manager: no-op
[20:04:51.495] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[20:04:51.495] Chosen EGL config details: id: 61 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[20:04:51.495] Output HDMI-A-1 (crtc 80) video modes:
3840x2160@60.0, preferred, 594.0 MHz
3840x2160@60.0 16:9, 594.0 MHz
3840x2160@59.9 16:9, 593.4 MHz
3840x2160@30.0 16:9, 297.0 MHz
3840x2160@25.0 16:9, 297.0 MHz
3840x2160@24.0 16:9, 297.0 MHz
2560x1440@60.0, 241.5 MHz
1920x1080@60.0, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 74.2 MHz
1920x1080@25.0 16:9, 74.2 MHz
1920x1080@24.0 16:9, 74.2 MHz
1600x1200@60.0, 162.0 MHz
1600x900@60.0, 108.0 MHz
1280x1024@75.0, 135.0 MHz
1280x1024@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@60.0, 65.0 MHz
800x600@75.0, 49.5 MHz
800x600@60.3, 40.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 13.5 MHz
720x576@50.0 16:9, 13.5 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@60.0 4:3, 13.5 MHz
720x480@60.0 16:9, 13.5 MHz
720x480@59.9 4:3, 13.5 MHz
720x480@59.9 16:9, 13.5 MHz
640x480@75.0, 31.5 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[20:04:51.495] associating input device event0 with output HDMI-A-1 (none by udev)
[20:04:51.495] associating input device event2 with output HDMI-A-1 (none by udev)
[20:04:51.495] associating input device event4 with output HDMI-A-1 (none by udev)
[20:04:51.495] associating input device event1 with output HDMI-A-1 (none by udev)
[20:04:51.495] associating input device event3 with output HDMI-A-1 (none by udev)
[20:04:51.495] associating input device event5 with output HDMI-A-1 (none by udev)
[20:04:51.495] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[20:04:51.495] Output 'HDMI-A-2' using color profile: built-in default sRGB SDR profile
[20:04:51.496] Chosen EGL config details: id: 61 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[20:04:51.496] Output HDMI-A-2 (crtc 131) video modes:
3840x2160@60.0, preferred, 594.0 MHz
3840x2160@60.0 16:9, 594.0 MHz
3840x2160@59.9 16:9, 593.4 MHz
3840x2160@30.0 16:9, 297.0 MHz
3840x2160@25.0 16:9, 297.0 MHz
3840x2160@24.0 16:9, 297.0 MHz
2560x1440@60.0, 241.5 MHz
1920x1080@60.0, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 74.2 MHz
1920x1080@25.0 16:9, 74.2 MHz
1920x1080@24.0 16:9, 74.2 MHz
1600x1200@60.0, 162.0 MHz
1600x900@60.0, 108.0 MHz
1280x1024@75.0, 135.0 MHz
1280x1024@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@60.0, 65.0 MHz
800x600@75.0, 49.5 MHz
800x600@60.3, 40.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 13.5 MHz
720x576@50.0 16:9, 13.5 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@60.0 4:3, 13.5 MHz
720x480@60.0 16:9, 13.5 MHz
720x480@59.9 4:3, 13.5 MHz
720x480@59.9 16:9, 13.5 MHz
640x480@75.0, 31.5 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[20:04:51.496] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2
[20:04:51.496] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[20:04:51.496] Loading module '/usr/lib/weston/kiosk-shell.so'
[20:04:51.496] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[repaint] Beginning repaint; pending_state 0xc4f9a0
Weston scene graph at 64688.419695566:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64688.418656801
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64688.418661608
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
[no views]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (0, 0) -> (0, 0)
[fully opaque]
[no outputs]
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (0, 0)
[fully opaque]
[no outputs]
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[repaint] preparing state for output HDMI-A-1 (0)
[repaint] trying planes-only build state
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] not assigning view 0xc4eed0 to plane (no buffer available)
[view] failing state generation: placing view 0xc4eed0 to renderer not allowed
[repaint] could not build planes-only state, trying mixed
[state] cannot propose mixed mode: for output HDMI-A-1 (0): no previous renderer fb
[repaint] could not build mixed-mode state, trying renderer-only
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] not assigning view 0xc4eed0 to plane (no buffer available)
[view] view 0xc4eed0 will be placed on the renderer
[repaint] Using render-only state composition
[repaint] view 0xc4eed0 using renderer composition
[repaint] preparing state for output HDMI-A-2 (1)
[repaint] trying planes-only build state
[view] evaluating view 0xc4f5e0 for output HDMI-A-2 (1)
[view] not assigning view 0xc4f5e0 to plane (no buffer available)
[view] failing state generation: placing view 0xc4f5e0 to renderer not allowed
[repaint] could not build planes-only state, trying mixed
[state] cannot propose mixed mode: for output HDMI-A-2 (1): no previous renderer fb
[repaint] could not build mixed-mode state, trying renderer-only
[view] evaluating view 0xc4f5e0 for output HDMI-A-2 (1)
[view] not assigning view 0xc4f5e0 to plane (no buffer available)
[view] view 0xc4f5e0 will be placed on the renderer
[view] evaluating view 0xc4eed0 for output HDMI-A-2 (1)
[view] ignoring view 0xc4eed0 (not on our output)
[repaint] Using render-only state composition
[repaint] view 0xc4f5e0 using renderer composition
[atomic] previous state invalid; starting with fresh state
[atomic] disabling inactive head HDMI-A-3
[CONN:249] 20 (CRTC_ID) -> 0
[atomic] disabling inactive head HDMI-A-4
[CONN:253] 20 (CRTC_ID) -> 0
[atomic] starting with plane 229 disabled
[PLANE:229] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:229] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 220 disabled
[PLANE:220] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:220] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 211 disabled
[PLANE:211] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:211] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 202 disabled
[PLANE:202] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:202] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 193 disabled
[PLANE:193] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:193] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 184 disabled
[PLANE:184] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:184] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 178 disabled
[PLANE:178] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:178] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 169 disabled
[PLANE:169] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:169] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 160 disabled
[PLANE:160] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:160] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 151 disabled
[PLANE:151] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:151] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 142 disabled
[PLANE:142] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:142] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 133 disabled
[PLANE:133] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:133] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 127 disabled
[PLANE:127] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:127] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 118 disabled
[PLANE:118] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:118] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 109 disabled
[PLANE:109] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:109] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 100 disabled
[PLANE:100] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:100] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 91 disabled
[PLANE:91] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:91] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 82 disabled
[PLANE:82] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:82] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 76 disabled
[PLANE:76] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:76] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 67 disabled
[PLANE:67] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:67] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 58 disabled
[PLANE:58] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:58] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 49 disabled
[PLANE:49] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:49] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 40 disabled
[PLANE:40] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:40] 17 (FB_ID) -> 0 (0x0)
[atomic] starting with plane 31 disabled
[PLANE:31] 20 (CRTC_ID) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 0 (0x0)
[atomic] applying output 1 (HDMI-A-2) state
[atomic] DPMS state differs, modeset OK
[atomic] created new mode blob 269 for 1920x1080
[CRTC:131] 23 (MODE_ID) -> 269 (0x10d)
[CRTC:131] 22 (ACTIVE) -> 1 (0x1)
[CONN:245] 20 (CRTC_ID) -> 131 (0x83)
[CONN:245] 243 (Content Protection) -> 0 (0x0)
[PLANE:82] 17 (FB_ID) -> 267 (0x10b)
[PLANE:82] 20 (CRTC_ID) -> 131 (0x83)
[PLANE:82] 9 (SRC_X) -> 0 (0x0)
[PLANE:82] 10 (SRC_Y) -> 0 (0x0)
[PLANE:82] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:82] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:82] 13 (CRTC_X) -> 0 (0x0)
[PLANE:82] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:82] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:82] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:82] 21 (FB_DAMAGE_CLIPS) -> 268 (0x10c)
[PLANE:82] FORMAT: XRGB8888
[atomic] applying output 0 (HDMI-A-1) state
[atomic] DPMS state differs, modeset OK
[atomic] created new mode blob 270 for 1920x1080
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 265 (0x109)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 266 (0x10a)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[CRTC:131] setting pending flip
[CRTC:80] setting pending flip
[repaint] flushed pending_state 0xc4f9a0
[atomic][CRTC:80] flip processing started
[atomic][CRTC:80] flip processing completed
[atomic][CRTC:131] flip processing started
[atomic][CRTC:131] flip processing completed
[repaint] Beginning repaint; pending_state 0xc4f9a0
Weston scene graph at 64688.501619421:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64688.502446666
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64688.507565666
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
[no views]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[atomic] drmModeAtomicCommit
[repaint] flushed pending_state 0xc4f9a0
[repaint] Beginning repaint; pending_state 0xc4f9a0
Weston scene graph at 64688.506811448:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64688.507565666
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
[no views]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[atomic] drmModeAtomicCommit
[repaint] flushed pending_state 0xc4f9a0
[repaint] Beginning repaint; pending_state 0xc87120
Weston scene graph at 64693.968477218:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64693.969112666
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
View 0 (role xdg_toplevel, PID 3652, surface ID 16, top-level window 'Fullscreen' of org.freedesktop.weston.fullscreen, 0xc7c8e0):
position: (0, 0) -> (1080, 1920)
[opaque: (0, 0) -> (1080, 1920)]
outputs: 0 (HDMI-A-1) (primary)
SHM buffer
format: 0x0 ARGB8888
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[repaint] preparing state for output HDMI-A-1 (0)
[repaint] trying planes-only build state
[view] evaluating view 0xc7c8e0 for output HDMI-A-1 (0)
[plane] started with zpos 18446744073709551615
[plane] plane 76 added to candidate list
[plane] not adding plane 67 to candidate list: invalid pixel format
[plane] not adding plane 58 to candidate list: invalid pixel format
[plane] not adding plane 49 to candidate list: invalid pixel format
[plane] not adding plane 40 to candidate list: invalid pixel format
[plane] not adding plane 31 to candidate list: invalid pixel format
[plane] plane 76 picked from candidate list, type: cursor
[cursor] not placing view 0xc7c8e0 on cursor: unsuitable transform
[view] failing state generation: placing view 0xc7c8e0 to renderer not allowed
[repaint] could not build planes-only state, trying mixed
[state] using renderer FB ID 265 for mixed mode for output HDMI-A-1 (0)
[state] scanout will use for zpos 0
[view] evaluating view 0xc7c8e0 for output HDMI-A-1 (0)
[plane] started with zpos 18446744073709551615
[plane] plane 76 added to candidate list
[plane] not adding plane 67 to candidate list: invalid pixel format
[plane] not adding plane 58 to candidate list: invalid pixel format
[plane] not adding plane 49 to candidate list: invalid pixel format
[plane] not adding plane 40 to candidate list: invalid pixel format
[plane] not adding plane 31 to candidate list: view already assigned to a plane
[plane] plane 76 picked from candidate list, type: cursor
[cursor] not placing view 0xc7c8e0 on cursor: unsuitable transform
[view] view 0xc7c8e0 will be placed on the renderer
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4eed0 (occluded on our output)
[atomic] testing output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 265 (0x109)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 0 (0x0)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[repaint] Using mixed state composition
[repaint] view 0xc7c8e0 using renderer composition
[repaint] view 0xc4eed0 using renderer composition
[atomic] applying output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 256 (0x100)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 260 (0x104)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[CRTC:80] setting pending flip
[repaint] flushed pending_state 0xc87120
[atomic][CRTC:80] flip processing started
[atomic][CRTC:80] flip processing completed
[repaint] Beginning repaint; pending_state 0xc2b1b0
Weston scene graph at 64693.985750725:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64693.985773666
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
View 0 (role xdg_toplevel, PID 3652, surface ID 16, top-level window 'Fullscreen' of org.freedesktop.weston.fullscreen, 0xc7c8e0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
SHM buffer
format: 0x0 ARGB8888
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[repaint] preparing state for output HDMI-A-1 (0)
[repaint] trying planes-only build state
[view] evaluating view 0xc7c8e0 for output HDMI-A-1 (0)
[plane] started with zpos 18446744073709551615
[plane] plane 76 added to candidate list
[plane] not adding plane 67 to candidate list: invalid pixel format
[plane] not adding plane 58 to candidate list: invalid pixel format
[plane] not adding plane 49 to candidate list: invalid pixel format
[plane] not adding plane 40 to candidate list: invalid pixel format
[plane] not adding plane 31 to candidate list: invalid pixel format
[plane] plane 76 picked from candidate list, type: cursor
[cursor] not placing view 0xc7c8e0 on cursor: unsuitable transform
[view] failing state generation: placing view 0xc7c8e0 to renderer not allowed
[repaint] could not build planes-only state, trying mixed
[state] using renderer FB ID 256 for mixed mode for output HDMI-A-1 (0)
[state] scanout will use for zpos 0
[view] evaluating view 0xc7c8e0 for output HDMI-A-1 (0)
[plane] started with zpos 18446744073709551615
[plane] plane 76 added to candidate list
[plane] not adding plane 67 to candidate list: invalid pixel format
[plane] not adding plane 58 to candidate list: invalid pixel format
[plane] not adding plane 49 to candidate list: invalid pixel format
[plane] not adding plane 40 to candidate list: invalid pixel format
[plane] not adding plane 31 to candidate list: view already assigned to a plane
[plane] plane 76 picked from candidate list, type: cursor
[cursor] not placing view 0xc7c8e0 on cursor: unsuitable transform
[view] view 0xc7c8e0 will be placed on the renderer
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4eed0 (occluded on our output)
[atomic] testing output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 256 (0x100)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 0 (0x0)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[repaint] Using mixed state composition
[repaint] view 0xc7c8e0 using renderer composition
[repaint] view 0xc4eed0 using renderer composition
[atomic] applying output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 265 (0x109)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 266 (0x10a)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[CRTC:80] setting pending flip
[repaint] flushed pending_state 0xc2b1b0
[atomic][CRTC:80] flip processing started
[atomic][CRTC:80] flip processing completed
[repaint] Beginning repaint; pending_state 0xc5cd70
Weston scene graph at 64694.002423723:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64694.002446666
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
View 0 (role xdg_toplevel, PID 3652, surface ID 16, top-level window 'Fullscreen' of org.freedesktop.weston.fullscreen, 0xc7c8e0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[atomic] drmModeAtomicCommit
[repaint] flushed pending_state 0xc5cd70
[repaint] Beginning repaint; pending_state 0xc60d10
Weston scene graph at 64695.701888114:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64695.702447332
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
[no views]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[repaint] preparing state for output HDMI-A-1 (0)
[repaint] trying planes-only build state
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] not assigning view 0xc4eed0 to plane (no buffer available)
[view] failing state generation: placing view 0xc4eed0 to renderer not allowed
[repaint] could not build planes-only state, trying mixed
[state] using renderer FB ID 265 for mixed mode for output HDMI-A-1 (0)
[state] scanout will use for zpos 0
[view] evaluating view 0xc4f5e0 for output HDMI-A-1 (0)
[view] ignoring view 0xc4f5e0 (not on our output)
[view] evaluating view 0xc4eed0 for output HDMI-A-1 (0)
[view] not assigning view 0xc4eed0 to plane (no buffer available)
[view] view 0xc4eed0 will be placed on the renderer
[atomic] testing output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 265 (0x109)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 0 (0x0)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[repaint] Using mixed state composition
[repaint] view 0xc4eed0 using renderer composition
[atomic] applying output 0 (HDMI-A-1) state
[CRTC:80] 23 (MODE_ID) -> 270 (0x10e)
[CRTC:80] 22 (ACTIVE) -> 1 (0x1)
[CONN:236] 20 (CRTC_ID) -> 80 (0x50)
[CONN:236] 243 (Content Protection) -> 0 (0x0)
[PLANE:31] 17 (FB_ID) -> 256 (0x100)
[PLANE:31] 20 (CRTC_ID) -> 80 (0x50)
[PLANE:31] 9 (SRC_X) -> 0 (0x0)
[PLANE:31] 10 (SRC_Y) -> 0 (0x0)
[PLANE:31] 11 (SRC_W) -> 125829120 (0x7800000)
[PLANE:31] 12 (SRC_H) -> 70778880 (0x4380000)
[PLANE:31] 13 (CRTC_X) -> 0 (0x0)
[PLANE:31] 14 (CRTC_Y) -> 0 (0x0)
[PLANE:31] 15 (CRTC_W) -> 1920 (0x780)
[PLANE:31] 16 (CRTC_H) -> 1080 (0x438)
[PLANE:31] 21 (FB_DAMAGE_CLIPS) -> 260 (0x104)
[PLANE:31] FORMAT: XRGB8888
[atomic] drmModeAtomicCommit
[CRTC:80] setting pending flip
[repaint] flushed pending_state 0xc60d10
[atomic][CRTC:80] flip processing started
[atomic][CRTC:80] flip processing completed
[repaint] Beginning repaint; pending_state 0xc60d10
Weston scene graph at 64695.719169917:
Output 0 (HDMI-A-1):
position: (0, 0) -> (1080, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: repaint scheduled
next repaint: 64695.719106666
Head 0 (HDMI-A-1): connected
Output 1 (HDMI-A-2):
position: (1080, 0) -> (2160, 1920)
mode: 1920x1080@60.000Hz
scale: 1
repaint status: no repaint
Head 0 (HDMI-A-2): connected
Layer 0 (pos 0xffffffff):
[no views]
Layer 1 (pos 0xfffffffe):
[no views]
Layer 2 (pos 0x50000001):
[no views]
Layer 3 (pos 0x50000000):
[no views]
Layer 4 (pos 0x2):
View 0 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4f5e0):
position: (1080, 0) -> (2160, 1920)
[fully opaque]
outputs: 1 (HDMI-A-2) (primary)
[buffer not available]
View 1 (role kiosk-shell-background, PID 0, surface ID 0, kiosk shell background surface, 0xc4eed0):
position: (0, 0) -> (1080, 1920)
[fully opaque]
outputs: 0 (HDMI-A-1) (primary)
[buffer not available]
Layer 5 (pos 0x0):
[no views]
[atomic] drmModeAtomicCommit
[repaint] flushed pending_state 0xc60d10
[20:05:00.825] caught signal 15
[20:05:00.837] output for input device event0 removed
[20:05:00.837] output for input device event2 removed
[20:05:00.837] output for input device event4 removed
[20:05:00.837] output for input device event1 removed
[20:05:00.837] output for input device event3 removed
[20:05:00.837] output for input device event5 removed
[20:05:00.842] event0 - Microsoft Wired Keyboard 600: device removed
[20:05:00.867] event2 - Sleep Button: device removed
[20:05:00.879] event4 - Power Button: device removed
[20:05:00.891] event1 - Microsoft Wired Keyboard 600: device removed
[20:05:00.903] event3 - Power Button: device removed
[20:05:00.915] event5 - Video Bus: device removed
```https://gitlab.freedesktop.org/wayland/weston/-/issues/842Weston (Kiosk Mode) Launches Black Screen in X112023-11-21T17:23:01ZVehementHamWeston (Kiosk Mode) Launches Black Screen in X11The normal mode works fine. Whin I add `client=` to the config, things get messy. Here is the conig
```ini
[launcher]
icon=/usr/share/icons/Adwaita/32x32/ui/checkbox-symbolic.symbolic.png
path=/usr/bin/foot
[core]
idle-time=0
seat=seat-...The normal mode works fine. Whin I add `client=` to the config, things get messy. Here is the conig
```ini
[launcher]
icon=/usr/share/icons/Adwaita/32x32/ui/checkbox-symbolic.symbolic.png
path=/usr/bin/foot
[core]
idle-time=0
seat=seat-0
[shell]
background-image=/home/vehementham/.local/share/wallpapers/wallpaper.JPG
client=/usr/bin/foot
```
Here is the output of `weston --shell=kiosk-shell.so`
```
Date: 2023-11-15 CST
[14:39:18.619] weston 11.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 11.0.1
[14:39:18.619] Command line: weston --shell=kiosk-shell.so
[14:39:18.619] OS: Linux, 6.1.60-gentoo-dist-hardened, #1 SMP PREEMPT_DYNAMIC Sun Nov 12 08:36:48 CST 2023, x86_64
[14:39:18.619] Flight recorder: enabled
[14:39:18.619] Using config file '/home/vehementham/.config/weston.ini'
[14:39:18.619] Output repaint window is 7 ms maximum.
[14:39:18.619] Loading module '/usr/lib64/libweston-11/x11-backend.so'
[14:39:18.627] Loading module '/usr/lib64/libweston-11/gl-renderer.so'
libEGL warning: DRI2: failed to authenticate
[14:39:18.649] warning: failed to query rendering device from EGL
[14:39:18.649] EGL version: 1.5
[14:39:18.649] EGL vendor: Mesa Project
[14:39:18.649] EGL client APIs: OpenGL OpenGL_ES
[14:39:18.649] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[14:39:18.649] EGL features:
EGL Wayland extension: no
context priority: no
buffer age: no
partial update: no
swap buffers with damage: no
configless context: yes
surfaceless context: yes
dmabuf support: no
[14:39:18.658] GL version: OpenGL ES 3.2 Mesa 23.1.8
[14:39:18.659] GLSL version: OpenGL ES GLSL ES 3.20
[14:39:18.659] GL vendor: Mesa
[14:39:18.659] GL renderer: llvmpipe (LLVM 16.0.6, 256 bits)
[14:39:18.668] GL ES 3.2 - renderer features:
read-back format: ARGB8888
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: yes
wl_shm half-float formats: yes
internal R and RG formats: yes
OES_EGL_image_external: yes
[14:39:18.668] Using gl renderer
[14:39:18.675] Registered plugin API 'weston_windowed_output_api_v1' of size 16
[14:39:18.675] Color manager: no-op
[14:39:18.675] Output 'screen0' attempts EOTF mode: SDR
[14:39:18.675] Output 'screen0' using color profile: built-in default sRGB SDR profile
[14:39:18.676] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:18.676] x11 output 1024x600, window id 27262981
[14:39:18.676] Output 'screen0' enabled with head(s) screen0
[14:39:18.676] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: no
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: yes
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[14:39:18.677] libwayland: unable to lock lockfile /run/user/1000/wayland-1.lock, maybe another compositor is running
[14:39:18.677] Loading module '/usr/lib64/weston/kiosk-shell.so'
[14:39:18.730] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:20.267] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
[14:39:21.906] Chosen EGL config details: id: 11 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf|swap_preserved vis_id: 0x21
```
I compiled Weston on Gentoo
```
USE="X desktop drm fullscreen gles2 jpeg* kiosk pipewire resize-optimization seatd suid -editor -examples -headless -ivi -lcms -rdp -remoting -screen-sharing -systemd -test -wayland-compositor -webp -xwayland"
```https://gitlab.freedesktop.org/wayland/weston/-/issues/342"Start fence" is nonsense2023-11-10T09:18:52ZPekka Paalanenppaalanen@gmail.com"Start fence" is nonsenseWeston, more precisely GL-renderer, is misusing fences in an attempt to profile GPU execution. It sets up a fence before and after the GL composition job, expecting that the timestamps correspond to the job begin and end times. As decree...Weston, more precisely GL-renderer, is misusing fences in an attempt to profile GPU execution. It sets up a fence before and after the GL composition job, expecting that the timestamps correspond to the job begin and end times. As decreed in https://github.com/KhronosGroup/EGL-Registry/issues/94 and https://gitlab.freedesktop.org/mesa/mesa/issues/2080, that is not true. The end fence is ok, the start fence is not.
GL-renderer needs to be fixed to not have a start fence. The only alternative that came up in the referred reports is to take the end fence and its timestamp, and use [`GL_EXT_disjoint_timer_query`](https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_disjoint_timer_query.txt) to find out how long the job took, and then assume that end timestamp minus length is the start timestamp. See https://gitlab.freedesktop.org/mesa/mesa/issues/2080#note_290882.https://gitlab.freedesktop.org/wayland/weston/-/issues/578Controlling display state2023-11-01T13:29:53ZSören Meiersoerenmeier@livgood.chControlling display state**Problem**
I recently started to switch our Operating System from X to wayland. Our OS is used sort of like a digital signage system, with chromium as it's only ui process. To prevent our display from running 24/7 we added a motion se...**Problem**
I recently started to switch our Operating System from X to wayland. Our OS is used sort of like a digital signage system, with chromium as it's only ui process. To prevent our display from running 24/7 we added a motion sensor, which wakes the display up when motion is detected. With X I used the command `xset dpms force on` to turn the display on and off. With wayland/weston I haven't found a good solution to do the same thing.
**Attempt**
My first attempt after looking at the weston code was to copy the idle/sleep logic and use a "custom" wayland protocol to toggle the state of the screen, and to get notification if the screen would be woken up (via touch for example).
You can find my attempt here: https://gitlab.freedesktop.org/soerenmeier/weston/-/commit/9b606b0b1b6577b245a637fd0d1ef97587a14087.
Toggling the display state mostly works, but when the screen get's woken up via a touch interaction chromium crashes, but after chromium gets restarted it works again.
**Solution**
My question now is, what is the best way to wake a screen up or put it to sleep? The answer in https://gitlab.freedesktop.org/wayland/weston/-/issues/233 pointed at, adding a protocol extension in libweston. Is that still the best way to solve my problem?
If yes, would it be possible to get some help implementing this, since I'm pretty new to c/weston.https://gitlab.freedesktop.org/wayland/weston/-/issues/829wl_surface.offset interaction with subsurfaces2023-10-26T14:52:25ZMarius Vladwl_surface.offset interaction with subsurfacesAs per https://gitlab.freedesktop.org/wayland/wayland/-/issues/389 we should consistent with other compositors.As per https://gitlab.freedesktop.org/wayland/wayland/-/issues/389 we should consistent with other compositors.13.0.0https://gitlab.freedesktop.org/wayland/weston/-/issues/637[regression] NV12 dmabuf renders all red2023-10-26T13:11:53ZLink Mauve[regression] NV12 dmabuf renders all redOriginally found using the new vaapi-wayland video output from mpv: https://github.com/mpv-player/mpv/issues/10341
I bisected this issue to f36d77a199a6398444f7ae6d1002dad2f65ca679.
Reverting this commit or changing line 2573 to `SHADE...Originally found using the new vaapi-wayland video output from mpv: https://github.com/mpv-player/mpv/issues/10341
I bisected this issue to f36d77a199a6398444f7ae6d1002dad2f65ca679.
Reverting this commit or changing line 2573 to `SHADER_VARIANT_EXTERNAL` fixes this issue.
I’m not sure whether this is a bug in Weston or in Mesa/iris, which is the GL stack I’m using.
I’m also surprised Weston doesn’t try to put this buffer in a plane, as my hardware (gen9) supports everything needed here I think.
![](https://user-images.githubusercontent.com/7755816/175996910-d97ca72a-13e7-474e-91af-73ec4347dcbd.png)https://gitlab.freedesktop.org/wayland/weston/-/issues/824[imx8mp]Weston-rdp screen share issue2023-10-23T08:06:32ZHimanshu Bhavani[imx8mp]Weston-rdp screen share issueI have imx8m board which has one display connected. and i want to share custom board display screen to any host machine(in my case it it Linux system)
For that i used to weston-rdp service for sharing screen and below configuration i ha...I have imx8m board which has one display connected. and i want to share custom board display screen to any host machine(in my case it it Linux system)
For that i used to weston-rdp service for sharing screen and below configuration i have done in bot side client and host.
In yocto add below lines into the weston bb file “weston_10*.imx.bb” to enable freerdp support.
`DEPENDS += "freerdp"`
`EXTRA_OEMESON += "-Dbackend-rdp=true"`
On client side:
Add below module into the /etc/xdg/weston/weston.ini file.
```
[core]
modules=screen-share.so
```
Add below command into the `/etc/xdg/weston/weston.ini` file
`command=@bindir@/weston --no-config –backend=rdp-backend.so`
Generate TLS certificate/key.
Modify ExecStart command into the `/lib/systemd/system/weston.service` file.
`ExecStart=/usr/bin/weston --backend=rdp-backend.so –rdp-tls- cert=/home/root/server.crt --rdp-tls-key=/home/root/server.key`
restart the weston service.
3) On Host side:-
Run xfreerdp with client ip address and display resolution.
`xfreerdp /v:192.168.200.59 /size:800x480`
When I restart weston service after all changes the service not started and weston not created socket into the /run/user/0/ location. this issue created when i add “–backend=rdp-backend.so” into the service file.
```
[11:14:50.666] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0+
[11:14:50.666] Command line: weston
[11:14:50.666] OS: Linux, 5.15.77-6.4.0-devel+git.ddc6ca4d76ea, #1 SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023, aarch64
[11:14:50.666] Flight recorder: enabled
[11:14:50.666] fatal: environment variable XDG_RUNTIME_DIR is not set.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
```
In normal state without --backend=rdp-backend.so the weston created socket into the /run/user/0/ location.
Why weston failed in when i add rdp-backend.so in weston.service file ? can someone help me ?https://gitlab.freedesktop.org/wayland/weston/-/issues/823Weston crashes when starting Warcraft III in wine-wayland2023-10-17T08:24:33ZLink MauveWeston crashes when starting Warcraft III in wine-waylandIt was running with Alexandros’s old Wine wayland branch.
In `locked_pointer_set_cursor_position_hint()`, `constraint->view` can be `NULL`, in which case dereferencing `constraint->view->surface` will crash the whole compositor.It was running with Alexandros’s old Wine wayland branch.
In `locked_pointer_set_cursor_position_hint()`, `constraint->view` can be `NULL`, in which case dereferencing `constraint->view->surface` will crash the whole compositor.https://gitlab.freedesktop.org/wayland/weston/-/issues/821backend-drm: client view leaves remnant in rendered output after moving it to...2023-10-09T08:19:34ZMichael Tretterm.tretter@pengutronix.debackend-drm: client view leaves remnant in rendered output after moving it to planeWhen Weston moves a view that was previously rendered to a DRM plane, a remnant of this view stays visible in the rendered output.
Reproduce the issue:
1. Start Weston with the Desktop shell and the drm-backend
2. Start `weston-simple-...When Weston moves a view that was previously rendered to a DRM plane, a remnant of this view stays visible in the rendered output.
Reproduce the issue:
1. Start Weston with the Desktop shell and the drm-backend
2. Start `weston-simple-dmabuf-egl`. -> The view is placed on a plane.
3. Move the window behind the top panel (using Super + Mouse movement). -> The view is placed on the renderer, because it is behind the transparent panel.
4. Move the window away from the top panel. -> The view is placed on a plane.
Expected behavior:
The view is only visible once at the new position.
Observed behavior:
The view is visible twice: In the new expected position, and a remnant at the position, where Weston decided to move it to the plane.13.0.0https://gitlab.freedesktop.org/wayland/weston/-/issues/818weston_surface_assign_output() should prefer primary-backend outputs as a tie...2023-10-06T12:20:21ZPhilipp Zabelphilipp.zabel@gmail.comweston_surface_assign_output() should prefer primary-backend outputs as a tie-breakerAll else being equal, let's assign a surface to a primary backend's output over a secondary backend's output.
Suggested by @daniels in https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/578#note_1983093.All else being equal, let's assign a surface to a primary backend's output over a secondary backend's output.
Suggested by @daniels in https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/578#note_1983093.13.0.0https://gitlab.freedesktop.org/wayland/weston/-/issues/819Surfaces should be reassigned to another output when their drm output goes to...2023-10-06T12:20:21ZPhilipp Zabelphilipp.zabel@gmail.comSurfaces should be reassigned to another output when their drm output goes to sleepSurfaces that are assigned to a drm output that goes to sleep may no longer receive frame events. They should be reassigned to another output.
Suggested by @derekf in https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/578#no...Surfaces that are assigned to a drm output that goes to sleep may no longer receive frame events. They should be reassigned to another output.
Suggested by @derekf in https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/578#note_2103614.13.0.0https://gitlab.freedesktop.org/wayland/weston/-/issues/801Invalid protocol error when a client starts maximized2023-09-28T06:45:40ZLink MauveInvalid protocol error when a client starts maximizedHere is such a log:
[WAYLAND_DEBUG of rnote](/uploads/9d3864f58599713f75c0729a3fd8c3e6/rnote.txt)
On first launch the client was not maximized and everything was fine, I maximized it, then closed it, and on any subsequent launch it exit...Here is such a log:
[WAYLAND_DEBUG of rnote](/uploads/9d3864f58599713f75c0729a3fd8c3e6/rnote.txt)
On first launch the client was not maximized and everything was fine, I maximized it, then closed it, and on any subsequent launch it exits with this bogus protocol error.
Edit: this is a regression that already got fixed here: https://gitlab.freedesktop.org/wayland/weston/-/issues/645Marius VladMarius Vladhttps://gitlab.freedesktop.org/wayland/weston/-/issues/231Modal dialog does not stay on-top its parent2023-09-22T19:11:41ZStefan AgnerModal dialog does not stay on-top its parentShowing a modal dialog (e.g. a message box) prevents interaction with the parent as expected. However, the parent window can still be clicked on which will put it in front of the (modal) child dialog.
One can still use the mouse to sele...Showing a modal dialog (e.g. a message box) prevents interaction with the parent as expected. However, the parent window can still be clicked on which will put it in front of the (modal) child dialog.
One can still use the mouse to select the modal dialog again if the modal dialog is larger than the parent. However, the issue is especially problematic if the modal dialog is smaller. If one accidentally clicks to the parent it feels as if the application just froze (since interaction is not possible).
![wayland-weston-qt5-modal-dialog](/uploads/a3bbfa2e00a657a9f5f29ce7b8418948/wayland-weston-qt5-modal-dialog.png)
See also [wayland-debug-client.txt](/uploads/0c3b50934fe6c3715b2147dd7845bf4e/wayland-debug-client.txt), the output of a run using:
```
WAYLAND_DEBUG=client ./modalTest -platform wayland 2> wayland-debug-client.txt
```
The same issue appears to be the case when using dialogs created with the GTK3 toolkit (see screenshot of gtk3-demo).
![wayland-weston-gtk3-modal-dialog](/uploads/ffbdd21f94e006e40bfc9151730c68f7/wayland-weston-gtk3-modal-dialog.png)
I first reported this issue with Qt since I assumed this is a Qt bug (see [QTBUG-75144](https://bugreports.qt.io/browse/QTBUG-75144)). But it seems that the parent relationship is properly set, and the very same binary behaves as expected with Gnome Mutter as Wayland compositor. In this screenshot I clicked (and activated) the parent window, but the message box still stayed on-top:
![wayland-mutter-qt5-modal-dialog](/uploads/5b522f1a47c81ebaec37b650cf7b0a3c/wayland-mutter-qt5-modal-dialog.png)
The source code of the application can be found in this Qt Bug.https://gitlab.freedesktop.org/wayland/weston/-/issues/805Segfault in weston_desktop_surface_get_maximized in desktop-shell during outp...2023-09-13T15:25:17ZAlexandros FrantzisSegfault in weston_desktop_surface_get_maximized in desktop-shell during output resizeTo reproduce with latest `main` (a414d379fb34c3438c31afa0198f91a1c8bed295):
1. Start weston nested under wayland/x11
2. Open weston-terminal within the nested weston window by clicking on the icon at the top-left
3. Close weston-termina...To reproduce with latest `main` (a414d379fb34c3438c31afa0198f91a1c8bed295):
1. Start weston nested under wayland/x11
2. Open weston-terminal within the nested weston window by clicking on the icon at the top-left
3. Close weston-terminal
4. While the fade-out destruction animation is in progress resize the weston window. For nested under wayland switching the focus away from the nested weston window also works (this is treated internally as an output resize).
5. Crash
```
0x00007ffff7f4a141 in weston_desktop_surface_get_maximized (surface=0x0)
at ../libweston/desktop/surface.c:661
661 if (surface->implementation->get_maximized == NULL)
```
A log of the crash with `-l proto,log` including the full gdb backtrace at the end: [weston-nested-wayland-crash.txt](/uploads/37fb4476e75ae83fedc6cdf5a0476572/weston-nested-wayland-crash.txt)https://gitlab.freedesktop.org/wayland/weston/-/issues/803`weston: ../libweston/output-capture.c:398: weston_output_pull_capture_task: ...2023-09-12T22:52:05ZPaul Menzel`weston: ../libweston/output-capture.c:398: weston_output_pull_capture_task: Assertion `csi->width == width' failed.`Using Debian sid/unstable with *weston* 12.0.1-1 after today’s update I get:
```
$ weston
Date: 2023-08-24 CEST
[22:54:50.946] weston 12.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.fr...Using Debian sid/unstable with *weston* 12.0.1-1 after today’s update I get:
```
$ weston
Date: 2023-08-24 CEST
[22:54:50.946] weston 12.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 12.0.1
[22:54:50.946] Command line: weston
[22:54:50.946] OS: Linux, 6.5.0-rc7-00181-g24d500f283b1, #499 SMP PREEMPT_DYNAMIC Thu Aug 24 20:29:53 UTC 2023, x86_64
[22:54:50.946] Flight recorder: enabled
[22:54:50.947] Using config file '/home/kodi/.config/weston.ini'
[22:54:50.947] Output repaint window is 7 ms maximum.
[22:54:50.947] Loading module '/usr/lib/i386-linux-gnu/libweston-12/drm-backend.so'
[22:54:50.962] initializing drm backend
[22:54:50.962] Trying libseat launcher...
[22:54:50.962] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[22:54:50.962] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[22:54:50.998] [libseat/libseat.c:73] Seat opened with backend 'logind'
[22:54:50.998] libseat: session control granted
[22:54:51.002] using /dev/dri/card0
[22:54:51.002] DRM: does not support atomic modesetting
[22:54:51.002] DRM: does not support GBM modifiers
[22:54:51.002] DRM: supports picture aspect ratio
[22:54:51.041] Loading module '/usr/lib/i386-linux-gnu/libweston-12/gl-renderer.so'
[22:54:51.048] Using rendering device: /dev/dri/renderD128
[22:54:51.048] EGL version: 1.5
[22:54:51.048] EGL vendor: Mesa Project
[22:54:51.048] EGL client APIs: OpenGL OpenGL_ES
[22:54:51.048] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[22:54:51.048] EGL features:
EGL Wayland extension: yes
context priority: no
buffer age: yes
partial update: no
swap buffers with damage: no
configless context: yes
surfaceless context: yes
dmabuf support: modifiers
[22:54:51.053] GL version: OpenGL ES 3.1 Mesa 23.1.6-1
[22:54:51.053] GLSL version: OpenGL ES GLSL ES 3.10
[22:54:51.053] GL vendor: Mesa
[22:54:51.053] GL renderer: AMD ARUBA (DRM 2.50.0 / 6.5.0-rc7-00181-g24d500f283b1, LLVM 15.0.7)
[22:54:51.062] GL ES 3.1 - renderer features:
read-back format: ARGB8888
glReadPixels supports y-flip: yes
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: yes
wl_shm half-float formats: yes
internal R and RG formats: yes
OES_EGL_image_external: yes
[22:54:51.062] Using GL renderer
[22:54:51.083] event0 - Power Button: is tagged by udev as: Keyboard
[22:54:51.083] event0 - Power Button: device is a keyboard
[22:54:51.087] event1 - HDA ATI HDMI HDMI/DP,pcm=3: is tagged by udev as: Switch
[22:54:51.089] event1 - not using input device '/dev/input/event1'
[22:54:51.093] event2 - HDA ATI HDMI HDMI/DP,pcm=7: is tagged by udev as: Switch
[22:54:51.094] event2 - not using input device '/dev/input/event2'
[22:54:51.099] event11 - DELL Dell QuietKey Keyboard: is tagged by udev as: Keyboard
[22:54:51.099] event11 - DELL Dell QuietKey Keyboard: device is a keyboard
[22:54:51.163] event12 - Logitech Optical USB Mouse: is tagged by udev as: Mouse
[22:54:51.164] event12 - Logitech Optical USB Mouse: device set to 400 DPI
[22:54:51.164] event12 - Logitech Optical USB Mouse: device is a pointer
[22:54:51.168] event10 - HD-Audio Generic Front Headphone: is tagged by udev as: Switch
[22:54:51.169] event10 - not using input device '/dev/input/event10'
[22:54:51.173] event3 - HD-Audio Generic Rear Mic: is tagged by udev as: Switch
[22:54:51.174] event3 - not using input device '/dev/input/event3'
[22:54:51.178] event4 - HD-Audio Generic Front Mic: is tagged by udev as: Switch
[22:54:51.179] event4 - not using input device '/dev/input/event4'
[22:54:51.183] event5 - HD-Audio Generic Line: is tagged by udev as: Switch
[22:54:51.185] event5 - not using input device '/dev/input/event5'
[22:54:51.189] event6 - HD-Audio Generic Line Out Front: is tagged by udev as: Switch
[22:54:51.190] event6 - not using input device '/dev/input/event6'
[22:54:51.194] event7 - HD-Audio Generic Line Out Surround: is tagged by udev as: Switch
[22:54:51.195] event7 - not using input device '/dev/input/event7'
[22:54:51.200] event8 - HD-Audio Generic Line Out CLFE: is tagged by udev as: Switch
[22:54:51.201] event8 - not using input device '/dev/input/event8'
[22:54:51.205] event9 - HD-Audio Generic Line Out Side: is tagged by udev as: Switch
[22:54:51.206] event9 - not using input device '/dev/input/event9'
[22:54:51.218] libinput: configuring device "Power Button".
[22:54:51.218] libinput: configuring device "DELL Dell QuietKey Keyboard".
[22:54:51.218] libinput: configuring device "Logitech Optical USB Mouse".
[22:54:51.249] DRM: head 'DP-1' found, connector 50 is disconnected.
[22:54:51.405] DRM: head 'VGA-1' found, connector 53 is connected, EDID make 'PTS', model 'CY-767C', serial 'FGZJ39012870'
Supported EOTF modes: SDR
[22:54:51.406] DRM: head 'HDMI-A-1' found, connector 55 is disconnected.
[22:54:51.406] Registered plugin API 'weston_drm_output_api_v1' of size 20
[22:54:51.406] Registered plugin API 'weston_drm_virtual_output_api_v2' of size 24
[22:54:51.406] Color manager: no-op
[22:54:51.407] Output 'VGA-1' attempts EOTF mode: SDR
[22:54:51.407] Output 'VGA-1' using color profile: built-in default sRGB SDR profile
[22:54:51.407] Chosen EGL config details: id: 49 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[22:54:51.407] Output VGA-1 (crtc 42) video modes:
1280x1024@75.0, current, 135.0 MHz
1280x1024@60.0, 108.0 MHz
1024x768@75.0, 78.8 MHz
1024x768@70.1, 75.0 MHz
1024x768@60.0, 65.0 MHz
832x624@74.6, 57.3 MHz
800x600@75.0, 49.5 MHz
800x600@72.2, 50.0 MHz
800x600@60.3, 40.0 MHz
800x600@56.2, 36.0 MHz
640x480@75.0, 31.5 MHz
640x480@72.8, 31.5 MHz
640x480@66.7, 30.2 MHz
640x480@59.9, 25.2 MHz
720x405@70.0, 26.5 MHz
720x400@70.1, 28.3 MHz
640x400@70.0, 23.4 MHz
640x360@70.1, 20.6 MHz
[22:54:51.407] associating input device event0 with output VGA-1 (none by udev)
[22:54:51.407] associating input device event11 with output VGA-1 (none by udev)
[22:54:51.407] associating input device event12 with output VGA-1 (none by udev)
[22:54:51.407] Output 'VGA-1' enabled with head(s) VGA-1
[22:54:51.407] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[22:54:51.408] Loading module '/usr/lib/i386-linux-gnu/weston/desktop-shell.so'
[22:54:51.409] Loading module '/usr/lib/i386-linux-gnu/weston/systemd-notify.so'
[22:54:51.410] launching '/usr/lib/i386-linux-gnu/weston-keyboard'
[22:54:51.419] launching '/usr/lib/i386-linux-gnu/weston-desktop-shell'
weston: ../libweston/output-capture.c:398: weston_output_pull_capture_task: Assertion `csi->width == width' failed.
Failed to process Wayland connection: Connection reset by peer
failed to create display: Connection reset by peer
Failed to process Wayland connection: Connection reset by peer
failed to create display: Connection reset by peer
Aborted (core dumped)
```
The backtrace looks like below:
```
(gdb) bt
#0 0xf7f26579 in __kernel_vsyscall ()
#1 0xf7c89857 in __pthread_kill_implementation (threadid=threadid@entry=4159829248, signo=signo@entry=6, no_tid=no_tid@entry=0)
at ./nptl/pthread_kill.c:43
#2 0xf7c898cb in __pthread_kill_internal (signo=6, threadid=4159829248) at ./nptl/pthread_kill.c:78
#3 0xf7c39691 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4 0xf7c2227a in __GI_abort () at ./stdlib/abort.c:79
#5 0xf7c2217c in __assert_fail_base (fmt=<optimized out>, assertion=<optimized out>, file=<optimized out>, line=<optimized out>,
function=<optimized out>) at ./assert/assert.c:92
#6 0xf7c31bf9 in __assert_fail (assertion=0xf7ec4cfc "csi->width == width", file=0xf7ec4c78 "../libweston/output-capture.c", line=398,
function=0xf7ec9cc0 <__PRETTY_FUNCTION__.3> "weston_output_pull_capture_task") at ./assert/assert.c:101
#7 0xf7eb106f in weston_output_pull_capture_task (output=0x57d907e0, src=WESTON_OUTPUT_CAPTURE_SOURCE_WRITEBACK, width=1280, height=1024,
format=0xf7eebcc0 <pixel_format_table+1760>) at ../libweston/output-capture.c:398
#8 0xf710d7f8 in drm_output_pick_writeback_capture_task (output=0x57d907e0) at ../libweston/backend-drm/drm.c:556
#9 drm_output_repaint (output_base=0x57d907e0, damage=0xffef4308) at ../libweston/backend-drm/drm.c:639
#10 0xf7e9fa16 in weston_output_repaint (output=0x57d907e0) at ../libweston/compositor.c:3115
#11 weston_output_maybe_repaint (now=0xffef42d0, output=0x57d907e0) at ../libweston/compositor.c:3186
#12 output_repaint_timer_handler (data=0x57860b90) at ../libweston/compositor.c:3267
#13 0xf7e60f1f in wl_event_loop_dispatch () from /lib/i386-linux-gnu/libwayland-server.so.0
#14 0xf7e5e434 in wl_display_run () from /lib/i386-linux-gnu/libwayland-server.so.0
#15 0xf7f0c891 in wet_main () from /usr/lib/i386-linux-gnu/weston/libexec_weston.so.0
#16 0x5657b08a in ?? ()
#17 0xf7c237c5 in __libc_start_call_main (main=main@entry=0x5657b060, argc=argc@entry=1, argv=argv@entry=0xffef4bd4)
at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0xf7c23888 in __libc_start_main_impl (main=0x5657b060, argc=1, argv=0xffef4bd4, init=0x0, fini=0x0, rtld_fini=0xf7f2cca0 <_dl_fini>,
stack_end=0xffef4bcc) at ../csu/libc-start.c:360
#19 0x5657b0c7 in ?? ()
```
[`(gdb) t a a bt f`](/uploads/aa2a9858125c1cec355a1bf580cd2e29/weston-taabtf.txt)https://gitlab.freedesktop.org/wayland/weston/-/issues/807unable to bind rdp socket2023-09-05T11:14:35ZKjeld Flarupunable to bind rdp socketWhen I start rdp-backend on my Yocto imx8 system, I get these listings in syslog
```
# journalctl -b | grep rdp
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.198] Command line: /usr/bin/weston --backend=rdp-backend.so --shell=fulls...When I start rdp-backend on my Yocto imx8 system, I get these listings in syslog
```
# journalctl -b | grep rdp
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.198] Command line: /usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.208] Loading module '/usr/lib/libweston-10/rdp-backend.so'
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.401] Registered plugin API 'weston_rdp_output_api_v1' of size 8
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.401] Output 'rdp' using color profile: built-in default sRGB SDR profile
Aug 31 13:08:05 iE250-0d02f9 weston[871]: [13:08:05.401] Output 'rdp' enabled with head(s) rdp
Aug 31 13:08:05 iE250-0d02f9 weston[872]: [13:08:05.440] Command line: /usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
Aug 31 13:08:05 iE250-0d02f9 weston[872]: [13:08:05.441] Loading module '/usr/lib/libweston-10/rdp-backend.so'
Aug 31 13:08:05 iE250-0d02f9 weston[872]: [13:08:05.489] unable to bind rdp socket
Aug 31 13:08:05 iE250-0d02f9 weston[873]: [13:08:05.533] Command line: /usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
Aug 31 13:08:05 iE250-0d02f9 weston[873]: [13:08:05.534] Loading module '/usr/lib/libweston-10/rdp-backend.so'
Aug 31 13:08:05 iE250-0d02f9 weston[873]: [13:08:05.545] unable to bind rdp socket
```
What I can see it that weston forks twice, and these two forks each tries to start RDP, but only the parent succeeds on this.
I assume that "unable to bind rdp socket" is ignorable.