Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] rtkit: doesn't work on musl
@ 2021-02-13 12:23 st3r4g
  2021-02-13 15:09 ` ericonr
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: st3r4g @ 2021-02-13 12:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 398 bytes --]

New issue by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728

Description:
`rtkit` is basically a dbus interface to `sched_setscheduler`, which is not implemented on musl.

Here is the reason why:
https://github.com/MusicPlayerDaemon/MPD/issues/218#issuecomment-364320830

So it seems it should be patched to use the `pthread_*` functions instead.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
@ 2021-02-13 15:09 ` ericonr
  2021-02-21  3:05 ` Logarithmus
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-02-13 15:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-778631902

Comment:
We might have to call the syscalls directly, I think. The functions it uses take a PID parameter, while pthread ones only allow you to act on your own process...

From the comments there, does this even work on glibc properly? Or does it end up applying the parameter to a single thread in the process?


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
  2021-02-13 15:09 ` ericonr
@ 2021-02-21  3:05 ` Logarithmus
  2021-02-21  3:05 ` Logarithmus
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21  3:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782787488

Comment:
It seems that the problem is both with `musl` & missing `CONFIG_RT_GROUP_SCHED` flag.

> Currently I'm investigating these stability issues with `pipewire`. It seems that `pipewire` is trying to use `rtkit` to make audio/video processing run in real time. Unfortunately, it fails to do so:
> ```
> 2020-11-16T03:49:59.73350 daemon.err: Nov 16 03:49:59 rtkit-daemon[3165]: Failed to make ourselves RT: Function not implemented
> 2020-11-16T03:49:59.73602 daemon.warn: Nov 16 03:49:59 rtkit-daemon[3165]: Warning: failed to read scheduler policy: Function not implemented
> 2020-11-16T03:49:59.73620 daemon.debug: Nov 16 03:49:59 rtkit-daemon[3165]: Supervising 0 threads of 0 processes of 1 users.
> 2020-11-16T03:49:59.73645 daemon.debug: Nov 16 03:49:59 rtkit-daemon[3165]: Supervising 0 threads of 0 processes of 1 users.
> 2020-11-16T03:49:59.74118 daemon.err: Nov 16 03:49:59 rtkit-daemon[3165]: Failed to make ourselves RT: Function not implemented
> ```
> After a bit of searching, I've found these bugs:
> https://bugzilla.redhat.com/show_bug.cgi?id=1229700
> https://bugs.gentoo.org/show_bug.cgi?id=569546
>
> I've built `linux5.9` for `x86_64` with `CONFIG_RT_GROUP_SCHED` disabled.
> For some strange reason, nothing changed, the error persists. Luckily, screen sharing works without `rtkit`.
> I guess that those rare issues with screen sharing, which were described above, may be caused by `rtkit` not working. 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
  2021-02-13 15:09 ` ericonr
  2021-02-21  3:05 ` Logarithmus
@ 2021-02-21  3:05 ` Logarithmus
  2021-02-21  8:35 ` st3r4g
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21  3:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782787488

Comment:
It seems that the problem is both with `musl` & missing `CONFIG_RT_GROUP_SCHED` kernel option.

> Currently I'm investigating these stability issues with `pipewire`. It seems that `pipewire` is trying to use `rtkit` to make audio/video processing run in real time. Unfortunately, it fails to do so:
> ```
> 2020-11-16T03:49:59.73350 daemon.err: Nov 16 03:49:59 rtkit-daemon[3165]: Failed to make ourselves RT: Function not implemented
> 2020-11-16T03:49:59.73602 daemon.warn: Nov 16 03:49:59 rtkit-daemon[3165]: Warning: failed to read scheduler policy: Function not implemented
> 2020-11-16T03:49:59.73620 daemon.debug: Nov 16 03:49:59 rtkit-daemon[3165]: Supervising 0 threads of 0 processes of 1 users.
> 2020-11-16T03:49:59.73645 daemon.debug: Nov 16 03:49:59 rtkit-daemon[3165]: Supervising 0 threads of 0 processes of 1 users.
> 2020-11-16T03:49:59.74118 daemon.err: Nov 16 03:49:59 rtkit-daemon[3165]: Failed to make ourselves RT: Function not implemented
> ```
> After a bit of searching, I've found these bugs:
> https://bugzilla.redhat.com/show_bug.cgi?id=1229700
> https://bugs.gentoo.org/show_bug.cgi?id=569546
>
> I've built `linux5.9` for `x86_64` with `CONFIG_RT_GROUP_SCHED` disabled.
> For some strange reason, nothing changed, the error persists. Luckily, screen sharing works without `rtkit`.
> I guess that those rare issues with screen sharing, which were described above, may be caused by `rtkit` not working. 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (2 preceding siblings ...)
  2021-02-21  3:05 ` Logarithmus
@ 2021-02-21  8:35 ` st3r4g
  2021-02-21  8:36 ` st3r4g
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-02-21  8:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782820458

Comment:
Well this is a different issue
>missing CONFIG_RT_GROUP_SCHED kernel option.

you mean enabled right? void has it enabled.

I've seen the warning against `CONFIG_RT_GROUP_SCHED` in the [jack faq](https://jackaudio.org/faq/linux_group_sched.html) but haven't experienced such a problem, both with `jack` on `x86_64-musl` and `pulseaudio`/`pipewire` on `x86_64`.

I'm letting `rtkit` start via dbus activation instead of manually enabling the service. Mayeb this could be the reason?

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (3 preceding siblings ...)
  2021-02-21  8:35 ` st3r4g
@ 2021-02-21  8:36 ` st3r4g
  2021-02-21  8:37 ` st3r4g
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-02-21  8:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782820458

Comment:
Well this is a different issue
>missing CONFIG_RT_GROUP_SCHED kernel option.

you mean enabled right? void has it enabled.

I've seen the warning against `CONFIG_RT_GROUP_SCHED` in the [jack faq](https://jackaudio.org/faq/linux_group_sched.html) but haven't experienced such a problem, both with `jack` on `x86_64-musl` and `pulseaudio`/`pipewire` on `x86_64`.

I'm letting `rtkit` start via dbus activation instead of manually enabling the service. Maybe this could be the reason?

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (4 preceding siblings ...)
  2021-02-21  8:36 ` st3r4g
@ 2021-02-21  8:37 ` st3r4g
  2021-02-21 13:15 ` Logarithmus
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-02-21  8:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782820458

Comment:
Well this is a different issue
>missing CONFIG_RT_GROUP_SCHED kernel option.

you mean enabled right? void has it enabled.

I've seen the warning against `CONFIG_RT_GROUP_SCHED` in the [jack faq](https://jackaudio.org/faq/linux_group_sched.html) but haven't experienced such a problem, both with `jack` on `x86_64-musl` and `pulseaudio`/`pipewire` on `x86_64`.

I'm letting `rtkit` start via dbus activation instead of manually enabling the service. Maybe this could be the reason somehow?

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (5 preceding siblings ...)
  2021-02-21  8:37 ` st3r4g
@ 2021-02-21 13:15 ` Logarithmus
  2021-02-21 13:16 ` Logarithmus
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21 13:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 586 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782856539

Comment:
@st3r4g yes, I mean that all major distros have this option disabled (because it interfers with `pulseaudio`, `jack` & `pipewire` in some way).
5 years ago Lennart Pottering himself asked it to be disabled in Fedora, lol: https://bugzilla.redhat.com/show_bug.cgi?id=1229700
But Void has it enabled. Some months ago I've built my own kernel without `CONFIG_RT_GROUP_SCHED`, but the error/warning persisted. I was testing on `x86_64-musl`.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (6 preceding siblings ...)
  2021-02-21 13:15 ` Logarithmus
@ 2021-02-21 13:16 ` Logarithmus
  2021-02-21 13:17 ` Logarithmus
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21 13:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782856539

Comment:
@st3r4g yes, I mean that all major distros have this option disabled (because it interfers with `pulseaudio`, `jack` & `pipewire` in some way). Fedora, Debian, Ubuntu, Arch, Manjaro, etc.
5 years ago Lennart Pottering himself asked it to be disabled in Fedora, lol: https://bugzilla.redhat.com/show_bug.cgi?id=1229700
But Void has it enabled. Some months ago I've built my own kernel without `CONFIG_RT_GROUP_SCHED`, but the error/warning persisted. I was testing on `x86_64-musl`.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (7 preceding siblings ...)
  2021-02-21 13:16 ` Logarithmus
@ 2021-02-21 13:17 ` Logarithmus
  2021-02-21 13:25 ` st3r4g
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21 13:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782856539

Comment:
@st3r4g yes, I mean that all major distros have this option disabled (because it interfers with `pulseaudio`, `jack` & `pipewire` in some way). Fedora, Debian, Ubuntu, Arch, Manjaro, etc.
5 years ago Lennart Poettering himself asked it to be disabled in Fedora, lol: https://bugzilla.redhat.com/show_bug.cgi?id=1229700
But Void has it enabled. Some months ago I've built my own kernel without `CONFIG_RT_GROUP_SCHED`, but the error/warning persisted. I was testing on `x86_64-musl`.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (8 preceding siblings ...)
  2021-02-21 13:17 ` Logarithmus
@ 2021-02-21 13:25 ` st3r4g
  2021-02-21 13:48 ` Logarithmus
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-02-21 13:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782857948

Comment:
> but the error/warning persisted I was testing on `x86_64-musl`.

then `CONFIG_RT_GROUP_SCHED` is not the problem... it's the fact you were on musl.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (9 preceding siblings ...)
  2021-02-21 13:25 ` st3r4g
@ 2021-02-21 13:48 ` Logarithmus
  2021-02-26 10:34 ` 12101111
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: Logarithmus @ 2021-02-21 13:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

New comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-782861067

Comment:
OK, then I don't understand why did Lennart asked to disable it? And why do other distros have it disabled too?

On February 21, 2021 4:26:11 PM GMT+03:00, Stefano Ragni <notifications@github.com> wrote:
>> but the error/warning persisted I was testing on `x86_64-musl`.
>
>then `CONFIG_RT_GROUP_SCHED` is not the problem... it's the fact you
>were on musl.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (10 preceding siblings ...)
  2021-02-21 13:48 ` Logarithmus
@ 2021-02-26 10:34 ` 12101111
  2021-02-26 16:47 ` st3r4g
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: 12101111 @ 2021-02-26 10:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by 12101111 on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-786562027

Comment:
Enable `CONFIG_RT_GROUP_SCHED` make rtkit don't work either: https://bugs.gentoo.org/569546

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (11 preceding siblings ...)
  2021-02-26 10:34 ` 12101111
@ 2021-02-26 16:47 ` st3r4g
  2021-04-18 22:13 ` yemouu
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-02-26 16:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-786762033

Comment:
> Enable `CONFIG_RT_GROUP_SCHED` make rtkit don't work either: https://bugs.gentoo.org/569546

Void has it enabled:
```
[void-packages 0]$ grep CONFIG_RT_GROUP_SCHED srcpkgs/linux5.10/files/x86_64-dotconfig 
CONFIG_RT_GROUP_SCHED=y
```
and for me rtkit works (on glibc):
```
[void-packages 0]$ /usr/libexec/installed-tests/rtkit/rtkit-test 
Max realtime priority is: 20
Min nice level is: -15
Rttime limit is: 200000 ns
before:
        SCHED_RESET_ON_FORK: no
        SCHED_OTHER with nice level: 0
Successfully became high priority.
after high priority:
        SCHED_RESET_ON_FORK: yes
        SCHED_OTHER with nice level: -10
Successfully became realtime.
after realtime:
        SCHED_RESET_ON_FORK: yes
        SCHED_RR with priority 10
```
so I don't know...

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (12 preceding siblings ...)
  2021-02-26 16:47 ` st3r4g
@ 2021-04-18 22:13 ` yemouu
  2021-04-21 15:28 ` ericonr
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: yemouu @ 2021-04-18 22:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

New comment by yemouu on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-822070508

Comment:
This seems to be the [approach](https://gitlab.alpinelinux.org/alpine/aports/-/blob/f7f0e8106bd5fcacd5384c50187c1159f11fc9eb/testing/rtkit/sched_getscheduler_sched_setscheduler.patch) that Alpine will take 

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (13 preceding siblings ...)
  2021-04-18 22:13 ` yemouu
@ 2021-04-21 15:28 ` ericonr
  2021-05-15 20:38 ` ericonr
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-04-21 15:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-824153683

Comment:
I believe that patch isn't completely right, it's using a `static struct sched_params def` instead of the `params` argument, which makes `rtkit` basically a no-op. Otherwise yes, the approach makes sense (though I would have `#define sched_setscheduler my_sched_setscheduler` instead ;)

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (14 preceding siblings ...)
  2021-04-21 15:28 ` ericonr
@ 2021-05-15 20:38 ` ericonr
  2021-05-15 21:36 ` ericonr
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-05-15 20:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-841721902

Comment:
Alpine's patch has been fixed, I'm looking into importing it to void.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (15 preceding siblings ...)
  2021-05-15 20:38 ` ericonr
@ 2021-05-15 21:36 ` ericonr
  2021-05-20  9:10 ` st3r4g
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-05-15 21:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-841721902

Comment:
Alpine's patch has been fixed, I'm looking into importing it to void. [for reference](https://gitlab.alpinelinux.org/alpine/aports/-/blob/db09acf2aca766c28a642f72252885eed4359d0e/testing/rtkit/sched_getscheduler_sched_setscheduler.patch)

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (16 preceding siblings ...)
  2021-05-15 21:36 ` ericonr
@ 2021-05-20  9:10 ` st3r4g
  2021-05-20  9:15 ` st3r4g
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-05-20  9:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-844893364

Comment:
Looks like pipewire now has an alternative: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/680

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (17 preceding siblings ...)
  2021-05-20  9:10 ` st3r4g
@ 2021-05-20  9:15 ` st3r4g
  2021-05-20  9:17 ` st3r4g
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-05-20  9:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-844893364

Comment:
Looks like pipewire now has an alternative: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/680
But I think it works just for system pipewire...

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (18 preceding siblings ...)
  2021-05-20  9:15 ` st3r4g
@ 2021-05-20  9:17 ` st3r4g
  2021-05-20 14:05 ` ericonr
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: st3r4g @ 2021-05-20  9:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-844893364

Comment:
Looks like pipewire now has an alternative: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/680

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (19 preceding siblings ...)
  2021-05-20  9:17 ` st3r4g
@ 2021-05-20 14:05 ` ericonr
  2022-05-04  2:15 ` github-actions
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 25+ messages in thread
From: ericonr @ 2021-05-20 14:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-845154493

Comment:
It seems to only be available for the system pipewire service, not for the user one, since it uses capabilities as set by systemd.

If we create a system service for pipewire we could set this up, though. Yggdrasil uses capabilities in its service as well.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (20 preceding siblings ...)
  2021-05-20 14:05 ` ericonr
@ 2022-05-04  2:15 ` github-actions
  2022-05-19  2:15 ` [ISSUE] [CLOSED] " github-actions
  2022-06-04  2:08 ` github-actions
  23 siblings, 0 replies; 25+ messages in thread
From: github-actions @ 2022-05-04  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/28728#issuecomment-1116868057

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [ISSUE] [CLOSED] rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (21 preceding siblings ...)
  2022-05-04  2:15 ` github-actions
@ 2022-05-19  2:15 ` github-actions
  2022-06-04  2:08 ` github-actions
  23 siblings, 0 replies; 25+ messages in thread
From: github-actions @ 2022-05-19  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Closed issue by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728

Description:
`rtkit` is basically a dbus interface to `sched_setscheduler`, which is not implemented on musl.

Here is the reason why:
https://github.com/MusicPlayerDaemon/MPD/issues/218#issuecomment-364320830

So it seems it should be patched to use the `pthread_*` functions instead.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [ISSUE] [CLOSED] rtkit: doesn't work on musl
  2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
                   ` (22 preceding siblings ...)
  2022-05-19  2:15 ` [ISSUE] [CLOSED] " github-actions
@ 2022-06-04  2:08 ` github-actions
  23 siblings, 0 replies; 25+ messages in thread
From: github-actions @ 2022-06-04  2:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Closed issue by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/28728

Description:
`rtkit` is basically a dbus interface to `sched_setscheduler`, which is not implemented on musl.

Here is the reason why:
https://github.com/MusicPlayerDaemon/MPD/issues/218#issuecomment-364320830

So it seems it should be patched to use the `pthread_*` functions instead.

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-06-04  2:08 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13 12:23 [ISSUE] rtkit: doesn't work on musl st3r4g
2021-02-13 15:09 ` ericonr
2021-02-21  3:05 ` Logarithmus
2021-02-21  3:05 ` Logarithmus
2021-02-21  8:35 ` st3r4g
2021-02-21  8:36 ` st3r4g
2021-02-21  8:37 ` st3r4g
2021-02-21 13:15 ` Logarithmus
2021-02-21 13:16 ` Logarithmus
2021-02-21 13:17 ` Logarithmus
2021-02-21 13:25 ` st3r4g
2021-02-21 13:48 ` Logarithmus
2021-02-26 10:34 ` 12101111
2021-02-26 16:47 ` st3r4g
2021-04-18 22:13 ` yemouu
2021-04-21 15:28 ` ericonr
2021-05-15 20:38 ` ericonr
2021-05-15 21:36 ` ericonr
2021-05-20  9:10 ` st3r4g
2021-05-20  9:15 ` st3r4g
2021-05-20  9:17 ` st3r4g
2021-05-20 14:05 ` ericonr
2022-05-04  2:15 ` github-actions
2022-05-19  2:15 ` [ISSUE] [CLOSED] " github-actions
2022-06-04  2:08 ` github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).