#
…

2025-02-27

00:01chrisl has joined #asahi-dev
00:45pb17 has quit [Ping timeout: 480 seconds]
01:02chadmed has quit [Quit: Konversation terminated!]
01:03chadmed has joined #asahi-dev
01:07nickchani think macOS can use opengl or metal display output but opengl on arm64 macos is nothing more than an opengl to metal translator
01:10nickchanand a bunch of stuff though not critical *only* support metal display output
01:10nickchananyways, metal doesn't support software rendering
01:11nickchanso in any case any "cpu acceleration" would need root fs patching
01:12nickchanto plop in an actual opengl output
01:13nickchanas for custom instructions i don't think it matters too much *in the vm* for vmapple kernels but it definitel needs some paravirtualized apple pac
01:13nickchandefinitely
01:13nickchanmight be able to just stub that however
01:16nickchanthe vmapple kernel respect aidr_el1 values exposed to it, mostly
01:22pb17 has joined #asahi-dev
01:26aminoa1 has joined #asahi-dev
01:31aminoa has quit [Ping timeout: 480 seconds]
01:31aminoa1 is now known as aminoa
01:33chrisl has quit [Ping timeout: 480 seconds]
01:55chrisl has joined #asahi-dev
02:00sand4rt has quit [Ping timeout: 480 seconds]
02:03chrisl has quit [Ping timeout: 480 seconds]
02:28nicolas17I think macOS 10.11 introduced Metal and 10.12 made the normal GUI frameworks use it (CoreAnimation etc) instead of OpenGL on supported hardware
02:51ece9643119 is now known as ece
03:17crimars has joined #asahi-dev
03:18crisma has quit [Read error: Connection reset by peer]
03:57tobhe has joined #asahi-dev
04:04tobhe_ has quit [Ping timeout: 480 seconds]
04:12Z750 has quit [Quit: bye]
04:12Z750 has joined #asahi-dev
04:33nora has joined #asahi-dev
04:35nora_ has quit [Ping timeout: 480 seconds]
04:43WindowPain has quit [Quit: Ping timeout (120 seconds)]
04:43WindowPain has joined #asahi-dev
04:45pb17 has quit [Ping timeout: 480 seconds]
04:45chrisl has joined #asahi-dev
04:53chrisl has quit [Ping timeout: 480 seconds]
05:11john-cabaj has quit [Ping timeout: 480 seconds]
05:13pb17 has joined #asahi-dev
05:24nicolas17 has quit [Read error: Connection reset by peer]
05:28nicolas17 has joined #asahi-dev
05:50chrisl has joined #asahi-dev
05:58chrisl has quit [Ping timeout: 480 seconds]
06:22JayBeeFOSS has quit [Ping timeout: 480 seconds]
06:23JayBeeFOSS has joined #asahi-dev
06:50monkee has quit [Remote host closed the connection]
06:56chrisl has joined #asahi-dev
07:04chrisl has quit [Ping timeout: 480 seconds]
07:07chadmed has quit [Quit: Konversation terminated!]
07:07chadmed has joined #asahi-dev
07:11pb17 has quit [Ping timeout: 480 seconds]
07:14chrisl has joined #asahi-dev
07:25chrisl has quit [Ping timeout: 480 seconds]
07:30pb17 has joined #asahi-dev
07:54ece3 has joined #asahi-dev
08:02ece has quit [Ping timeout: 480 seconds]
08:22chrisl has joined #asahi-dev
08:30chrisl has quit [Ping timeout: 480 seconds]
09:10pb17 has quit [Ping timeout: 480 seconds]
09:28chadmed has quit [Quit: Konversation terminated!]
09:28chadmed has joined #asahi-dev
09:30chrisl has joined #asahi-dev
09:36pb17 has joined #asahi-dev
09:38chrisl has quit [Ping timeout: 480 seconds]
09:40mischa85 has joined #asahi-dev
09:44mischa85i *think* i have mcc correct on t6041, but i probably still have some values incorrect. most important right now is that i find i way to get pmgr going without ps-regs (which are not in the adt of t604x). does anyone have any pointers where to look? is there a way to find them on a booted macos?
09:45mischa85any hints are welcome because i'm really in the dark here
09:48mischa85there is so what i did find are some extra values in the devices node, but i have no way if they have any relevance to the pmgr, and if they do how they correlate
09:52nrabu has joined #asahi-dev
10:02nrabu has quit [Remote host closed the connection]
10:05nrabu has joined #asahi-dev
10:07cow123 has quit [Read error: Connection reset by peer]
10:08cow123 has joined #asahi-dev
10:08chrisl has joined #asahi-dev
10:16chrisl has quit [Ping timeout: 480 seconds]
10:25svendo adt devices nodes still have that clock-gates (?) property?
10:57chrisl has joined #asahi-dev
11:05chrisl has quit [Ping timeout: 480 seconds]
11:08schroes has joined #asahi-dev
11:14mischa85you mean pwrgate-regs? nope, that's also gone
11:21pb17 has quit [Ping timeout: 480 seconds]
11:41sveni mean clock-gates
11:41svennot inside the pmgr node but inside devices nodes to refer to ps-regs inside pmgr
11:52cow123 has quit [Read error: Connection reset by peer]
11:56nrabu has quit [Remote host closed the connection]
11:58mischa85yes, those are available. for example for usb-drd0: "clock-gates": 299
12:00svenok, how did you get that adt? dumped from a booted machine with m1n1?
12:00nrabu has joined #asahi-dev
12:03mischa85no, those are ripped from ipsw firmware
12:03cow123 has joined #asahi-dev
12:03sventhat explains why you don't have any ps-regs
12:03sventhat's just the ADT template that gets filled in by iboot during early boot
12:04svenyou have to get a dump from a booted machine to get the "real" ADT
12:04mischa85well but the ps-regs are there in ipsw firmwares of other machines
12:04sventhat may have changed for some reason. all i can say is that the template adt generally misses stuff
12:04svenso i'd first take a look at a "real" one before concluding that ps-regs really is missing
12:05mischa85ok, that will mean i have to source an apple silicon machine again to access early uart and rip the adt
12:05mischa85i'll upload it as well when i got it
12:06svenyeah, if it's still missing there it's gonna be annoying to track ps-regs down
12:06svenmight just be hard-coded in the pmgr kext then :/
12:07mischa85in that case we might have to hard-code it in as well, but let me confirm with the booted adt
12:07jannaube careful when uploading device ADT, there is private data like wifi keys included in nvram-proxy-data or so
12:09j`eyif you have m1n1 working, can't you get the adt from there, without the need for another AS machine
12:10mischa85will diff it with the ipsw adt to see what gets filled in, thanks for the warning
12:10mischa85well theoretically i could probably read everything from screen lol
12:10mischa85but i figured it might be easier to rip it via early uart
12:10mischa85which does work
12:10chadmedif m1n1 is booting you can use dump_adt or whatever right
12:10jannauI think the missing ps-regs prevent using USB
12:11j`eyoh, chicken and egg
12:11svenhm... so it's truly missing even in the filled in adt then :/
12:12mischa85i don't know yet, but will confirm asap
12:12mischa85m1n1 couldn't find it in it's usual place that's for sure
12:13mischa85so we'll just see if it's elsewhere
12:13nrabu has quit [Remote host closed the connection]
12:13jannaumischa85: where are you based? if in europe I can send you a central-scrutinizer board
12:14mischa85netherlands, i was thinking of sourcing one already
12:16svencan you paste the pmgr node of the firmware adt somewhere?
12:16bass_exe has quit [Remote host closed the connection]
12:16pb17 has joined #asahi-dev
12:18sven"not found"
12:20mischa85well that's odd
12:20mischa85let me try with a difference service
12:23jannaumischa85: if you can do the soldering (for connecting the populated board with a rpi pico) I can send one or two boards today or tomorrow
12:24mischa85yes will do, i'll pm you
12:29mischa85if it becomes microsoldering i'll ask my wife to do it. i once tried a career repairing macbooks but i spent my time inhaling 0201 resistors
12:30sventhe rpi pico pads are fairly large fwiw
12:32chrisl has joined #asahi-dev
12:40chrisl has quit [Ping timeout: 480 seconds]
12:53yuka has quit [Remote host closed the connection]
13:03schroes has quit [Remote host closed the connection]
13:18mazsoldering a CS board is rather easy, even for me...
13:28malfunction54 has quit [Quit: Leaving]
13:33pb17 has quit [Ping timeout: 480 seconds]
13:37malfunction54 has joined #asahi-dev
13:37yuyichao_ has quit [Ping timeout: 480 seconds]
13:38chrisl has joined #asahi-dev
13:47chrisl has quit [Ping timeout: 480 seconds]
13:52mischa85i'll be fine i think
13:54pb17 has joined #asahi-dev
14:15sand4rt has joined #asahi-dev
14:22monkee2 has joined #asahi-dev
14:22monkee has joined #asahi-dev
14:23monkee has quit []
14:25eletrotupi has joined #asahi-dev
14:32chadmed has quit [Quit: Konversation terminated!]
14:32chadmed has joined #asahi-dev
14:32* alyssashould probably buy some CS boards..
14:33yuka has joined #asahi-dev
14:34john-cabaj has joined #asahi-dev
14:50monkee2 has quit [Ping timeout: 480 seconds]
14:54luna has joined #asahi-dev
14:56ddxtanx has quit [Ping timeout: 480 seconds]
15:18chrisl has joined #asahi-dev
15:23pb17 has quit [Ping timeout: 480 seconds]
15:26chrisl has quit [Ping timeout: 480 seconds]
15:28Calandracas has quit [Read error: Connection reset by peer]
15:30Calandracas has joined #asahi-dev
15:35chrisl has joined #asahi-dev
15:38Calandracas has quit [Ping timeout: 480 seconds]
15:40mazalyssa: honestly, build them. the whole thing is pre-configured so that it is as easy as it gets.
15:42alyssamaz: I have not touched a soldering iron since 2018 /o\
15:43chrisl has quit [Ping timeout: 480 seconds]
15:45pb17 has joined #asahi-dev
15:48mazalyssa: it's like cycling. :)
15:48psykose has quit [Remote host closed the connection]
15:49psykose has joined #asahi-dev
15:50alyssaI was bad at it then too ;)
15:56luna has left #asahi-dev [#asahi-dev]
16:10riker77 has quit [Quit: Quitting IRC - gone for good...]
16:19jmaxalyssa: I have a spare CS minus a RPi pico that I can send you. Tried it and it works on a T8312.
16:20jmaxIf preferred, can solder the RPi on it and ship it fully assembled
16:22jmaxDecided to build a couple to do a T8312 bring up then had a real life bringup at day job that's been consuming my life for the past few weeks 😫 so they've just been sitting there.
16:23Calandracas has joined #asahi-dev
16:35chrisl has joined #asahi-dev
16:39riker77 has joined #asahi-dev
16:43chrisl has quit [Ping timeout: 480 seconds]
17:23pb17 has quit [Ping timeout: 480 seconds]
17:59fl0_idjmax is T8312 a T2 chip or which model is that?
17:59pb17 has joined #asahi-dev
18:11sveni guess he meant T8132 which would be M4, see e.g. https://asahilinux.org/docs/Codenames/#socs
18:11chrisl has joined #asahi-dev
18:12fl0_idsven thx
18:19chrisl has quit [Ping timeout: 480 seconds]
18:22alyssait would be cool if people interested in m3/m4 bringup would, like, submit their kernel patches upstream
18:22alyssahint, hint ;)
18:23chrisl has joined #asahi-dev
18:23chaos_princessthere is at least 1 PR to m1n1
18:24fl0_idalyssa I would, if I had any ...
18:24mischa85i'm a strictly out-of-tree guy, and recent events did not really change my appetite
18:25mischa85if people like my code they can come and have it
18:26alyssawhat i mean is, the current core team doesn't have bandwidth to take on more upstreaming work than we already have
18:26j`ey mischa85: even for m1n1?
18:27alyssaso we can't really take on m3/m4 patches and such, and from our perspective we're not ready to work on m3/m4 until we have the current m1/m2 tree under control
18:27alyssabut if other people wanted to work on m3+ and did bring up upstream directly... that would be very cool heh
18:28alyssa(and a lot of the early board bringup stuff should not be blocked upstream anyway, it's around stuff like gpu where it gets hard)
18:28mischa85well hey i wouldn't mind contributing to m1n1, but linux kernel is a whole other story
18:29fl0_idalyssa sure. I would be happy to help out and submit other ppls patches if there are any, but I don't have an overview and I'm not sure if I'm qualified enough to do it. (haven't really done any kernel work myself, only q/a, grub debugging etc.) some rust but not in kernel.
18:31chrisl has quit [Ping timeout: 480 seconds]
18:31mischa85but for me personally, i really cannot take any pressure or responsibilities.
18:31mischa85but i do like to tinker around in my free time
18:31svenchaos_princess: is there any PR that's been updated recently? last i looked there were a few that had unaddressed review comments
18:33alyssamischa85: right, so i hope you understand why we're not able to take additional pressure or responsibilities in our free time !
18:34chaos_princesssven: idk, i just know they exist
18:36sveni'll happily review series sent upstream but other than that I also don't think we have the capacity right now to add even more downstream patches to our kernel :(
18:36j`eymischa85: have you gotten to linux? I thought it was just m1n1 so far
18:37svenm1n1 is a different story, will gladly review and merge M3/M4 stuff (or anything else) there
18:44mazalyssa: are you going to respin the PCIe patches?
18:45alyssamaz: not right now. realized upon reading review feedback i'm incompetent and have unassigned myself on the internal tracker.
18:45alyssaand crawled back to my mesa rabbit hole
18:47svenI'd need a M2 to actually figure out what's going in that series and there's other stuff I'd rather do first
18:50alyssasven: M2 Max, not just M2 iirc
18:50alyssai have the hw but it's my kernel build machine so makes for an awkward DUT
18:50Guest7998 has quit [Quit: Bridge terminating on SIGTERM]
18:50rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
18:51ddxtanx has joined #asahi-dev
18:52sveni first want to get all the M1 stuff upstream. if no one has taken care of pcie by then I guess I'll get a m2 max from that opencollective money and take care of it
18:53mazhmm, only M2 pro here.
18:55alyssaoh wait m2 pro indeed
18:55alyssawhy do apple socs all need confusing names
18:55alyssai *think* base m2 is the m1-compatible pcie but m2 pro+ is the new one? i think?
18:56svencompatible is t6020 so that would be M2 Pro
19:05maz"compatible = "apple,t6020-pcie";"
19:05mazbingo.
19:05jannauyes, m2 pro and max (and double max)
19:06mazso I happen to have this box keeping my feet warm.
19:06mazguess I'll rework the series once I'm on "holiday" in two weeks.
19:08alyssamaz: thanks :)
19:14Jamie has joined #asahi-dev
19:15Jamie is now known as Guest10284
19:15rhysmdnz has joined #asahi-dev
19:15chrisl has joined #asahi-dev
19:17mischa85alyssa: stories about burnouts really hit close to home. i've been there. i deeply respect the people who did their magic on all this, and seeing people going over their limits really saddens me.
19:19mischa85j'ey: no linux boot on t6041 yet. i do have a usb sound driver on my github which i didn't take upstream yet
19:26sand4rt2 has joined #asahi-dev
19:26sand4rt has quit [Read error: Connection reset by peer]
19:30chrisl has quit [Ping timeout: 480 seconds]
19:38pb17 has quit [Ping timeout: 480 seconds]
19:53kloenk has quit [Remote host closed the connection]
19:54kloenk has joined #asahi-dev
20:15pb17 has joined #asahi-dev
20:55chrisl has joined #asahi-dev
21:00chadmed has quit [Quit: Konversation terminated!]
21:01chadmed has joined #asahi-dev
21:03chrisl has quit [Ping timeout: 480 seconds]
21:15ddxtanx has quit [Remote host closed the connection]
21:20ddxtanx has joined #asahi-dev
21:21sand4rt2 has quit [Ping timeout: 480 seconds]
21:22ddxtanx has quit [Remote host closed the connection]
21:23ddxtanx has joined #asahi-dev
21:27andymandias has quit [Read error: Connection reset by peer]
21:27andymandias has joined #asahi-dev
21:46ddxtanx has quit [Remote host closed the connection]
21:56chrisl has joined #asahi-dev
22:01crimars is now known as crisma
22:04chrisl has quit [Ping timeout: 480 seconds]
22:16schroes has joined #asahi-dev
22:18pb17 has quit [Ping timeout: 480 seconds]
22:37pb17 has joined #asahi-dev
22:52sand4rt has joined #asahi-dev
23:06chadmed has quit [Quit: Konversation terminated!]
23:06chadmed has joined #asahi-dev
23:34chadmed has quit [Quit: Konversation terminated!]
23:34chadmed has joined #asahi-dev
23:43chrisl has joined #asahi-dev
23:51chrisl has quit [Ping timeout: 480 seconds]
…