SCHED_RR on AGX Orin fails with Operation Not Permitted

I am in the process of porting our software from AGX Xavier to Orin. On the Xavier platform with Jetpack 4.6 we had no issue using SCHED_RR, but on Orin with Jetpack 5.1 it is failing with the error: Operation Not Permitted.

It appears that this issue is resolved if we switch to realtime kernel, however this was not necessary with Xavier. Is there a way to use SCHED_RR on Orin without using the realtime kernel?

Hi,
Doe it work if you run with sudo? Certain command may need root permission on K5.10, such as dmesg. On Jetpack 4, we can execute dmesg to get log, and have to execute sudo dmesg on Jetpack 5.

Thanks for the quick reply. It does not work with sudo.