@2ffa8eb4 did you know that the Vulkan and EGL API provide means to have higher priority contexts and some graphics DRM drivers use CAP_SYS_NICE to guard that. This feature is commonly used by desktop compositors and although there were multiple attempts, we are yet to find a cleaner solution
@5c3ed154 CAP_SYS_NICE is wrong tool for the job. use RLIMIT_NICE instead. I guess we could just raise that level to all session logging in via pam_systemd, so that they maybe can acquire nice level -5 without any complications if they like