#
✕ nick:chadmed
#asahi-dev · 2023-05-28 05:44
chadmedyeah but from WP, i was trying to do this in pw_impl_node_register
#asahi-dev · 2023-05-28 05:42
chadmedand i have no desire to try and rearchitect the entire startup process :P
#asahi-dev · 2023-05-28 05:42
chadmedbut it doesnt like loading configs before all nodes have been registered and the context loaded
#asahi-dev · 2023-05-28 05:41
chadmedmy idea today was to try load a config fragment when the node is registered, using alsa.driver_name and alsa.card_name as the keys to find the right config file
#asahi-dev · 2023-05-28 05:41
chadmedoh no i dont mean to do that
#asahi-dev · 2023-05-28 05:39
chadmedyeah i was trying to avoid WP today but it seems like thats where they really want this stuff to go
#asahi-dev · 2023-05-28 05:39
chadmedbut like i said we can simply not release speaker support until all this stuff is in a healthy place
#asahi-dev · 2023-05-28 05:39
chadmedif it comes to it we carry some trivial patches downstream until 0.5 is released
#asahi-dev · 2023-05-28 05:38
chadmedwe have the benefit of being able to simply not release anything until its actually ready
#asahi-dev · 2023-05-28 05:37
chadmedi dont think theres any particular rush (at least not on my end) so if upstream needs more time then thats no big deal
#asahi-dev · 2023-05-28 05:35
chadmedi was going to test the rest of your patches today but i went down a config parsing rabbit hole that led nowhere instead :P
#asahi-dev · 2023-05-28 05:35
chadmedyeah i noticed that, i think thats the least important thing in the scheme of things
#asahi-dev · 2023-05-28 00:11
chadmedtime to hack up a concept
#asahi-dev · 2023-05-28 00:11
chadmedok so theres been zero real progress excellent
#asahi-dev · 2023-05-28 00:01
chadmedotherwise its going to be a nightmare to package up all the userspace audio stuff
#asahi-dev · 2023-05-28 00:01
chadmed i should check in on the pipewire situation re auto-selecting appropriate configurations
#asahi-dev · 2023-05-22 10:36
chadmedwhich... idk why anyone would willingly do that but its a consideration
#asahi-dev · 2023-05-22 10:36
chadmedplasma has an option for that but it also applies to fullscreen apps so it kind of hinders gaming with the touchpad
#asahi-dev · 2023-05-22 10:33
chadmedif you force your palm down a few times it will start clicking
#asahi-dev · 2023-05-22 10:33
chadmedthe firmware's palm rejection works pretty well, i think its trying to be too clever about the users intentions tho
#asahi-dev · 2023-05-22 10:24
chadmedthe firmware is supposed to do palm rejection itself
#asahi-dev · 2023-05-21 05:05
chadmedthats not going to be fun though
#asahi-dev · 2023-05-21 05:04
chadmedthe patches in my open PR for it still apply but at this point it might be worth just ripping the band aid off re shared gpio upstream before continuing
#asahi-dev · 2023-05-21 05:04
chadmedwe need to sort the tas2764/2770 sleep situation at some point
#asahi-dev · 2023-05-16 12:34
chadmedfaking yuv420p10le support is less horifically broken than i thought it would be
#asahi-dev · 2023-05-16 09:21
chadmedthere are a bunch of MRs in kde's gitlab that reference some sort of prepatory effort to support overlay planes "properly" but the effort seems to have been deserted with little fanfare
#asahi-dev · 2023-05-16 09:02
chadmedahh right
#asahi-dev · 2023-05-16 08:53
chadmedor did that get fixed
#asahi-dev · 2023-05-16 08:53
chadmedis one of those the iboot framebuffer that we cant get rid of for some reason?
#asahi-dev · 2023-05-16 08:48
chadmedformat modifier? but then everything would have to support it i suppose
#asahi-dev · 2023-05-16 08:44
chadmedmpv by default only uses one plane, i forced it by passing --drm-drmprime-video-plane=primary --drm-draw-plane=overlay
#asahi-dev · 2023-05-16 08:36
chadmedat least according to drm_info
#asahi-dev · 2023-05-16 08:36
chadmedno errors or anything, it knows theyre there and enumerates their supported formats etc properly. it just doesnt use them at all
#asahi-dev · 2023-05-16 08:35
chadmedtested both kwin_wayland and kwin_x11
#asahi-dev · 2023-05-16 08:35
chadmedmpv definitely uses the hardware planes properly and kwin knows about them but just ignores them
#asahi-dev · 2023-05-16 08:35
chadmedjannau: ack
#asahi-dev · 2023-05-16 07:43
chadmedyeah the overlay planes are definitely being used, neat
#asahi-dev · 2023-05-12 10:16
chadmedim pretty certain its not (entirely) the driver now though which is good
#asahi-dev · 2023-05-12 10:15
chadmedjannau: mat.unk_u32 is a location index where the CTM gets written to. changing it results in IOMFB saying it cant write to that location
#asahi-dev · 2023-05-09 20:32
chadmedbut yeah having a control thats readonly from userspace works too
#asahi-dev · 2023-05-09 20:32
chadmedoh ok that makes things easy
#asahi-dev · 2023-05-09 20:31
chadmeddoes the codec in the imac have a similar feature?
#asahi-dev · 2023-05-09 20:30
chadmedhalves the output without changing values in the DVC register which means its totally transparent to userspace
#asahi-dev · 2023-05-09 20:30
chadmedoh well if it can poke codec registers then yeah the hardware safe mode would be grand
#asahi-dev · 2023-05-09 20:29
chadmedthat can be fixed by having the daemon pull everything up to 100 when it starts but that makes it very desktop-centric and break UX for folks without sound servers which kinda defeats the purpse
#asahi-dev · 2023-05-09 20:26
chadmedbut that will require macaudio to know about the codecs, which i dont think it can
#asahi-dev · 2023-05-09 20:26
chadmedin terms of safety when the daemon goes down then id suggest using the codec's hardware volume cut. setting the fallback volume limit at the kctl level will screw with peoples alsamixer settings
#asahi-dev · 2023-05-09 20:24
chadmedmacan: i think the global limit as we do it now is fine. bumping up the amp limit to 18.5 dBmV gives enough volume to be ~the same as macos with dsp all applied
#asahi-dev · 2023-05-09 12:31
chadmedits medicinal not to worry!
#asahi-dev · 2023-05-09 12:30
chadmedthen again if they are indeed similar/identical hardware to the 13" i have then the woofers are pathetic enough that it doesnt matter

plus ›