Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

chrt: failed to set pid policy: Operation not permitted

Featured Replies

$ stress -c 1 -t 60 &
[1] 2578
$ sudo chrt -r -p 95 2578
chrt: failed to set pid 2578's policy: Operation not permitted

Why this doesn't work? My actual problem is that Jack Audio can't use real-time scheduling, but this example should demonstrate that there is a general problem probably. (getting  ERROR: Cannot use real-time scheduling (RR/10) (1: Operation not permitted), ERROR: AcquireSelfRealTime error)

 

$ uname -a
Linux odroidc2 6.6.16-current-meson64 #1 SMP PREEMPT Mon Feb  5 20:14:39 UTC 2024 aarch64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Armbian 24.2.1 bookworm
Release:        12
Codename:       bookworm

 

Edited by Rado Buransky

  • Author

After hours of trying I found this solution: 

 

I wasn't able to set the kernel variable using armbian-config but I created new file "/etc/sysctl.d/50-my-app.conf" and added "kernel.sched_rt_runtime_us=-1" to it. Rebooted and it works.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.