CAP_SYS_NICE for sway


I got a question about CAP_SYS_NICE, which seemingly will be enabled by default for sway soon.

After reading a bit about this on the internet, I still don’t really get if this is a big deal or not for sway. Does someone have any insight about this?

I know at least for Mutter in GNOME it can improve performance of the compositor being able to have higher priority.

As for sway idk enough about sway to say how this will effect it, but likely it’ll see similar benefits

That seems to be right. Found this right now in the initial suggestion.

GPU-limited gaming (Final Fantasy XIV via Wine) on one monitor while having moving content open on a secondary monitor (e.g. video playing on Firefox). My game frequently stuttered until I ran # setcap 'cap_sys_nice=eip' /usr/bin/sway.