2023-06-18
00:22bcrumb has joined #asahi-dev
00:25bcrumb has quit []
00:54Hibyehello has joined #asahi-dev
01:00DragoonAethis has quit [Quit: hej-hej!]
01:00DragoonAethis has joined #asahi-dev
01:24chadmed has quit [Remote host closed the connection]
01:24chadmed has joined #asahi-dev
01:26chadmedis anyone game/able/has the time to sanity check some DSP improvements for j314? you will need to build a downstream branch of wireplumber
01:28chadmedpros: waaaay less cpu use (~2% of an ecore at 600mhz), sounds better, can theoretically hide the raw output from users
01:28chadmedcons: hiding the raw output breaks clients which expect to be able to access the entire node graph (e.g. carla)
01:46nsklaus has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:04chadmed has quit [Remote host closed the connection]
02:04ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:12ourdumbfuture has joined #asahi-dev
02:17chadmed has joined #asahi-dev
02:18gabuscus has joined #asahi-dev
02:54chadmedcarla can still see the physical node, but when it is open all sound stops playing. the "hiding" implementation is to set the permissions on the target node such that only wireplumber can access it, so i assume something carla wants to do with routing is being blocked by whatever permissions are set
02:55chadmedinterestingly though, after commenting out the policy which does that, everything works again but the node is still hidden from plasma
02:56chadmedeither way there are other issues with that functionality upstream so its disabled in dmitry's branch, i just re-enabled it to see what it would look like to end users when its eventually production ready
02:56ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:03chadmedive pushed the latest version for anyone whos interested in testing. no help installing it though unless i know i can trust you to not blow up your computer as per the rules in the readme ;)
06:31jannauservice is autostarted from udev via the touch bar digitizer input device anyway but the conditions should make it safe to install it unconditionally on all devices
07:23WildCatFish has joined #asahi-dev
07:25WildCatFish has left #asahi-dev [#asahi-dev]
07:34WildCatFish has joined #asahi-dev
07:39millenialhacker_ has joined #asahi-dev
07:42millenialhacker has quit [Ping timeout: 480 seconds]
07:45millenialhacker_ is now known as millenialhacker
07:47dsharshakov has joined #asahi-dev
07:47dsharshakovHello chadmed! WP filter-chain management is on my list now
07:49dsharshakovwe can now develop that in online mode. what's next? should we polish up what's present without hiding the nodes (that's certainly not upstreamable because of being racy)?
07:51millenialhacker has quit [Quit: Konversation terminated!]
07:57millenialhacker has joined #asahi-dev
08:01chadmeddsharshakov: i havent really found anything wrong with the non-hiding stuff as it currently is tbh, works basically perfectly in my testing
08:02chadmedif i were being picky id say that its annoying that i cant set a rule to put the card into Pro Audio on startup and the filter chain having to be a one-liner is annoying for development but neither is _really_ a problem all things considered
08:04chadmedone interesting thing i did notice (as above) is that the node i set to hidden is still hidden even after i comment out the rule
08:05millenialhackerHi, has anyone experienced dead/not working keyboard after updating asahi kernel ?
08:05millenialhacker(also not working touch pad)
08:08dsharshakov`put the card into Pro Audio on startup` <-- will do soon, need to integrate into policy-device-profile
08:08dsharshakov`node i set to hidden is still hidden` <-- it's still the same node ID. You need to restart all three: pw, pw-pulse, wp
08:09millenialhackermps I'm using my Gentoo installation (pre-chadme era)
08:09millenialhackerbut I use his overlay now
08:09millenialhackerI just upgrade from 6.1 rc6 to 6.3
08:09chadmeddsharshakov: yeah i have killed and restarted all three multiple times, it persists across reboots even
08:09dsharshakovI want to add support for loading JSON from file into WP, so (ideally) you'll use ordinary device and node creation rules to set `wireplumber.hidden` and `wireplumber.filter-chain` or so
08:10dsharshakovAlso I want to set target node when loading, so that it certainly and immutably attaches to the appropriate node
08:10dsharshakovthen clean .local/state/wireplumber
08:11dsharshakov`loading JSON from file into WP` <-- essential to have a ton of props like with AutoEq headphone database. This way we'll only load four props into rulesets (device profile, hide device, hide node, attach chain)
08:13dsharshakovThanks for review, will refactor some stuff for upstreaming. Better do a branch backup on your own storage as I'll be force-pushing that branch while refactoring for upstreaming
08:14millenialhacker has quit [Remote host closed the connection]
08:14dsharshakovTargeting 0.4 branch (master) without hiding nodes (impossible currently without pending changes)
08:15dsharshakovfyi PW multi-rate rate mismatch bug has been smashed. You probably didn't encounter that, but that was why I warned you about multiple allowed rates
08:16millenialhacker has joined #asahi-dev
08:19dsharshakov(not released yet) but better keep a single rate enabled and use released version. let's keep git version mess to minimum :)
08:26dsharshakov has quit [Quit: Page closed]
08:36WildCatFish has quit [Remote host closed the connection]
09:00lina has quit [Remote host closed the connection]
09:05millenialhacker has quit [Quit: Konversation terminated!]
09:17nsklaus has joined #asahi-dev
09:33aafeke has joined #asahi-dev
09:53chadmed has quit [Remote host closed the connection]
09:53aafeke has quit [Quit: aafeke]
09:54chadmed has joined #asahi-dev
10:16ourdumbfuture has joined #asahi-dev
10:16cylm has joined #asahi-dev
10:19sid-linuxQuestion: why is there not a `readl_relaxed` to get the current value of dcc->irq_base + IRQ_FLAG
10:23svenjust guessing here because I don’t know the hardware but it looks like HW_FLAG is just „write but N to clear it“
10:25sid-linux(thanks for your reply -- can you please write your message with the typos fixed. I don't know where the *IRQ_FLAG and *bit needs to be subsituted)
10:28j`ey_(assuming what sven said is correct.) the IRQ_FLAG doesn't 'store' anything, the hw just responds to a write of that
10:29svenit’s just this dumb iPhone‘s „you pressed something slightly to the left of i and u is more likely than i in our ML model so I’m just gonna pretend you pressed u instead“ feature *sigh*
10:31ChaosPrincessjannau: sth weird is happening when loading tiny-dfr as a systemd daemon, libinput fails to detect the digitizer device.
10:31ChaosPrincessits probably due to load ordering, but not sure what exactly the problem is
10:31ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
10:32sid-linuxj`ey and similarly since the IRQ_FLAG doesnt 'store' anything the read can ask the hardware to present it for a bit map of currently asserted IRQs? See `static void dockchannel_irq(struct irq_desc *desc)`
10:33ChaosPrincessalso need to mask systemd backlight service or it messes things up
10:35aafeke has joined #asahi-dev
10:35sid-linuxAlso, I'm wondering how this can be done in a top half interrupt handler? Wont this communication with the device be subject to sleep issues?
10:37aafeke has quit [Read error: No route to host]
10:38ourdumbfuture has joined #asahi-dev
10:39svenand isn’t too half the thing that runs in irq context while bottom half is the irq thread anyway? (not that that changes anything afaict)
10:40sid-linuxMy understanding is that we can't do IO in the top half. We can only read from memory. IO could take a really long time
10:43sid-linux(and therefore not permitted in the top half -- which is what `dockchannel_irq()` is in )
10:43svenstill orders of magnitude faster than reading from a SPI bus which is probably what you’re thinking of
10:44svendoing sone I/O is totally fine in irq context. you usually *have* to do some I/O to e.g. read the irq and ack it in every handler
10:45sventhe issue happens when you wait for I/O over a slow bus like SPI where you usually have to sleep (or wait for an irq which effectively is sleeping anyway)
10:47svenand the reason that’s a bad idea is because when you’re in irq context („top half“) many (or even all) other interrupts are disabled and will be delayed
10:47chadmed has quit [Remote host closed the connection]
10:50chadmed has joined #asahi-dev
11:43aafeke has joined #asahi-dev
12:01chadmed has quit [Remote host closed the connection]
12:01aafeke has quit [Quit: aafeke]
12:02chadmed has joined #asahi-dev
12:11ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:20ourdumbfuture has joined #asahi-dev
12:25WildCatFish has joined #asahi-dev
12:41WildCatFish has quit [Remote host closed the connection]
12:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:58ourdumbfuture has joined #asahi-dev
13:20minecrell has quit [Quit: :( ]
13:27minecrell has joined #asahi-dev
13:51WildCatFish has joined #asahi-dev
14:18WildCatFish has quit [Remote host closed the connection]
14:25WildCatFish has joined #asahi-dev
14:30Bai-Chiang has joined #asahi-dev
14:32Bai-Chiang has quit []
14:32Bai-Chiang has joined #asahi-dev
14:38Bai-Chiang has quit [Quit: bai-chiang]
14:39gladiac has quit [Quit: k thx bye]
14:41millenialhacker has joined #asahi-dev
14:42Bai-Chiang has joined #asahi-dev
14:42millenialhacker has quit [Remote host closed the connection]
14:46millenialhacker has joined #asahi-dev
14:52WildCatFish has quit [Remote host closed the connection]
14:56Tomdownsouth has joined #asahi-dev
14:56bai-chiang_ has joined #asahi-dev
14:57WildCatFish has joined #asahi-dev
14:58bai-chiang_ has quit []
15:05WildCatFish has quit [Remote host closed the connection]
15:05Tomdownsouth has quit [Quit: Konversation terminated!]
15:18chadmed has quit [Ping timeout: 480 seconds]
15:22WildCatFish has joined #asahi-dev
15:26millenialhacker has quit [Remote host closed the connection]
15:33WildCatFish has quit [Remote host closed the connection]
15:39mlp has quit [Read error: Connection reset by peer]
15:40mlp has joined #asahi-dev
15:41WildCatFish has joined #asahi-dev
15:48millenialhacker has joined #asahi-dev
15:48millenialhacker has quit [Read error: Connection reset by peer]
16:13ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:14WildCatFish has quit [Remote host closed the connection]
16:25irth has joined #asahi-dev
16:27bps3 has joined #asahi-dev
16:38ourdumbfuture has joined #asahi-dev
16:39WildCatFish has joined #asahi-dev
16:47WildCatFish has quit [Ping timeout: 480 seconds]
16:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:21amarioguyquick question is there a way from the ADT to check if a core is fused off or not? (long story need to be able to check if a core is fused off) or would i need to infer it being fused off based on board id or smth?
17:22WildCatFish has joined #asahi-dev
17:46WildCatF_ has joined #asahi-dev
17:46WildCatFish has quit [Read error: Connection reset by peer]
18:00Dementor has quit [Read error: Connection reset by peer]
18:00Dementor has joined #asahi-dev
18:04salimterryli has joined #asahi-dev
18:04jannauamarioguy: the cpus node will have only the active cores when looking at the adt from the device
18:07SalimTer- has quit [Ping timeout: 480 seconds]
18:16sid-linux_ has joined #asahi-dev
18:18ourdumbfuture has joined #asahi-dev
18:19gmarx has joined #asahi-dev
18:19sid-linux has quit [Ping timeout: 480 seconds]
18:36WildCatF_ has quit [Remote host closed the connection]
19:11WildCatFish has joined #asahi-dev
19:18gmarx has quit []
19:19WildCatFish has quit [Ping timeout: 480 seconds]
19:35sid-linux_ has quit [Quit: User exited]
19:48WindowPain has joined #asahi-dev
19:52WindowPa- has quit [Ping timeout: 480 seconds]
20:09maximbaz has quit [Quit: bye]
20:09maximbaz has joined #asahi-dev
20:30c10l4844 has joined #asahi-dev
20:30c10l4844 has quit []
20:31c10l has joined #asahi-dev
20:48chadmed has joined #asahi-dev
21:06chadmed has quit [Ping timeout: 480 seconds]
21:09zumi has quit [Remote host closed the connection]
21:13zumi has joined #asahi-dev
21:21zumi has quit [Remote host closed the connection]
21:23psykose has quit [Remote host closed the connection]
21:24psykose has joined #asahi-dev
21:33lena6 has quit [Ping timeout: 480 seconds]
21:55Bai-Chiang has quit [Remote host closed the connection]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:02yrlf has joined #asahi-dev
22:15sid-linux has joined #asahi-dev
22:31sid-linux has quit [Quit: User exited]
22:39i509vcb has joined #asahi-dev
22:59ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:03chadmed has joined #asahi-dev
23:29ourdumbfuture has joined #asahi-dev
23:40mkurz has quit [Ping timeout: 480 seconds]
23:41ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:42ourdumbfuture has joined #asahi-dev
23:48WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
23:48WindowPain has joined #asahi-dev
23:54bps3 has quit [Ping timeout: 480 seconds]
23:56mlp has quit [Read error: Connection reset by peer]
23:56mlp has joined #asahi-dev