On Mon, 16 Jan 2023 14:25:25 +0000 Matti Ristimäki <matti.ristim...@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@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
pgpAoDooXfPc_.pgp
Description: OpenPGP digital signature