The kwin_wayland real-time scheduler requires CAP_SYS_NICE
This was recently discovered and fixed in fedora: https://social.treehouse.systems/@janne/112384735049608967 and https://src.fedoraproject.org/rpms/kwin/c/dde5443f19fc50845e92f6d95bbed02251b5289f?branch=rawhide
I believe we have the same problem in our package. The requirement was initially introduced upstream in https://github.com/KDE/kwin/commit/7c8003f7f6212ccad7de652943f94d501365d30f
Interestingly we do set CAP_SYS_RESOURCE which neither upstream nor other distributions seem to do. I wonder if we can drop this one.