#
…

2025-03-02

00:00ece3143 has joined #asahi-dev
00:05chrisl has joined #asahi-dev
00:06linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
00:10linuxgemini has joined #asahi-dev
00:13chrisl has quit [Ping timeout: 480 seconds]
00:16sand4rt has quit [Quit: WeeChat 4.5.2]
00:17sand4rt has joined #asahi-dev
00:49sand4rt has quit [Ping timeout: 480 seconds]
00:49mischa85 has quit [Ping timeout: 480 seconds]
01:19pb17 has quit [Ping timeout: 480 seconds]
01:19HitokiriKincho has quit [Remote host closed the connection]
01:19HitokiriKincho has joined #asahi-dev
01:32pb17 has joined #asahi-dev
01:42HitokiriKincho has quit [Remote host closed the connection]
01:42HitokiriKincho has joined #asahi-dev
01:48qyliss has quit [Ping timeout: 480 seconds]
01:53qyliss has joined #asahi-dev
02:00HitokiriKincho has quit [Ping timeout: 480 seconds]
02:01chrisl has joined #asahi-dev
02:10chrisl has quit [Ping timeout: 480 seconds]
02:10HitokiriKincho has joined #asahi-dev
02:10john-cabaj has joined #asahi-dev
02:26HitokiriKincho has quit [Ping timeout: 480 seconds]
02:26john-cabaj has quit [Ping timeout: 480 seconds]
02:27alberttc has joined #asahi-dev
02:28HitokiriKincho has joined #asahi-dev
02:32alberttchi all - u/FOHjim posted a reply on r/asahilinux saying that folks are working on housekeeping, specifically re: upstreaming and rebasing. i've been wanting to contribute to something linux-related and am an avid asahi user/lover, so i'm hoping this could be a good entry point for me to contribute.
02:32alberttchttps://asahilinux.org/contribute/ has some good suggestions, i'd love to know what folks think re: a good few first steps
02:36HitokiriKincho has quit [Remote host closed the connection]
02:36HitokiriKincho has joined #asahi-dev
02:41alberttc has quit [Quit: Konversation terminated!]
02:41alberttc has joined #asahi-dev
02:42mischa85 has joined #asahi-dev
02:51mischa85 has quit [Ping timeout: 480 seconds]
03:09chrisl has joined #asahi-dev
03:10tobhe has joined #asahi-dev
03:14HitokiriKincho has quit [Quit: Leaving...]
03:17chrisl has quit [Ping timeout: 480 seconds]
03:17tobhe_ has quit [Ping timeout: 480 seconds]
03:21chadmedalberttc: i dont know if we have anything particularly suitable for a first timer at the moment tbh. one thing i've been working on is rust bindings for various parts of m1n1 but ive kinda put that to the wayside for now to focus on the upstreaming and whipping the userspace components for mic support into shape
03:22chadmedperhaps you could take a swing at that? it'll get you looking at m1n1 at least
03:22chadmed(im fohjim btw)
03:31pb17 has quit [Ping timeout: 480 seconds]
03:32alberttctake a swing at the rust bindings in m1n1? i'd be happy to try. is there an issue or particular task that i can keep in mind while i poke around?
03:33chadmedtheres no real "issue" we just want to harden m1n1. the more of it that's written in rust, the better
03:34chadmedive sorta started with rewriting the ADT core code in rust and writing bindings for C to call into the rust side
03:39alberttcsounds good! i'll try poking around and asking questions. trying to write more of it in rust sounds like a good enough north star for me to keep in mind while i at least read through the code :)
03:41chadmed has quit [Quit: Konversation terminated!]
03:42chadmed has joined #asahi-dev
03:50alberttc has quit [Quit: Konversation terminated!]
03:50opticron has quit [Read error: Connection reset by peer]
03:51opticron has joined #asahi-dev
03:53chrisl has joined #asahi-dev
04:03pb17 has joined #asahi-dev
04:29nora_ has joined #asahi-dev
04:31nora has quit [Ping timeout: 480 seconds]
04:58chrisl has quit [Ping timeout: 480 seconds]
05:08chrisl has joined #asahi-dev
05:16chrisl has quit [Ping timeout: 480 seconds]
05:28ddxtanx has quit [Remote host closed the connection]
05:46mischa85 has joined #asahi-dev
05:54mischa85 has quit [Ping timeout: 480 seconds]
06:07pb17 has quit [Ping timeout: 480 seconds]
06:27pb17 has joined #asahi-dev
07:03JayBeeFOSS has quit [Ping timeout: 480 seconds]
07:04JayBeeFOSS has joined #asahi-dev
07:05chrisl has joined #asahi-dev
07:13chrisl has quit [Ping timeout: 480 seconds]
07:20Calandracas__ has joined #asahi-dev
07:26Calandracas_ has quit [Ping timeout: 480 seconds]
07:44pb17 has quit [Ping timeout: 480 seconds]
07:48mischa85 has joined #asahi-dev
08:01pb17 has joined #asahi-dev
08:05mischa85 has quit [Ping timeout: 480 seconds]
08:07mischa85 has joined #asahi-dev
08:10chrisl has joined #asahi-dev
08:15mischa85 has quit [Ping timeout: 480 seconds]
08:15ece31437 has joined #asahi-dev
08:18chrisl has quit [Ping timeout: 480 seconds]
08:19ece3143 has quit [Ping timeout: 480 seconds]
08:30kaazoo has joined #asahi-dev
08:31mischa85 has joined #asahi-dev
08:41elvishjerricco has quit [Remote host closed the connection]
08:44elvishjerricco has joined #asahi-dev
09:03kaazoo has quit [Quit: Leaving.]
09:13chadmedcolour transform/management is still pretty busted in kwin 6.3.2...
09:13chadmed2500 K with DisplayP3 profile makes my screen shrek green now
09:15chadmedoh its broken on my dell monitors with displayp3 too :/
09:15chrisl has joined #asahi-dev
09:15chadmedreading the profile from the EDID still works fine however
09:18gi0 has quit [Ping timeout: 480 seconds]
09:19jannauI was going to say looks ok until I switched to !dark color theme
09:23chrisl has quit [Ping timeout: 480 seconds]
09:25nickchansven: so I did figure out the dart on a7-a10, there's a sort of bypass mode but what happens in that mode is that translation still happen and the iova = (pa & 0xffffffff), it really is not identity mapping though, so I guess I should just ignore the bypass support?
09:26nickchanand pretend that it only support translation
09:26nickchantranslation mode
09:26nickchanat least, this is true when I tried it with the jpeg block
09:26chadmedjannau: yeah breeze dark is deceiving. im looking at the chat window of konversation which is plain white and it looks awful
09:26chadmedenormous difference between prefer efficiency and prefer colour accuracy with the builtin too..
09:27nickchanfor example in bypass iova 0x0 -> pa 0x800000000
09:27chadmeddo we need to properly wire up colourspaces etc now?
09:28nickchanand iova 0xffffffff -> pa 0x8ffffffff
09:28nickchanmore specifically, the dart is either translating or bypassing, there's no "off"
09:30nickchanand i also figured out a11 dart but only in translation mode, all of these darts are 4k page size though, so there should never be a need to go into bypass mode
09:53pb17 has quit [Ping timeout: 480 seconds]
09:54chrisl has joined #asahi-dev
09:57svensounds like bypass with offset, the M1 darts had a mode like that as well that we just ignore iirc
09:58svenbut it sounds weird that there's no "don't allow any access" mode
09:58svendoes it really just bypass-with-offset when there e.g. no valid TTBR?
10:02chrisl has quit [Ping timeout: 480 seconds]
10:02opticron has quit [Read error: Connection reset by peer]
10:03opticron has joined #asahi-dev
10:19nickchansven: bypass when translate disabled in tcr
10:19nickchancloses thing to blocked domain would be bypass with offset to invalid
10:20pb17 has joined #asahi-dev
10:21svendon't they have a TTBR_VALID bit? or do you mean keeping that bit disabled with "offset to invalid"?
10:30nickchansven: there is a register holding bit[35:32] of the offset for each stream so just set that register to something like 0
10:31nickchanreset value of that register is 0x8080808, i.e. bypass to 0x800000000 for all 4 streams
10:31ddxtanx has joined #asahi-dev
10:32nickchantechnically setting it to 0 would be identity but... there's nothing in the lower 32-bit so
10:32nickchanlower 32-bit of the address space
10:35svenso is there a TTBR_VALID bit?
10:35nickchansven: TTBR_VALID does exist
10:35sveni'd implement blocked as "translation enabled but TTBR_VALID isn't set anywhere" then
10:35svenand also just pretend bypass isn't supported
10:35nickchanI need to see if that generate interrupts
10:36svenif this works anything like the M1 dart it should
10:45nickchani probably should put the hw docs somewhere
10:46sveni'm not sure I ever wrote hw docs for the M1 dart tbh
10:54nickchansven: don't think generating interrupts are a good thing as it creates bogus kernel logs id rather bypass to invalid
10:57svenwhy are the logs bogus?
10:58svendon't you want to see when some device tries to do DMA?!
10:58sven(and fails)
10:59svenif you set a domain to blocked for whatever reason and a device tries to DMA that's a bug and I'd very much like to know about that
11:09jannauor when a device tries dma on the wrong or stale address. while the bug was annoying to find I'd still credit the dart fault log as helpful for marcan's USB fix
11:10chaos_princessthis will need to be controlled by a module flag or something when we will get thunderbolt though
11:11chaos_princessthere are pcie devices that read from random memory addresses because, idk, they feel like it. it is "fine" on x86
11:16jannauthe log message should then be throttled. if the device depends on those reads it'll broken anyway
11:18nickchanTTY> Exception: IRQ (from EL1h) die: 0 type: 1 num: 197 mpidr: 80000000 cnt: 82b8a532b
11:18nickchanwhen ttbr is not valid
11:21gi0 has joined #asahi-dev
11:22nickchanprobably should still bypass to nowhere just in case
11:23nickchan(with invalid ttbr and translation enabled)
11:24svenyeah, doesn’t hurt to additionally set that bypass offset to 0x00 or something else that’s invalid
11:26nickchanthere's a bunch of tunables in adt that I can correspond to registers by looking at dart-disp0 as setup by iboot
11:26nickchanbut the dart-jpeg0 still worked fine without them
11:27nickchanfetch-config, diag-config etc
11:31svensame for M1 darts, we've been ignoring them so far
11:37pb17 has quit [Ping timeout: 480 seconds]
12:04svenchaos_princess: the dt-bindings and main driver for https://lore.kernel.org/asahi/20250217-adpdrm-v7-0-ca2e44b3c7d8@gmail.com/T/ haven't been picked up yet, have they?
12:09pb17 has joined #asahi-dev
12:25chaos_princessyea, i wonder who i need to poke in order to make it go faster :P
12:25svenno idea, was just looking for reviewed dt changes i could pick up
12:42svenso i was just looking at smc again, there were some issues with mfd when marcan tried to upstream it last time. did they ever come to an agreement? i also stumbled upon https://docs.kernel.org/driver-api/auxiliary_bus.html which might be an even better fit for smc anyway
12:43chaos_princessiirc yes, and aux bus does look better
12:44svenok, i'll take a closer look at aux bus then next weekend and see if it makes sense to adjust smc to just use that one
12:56Calandracas_ has joined #asahi-dev
12:56chrisl has joined #asahi-dev
13:02Calandracas has joined #asahi-dev
13:03Calandracas__ has quit [Ping timeout: 480 seconds]
13:04chrisl has quit [Ping timeout: 480 seconds]
13:08Calandracas_ has quit [Ping timeout: 480 seconds]
13:10flokli has quit [Ping timeout: 480 seconds]
13:11d3fus has quit [Ping timeout: 480 seconds]
13:17d3fus has joined #asahi-dev
13:18flokli has joined #asahi-dev
13:29pb17 has quit [Ping timeout: 480 seconds]
13:36jannauI think alyssa was expected to push adp to drm-misc
13:37mischa85 has quit [Ping timeout: 480 seconds]
13:42alberttc has joined #asahi-dev
13:43mischa85 has joined #asahi-dev
13:50pb17 has joined #asahi-dev
13:55pounce has quit [Ping timeout: 480 seconds]
14:05chrisl has joined #asahi-dev
14:06DannyB has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
14:10DannyB has joined #asahi-dev
14:13chrisl has quit [Ping timeout: 480 seconds]
14:25sand4rt has joined #asahi-dev
14:29alberttc has quit [Quit: Konversation terminated!]
14:52alberttc has joined #asahi-dev
15:01mischa85 has quit [Ping timeout: 480 seconds]
15:12chrisl has joined #asahi-dev
15:17pb17 has quit [Ping timeout: 480 seconds]
15:21chrisl has quit [Ping timeout: 480 seconds]
15:34sand4rt has quit [Quit: WeeChat 4.5.2]
15:35sand4rt has joined #asahi-dev
15:38alberttc has quit [Quit: Konversation terminated!]
15:55pb17 has joined #asahi-dev
16:05chrisl has joined #asahi-dev
16:13chrisl has quit [Ping timeout: 480 seconds]
16:19mischa85 has joined #asahi-dev
16:28mischa85 has quit [Ping timeout: 480 seconds]
16:34Halian has joined #asahi-dev
16:35sand4rt has quit [Quit: WeeChat 4.5.2]
16:36sand4rt has joined #asahi-dev
16:54mischa85 has joined #asahi-dev
16:55svenjannau: do you have a spare central scrutinizer you could send to me? happy to pay for shipping, etc.
17:02mischa85 has quit [Ping timeout: 480 seconds]
17:03chrisl has joined #asahi-dev
17:11chrisl has quit [Ping timeout: 480 seconds]
17:16pb17 has quit [Remote host closed the connection]
17:16pb17 has joined #asahi-dev
17:28jannausven: yes, dm or mail the me the address. no need to pay for shipping
17:28svengreat, thanks!
17:34chrisl has joined #asahi-dev
17:43chrisl has quit [Ping timeout: 480 seconds]
17:54chrisl has joined #asahi-dev
17:55mischa85 has joined #asahi-dev
17:57nickchanneither touchbar_bad_apple or touchbar_rainbow worked on iphone x after fixing dart and the addresses so apple,h7-display-pipe is probably a very bad compatible name but so be it
17:58nickchanat least the mipi part is the same
18:03chrisl has quit [Ping timeout: 480 seconds]
18:04nickchanno way that it's actually going to be compatible with t7000 display pipe
18:19Calandracas_ has joined #asahi-dev
18:26chrisl has joined #asahi-dev
18:26Calandracas has quit [Ping timeout: 480 seconds]
18:27nimprod3l has joined #asahi-dev
18:30Calandracas__ has joined #asahi-dev
18:34chrisl has quit [Ping timeout: 480 seconds]
18:36Calandracas_ has quit [Ping timeout: 480 seconds]
18:37pb17 has quit [Ping timeout: 480 seconds]
18:44chrisl has joined #asahi-dev
18:51sand4rt has quit [Quit: WeeChat 4.5.2]
18:52sand4rt has joined #asahi-dev
18:53chrisl has quit [Ping timeout: 480 seconds]
18:59pb17 has joined #asahi-dev
19:08chrisl has joined #asahi-dev
19:16chrisl has quit [Ping timeout: 480 seconds]
19:53psykose has quit [Remote host closed the connection]
19:54psykose has joined #asahi-dev
20:09chrisl has joined #asahi-dev
20:12npgoalkeeper has joined #asahi-dev
20:17chrisl has quit [Ping timeout: 480 seconds]
20:27al3xtjames has joined #asahi-dev
20:34lynndotpy has quit [Quit: bye bye]
20:35lynndotpy has joined #asahi-dev
20:49npgoalkeeper has quit [Quit: npgoalkeeper]
20:49npgoalkeeper has joined #asahi-dev
21:03pb17 has quit [Ping timeout: 480 seconds]
21:08chrisl has joined #asahi-dev
21:16chrisl has quit [Ping timeout: 480 seconds]
21:21sand4rt has quit [Quit: WeeChat 4.5.2]
21:22sand4rt has joined #asahi-dev
21:23pb17 has joined #asahi-dev
21:41al3xtjames has quit [Quit: al3xtjames]
21:44kaazoo has joined #asahi-dev
21:44kaazoo has quit []
21:45catred has quit [Ping timeout: 480 seconds]
21:51nimprod3l has quit [Ping timeout: 480 seconds]
21:57catred has joined #asahi-dev
22:42pb17 has quit [Ping timeout: 480 seconds]
22:44mischa85 has quit [Ping timeout: 480 seconds]
22:51mischa85 has joined #asahi-dev
22:59mischa85 has quit [Ping timeout: 480 seconds]
23:00chrisl has joined #asahi-dev
23:05pb17 has joined #asahi-dev
23:08mischa85 has joined #asahi-dev
23:08chrisl has quit [Ping timeout: 480 seconds]
23:16mischa85 has quit [Ping timeout: 480 seconds]
23:25mischa85 has joined #asahi-dev
23:34mischa85 has quit [Ping timeout: 480 seconds]
23:43mischa85 has joined #asahi-dev
23:51mischa85 has quit [Ping timeout: 480 seconds]
23:55chrisl has joined #asahi-dev
23:59mischa85 has joined #asahi-dev
…