#
✕ nick:chadmed
#asahi-alt · 2024-05-01 10:02
chadmedi had a look last week when we discussed this but didnt dig too deep as i had stuff to do
#asahi-alt · 2024-05-01 10:01
chadmedhow does e.g. i915 do it
#asahi-alt · 2024-05-01 09:49
chadmedi can go try write a ucm profile for it
#asahi-alt · 2024-04-30 13:25
chadmedbeen running wireplumber 0.5 locally for weeks now and tested the subslot change and all resolved correctly
#asahi-alt · 2024-04-30 13:24
chadmedsam_, leio: i've pushed media-video/wireplumber-0.5.2:0/0.5, media-video/pipewire-1.0.5-r1:0/0.5 and media-libs/asahi-audio-2.1:0/2.0 to the overlay along with a news item explaining things
#asahi-alt · 2024-04-30 12:17
chadmedno its even worse there - v4 T16:53:00Z... v5 T16:58:00Z
#asahi-alt · 2024-04-30 12:15
chadmedthe utter shame, embarrassment and self-disgust one feels when having to force push like 3 minutes after opening a PR
#asahi-alt · 2024-04-30 12:14
chadmedat least you caught it before sending it
#asahi-alt · 2024-04-30 12:13
chadmedit would be boring if it was deterministic
#asahi-alt · 2024-04-30 12:08
chadmedi was originally planning to foist gentoo on him but he was already used to fedora after using it for a few years
#asahi-alt · 2024-04-30 12:07
chadmedill bump it to F40 on thusday when im over there
#asahi-alt · 2024-04-30 12:07
chadmedbaby steps
#asahi-alt · 2024-04-30 12:07
chadmedgranddad's got an m2 mini running F39 now
#asahi-alt · 2024-04-30 12:07
chadmedim working on it
#asahi-alt · 2024-04-30 12:05
chadmedhis name is constantine but of course goes by a shortened version of that name
#asahi-alt · 2024-04-30 12:05
chadmedmy uncle (a windows user) is still baffled why he cant use his name anywhere in the system
#asahi-alt · 2024-04-30 12:04
chadmedno that's cringe
#asahi-alt · 2024-04-30 12:03
chadmed20 0
#asahi-alt · 2024-04-30 12:03
chadmed26415 james 20 0 2014816 429072 407712 R 10.6 2.7 11:10.56 kwin_wayland
#asahi-alt · 2024-04-30 12:01
chadmedsounds like gnome is brute forcing its way around something terriffically broken in its input handling then because neither kwin nor plasmashell boost their prio or niceness and ive not once had my cursor hang or drop a frame
#asahi-alt · 2024-04-30 11:57
chadmednot convinced input or rendering have any particular need to be bumped except on extremely gutless systems but eh
#asahi-alt · 2024-04-30 11:56
chadmedyeah pipewire needs to so that it's not blocked by some non-interactive thing
#asahi-alt · 2024-04-30 11:54
chadmedsched_setattr*
#asahi-alt · 2024-04-30 11:53
chadmedsched_set will probably return EPERM when trying to renice or set prio
#asahi-alt · 2024-04-30 11:53
chadmedi believe any thread can ask for clamping values
#asahi-alt · 2024-04-30 11:51
chadmedespecially now that like i said they can both already just sched_{get,set}
#asahi-alt · 2024-04-30 11:50
chadmedso i think long-term pipewire and wireplumber should also just stop depending on it
#asahi-alt · 2024-04-30 11:50
chadmedi dont mind to hard dep on rtkit it's just already extremely brittle (couple of issues on the repo re build failures and odd behaviour during suspend etc) and clearly no one is interested in maintaining it
#asahi-alt · 2024-04-30 11:49
chadmedbut thats also really sus as you said
#asahi-alt · 2024-04-30 11:49
chadmedit just sets the limits
#asahi-alt · 2024-04-30 11:49
chadmedyeah sorry i was confidently wrong :p
#asahi-alt · 2024-04-30 11:47
chadmedgithub profile is still very active
#asahi-alt · 2024-04-30 11:46
chadmedi dont think they're particularly interested in telling us whats up :p
#asahi-alt · 2024-04-30 11:46
chadmedthey have not responded to a single PR or issue in 5 years
#asahi-alt · 2024-04-30 11:46
chadmedso maybe we just push to get rtkit yeeted
#asahi-alt · 2024-04-30 11:45
chadmedive already wired up direct sched_{get,set} into pipewire and wireplumber
#asahi-alt · 2024-04-30 11:45
chadmedi think long term if no one is going to step up and maintain rtkit then pipewire should just stop depending on it
#asahi-alt · 2024-04-30 11:45
chadmedthereby negating any benefit of bumping the niceness/prio of pipewire
#asahi-alt · 2024-04-30 11:44
chadmedwhich, again, will just make the scheduler treat all my processes exactly the same
#asahi-alt · 2024-04-30 11:44
chadmedif i create the @pipewire group and add myself to it, then _every single process_ i start will be started at the limits.d right
#asahi-alt · 2024-04-30 11:44
chadmedwith rtkit uninstalled pipewire starts with 20 0 just like every other user process
#asahi-alt · 2024-04-30 11:43
chadmedyes, that's probably rtkit
#asahi-alt · 2024-04-30 11:43
chadmedit is started as the logged in user
#asahi-alt · 2024-04-30 11:43
chadmedthat file sets the limits on the user group, and pipewire is not started by a user in the @pipewire group
#asahi-alt · 2024-04-30 11:42
chadmedwhich means pipewire is not any more favoured than anything else and we're right back to where we started
#asahi-alt · 2024-04-30 11:42
chadmedyeah i mean it kinda defeats the purpose because then the scheduler is just gonna treat all user processes the same
#asahi-alt · 2024-04-30 11:22
chadmedits marked as an optfeature for pipewire/wireplumber, and i think the only reason it's not a hard dep is that its unmaintained
#asahi-alt · 2024-04-30 11:21
chadmedyeah i was just thinking that
#asahi-alt · 2024-04-30 11:17
chadmedi added the ability to set uclamp to both a while back
#asahi-alt · 2024-04-30 11:17
chadmedlike i said the asahi-audio config tells pipewire and wireplumber to set their own prio and niceness via rtkit

plus ›