Wayland/weston, Qt and RDP connection...

Marius Vlad marius.vlad at collabora.com
Wed Jan 18 12:40:59 UTC 2023


On Wed, Jan 18, 2023 at 12:12:43PM +0000, Matti Ristimäki wrote:
> Hi,
Hi,
> 
> 
> 
> Thanks for the reply!
> 
> 
> 
> Of course in our embedded system the CPX Control Panel(Qt)  works normally via (HDMI) without any problems. And when it is running, it uses WAYLAND_DISPLAY=wayland-0 and DRM back-end.
> 
> 
> 
> 
> 
> Question:
> 
> 
> 
> One shall never start the "second" Weston if screen sharing is desired, only the screen-share plugin in the "first" Weston can do that.
> 
> 
> 
> For some reason, the rdp-backend is not started even if the screen-share.so' module is loaded?
> 
> I’m just missing some RDP related configuration in the weston.ini…?
You need at least weston 10, for that start-on-startup to work.
Otherwise you'll have to perform Mod+Alt+s on the keyboard to start 
screen sharing.
> 
> 
> 
> 
> 
> Here is two test using CPX Control Panel(Qt) and weston-simple-egl.
> 
> 
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> Testing with CPX Control Panel(Qt)
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> root at sm2s-imx8mp:~# ls -la /run/user/0/
> 
> total 48
> 
> drwx------ 3 root root   140 Jan 18 10:57 .
> 
> drwxr-xr-x 3 root root    60 Jan 18 10:09 ..
> 
> srw-rw-rw- 1 root root     0 Jan 18 10:09 bus
> 
> drwxr-xr-x 4 root root   120 Jan 18 10:09 systemd
> 
> srwxr-xr-x 1 root root     0 Jan 18 10:57 wayland-0
> 
> -rw-r----- 1 root root     0 Jan 18 10:46 wayland-0.lock
> 
> -rw-r--r-- 1 root root 45744 Jan 18 10:57 weston.log
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> root at sm2s-imx8mp:/opt/cpx# systemctl status cpx
> 
> ● cpx.service - Planmeca Dental Unit CPX Control Panel
> 
>      Loaded: loaded (/lib/systemd/system/cpx.service; enabled; vendor preset: enabled)
> 
>      Active: active (running) since Wed 2023-01-18 12:28:02 CET; 11s ago
> 
>    Main PID: 1424 (cpx.sh)
> 
>       Tasks: 13 (limit: 880)
> 
>      Memory: 44.5M
> 
>      CGroup: /system.slice/cpx.service
> 
>              ├─1424 /bin/bash /opt/cpx/cpx.sh
> 
>              └─1428 ./cpx --rotate=0
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> root at sm2s-imx8mp:/opt/cpx# tail -f /run/user/0/weston.log
> 
> [12:27:59.698] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
> 
> [12:27:59.698] Compositor capabilities:
> 
>                arbitrary surface rotation: yes
> 
>                screen capture uses y-flip: yes
> 
>                presentation clock: CLOCK_MONOTONIC, id 1
> 
>                presentation clock resolution: 0.000000001 s
> 
> [12:27:59.699] Loading module '/usr/lib/weston/kiosk-shell.so'
> 
> [12:27:59.700] Loading module '/usr/lib/weston/screen-share.so'
> 
> [12:27:59.700] Loading module '/usr/lib/weston/systemd-notify.so'
> 
> [12:27:59.700] info: add 1 socket(s) provided by systemd
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> CPX Control Panel starts normally, but the rdp-backend is not started even if the screen-share.so' module is loaded.
> 
> 
> 
> 
> 
> [cid:image001.png at 01D92B46.ED2859D0]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> Testing with weston-simple-egl
> 
> 
> 
> When starting weston-simple-egl, it runs normally as well using drm. (And also screen-share.so is running.)
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> root at sm2s-imx8mp:~# ls -la /run/user/0/
> 
> total 48
> 
> drwx------ 3 root root   140 Jan 18 10:57 .
> 
> drwxr-xr-x 3 root root    60 Jan 18 10:09 ..
> 
> srw-rw-rw- 1 root root     0 Jan 18 10:09 bus
> 
> drwxr-xr-x 4 root root   120 Jan 18 10:09 systemd
> 
> srwxr-xr-x 1 root root     0 Jan 18 10:57 wayland-0
> 
> -rw-r----- 1 root root     0 Jan 18 10:46 wayland-0.lock
> 
> -rw-r--r-- 1 root root 45744 Jan 18 10:57 weston.log
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> root at sm2s-imx8mp:/opt/cpx# systemctl status cpx
> 
> ● cpx.service - Planmeca Dental Unit CPX Control Panel
> 
>      Loaded: loaded (/lib/systemd/system/cpx.service; enabled; vendor preset: enabled)
> 
>      Active: active (running) since Wed 2023-01-18 10:57:30 CET; 16s ago
> 
>    Main PID: 1093 (cpx.sh)
> 
>       Tasks: 4 (limit: 880)
> 
>      Memory: 8.9M
> 
>      CGroup: /system.slice/cpx.service
> 
>              ├─1093 /bin/bash /opt/cpx/cpx.sh
> 
>              └─1097 /usr/bin/weston-simple-egl
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> [10:57:06.193] weston 9.0.0
> 
>                https://wayland.freedesktop.org
> 
>                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
> 
>               Build: 9.0.0
> 
> [10:57:06.194] Command line: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so
> 
> [10:57:06.194] OS: Linux, 5.10.35-lts-5.10.y+g0eccd203234b, #1 SMP PREEMPT Wed Nov 23 08:33:43 UTC 2022, aarch64
> 
> [10:57:06.194] Using config file '/etc/xdg/weston/weston.ini'
> 
> [10:57:06.194] Output repaint window is 16 ms maximum.
> 
> [10:57:06.194] Loading module '/usr/lib/libweston-9/drm-backend.so'
> 
> [10:57:06.199] initializing drm backend
> 
> [10:57:06.204] logind: session control granted
> 
> [10:57:06.210] using /dev/dri/card1
> 
> [10:57:06.210] DRM: supports atomic modesetting
> 
> [10:57:06.210] DRM: does not support GBM modifiers
> 
> [10:57:06.210] DRM: supports picture aspect ratio
> 
> [10:57:06.210] Loading module '/usr/lib/libweston-9/gl-renderer.so'
> 
> 
> 
> .
> 
> .
> 
> .
> 
> 
> 
> [10:57:06.399] DRM: head 'HDMI-A-1' found, connector 35 is connected, EDID make 'LNX', model 'Linux SVGA', serial 'Linux #0'
> 
> [10:57:06.399] Registered plugin API 'weston_drm_output_api_v1' of size 24
> 
> [10:57:06.401] Chosen EGL config details: id:  51 rgba: 8 8 8 8 buf: 32 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: ARGB8888 (0x34325241)
> 
> [10:57:06.401] Output HDMI-A-1 (crtc 33) video modes:
> 
>                800x600 at 60.3<mailto:800x600 at 60.3>, preferred, current, 40.0 MHz
> 
> [10:57:06.401] associating input device event0 with output HDMI-A-1 (none by udev)
> 
> [10:57:06.401] associating input device event1 with output HDMI-A-1 (none by udev)
> 
> [10:57:06.402] associating input device event2 with output HDMI-A-1 (none by udev)
> 
> [10:57:06.402] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
> 
> [10:57:06.402] Compositor capabilities:
> 
>                arbitrary surface rotation: yes
> 
>                screen capture uses y-flip: yes
> 
>                presentation clock: CLOCK_MONOTONIC, id 1
> 
>                presentation clock resolution: 0.000000001 s
> 
> [10:57:06.402] Loading module '/usr/lib/weston/kiosk-shell.so'
> 
> [10:57:06.403] Loading module '/usr/lib/weston/screen-share.so'
> 
> [10:57:06.403] Loading module '/usr/lib/weston/systemd-notify.so'
> 
> [10:57:06.404] info: add 1 socket(s) provided by systemd
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> 
> weston-simple-egl starts normally, but the rdp-backend is not started even if the screen-share.so' module is loaded.
> 
> 
> 
> 
> 
> [cid:image002.png at 01D92B36.3B357DD0]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> 
> 
> 
> BR,
> 
> 
> 
> -Matti
> 
> 
> 
> 
> 
> This e-mail may contain confidential or privileged information and is intended solely for the person to whom it is addressed. If you have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from the alteration of this e-mail, or as a result of any virus being passed on or as of transmission of this e-mail in general.




> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> root at sm2s-imx8mp:~# ls -la /run/user/0/
> total 60
> drwx------ 3 root root   140 Jan 18 12:27 .
> drwxr-xr-x 3 root root    60 Jan 18 10:09 ..
> srw-rw-rw- 1 root root     0 Jan 18 10:09 bus
> drwxr-xr-x 4 root root   120 Jan 18 10:09 systemd
> srwxr-xr-x 1 root root     0 Jan 18 12:27 wayland-0
> -rw-r----- 1 root root     0 Jan 18 10:46 wayland-0.lock
> -rw-r--r-- 1 root root 60422 Jan 18 12:27 weston.log
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> root at sm2s-imx8mp:/opt/cpx# systemctl status cpx
> ??? cpx.service - Planmeca Dental Unit CPX Control Panel
>      Loaded: loaded (/lib/systemd/system/cpx.service; enabled; vendor preset: enabled)
>      Active: active (running) since Wed 2023-01-18 12:28:02 CET; 11s ago
>    Main PID: 1424 (cpx.sh)
>       Tasks: 13 (limit: 880)
>      Memory: 44.5M
>      CGroup: /system.slice/cpx.service
>              ??????1424 /bin/bash /opt/cpx/cpx.sh
>              ??????1428 ./cpx --rotate=0
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> [12:27:59.490] weston 9.0.0
>                https://wayland.freedesktop.org
>                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
>                Build: 9.0.0
> [12:27:59.491] Command line: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so
> [12:27:59.491] OS: Linux, 5.10.35-lts-5.10.y+g0eccd203234b, #1 SMP PREEMPT Wed Nov 23 08:33:43 UTC 2022, aarch64
> [12:27:59.491] Using config file '/etc/xdg/weston/weston.ini'
> [12:27:59.491] Output repaint window is 16 ms maximum.
> [12:27:59.491] Loading module '/usr/lib/libweston-9/drm-backend.so'
> [12:27:59.496] initializing drm backend
> [12:27:59.501] logind: session control granted
> [12:27:59.507] using /dev/dri/card1
> [12:27:59.507] DRM: supports atomic modesetting
> [12:27:59.507] DRM: does not support GBM modifiers
> [12:27:59.507] DRM: supports picture aspect ratio
> [12:27:59.507] Loading module '/usr/lib/libweston-9/gl-renderer.so'
> [12:27:59.513] EGL client extensions: EGL_EXT_client_extensions
>                EGL_EXT_platform_base EGL_KHR_platform_wayland
>                EGL_EXT_platform_wayland EGL_KHR_platform_gbm
> [12:27:59.516] EGL version: 1.5
> [12:27:59.516] EGL vendor: Vivante Corporation
> [12:27:59.516] EGL client APIs: OpenGL_ES
> [12:27:59.516] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync
>                EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
>                EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
>                EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
>                EGL_EXT_image_dma_buf_import
>                EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface
>                EGL_KHR_create_context EGL_KHR_no_config_context
>                EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses
>                EGL_EXT_create_context_robustness EGL_EXT_protected_surface
>                EGL_EXT_protected_content EGL_EXT_buffer_age
>                EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display
>                EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update
>                EGL_EXT_swap_buffers_with_damage
>                EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
> [12:27:59.516] EGL_KHR_surfaceless_context available
> [12:27:59.520] GL version: OpenGL ES 3.1 V6.4.3.p2.336687
> [12:27:59.520] GLSL version: OpenGL ES GLSL ES 3.10
> [12:27:59.520] GL vendor: Vivante Corporation
> [12:27:59.520] GL renderer: Vivante GC7000UL
> [12:27:59.520] GL extensions: GL_OES_vertex_type_10_10_10_2
>                GL_OES_vertex_half_float GL_OES_element_index_uint
>                GL_OES_mapbuffer GL_OES_vertex_array_object
>                GL_OES_compressed_ETC1_RGB8_texture
>                GL_OES_compressed_paletted_texture GL_OES_texture_npot
>                GL_OES_rgb8_rgba8 GL_OES_depth_texture
>                GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
>                GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
>                GL_OES_get_program_binary GL_OES_fragment_precision_high
>                GL_OES_standard_derivatives GL_OES_EGL_image
>                GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
>                GL_OES_EGL_sync GL_OES_texture_stencil8
>                GL_OES_shader_image_atomic
>                GL_OES_texture_storage_multisample_2d_array
>                GL_OES_required_internalformat GL_OES_surfaceless_context
>                GL_OES_draw_buffers_indexed GL_OES_texture_border_clamp
>                GL_OES_texture_buffer GL_OES_texture_cube_map_array
>                GL_OES_draw_elements_base_vertex GL_OES_texture_half_float
>                GL_OES_texture_float GL_KHR_blend_equation_advanced
>                GL_KHR_debug GL_KHR_robustness
>                GL_KHR_robust_buffer_access_behavior
>                GL_EXT_texture_type_2_10_10_10_REV
>                GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
>                GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra
>                GL_EXT_multi_draw_arrays GL_EXT_frag_depth
>                GL_EXT_discard_framebuffer GL_EXT_blend_minmax
>                GL_EXT_multisampled_render_to_texture
>                GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float
>                GL_EXT_robustness GL_EXT_texture_sRGB_decode
>                GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp
>                GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
>                GL_EXT_multi_draw_indirect GL_EXT_draw_elements_base_vertex
>                GL_EXT_texture_rg GL_EXT_protected_textures GL_EXT_sRGB
>                GL_VIV_direct_texture
> [12:27:59.521] GL ES 2 renderer features:
>                read-back format: BGRA
>                wl_shm sub-image to texture: yes
>                EGL Wayland extension: yes
> [12:27:59.533] event0  - 30370000.snvs:snvs-powerkey: is tagged by udev as: Keyboard
> [12:27:59.533] event0  - 30370000.snvs:snvs-powerkey: device is a keyboard
> [12:27:59.602] event1  - NHD Newhaven Display : is tagged by udev as: Touchscreen
> [12:27:59.603] event1  - NHD Newhaven Display : device is a touch device
> [12:27:59.670] event2  - Logitech USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
> [12:27:59.671] event2  - Logitech USB-PS/2 Optical Mouse: device is a pointer
> [12:27:59.676] event3  - audio-hdmi HDMI Jack: is tagged by udev as: Switch
> [12:27:59.677] event3  - not using input device '/dev/input/event3'
> [12:27:59.694] libinput: configuring device "30370000.snvs:snvs-powerkey".
> [12:27:59.694] Touchscreen - NHD Newhaven Display  - /sys/devices/platform/soc at 0/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:0461:0022.0001/input/input1/event1
> [12:27:59.695] libinput: configuring device "NHD Newhaven Display ".
> [12:27:59.695] input device event1 has no enabled output associated (none named), skipping calibration for now.
> [12:27:59.695] libinput: configuring device "Logitech USB-PS/2 Optical Mouse".
> [12:27:59.695] DRM: head 'HDMI-A-1' found, connector 35 is connected, EDID make 'LNX', model 'Linux SVGA', serial 'Linux #0'
> [12:27:59.696] Registered plugin API 'weston_drm_output_api_v1' of size 24
> [12:27:59.697] Chosen EGL config details: id:  51 rgba: 8 8 8 8 buf: 32 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: ARGB8888 (0x34325241)
> [12:27:59.697] Output HDMI-A-1 (crtc 33) video modes:
>                800x600 at 60.3, preferred, current, 40.0 MHz
> [12:27:59.697] associating input device event0 with output HDMI-A-1 (none by udev)
> [12:27:59.697] associating input device event1 with output HDMI-A-1 (none by udev)
> [12:27:59.698] associating input device event2 with output HDMI-A-1 (none by udev)
> [12:27:59.698] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
> [12:27:59.698] Compositor capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
>                presentation clock: CLOCK_MONOTONIC, id 1
>                presentation clock resolution: 0.000000001 s
> [12:27:59.699] Loading module '/usr/lib/weston/kiosk-shell.so'
> [12:27:59.700] Loading module '/usr/lib/weston/screen-share.so'
> [12:27:59.700] Loading module '/usr/lib/weston/systemd-notify.so'
> [12:27:59.700] info: add 1 socket(s) provided by systemd
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> weston.ini
> 
> [core]
> gbm-format=argb8888
> idle-time=0
> use-g2d=0
> repaint-window=16
> enable-overlay-view=0
> shell=kiosk-shell.so
> modules=screen-share.so
> 
> [shell]
> panel-position=none
> background-color=0xff90a4ae
> 
> [libinput]
> touchscreen_calibrator=true
> 
> [input-method]
> path=/usr/libexec/weston-keyboard
> 
> [output]
> name=HDMI-A-1
> mode=1920x1080 at 60
> transform=rotate-270
> 
> #[output]
> #name=LVDS-1
> #transform=rotate-270
> 
> [screen-share]
> command=/usr/bin/weston --backend=rdp-backend.so --rdp-tls-cert=/data/etc/ssh/tls.crt --rdp-tls-key=/data/etc/ssh/tls.key --shell=fullscreen-shell.so --no-clients-resize --no-config
> start-on-startup=true
> 
> start-on-startup=true
> 
> 
> ---------------------------------------------------------------------------------------

> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> root at sm2s-imx8mp:~# ls -la /run/user/0/
> total 48
> drwx------ 3 root root   140 Jan 18 10:57 .
> drwxr-xr-x 3 root root    60 Jan 18 10:09 ..
> srw-rw-rw- 1 root root     0 Jan 18 10:09 bus
> drwxr-xr-x 4 root root   120 Jan 18 10:09 systemd
> srwxr-xr-x 1 root root     0 Jan 18 10:57 wayland-0
> -rw-r----- 1 root root     0 Jan 18 10:46 wayland-0.lock
> -rw-r--r-- 1 root root 45744 Jan 18 10:57 weston.log
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> root at sm2s-imx8mp:/opt/cpx# systemctl status cpx
> ??? cpx.service - Planmeca Dental Unit CPX Control Panel
>      Loaded: loaded (/lib/systemd/system/cpx.service; enabled; vendor preset: enabled)
>      Active: active (running) since Wed 2023-01-18 10:57:30 CET; 16s ago
>    Main PID: 1093 (cpx.sh)
>       Tasks: 4 (limit: 880)
>      Memory: 8.9M
>      CGroup: /system.slice/cpx.service
>              ??????1093 /bin/bash /opt/cpx/cpx.sh
>              ??????1097 /usr/bin/weston-simple-egl
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> [10:57:06.193] weston 9.0.0
>                https://wayland.freedesktop.org
>                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
>                Build: 9.0.0
> [10:57:06.194] Command line: /usr/bin/weston --log=/run/user/0/weston.log --modules=systemd-notify.so
> [10:57:06.194] OS: Linux, 5.10.35-lts-5.10.y+g0eccd203234b, #1 SMP PREEMPT Wed Nov 23 08:33:43 UTC 2022, aarch64
> [10:57:06.194] Using config file '/etc/xdg/weston/weston.ini'
> [10:57:06.194] Output repaint window is 16 ms maximum.
> [10:57:06.194] Loading module '/usr/lib/libweston-9/drm-backend.so'
> [10:57:06.199] initializing drm backend
> [10:57:06.204] logind: session control granted
> [10:57:06.210] using /dev/dri/card1
> [10:57:06.210] DRM: supports atomic modesetting
> [10:57:06.210] DRM: does not support GBM modifiers
> [10:57:06.210] DRM: supports picture aspect ratio
> [10:57:06.210] Loading module '/usr/lib/libweston-9/gl-renderer.so'
> [10:57:06.216] EGL client extensions: EGL_EXT_client_extensions
>                EGL_EXT_platform_base EGL_KHR_platform_wayland
>                EGL_EXT_platform_wayland EGL_KHR_platform_gbm
> [10:57:06.219] EGL version: 1.5
> [10:57:06.219] EGL vendor: Vivante Corporation
> [10:57:06.219] EGL client APIs: OpenGL_ES
> [10:57:06.219] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync
>                EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
>                EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
>                EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
>                EGL_EXT_image_dma_buf_import
>                EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface
>                EGL_KHR_create_context EGL_KHR_no_config_context
>                EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses
>                EGL_EXT_create_context_robustness EGL_EXT_protected_surface
>                EGL_EXT_protected_content EGL_EXT_buffer_age
>                EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display
>                EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update
>                EGL_EXT_swap_buffers_with_damage
>                EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float
> [10:57:06.219] EGL_KHR_surfaceless_context available
> [10:57:06.223] GL version: OpenGL ES 3.1 V6.4.3.p2.336687
> [10:57:06.223] GLSL version: OpenGL ES GLSL ES 3.10
> [10:57:06.223] GL vendor: Vivante Corporation
> [10:57:06.224] GL renderer: Vivante GC7000UL
> [10:57:06.224] GL extensions: GL_OES_vertex_type_10_10_10_2
>                GL_OES_vertex_half_float GL_OES_element_index_uint
>                GL_OES_mapbuffer GL_OES_vertex_array_object
>                GL_OES_compressed_ETC1_RGB8_texture
>                GL_OES_compressed_paletted_texture GL_OES_texture_npot
>                GL_OES_rgb8_rgba8 GL_OES_depth_texture
>                GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
>                GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
>                GL_OES_get_program_binary GL_OES_fragment_precision_high
>                GL_OES_standard_derivatives GL_OES_EGL_image
>                GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
>                GL_OES_EGL_sync GL_OES_texture_stencil8
>                GL_OES_shader_image_atomic
>                GL_OES_texture_storage_multisample_2d_array
>                GL_OES_required_internalformat GL_OES_surfaceless_context
>                GL_OES_draw_buffers_indexed GL_OES_texture_border_clamp
>                GL_OES_texture_buffer GL_OES_texture_cube_map_array
>                GL_OES_draw_elements_base_vertex GL_OES_texture_half_float
>                GL_OES_texture_float GL_KHR_blend_equation_advanced
>                GL_KHR_debug GL_KHR_robustness
>                GL_KHR_robust_buffer_access_behavior
>                GL_EXT_texture_type_2_10_10_10_REV
>                GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
>                GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra
>                GL_EXT_multi_draw_arrays GL_EXT_frag_depth
>                GL_EXT_discard_framebuffer GL_EXT_blend_minmax
>                GL_EXT_multisampled_render_to_texture
>                GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float
>                GL_EXT_robustness GL_EXT_texture_sRGB_decode
>                GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp
>                GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
>                GL_EXT_multi_draw_indirect GL_EXT_draw_elements_base_vertex
>                GL_EXT_texture_rg GL_EXT_protected_textures GL_EXT_sRGB
>                GL_VIV_direct_texture
> [10:57:06.224] GL ES 2 renderer features:
>                read-back format: BGRA
>                wl_shm sub-image to texture: yes
>                EGL Wayland extension: yes
> [10:57:06.236] event0  - 30370000.snvs:snvs-powerkey: is tagged by udev as: Keyboard
> [10:57:06.237] event0  - 30370000.snvs:snvs-powerkey: device is a keyboard
> [10:57:06.306] event1  - NHD Newhaven Display : is tagged by udev as: Touchscreen
> [10:57:06.307] event1  - NHD Newhaven Display : device is a touch device
> [10:57:06.374] event2  - Logitech USB-PS/2 Optical Mouse: is tagged by udev as: Mouse
> [10:57:06.375] event2  - Logitech USB-PS/2 Optical Mouse: device is a pointer
> [10:57:06.380] event3  - audio-hdmi HDMI Jack: is tagged by udev as: Switch
> [10:57:06.380] event3  - not using input device '/dev/input/event3'
> [10:57:06.398] libinput: configuring device "30370000.snvs:snvs-powerkey".
> [10:57:06.398] Touchscreen - NHD Newhaven Display  - /sys/devices/platform/soc at 0/32f10108.usb/38200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:0461:0022.0001/input/input1/event1
> [10:57:06.398] libinput: configuring device "NHD Newhaven Display ".
> [10:57:06.398] input device event1 has no enabled output associated (none named), skipping calibration for now.
> [10:57:06.398] libinput: configuring device "Logitech USB-PS/2 Optical Mouse".
> [10:57:06.399] DRM: head 'HDMI-A-1' found, connector 35 is connected, EDID make 'LNX', model 'Linux SVGA', serial 'Linux #0'
> [10:57:06.399] Registered plugin API 'weston_drm_output_api_v1' of size 24
> [10:57:06.401] Chosen EGL config details: id:  51 rgba: 8 8 8 8 buf: 32 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: ARGB8888 (0x34325241)
> [10:57:06.401] Output HDMI-A-1 (crtc 33) video modes:
>                800x600 at 60.3, preferred, current, 40.0 MHz
> [10:57:06.401] associating input device event0 with output HDMI-A-1 (none by udev)
> [10:57:06.401] associating input device event1 with output HDMI-A-1 (none by udev)
> [10:57:06.402] associating input device event2 with output HDMI-A-1 (none by udev)
> [10:57:06.402] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
> [10:57:06.402] Compositor capabilities:
>                arbitrary surface rotation: yes
>                screen capture uses y-flip: yes
>                presentation clock: CLOCK_MONOTONIC, id 1
>                presentation clock resolution: 0.000000001 s
> [10:57:06.402] Loading module '/usr/lib/weston/kiosk-shell.so'
> [10:57:06.403] Loading module '/usr/lib/weston/screen-share.so'
> [10:57:06.403] Loading module '/usr/lib/weston/systemd-notify.so'
> [10:57:06.404] info: add 1 socket(s) provided by systemd
> 
> 
> ---------------------------------------------------------------------------------------
> 
> 
> weston.ini
> 
> [core]
> gbm-format=argb8888
> idle-time=0
> use-g2d=0
> repaint-window=16
> enable-overlay-view=0
> shell=kiosk-shell.so
> modules=screen-share.so
> 
> [shell]
> panel-position=none
> background-color=0xff90a4ae
> 
> [libinput]
> touchscreen_calibrator=true
> 
> [input-method]
> path=/usr/libexec/weston-keyboard
> 
> [output]
> name=HDMI-A-1
> mode=1920x1080 at 60
> transform=rotate-270
> 
> #[output]
> #name=LVDS-1
> #transform=rotate-270
> 
> [screen-share]
> command=/usr/bin/weston --backend=rdp-backend.so --rdp-tls-cert=/data/etc/ssh/tls.crt --rdp-tls-key=/data/etc/ssh/tls.key --shell=fullscreen-shell.so --no-clients-resize --no-config
> start-on-startup=true
> 
> 
> 
> ---------------------------------------------------------------------------------------
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230118/43c454bd/attachment-0001.sig>


More information about the wayland-devel mailing list