#
…

2026-08-02

00:05hdbngr has quit [Ping timeout: 480 seconds]
00:32hdbngr has joined #asahi-dev
00:41hdbngr has quit [Ping timeout: 480 seconds]
00:42picnoir has quit [Ping timeout: 480 seconds]
00:49hdbngr has joined #asahi-dev
00:51picnoir has joined #asahi-dev
00:57hdbngr has quit [Ping timeout: 480 seconds]
01:58pilkenjoyer has quit [Ping timeout: 480 seconds]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:06pilkenjoyer has joined #asahi-dev
02:28pilkenjoyer has quit [Ping timeout: 480 seconds]
02:29hdbngr has joined #asahi-dev
02:37pilkenjoyer has joined #asahi-dev
02:46pilkenjoyer has quit [Ping timeout: 480 seconds]
02:53hdbngr has quit [Ping timeout: 480 seconds]
02:55pilkenjoyer has joined #asahi-dev
03:03pilkenjoyer has quit [Ping timeout: 480 seconds]
03:09nora has joined #asahi-dev
03:11nora_ has quit [Ping timeout: 480 seconds]
03:12pilkenjoyer has joined #asahi-dev
03:20pilkenjoyer has quit [Ping timeout: 480 seconds]
03:28pilkenjoyer has joined #asahi-dev
03:36pilkenjoyer has quit [Ping timeout: 480 seconds]
03:46pilkenjoyer has joined #asahi-dev
03:59pilkenjoyer has quit [Ping timeout: 480 seconds]
04:09pilkenjoyer has joined #asahi-dev
04:17pilkenjoyer has quit [Ping timeout: 480 seconds]
04:25pilkenjoyer has joined #asahi-dev
04:39hdbngr has joined #asahi-dev
04:46pilkenjoyer has quit [Ping timeout: 480 seconds]
04:48hdbngr has quit [Ping timeout: 480 seconds]
04:54ralim8 has quit [Quit: The Lounge - https://thelounge.chat]
04:54ralim8 has joined #asahi-dev
04:55pilkenjoyer has joined #asahi-dev
05:03pilkenjoyer has quit [Ping timeout: 480 seconds]
05:04voidah has quit [Ping timeout: 480 seconds]
05:11pilkenjoyer has joined #asahi-dev
05:13voidah has joined #asahi-dev
05:20pilkenjoyer has quit [Ping timeout: 480 seconds]
05:21voidah has quit [Ping timeout: 480 seconds]
05:27pilkenjoyer has joined #asahi-dev
05:29voidah has joined #asahi-dev
05:33pilkenjoyer has quit [Quit: leaving]
05:38voidah has quit [Ping timeout: 480 seconds]
05:40hdbngr has joined #asahi-dev
05:48voidah has joined #asahi-dev
05:49hdbngr has quit [Ping timeout: 480 seconds]
05:57hdbngr has joined #asahi-dev
06:00voidah has quit [Ping timeout: 480 seconds]
06:06hdbngr has quit [Ping timeout: 480 seconds]
06:08voidah has joined #asahi-dev
06:30hdbngr has joined #asahi-dev
06:39hdbngr has quit [Ping timeout: 480 seconds]
06:41hdbngr has joined #asahi-dev
06:50hdbngr has quit [Ping timeout: 480 seconds]
07:16hdbngr has joined #asahi-dev
07:19voidah has quit [Ping timeout: 480 seconds]
07:27voidah has joined #asahi-dev
07:31hdbngr has quit [Ping timeout: 480 seconds]
07:35voidah has quit [Ping timeout: 480 seconds]
07:41hdbngr has joined #asahi-dev
07:43voidah has joined #asahi-dev
07:52voidah has quit [Ping timeout: 480 seconds]
08:00voidah has joined #asahi-dev
08:08voidah has quit [Ping timeout: 480 seconds]
08:16voidah has joined #asahi-dev
08:30ipatch_ has joined #asahi-dev
08:30ipatch has quit [Read error: Connection reset by peer]
08:31voidah has quit [Ping timeout: 480 seconds]
08:41voidah has joined #asahi-dev
08:49voidah has quit [Ping timeout: 480 seconds]
08:59voidah has joined #asahi-dev
09:02ipatch_ has quit [Quit: WeeChat 4.9.0]
09:08voidah has quit [Ping timeout: 480 seconds]
09:16voidah has joined #asahi-dev
09:21sofusim not very happy with the style changes, i hope someone has some input on that
09:21sofusav1 still needs some love, but i would consider this "good" enough for now
09:22chadmednice work!
09:22sven6k lines, wow. that must be one of the larger drivers
09:23chadmedits almost all static coefficient definitions :P
09:24svenso kinda like atcphy is 80% weird magic #defines and register sequences :d
09:24sofusactually not, most of that comes from verisilicon/rockchip_av1_entropymode.c
09:24chaos_princesssofus: do you want suggestions for more preprocessor abuse
09:25voidah has quit [Ping timeout: 480 seconds]
09:25sofuschaos_princess: i tried to match the overall style of the other drivers, but sure
09:25svenhow could anyone say no to that ;)
09:26sofusthe long lines are very annoying, so also some better way to name stuff if someone has a suggestion for that
09:27sofusmacos conformance for reference: https://pastebin.com/aC103V7H
09:30sofuswhen this gets merged avd is gonna be responsible for like 10% of our loc :p
09:31chadmedwe can probably get that down to like 9.8% with a bit more preprocessor geneva suggestions violations
09:32chaos_princessuse this trick so you always use AOM_CDF at the usage site without needing to count arguments
09:34voidah has joined #asahi-dev
09:36chadmedyou could probably also define all these repeating blocks of coefficients as macros where they need to be used so you dont need to repeat the repeated macros every single time
09:36chadmed(where they are repeated expansions of the same coefficients of course, doesnt help where the coefficients are unique)
09:37sofusi dont fully get it, but cool! Would it actually make sense to do this in the entropymode.c file? right now its easy to see the difference between our and verisilicon's
09:37chaos_princessyes, that is for entropymode.c
09:42voidah has quit [Ping timeout: 480 seconds]
09:45yukaWhich 15.x version would we attempt to use for M3 Ultra?
09:46chadmedif we cant use 14.x we should probably just align on 26.x
09:46chadmedor 27 if they fix more broken sysregs
09:46chadmedbut we know 26.6 works enough
09:46chaos_princess15 only gets us the m3 ultra, and there are probably not that many of them, so it is likely will be bundled with m4+
09:47yuka26.6 is good on M4* and A18 Pro. 27.x will probably be required for M5*
09:48yukaI read somewhere that the nvme stuff changed starting from 15.x, so I was about to check if the changes I made for 26.6 also work on 15.x so that I can use the correct conditional
09:50voidah has joined #asahi-dev
09:51chaos_princesswhat is the intention there?
09:51chaos_princessok, nvm, i see.
09:52chaos_princesschanging "wrong" to "borderline unreadable"
09:55sofusyeah, its bad... im not sure how to improve it
09:56chaos_princessat least move the more complex logic expressions into variables
09:58voidah has quit [Ping timeout: 480 seconds]
09:59sofuslike use one tmp variable for each one?
10:01chaos_princesssomething like that
10:02svenyuka: does linux boot without the weird crashes with smp on 26.x or 27 now?
10:06voidah has joined #asahi-dev
10:07chadmedsofus: left a small review, mostly just style stuff
10:11hardy94 has joined #asahi-dev
10:15voidah has quit [Ping timeout: 480 seconds]
10:21sofuswhile i agree on the style things, im not sure if it makes sense to change the verisilicon copy paste, its very easy to diff right now
10:24voidah has joined #asahi-dev
10:25sofusc file is not as clean, but still https://pastebin.com/b26uMiz9
10:25chadmeddoes it being an easy diff vs some other vendor driver actually bring us any benefits at all though
10:25chadmed(not saying futzing with the preprocessor does to be clear)
10:26LarstiQwill it have updates to be incorporated?
10:28sofusjust thought it could be interesting for upstream, maybe they would like to make a shared thing or something, but i suppose i could fix the style things in a different commit?
10:29chadmedif this is stuff that is inherent to the spec and required by multiple drivers im surprised it isnt shared already
10:29sofusi think there are only to other stateless av1 drivers
10:30chadmedmight be worth making it shared?
10:31chadmedeverything we already supported except edid, hdmi audio and for some reason clearing surfaces works reliably
10:32voidah has quit [Ping timeout: 480 seconds]
10:33chadmeddue to 14971a2eb042 your machine will eventually hang but its good enough to enable tracing an diagnostics until we figure out how to get this thing to clear a surface
10:33chadmedi am really hoping and praying the answer is not "send a transparent framebuffer and keep it alive until the surface is needed again"
10:34chaos_princesswhat does macos do?
10:35chadmedi cant tell. i took some very very large and verbose traces of me typing so that the I-beam disappears and nothing changes. its just a normal swap
10:35chadmedwhich is why i suspect ^
10:35chadmedbut thats so gross...
10:40voidah has joined #asahi-dev
10:40hdbngr has quit [Ping timeout: 480 seconds]
10:43yukasven: I haven't seen the "trying to write to read-only [...]" since a few weeks now, but it depends very much on the kernel config used. I guess I would need to try some kernel with fedora config to make a definite statement
10:49voidah has quit [Ping timeout: 480 seconds]
10:50voidah has joined #asahi-dev
10:50yukaMaybe because the heat wave is over, the quantum effects have come down to a level that is favorable (/s)
10:51chadmedwe also have a waning moon, so theres fewer tachyons in the atmosphere
10:56hdbngr has joined #asahi-dev
10:58voidah has quit [Ping timeout: 480 seconds]
11:02hdbngr has quit [Remote host closed the connection]
11:02hdbngr has joined #asahi-dev
11:08voidah has joined #asahi-dev
11:10CJ[m] has joined #asahi-dev
11:15hdbngr has quit [Ping timeout: 480 seconds]
11:16voidah has quit [Ping timeout: 480 seconds]
11:25voidah has joined #asahi-dev
11:34voidah has quit [Ping timeout: 480 seconds]
11:42voidah has joined #asahi-dev
11:48svenwould be good to confirm it works before we settle on 26.6 or whatever
11:49Tachyonray[m]chadmed: i like tachyons
11:50voidah has quit [Ping timeout: 480 seconds]
11:52chaos_princessas long as we aren't starting gpu/dcp work, we don't really need to commit to specific versions
11:53svenand unless we release the installer with m3. I’d prefer if people didn’t have to go through a macOS round trip later if we can avoid it
11:53Tachyonray[m]did run the boot flags fix on my M1, but haven’t updated to 26.6
11:54chaos_princessyou shouldn't
11:54Tachyonray[m]can test it on the M3 too if that would confirm something
11:54chaos_princesssven: i think we should release m3 on 14.8.3 sooner rather than later
11:55chadmedgpu aside, whats actually left?
11:56chaos_princessisp on base m3, getting stuff merged and tested.
11:57chadmedi still dont think gpu-less dcp is very useable but if everyone else is fine with it i wont nack a release
11:57chadmededid and hdmi audio arent important but i dont want to regress hw cursors on plasma so we need to sort out the surface clearing at the very least
11:57chaos_princesswell, yes, we are doing boot framebuffer until gpu becomes a thing
11:58voidah has joined #asahi-dev
11:58chaos_princessso not having dcp ready is fine
11:59pb17 has quit [Ping timeout: 480 seconds]
12:03pb17 has joined #asahi-dev
12:03svenI keep forgetting that m3 runs 14.8
12:06voidah has quit [Ping timeout: 480 seconds]
12:07NickChan[m]can't exactly commit to 14.8.3 anyways because m3 ultra mac studio needs at least 15.1
12:07chaos_princessultra will be later
12:10hdbngr has joined #asahi-dev
12:14voidah has joined #asahi-dev
12:20hdbngr has quit [Ping timeout: 480 seconds]
12:23voidah has quit [Ping timeout: 480 seconds]
12:31voidah has joined #asahi-dev
12:39voidah has quit [Ping timeout: 480 seconds]
12:47voidah has joined #asahi-dev
12:57hdbngr has joined #asahi-dev
12:59voidah has quit [Ping timeout: 480 seconds]
13:06hdbngr has quit [Ping timeout: 480 seconds]
13:07voidah has joined #asahi-dev
13:14hdbngr has joined #asahi-dev
13:15voidah has quit [Ping timeout: 480 seconds]
13:15sofusi updated my pr, i think clang-format makes it readable enough, and i would prefer not having to do the formatting by hand
13:21r0ni has quit [Ping timeout: 480 seconds]
13:23hdbngr has quit [Ping timeout: 480 seconds]
13:23voidah has joined #asahi-dev
13:37voidah has quit [Ping timeout: 480 seconds]
13:45voidah has joined #asahi-dev
13:58hdbngr has joined #asahi-dev
14:00voidah has quit [Ping timeout: 480 seconds]
14:01voidah has joined #asahi-dev
14:03yukasomehow b4 sent out an old version of the cover letter. the changes probably lost when doing the patch dependencies things.
14:04yukanvme is annoying too. The comment on APPLE_ANS_UNKNOWN_CTRL in the kernel driver is very confusing, and does not match what I can observe anywhere.
14:05yukaEverything points to 15.x+ fw being simply missing APPLE_ANS_UNKNOWN_CTRL and behaving as 14.x without clearing APPLE_ANS_PRP_NULL_CHECK
14:06yukabut what APPLE_ANS_PRP_NULL_CHECK _actually_ does is still a mystery to me
14:07hdbngr has quit [Ping timeout: 480 seconds]
14:07yukaand if not having it is strictly a problem
14:28yukasince we changed cwd12 = 1 -> cwd12 = 0, nvme_read() works fine without APPLE_ANS_PRP_NULL_CHECK on old and new firmware. which does not make sense with the comment in the kernel driver?
14:39voidah has quit [Ping timeout: 480 seconds]
14:47voidah has joined #asahi-dev
14:53svenmaybe that just happens on m1
14:54svenbut I very much remember that it doesn’t like something being NULL
14:54svenI also brought this up in a very old firmware ping before we had the installer (12.1 or so)
14:54svens/ping/long/
14:59voidah has quit [Ping timeout: 480 seconds]
14:59hdbngr has joined #asahi-dev
15:07voidah has joined #asahi-dev
15:08hdbngr has quit [Ping timeout: 480 seconds]
15:08svenuh, also cwd12 isn't prp
15:12svenNULL_PRP_PTR_ERR F2H %u SL[%u] ERR 0x%x HIX %u SEG %u TAG %u OP %u DRAM %u LBA 0x%x secOffset 0x%x dp[%x, %x, %x, %x] mmu[%x, %x, %x, %x, %x, %x, %x] <-- pretty sure that's the error message i saw without that bit
15:14hdbngr has joined #asahi-dev
15:15svenbut i'm not sure why this matters, just introduce a new compatible, add apple,firmware-abi (or however it's called for the gpu) and then just change behavior for macos 15+
15:15voidah has quit [Ping timeout: 480 seconds]
15:16aviv_be has joined #asahi-dev
15:23hdbngr has quit [Ping timeout: 480 seconds]
15:24voidah has joined #asahi-dev
15:28r0ni has joined #asahi-dev
15:32voidah has quit [Ping timeout: 480 seconds]
15:41aviv_beHello yall, I'm a beginner linux developer and would like to join the development on Asahi. For the past few months I have been messing around with linux kernel development, writing drivers and a ram disk, and also worked on a large open source project through university. I have an m3 pro macbook pro for development.
15:41voidah has joined #asahi-dev
15:46nnym has quit [Ping timeout: 480 seconds]
15:47___nick___ has joined #asahi-dev
15:50voidah has quit [Ping timeout: 480 seconds]
15:54nnym has joined #asahi-dev
15:57voidah has joined #asahi-dev
16:00hdbngr has joined #asahi-dev
16:02nnym has quit [Ping timeout: 480 seconds]
16:06voidah has quit [Ping timeout: 480 seconds]
16:07voidah has joined #asahi-dev
16:09hdbngr has quit [Ping timeout: 480 seconds]
16:10hdbngr has joined #asahi-dev
16:10nnym has joined #asahi-dev
16:14pb17 has quit [Ping timeout: 480 seconds]
16:15hardy94 has quit [Quit: hardy94]
16:16voidah has quit [Ping timeout: 480 seconds]
16:18nnym has quit [Ping timeout: 480 seconds]
16:19hdbngr has quit [Ping timeout: 480 seconds]
16:19pb17 has joined #asahi-dev
16:19hdbngr has joined #asahi-dev
16:22aviv_be has quit [Remote host closed the connection]
16:23voidah has joined #asahi-dev
16:26nnym has joined #asahi-dev
16:26___nick___ has quit []
16:27___nick___ has joined #asahi-dev
16:30svenchaos_princess: how is tbt coming along btw? ;p
16:30chaos_princesssven: oh, right, i should have just asked
16:30chaos_princesshow did you derive the addresses in dts
16:30junefish has quit [Remote host closed the connection]
16:30svenwhich one specifically?
16:31chaos_princesslike, i can maybe see where the second and third came from, but the first gets no hits in adt
16:31svenfor acio?
16:31chaos_princessgithub.com/AsahiLinux/linux/commit/f0daf084ff8f5717ec92bff380c816f9fb991475#diff-845c07f30f0f94856b22d7b50c0ff3d27a961abeffefcdfab01f2e8cd64569ccR1707 - this one
16:32voidah has quit [Ping timeout: 480 seconds]
16:32svenis that the one somewhere in the middle of pmgr?
16:32svenit's hardcoded in the pmgr kext :/
16:33junefish has joined #asahi-dev
16:33svenyou can trace it if you know what you're looking for
16:33svenbut i got it because i enabled all debug i could find and saw something about a reconfig clock in xnu's output
16:34chaos_princessi love(*) pmgr
16:35nnym has quit [Ping timeout: 480 seconds]
16:35hdbngr has quit [Ping timeout: 480 seconds]
16:35chaos_princessalso acio can be started up before the phy. Not sure how that helps, but it seems to work
16:35chaos_princessspecifically the acio, not the m3 coproc, that one will not work
16:35hardy94 has joined #asahi-dev
16:36svenyou have to take all of acio down when you disconnect a cable or the next connection won't work iirc
16:36voidah has joined #asahi-dev
16:37chaos_princessSo, since the old phy code ran the phy reconfig in workqueue, one of my experiments involved also putting it into a workqueue and adding msleeps in random places
16:37sven(where won't work means "assert %d failed" followed by a panic)
16:38sveni'm really out of ideas wtf we are doing wrong
16:38chaos_princessdo you have the working branch anywhere?
16:38svenlet me check
16:42nnym has joined #asahi-dev
16:43chaos_princessok, will try it out in a bit
16:44voidah has quit [Ping timeout: 480 seconds]
16:45aviv_be has joined #asahi-dev
16:48jannauyou might need an old m1n1 with that (not sure if we already removed code required for it)
16:51nnym has quit [Ping timeout: 480 seconds]
16:53voidah has joined #asahi-dev
16:58nnym has joined #asahi-dev
17:01voidah has quit [Ping timeout: 480 seconds]
17:04hdbngr has joined #asahi-dev
17:05ipatch has joined #asahi-dev
17:08voidah has joined #asahi-dev
17:17voidah has quit [Ping timeout: 480 seconds]
17:23hdbngr has quit [Ping timeout: 480 seconds]
17:25voidah has joined #asahi-dev
17:26svenApplePMGR::enableCioReconfig
17:26sventhat's the weird address
17:27___nick___ has quit []
17:27svenbut as i said, if you know it's there and if you know it's somewhere in PMGR you can also easily see it in the hv
17:28svenjust finding it the first time was "fun"
17:29___nick___ has joined #asahi-dev
17:30___nick___ has quit []
17:32___nick___ has joined #asahi-dev
17:48hdbngr has joined #asahi-dev
17:52aviv_be has quit [Quit: Konversation terminated!]
17:56hdbngr has quit [Ping timeout: 480 seconds]
18:09hdbngr has joined #asahi-dev
18:15rosalyntg has quit [Read error: Connection reset by peer]
18:15rosalyntg has joined #asahi-dev
18:18hardy94 has quit [Quit: hardy94]
18:21unifiedgravity[m]Okay I took a big chunk out of the M1 Pro USB4 bringup today; it is quite different from the t8103 M2 work that Sven did. Managed to advance the crash along but then corrupted my whole Asahi installation in the lockup and power cycling so calling it a day. Tomorrow I might get the M2 back out; I never managed to sell it. But yeah it's the acio which is the pain in the butt but I added a lot of dtb stuff related to it; hopefully
18:21unifiedgravity[m]should come out good soon.
18:21svenuh, there's something wrong then. M1 pro is more or less the same as t8103
18:22svenhow did you approach bringup on the m1 pro? and how did you corrupt the installation?
18:24hdbngr has quit [Ping timeout: 480 seconds]
18:24unifiedgravity[m]PHY + rail + ACIO register/power is the part with the differences
18:24svenwhat's rail?
18:24svenand no, PHY is the same
18:24svenjust different tunables but m1n1 already takes care of that
18:25unifiedgravity[m]Uh I guess managed to stop it giving the async serror and just give a stack trace, but then the installation was hanging on the update-m1n1 and one time I rebooted and then after skip proxy it would now stay on asahi logo rather than going stage 2
18:26unifiedgravity[m]Rail is VDD_CIO power
18:26svenso you have to talk to smc?!
18:27chaos_princessdon't poke at smc, it is most likely probably not the right thing to do
18:27unifiedgravity[m]I don't know as much as you by a long shot. Literally just figuring everything out
18:27unifiedgravity[m]Okay, noted thanks
18:27svenif you use that wip branch you shouldn't get any serrors
18:28unifiedgravity[m]I am on the tbt-wip
18:28sventhen where did you get serrors?
18:29hdbngr has joined #asahi-dev
18:29unifiedgravity[m]When doing acio transitions for example looked like from the mmio trace from macos 14.8.3 that we were going into usb3 mode, issue reset, then enter tbt mode. In Linux was trying to go straight from usb3 to tbt for example
18:30sventhat sounds confusing, acio shouldn't even be on for usb3 mode. do you mean atcphy?
18:31unifiedgravity[m]sorry yeah atcphy
18:31chaos_princessmacos does bring up the atcphy in what looks like usb3 mode just to probe the port during startup
18:31chaos_princessand then powers it down
18:32sventbt-wip should only need dt changes for m1 pro
18:32svenand then you should run into the same issue i do on t8103
18:32unifiedgravity[m]What was the last 5% missing; you said you were at 95%?
18:32sveneverything is up but acio doesn't recognize the connection
18:32chaos_princessmore like the last 95%
18:33chaos_princessdebugging the thing
18:33svenas usualy the second 80% of the project take as much time as first 80% :P
18:33chaos_princessdepending on your firmware ver, you may alternatively get dmesg spam every 100ms or so
18:34unifiedgravity[m]I thought the thing wasn't coming up but it turns out to get the kernel to take from installed dtbs rather than from the m1n1 underneath it, you have to mess with some stuff, so last time I ran the branch on the M2 and well nothing appeared to happen at all, that'd be why
18:34svenyou really want to just chainload your kernel together with the dtbs it compiled
18:35unifiedgravity[m]Yeah, I was wondering about that flow
18:35unifiedgravity[m]But I burned so much just getting this far so I got cracking
18:36unifiedgravity[m]Can one build a Linux kernel on MacOS? Or do you use VM on MacOS to compile the kernel and then upload it to target?
18:36sveni use linux running on my m1 to compile the kernel :d
18:36svenit's somehow possible on macos but rather painful, i'd just use a vm
18:37svencat build/m1n1.macho Image.gz t8103-j274.dtb > payload.macho and then just chainload the payload.macho
18:37unifiedgravity[m]Yeah I could install Asahi on my main but at the rate at which I wreck them, maybe it's better that I use a VM
18:38voidah has quit [Ping timeout: 480 seconds]
18:41svenjust use a vm then
18:41sveni used that before asahi was usable on this machine
18:44unifiedgravity[m]I have had my Presonus 2626 driver rock solid for a while now but I keep procrastinating submission to the mailing list in part I have an outlook address and had to find another outgoing smtp server to avoid mangling encoding. Would love to test it on Apple Silicon. I only have Intel 1355U and whilst Intel is good at USB4, I don't trust that their power management is any good (and it blasts EM noise through the interface), hard to
18:44unifiedgravity[m]tell if pops and bugs are its cstates, or if it is my driver. Fingers crossed.
18:45hdbngr has quit [Ping timeout: 480 seconds]
18:45unifiedgravity[m]Cheers for the advice Sven, chaos_princess
18:47voidah has joined #asahi-dev
18:47hdbngr has joined #asahi-dev
18:47unifiedgravity[m]And by rock solid I mean I can't crash or stall the thing and can't kill the kernel or userspace with surprise removal or add. Still got a small number of xruns/pops when stop/start or transition system power management states.
18:52unifiedgravity[m]Ta, interesting
18:53JPeisach1is there benefit to building on macOS? i guess if the system is unbootable?
18:54svenit's a bit less painful than working in a vm
18:55unifiedgravity[m]Yeah, it's a "CBF setting up a VM" kinda thing
18:55svenor, well, it would if the kernel wasn't so annoying to compile on macos :d
18:55voidah has quit [Ping timeout: 480 seconds]
18:56unifiedgravity[m]It's not going to be that terrible though, in reality I'd spin up a docker container and ssh into it. No GUI, mouse issues, can just scp stuff in and out with a script. Disposable.
18:56svendocker on macos is just a vm in disguise
18:57svenmy vms are usually all that as well without the docker cruft inbetween
18:57svenyou can just start a headless one with UTM
18:57unifiedgravity[m]Hm force of habit I guess, never forced to use UTM at work
18:59unifiedgravity[m]I installed it the other day to run suspicious baidu netdisk trying to get the macos 13.5 installer the other week aha
18:59jannauchaos_princess: is there anything specific you want to have reviewed in https://github.com/AsahiLinux/linux/pull/555 ? atc.c changes don't look too horrible
18:59unifiedgravity[m]They insist on you installing a dmg and that's susse when all I needed was to download a file
19:00svenlet's may move the vm, etc. discussion that's not related to asahi somewhere else
19:00__nick__ has joined #asahi-dev
19:00kraem has joined #asahi-dev
19:01jannauj613/615 hpm5 irqs are wrong if I'm not mistaken. I think it should be [63, 65, 69, 71]
19:02hdbngr has quit [Ping timeout: 480 seconds]
19:02sveni think the ATCPHY_EVT_USB2_CTL_EVT_EN stuff already happens on t8103, that at least sounds familiar somehow
19:03hdbngr has joined #asahi-dev
19:03voidah has joined #asahi-dev
19:03___nick___ has quit [Ping timeout: 480 seconds]
19:09chaos_princessjannau: just general review. Arguably, the "do not merge" part is only due to missing dp init
19:10chaos_princessand building linux under macos is more of a stunt to say that you could do it, it is not something you do as a normal activity
19:11hdbngr has quit [Ping timeout: 480 seconds]
19:12voidah has quit [Ping timeout: 480 seconds]
19:20voidah has joined #asahi-dev
19:23hdbngr has joined #asahi-dev
19:28voidah has quit [Ping timeout: 480 seconds]
19:33hdbngr has quit [Ping timeout: 480 seconds]
19:36voidah has joined #asahi-dev
19:41hdbngr has joined #asahi-dev
19:45voidah has quit [Ping timeout: 480 seconds]
19:50hdbngr has quit [Ping timeout: 480 seconds]
19:52voidah has joined #asahi-dev
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
20:00nickchan has joined #asahi-dev
20:01voidah has quit [Ping timeout: 480 seconds]
20:03__nick__ has quit [Remote host closed the connection]
20:03hdbngr has joined #asahi-dev
20:06yukaCan someone with a t8103 test this on 26.6 FW: https://github.com/AsahiLinux/m1n1/pull/648
20:09voidah has joined #asahi-dev
20:12hdbngr has quit [Ping timeout: 480 seconds]
20:16___nick___ has joined #asahi-dev
20:17voidah has quit [Ping timeout: 480 seconds]
20:19donaldh has quit [Ping timeout: 480 seconds]
20:24voidah has joined #asahi-dev
20:24xal has joined #asahi-dev
20:24xal has quit []
20:25jannauI've pushed m3* usb support to asahi-wip, tested on j504/j514s. M3 macbook air tests would be appreciated
20:26xal has joined #asahi-dev
20:26jannauis something except t8122 camera missing (ignoring dcp and gpu)?
20:29chaos_princesshow much do we care about imacs
20:30jannaudo we know someone who can test?
20:31chaos_princessyea, that is kinda the problem
20:31chaos_princesswe can in theory make mics and speakers happen on the m3 one, but it requires someone to do the measurement
20:32voidah has quit [Ping timeout: 480 seconds]
20:32jannaucan we support the webcam without tracing?
20:32chaos_princessyes, it should just work (tm)
20:33chaos_princesssorry, was not clear
20:33jannauI have access to a m1 imac. that should cover the mics
20:34Tachyonray[m]I can give it a go. would the test consist of compiling the asahi-wip kernel, flashing chadmed’s gentoo iso to a usb and pointing to the usb drive in tethered boot?
20:34chaos_princesswe can add the webcam to the m3 imac without model-specific tracing
20:34chaos_princessbut i still need a general trace on t8122
20:35jannauI'll trace the cam on j504/t8122 tomorrow
20:38svendoes the installer already work? i guess that's mostly plumbing anyway
20:38chaos_princessmerge a mr and it does for uefi-only
20:38svenokay, nice
20:41voidah has joined #asahi-dev
20:49voidah has quit [Ping timeout: 480 seconds]
20:53voidah has joined #asahi-dev
21:02marv7000 has quit [Quit: The Lounge - https://thelounge.chat]
21:02marv7000 has joined #asahi-dev
21:05hdbngr has joined #asahi-dev
21:07jannauI'll refresh the PR. fedora rawhide images would work if they were building. I'm fixing one issue with a little luck it's the only one
21:08jannauwe need a new m1n1 release for supporting m3 devices fully
21:09jannauafter the t8122 cam works
21:12svenany PRs we still need merged before that? i think there are still a bunch for tipd/spmi open
21:13hdbngr has quit [Ping timeout: 480 seconds]
21:14lynndotpy72 has quit [Quit: bye bye]
21:15lynndotpy72 has joined #asahi-dev
21:16jannaunothing for booting linux on m3. it's afaik all m4 and later or for dockchannel uart
21:17JamesCalligeros[m]I didnt get around to it on the weekend and its not related to m3 but id like to squeeze in publishing m1n1.bin to the cdn on every tag before we do another
21:18zaguad has joined #asahi-dev
21:21yukatipd/spmi in m1n1 is required for USE_DEBUGUSB on m3
21:21svenit'll still boot without that though, won't it?
21:21yukaSo yeah dockchannel uart in a way
21:21yukaYes totally the linux driver then just sets the tips power state later on
21:22svenok, so nice to have, but i guess most people who do any development built their own stage 1 binaries anyway
21:38hdbngr has joined #asahi-dev
21:46hdbngr has quit [Ping timeout: 480 seconds]
21:51voidah has quit [Ping timeout: 480 seconds]
21:58voidah has joined #asahi-dev
22:00___nick___ has quit [Ping timeout: 480 seconds]
22:05___nick___ has joined #asahi-dev
22:06hdbngr has joined #asahi-dev
22:07voidah has quit [Ping timeout: 480 seconds]
22:14hdbngr has quit [Ping timeout: 480 seconds]
22:15voidah has joined #asahi-dev
22:22donaldh has joined #asahi-dev
22:24voidah has quit [Ping timeout: 480 seconds]
22:32voidah has joined #asahi-dev
22:35chaos_princess[ 29.987063] apple-dart 501a80000.iommu: translation fault: status:0x8f0f0002 stream:15 code:0x2 (NO PMD FOR IOVA) at 0x100100
22:36chaos_princessok, so, how do i tell the 6.18 kernel "just map here to here on this iommu"
22:36chaos_princessthey reworked the api
22:41voidah has quit [Ping timeout: 480 seconds]
22:48voidah has joined #asahi-dev
22:57voidah has quit [Ping timeout: 480 seconds]
23:05voidah has joined #asahi-dev
23:07hdbngr has joined #asahi-dev
23:14voidah has quit [Ping timeout: 480 seconds]
23:16hdbngr has quit [Ping timeout: 480 seconds]
23:21voidah has joined #asahi-dev
23:30voidah has quit [Ping timeout: 480 seconds]
23:38voidah has joined #asahi-dev
23:47voidah has quit [Ping timeout: 480 seconds]
23:56voidah has joined #asahi-dev
…