Wayland/weston, Qt and RDP connection...

Pekka Paalanen ppaalanen at gmail.com
Tue Jan 17 15:02:18 UTC 2023


On Mon, 16 Jan 2023 14:25:25 +0000
Matti Ristimäki <Matti.Ristimaki at planmeca.com> wrote:

> Hi,
> 
> 
> 
> Ok, this might be the reason…
> 
> Your Qt app segfaults in the stand-alone RDP Weston instance case. We
> have no idea why that would be, when weston-smoke works. If it is
> because the app requires hardware accelerated OpenGL (or you use a
> proprietary EGL implementation), then it might still work with the
> DRM-backend. This is because the RDP-backend does not yet support
> hardware accelerated OpenGL or Vulkan apps. Normally apps will just
> fall back to Mesa's software renderer, but maybe your app needs
> something extra or maybe you are not using Mesa as your EGL etc.
> 
> 
> 
> ------------------------------------------------------------------------------------
> 
> Testing weston-simple-egl with RDP and HDMI-display
> 
> ------------------------------------------------------------------------------------
> 
> 
> 
> "Force driving" weston-simple-egl to RDP-weston session:
> (WAYLAND_DISPLAY=wayland-1)
> 
> 
> 
> Command:
> 
> 
> 
> WAYLAND_DISPLAY=wayland-1 weston-simple-egl
> 
> has EGL_EXT_buffer_age and EGL_EXT_swap_buffers_with_damage
> 
> Segmentation fault
> 
> 
> 
> Logging:
> 
> 
> 
> root at sm2s-imx8mp:~# journalctl -f
> 
> -- Journal begins at Mon 2023-01-16 09:50:23 CET. --
> 
> Jan 16 11:47:32 sm2s-imx8mp audit[1569]: ANOM_ABEND auid=0 uid=0
> gid=0 ses=5 pid=1569 comm="weston-simple-e"
> exe="/usr/bin/weston-simple-egl" sig=11 res=1
> 
> Jan 16 11:47:32 sm2s-imx8mp kernel: audit: type=1701
> audit(1673866052.888:25): auid=0 uid=0 gid=0 ses=5 pid=1569
> comm="weston-simple-e" exe="/usr/bin/weston-simple-egl" sig=11 res=1
> 
> 
> 
> Result:
> 
> 
> 
> Doesn't work.


Hi,

sure, but that's also irrelevant. You will not be running any
application on Weston/RDP when you want to use screen-share. You
will be running your apps on Weston/DRM, and if they work there,
then adding screen-share won't cause them to fail either.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230117/cf699921/attachment.sig>


More information about the wayland-devel mailing list