#asahi-dev · 2025-03-02 10:30
nickchansven: there is a register holding bit[35:32] of the offset for each stream so just set that register to something like 0#asahi-dev · 2025-03-02 10:21
svendon't they have a TTBR_VALID bit? or do you mean keeping that bit disabled with "offset to invalid"?#asahi-dev · 2025-03-02 10:19
nickchancloses thing to blocked domain would be bypass with offset to invalid#asahi-dev · 2025-03-02 10:19
svenweird#asahi-dev · 2025-03-02 10:19
nickchansven: bypass when translate disabled in tcr#asahi-dev · 2025-03-02 09:58
svendoes it really just bypass-with-offset when there e.g. no valid TTBR?#asahi-dev · 2025-03-02 09:58
svenbut it sounds weird that there's no "don't allow any access" mode#asahi-dev · 2025-03-02 09:57
svensounds like bypass with offset, the M1 darts had a mode like that as well that we just ignore iirc#asahi-dev · 2025-03-02 09:30
nickchanand 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#asahi-dev · 2025-03-02 09:28
nickchanmore specifically, the dart is either translating or bypassing, there's no "off"#asahi-dev · 2025-03-02 09:28
nickchanand iova 0xffffffff -> pa 0x8ffffffff#asahi-dev · 2025-03-02 09:27
chadmeddo we need to properly wire up colourspaces etc now? #asahi-dev · 2025-03-02 09:27
nickchanfor example in bypass iova 0x0 -> pa 0x800000000#asahi-dev · 2025-03-02 09:26
chadmedenormous difference between prefer efficiency and prefer colour accuracy with the builtin too..#asahi-dev · 2025-03-02 09:26
chadmedjannau: yeah breeze dark is deceiving. im looking at the chat window of konversation which is plain white and it looks awful #asahi-dev · 2025-03-02 09:26
nickchanat least, this is true when I tried it with the jpeg block#asahi-dev · 2025-03-02 09:26
nickchantranslation mode#asahi-dev · 2025-03-02 09:26
nickchanand pretend that it only support translation#asahi-dev · 2025-03-02 09:25
nickchansven: 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?#asahi-dev · 2025-03-02 09:19
jannauI was going to say looks ok until I switched to !dark color theme#asahi-dev · 2025-03-02 09:15
chadmedreading the profile from the EDID still works fine however#asahi-dev · 2025-03-02 09:15
chadmedoh its broken on my dell monitors with displayp3 too :/#asahi-dev · 2025-03-02 09:13
chadmed2500 K with DisplayP3 profile makes my screen shrek green now #asahi-dev · 2025-03-02 09:13
chadmedcolour transform/management is still pretty busted in kwin 6.3.2... #asahi-dev · 2025-03-02 03:39
alberttcsounds 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 :)#asahi-dev · 2025-03-02 03:34
chadmedive sorta started with rewriting the ADT core code in rust and writing bindings for C to call into the rust side#asahi-dev · 2025-03-02 03:33
chadmedtheres no real "issue" we just want to harden m1n1. the more of it that's written in rust, the better#asahi-dev · 2025-03-02 03:32
alberttctake 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?#asahi-dev · 2025-03-02 03:22
chadmed(im fohjim btw)#asahi-dev · 2025-03-02 03:22
chadmedperhaps you could take a swing at that? it'll get you looking at m1n1 at least#asahi-dev · 2025-03-02 03:21
chadmedalberttc: 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#asahi-dev · 2025-03-02 02:32
alberttchttps://asahilinux.org/contribute/ has some good suggestions, i'd love to know what folks think re: a good few first steps#asahi-dev · 2025-03-02 02:32
alberttchi 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. #asahi-dev · 2025-03-01 23:36
mischa85real m1n1 dump would be great, psidx and offset are not in the ipsw adt. if i can get yours i can replicate for t6041#asahi-dev · 2025-03-01 23:25
fl0_idor you mean dumped from macos#asahi-dev · 2025-03-01 23:24
fl0_idmischa85 if nobody has one (as I think it hasn't been worked on much) I could dump my t6031 for you in assuming m1n1 works properly#asahi-dev · 2025-03-01 23:17
mischa85talking about it, does anyone have a t6030/t6031 adt from m1n1 i can check?#asahi-dev · 2025-03-01 23:01
mischa85i'm currently hardcoding t6031's ps-regs. maybe i get lucky#asahi-dev · 2025-03-01 23:00
mischa85chadmed: thanks, wasn't able to find anything yet with the deassembler tho#asahi-dev · 2025-03-01 23:00
mischa85fl0_id yeah i found them in kdk lol#asahi-dev · 2025-03-01 22:52
chadmedmischa85: if you do poke around kexts remember to go to #asahi-re #asahi-dev · 2025-03-01 22:49
chaos_princesskexts are not there since quite a while ago, they are now in dyld shared cache#asahi-dev · 2025-03-01 22:48
fl0_idmischa85 are any other PMGRs there? at least on my 14.x, they are all there, except the m4s of course#asahi-dev · 2025-03-01 19:08
mischa85the only thing i can think about now is peeling around in AppleT6041PMGR.kext, if i can find it because i'd expected to find that in /System/Library/Extensions/AppleT6041PMGR.kext#asahi-dev · 2025-03-01 19:07
mischa85something changed, obviously#asahi-dev · 2025-03-01 19:07
mischa85ah bummer. i wonder because the device nodes also don't contain any offset/regidx#asahi-dev · 2025-03-01 19:05
jannausorry, I meant the reg properties of of device nodes. not the ps-regs#asahi-dev · 2025-03-01 19:05
mischa85maybe i can bruteforce it#asahi-dev · 2025-03-01 19:03
mischa85*contain#asahi-dev · 2025-03-01 19:03
mischa85*ranges