# \[ARCH\] Noob error: Couldn't set realtime scheduling priority 1

**URL:** <https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991>\
**Category:** TidalCycles\
**Tags:** installation\
**Created:** [9 April 2022 03:01 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991 "2022-04-09T03:01:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![defnlife](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@defnlife](https://uzu.lurk.org/u/defnlife)\
**Post date:** [9 April 2022 03:01 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991/1 "2022-04-09T03:01:03Z")

</div>

So I'm getting this output when I run sclang:

```haskell
Info: 4 methods are currently overwritten by extensions. To see which, execute:
MethodOverride.printAll

compile done
localhost : setting clientID to 0.
internal : setting clientID to 0.
Couldn't set realtime scheduling priority 1: Operation not permitted
Class tree inited in 0.01 seconds

***Welcome to SuperCollider 3.12.2.*** For help type ctrl-c ctrl-h (Emacs) or :SChelp (vim) or ctrl-U (sced/gedit).
Couldn't set realtime scheduling priority 1: Operation not permitted
sc3>

```

I played around with the qjackctl app to see what worked but still no idea what I'm looking for or what to fiddle around with. I run sclang again when jack is running but I get the same error.

I'm usually good at figuring this kind of thing out, and I've been able to fix every error in programs when they pop up, but not this one.

I appreciate any input

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [9 April 2022 11:14 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991/2 "2022-04-09T11:14:48Z")

</div>

This is because you aren't using a real-time scheduler in your kernel.

This will probably help:  
[https://wiki.archlinux.org/title/Realtime\_kernel\_patchset](https://wiki.archlinux.org/title/Realtime_kernel_patchset)

---

<div class="post-metadata">

**Author:** ![defnlife](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/d/90db22/32.png) [@defnlife](https://uzu.lurk.org/u/defnlife)\
**Post date:** [9 April 2022 18:06 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991/3 "2022-04-09T18:06:10Z")

</div>

Thanks, I added the kernel and updated using -Syyu.

I don't see any changes sadly. No sound. Etc.

I get the same errors. Is there anything I should change in a file or something so that the scheduling priority is modified?

Also: any idea on what the qjackctl settings should be?

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [10 April 2022 06:23 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991/4 "2022-04-10T06:23:09Z")

</div>

Sorry I'm not familiar enough with arch tomknow how they do their kernel management.

No sound/Qjackctl is a different matter though - this error shouldn't affect whether or not you get sound.

In Qjackctl you need to tell it what device you want to output sound to (default is usually a good guess), then start the JACK server.  
Once JACK is running, start supercollider and make sure it appears in the JACK connections dialog, and is outputting to the device you specified (should have a line running from sc on the left to the device on right)

---

<div class="post-metadata">

**Author:** ![zygbot](https://uzu.lurk.org/user_avatar/uzu.lurk.org/zygbot/32/2238_2.png) [@zygbot](https://uzu.lurk.org/u/zygbot)\
**Post date:** [18 April 2022 10:45 UTC](https://uzu.lurk.org/t/arch-noob-error-couldnt-set-realtime-scheduling-priority-1/3991/5 "2022-04-18T10:45:23Z")

</div>

@defnlife In terms of realtime scheduling on arch, I ran into the same problem when installing recently. This article helped me set it up properly (with Jack).

> **[How do I configure my linux system to allow JACK to use realtime scheduling?...](https://jackaudio.org/faq/linux_rt_config.html)**
>
> JACK Audio Connection Kit | How do I configure my linux system to allow JACK to use realtime scheduling?

Hope it helps!
