Created attachment 211531 [details]
May improve stability for X11 applications. Chase ports r525681.
Disclaimer: I've never used KDE on FreeBSD, let alone with Wayland.
Thanks, we are in the process of trying to get plasma-wayland to work/test/use it -- so that may be integrated into that work.
Can you test plasma-wayland with an NVIDIA GPU? Apply the patch in bug 244087, enable NVIDIA option in x11-servers/xwayland-devel then check if hardware acceleration works in X11 applications.