2026-06-25
00:08hdbngr has quit [Ping timeout: 480 seconds]
00:10gargantua has quit [Ping timeout: 480 seconds]
00:14hdbngr has joined #asahi-dev
00:22hdbngr has quit [Ping timeout: 480 seconds]
00:42enverbalalic has quit [Quit: enverbalalic]
00:49pb17 has quit [Ping timeout: 480 seconds]
00:54pb17 has joined #asahi-dev
01:05aites[m]aites[m]: I took another look at it, I tried even just installing macos 16, I tried creating an entirely new container rather than sharing the container with other volumes, I tried so many things, and it still doesn't work this is actually ridiculous 😭
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:23tobhe has joined #asahi-dev
02:30tobhe_ has quit [Ping timeout: 480 seconds]
03:22maettu102txmxn[m] do you mean the layout you load with loadkeys on the tty? Then that would be kbd related.
03:25turboretor has joined #asahi-dev
03:48gargantua has joined #asahi-dev
03:50marvin24 has joined #asahi-dev
03:50hdbngr has joined #asahi-dev
03:58hdbngr has quit [Ping timeout: 480 seconds]
04:09hdbngr has joined #asahi-dev
04:18hdbngr has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:29eluks has joined #asahi-dev
04:44gargantu1 has joined #asahi-dev
04:48gargantua has quit [Ping timeout: 480 seconds]
04:54balrog has quit []
04:58balrog has joined #asahi-dev
05:00hdbngr has joined #asahi-dev
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:21hdbngr has joined #asahi-dev
05:29hdbngr has quit [Ping timeout: 480 seconds]
05:36scd has joined #asahi-dev
05:38hdbngr has joined #asahi-dev
05:48Ardu0us_ has joined #asahi-dev
05:51hdbngr has quit [Ping timeout: 480 seconds]
05:55Ardu0us has quit [Ping timeout: 480 seconds]
06:01Pokemod977362084712818330 has quit []
06:07sofus has joined #asahi-dev
06:11hdbngr has joined #asahi-dev
06:13chadmed has quit [Quit: Konversation terminated!]
06:13chadmed has joined #asahi-dev
06:19Pokemod977362084712818330 has joined #asahi-dev
06:19hdbngr has quit [Ping timeout: 480 seconds]
06:26hdbngr has joined #asahi-dev
06:30StanfordAppliedCyber[m]i am incredibly confused about some regression i'm facing right now and i'm wondering if anyone can comment
06:31StanfordAppliedCyber[m]tl;dr my boot, which was previously all the way to windowserver taking over the display, now hangs on the sks endpoint never being enabled
06:31StanfordAppliedCyber[m]the regression started after i installed a new 1tr object that changed the memory map
06:32StanfordAppliedCyber[m]so the obvious culprit is the new 1tr object
06:33StanfordAppliedCyber[m]but in the past 2 days i have: rolled back the 1tr object to the known good one, rolled back my branch to a known good commit, and tested aknown good hypervisor with a known good 1tr boot object and i can't get past the sep failure
06:33StanfordAppliedCyber[m]with one notable exception: earlier today i had a single run that made it past the sep issue to a known later boot wall (after dcp takes over the display)
06:33StanfordAppliedCyber[m]i have been unable to reprooduce the run since then
06:34StanfordAppliedCyber[m]does anyone know what preconnditions are required for sep endpoing 18 to be published?
06:36hdbngr has quit [Ping timeout: 480 seconds]
06:36StanfordAppliedCyber[m]right now a command on endpoint 8 is what's actually hanging
06:39StanfordAppliedCyber[m]the SEP is trying to configure the OOL buffers
06:44StanfordAppliedCyber[m]endpoint 0, tag 8, type 0x04, command 0x08, param 0x4000 (presumably the size of the ool buffers)
06:44StanfordAppliedCyber[m]what i don't get is why reverting to a known good snapshot and running an exact test that worked 5 days ago oesn't work
06:50hdbngr has joined #asahi-dev
06:55barusu has joined #asahi-dev
06:56sofus has quit [Quit: Lost terminal]
06:57barusuI want to help out with the asahi project as a developer. I'm already a firmware developer (and Rust) and am mostly interested in learning reverse engineering. I would really appreciate it if you guys could point me to some starter issues to help me get acquainted with the dev ecosystem.
06:59hdbngr has quit [Ping timeout: 480 seconds]
07:07hdbngr has joined #asahi-dev
07:08gargantua has joined #asahi-dev
07:10gargantu1 has quit [Ping timeout: 480 seconds]
07:10mattia013 has joined #asahi-dev
07:11sofus has joined #asahi-dev
07:19hdbngr has quit [Ping timeout: 480 seconds]
07:29sofusim hoping the output from https://github.com/sofus13/linux/tree/avd-m1-test will give me some more insight into why t6000 and t8103 does not work
07:31sofusi would be very thankfull if anyone would test it with https://www.itu.int/wftp3/av-arch/jvt-site/draft_conformance/AVCv1/AUD_MW_E.zip
07:31hardy94 has joined #asahi-dev
07:44melnary has quit [Read error: Connection reset by peer]
07:44melnary has joined #asahi-dev
07:44nickchan- has joined #asahi-dev
07:44JamesCalligeros[m]im out rn but i can test later tonight or tomorrow
07:45nickchan has quit [Read error: Connection reset by peer]
07:49hardy94 has quit [Remote host closed the connection]
07:51hdbngr has joined #asahi-dev
07:52hardy94 has joined #asahi-dev
07:53sofusand since i cant trace the hw im kinda forced to poke the firmware and guess based on that
08:01hdbngr has quit [Ping timeout: 480 seconds]
08:06gargantu1 has joined #asahi-dev
08:06hdbngr has joined #asahi-dev
08:08gargantua has quit [Ping timeout: 480 seconds]
08:19integralpilot has joined #asahi-dev
08:21integralpilotbarusu: something that's really helpful to the project is what's called upstreaming: cleaning up driver code and making it suitable for sending to the mainline kernel (which means there's less burden when we rebase every release). in my opinon, it's a great way to get started with the linux kernel (it's how i did!). cause you're on M1, something i'd suggest is the SPI HID drivers (see drivers/hid/spi-hid/).
08:23integralpilotwe're planning to send the dockchannel HID (used on macbooks that are M2+) drivers upstream soon, but the SPI HID ones (for M1 only) are still downstream, and i'd love to help upstream them but i can't because I only have an M3 device. and looking at them now, they don't seem _that_ bad, so might be good for a start with your M1!
08:24integralpilotin particular see https://github.com/AsahiLinux/linux/blob/asahi/drivers/hid/spi-hid/spi-hid-apple-of.c and https://github.com/AsahiLinux/linux/blob/asahi/drivers/hid/spi-hid/spi-hid-apple-core.c
08:25integralpilotthe first step is to install m1n1 on your MBP, and get the asahi (and also linux-next) kernel building on a seperate linux device
08:25integralpilotthere's guides on this that you can find, but if you need any help LMK
08:34integralpilotyuka: i pushed the rough TTY driver you wanted to see now - https://github.com/IntegralPilot/linux2/tree/dc-serial-test
08:34JamesCalligeros[m]sofus: can you chuck the apple firmware in qemu and see what it does differently for a given input?
08:34JamesCalligeros[m](or any of the other cm3 emulators)
08:35integralpilotjust a few cavets in that: a) its really rough and quick cause i just wanted to prove the mailbox concept and i only tested it a tiny bit and it might not actually work fully, b) it uses the dockchannel through mailbox subsystem, which isn't in downstream, c) there was a warning about using the wrong workqueue that happens when you send data to it, but i didn't look further into it as it appeared to work
08:36integralpilotand the coding style is kinda bad and rough too
08:36integralpilotbut anyway hope it helps!
08:39chaos_princessbtw, has anyone tested 27b2 on m1/m2?
08:40integralpilotsome unsuspecting people on the reddit have for us lol! i believe it fixes the boot menu issue but still has the battery / SMC firmware change that causes our driver to emergency shutdown
08:40chaos_princessi mean does it break smc further compared to b1
08:40chaos_princessi have b1 smc firmware on mine, haven't tried b2 yet
08:41chaos_princessand it does not fix the boot menu issue, unless "it" refers to me :P
08:41integralpilotah, not sure in that case sorry, as i have just seen people reporting that the SMC issue persists. and can't test it myself as i don't have the hardware
08:42integralpilotoh, did you make the fix? people were reporting it was "fixed with the update" but might have had it the wrong way. thanks for making it!
08:42chaos_princessyou actually can, m3-tier is surprisingly usable. but no worries, i will just throw b2 on mine later today
08:46integralpilotah yeah true, don't really have the time today though. thank you for testing, hopefully SMC isn't more broken then before (fingers crossed!)
08:51sofusJamesCalligeros[m]: yeah, im using eiln's emu. Figuring out what each irq handler does is hard since the firmware is statefull
08:55chaos_princessbtw, have you considered just covering every single irq handler in logs to AP
08:56chaos_princessin asahi firmware that is
08:59sofusi forward all unkown irq's: https://github.com/sofus13/avd-fw/blob/eb0d094265933cd359fe0678ca6276fea90ee487/src/irq.c#L14
09:01JamesCalligeros[m]are the two interrupt lines to aic just mbox0 not empty and mbox1 not empty?
09:03yukaintegralpilot: ty, I saw some dockchannel uarts don't have an interrupt in the adt, is this a problem?
09:23gargantu1 has quit []
09:27hdbngr has quit [Ping timeout: 480 seconds]
09:33hdbngr has joined #asahi-dev
09:36integralpilotyuka: i wrote it for ones with interrupts, but you should be able to adapt it to ones without them by busy-polling TX_FREE before writes RX_COUNT before reads and making the interrupt binding (and platform_get_irq etc.) optional
09:43hdbngr has quit [Remote host closed the connection]
09:43hdbngr has joined #asahi-dev
10:01hdbngr has quit [Ping timeout: 480 seconds]
10:02hdbngr has joined #asahi-dev
10:11hdbngr has quit [Ping timeout: 480 seconds]
10:18hdbngr has joined #asahi-dev
10:54txmxn[m]maettu102: No I mean just the XKB layout. Also I'm not doing anything related to moving the Fn key functionality from the hid_apple kernel driver to userspace XKB, I'm just updating the german Mac layout in XKB.
10:55enverbalalic has joined #asahi-dev
11:00nela has joined #asahi-dev
11:29chadmedin reality very very few videos outside of the itu conformance stress tests wont have them
11:32sofusit could be different for other forks https://code.ffmpeg.org/FFmpeg/FFmpeg/src/commit/3ac4e07593eeeeac8be43e3f6353161a8d1ce8be/libavcodec/v4l2_request.c#L51
11:44integralpilot has quit [Quit: integralpilot]
11:46pb17 has quit [Ping timeout: 480 seconds]
11:53enverbalalic has quit [Ping timeout: 480 seconds]
12:00enverbalalic has joined #asahi-dev
12:01hdbngr has quit [Ping timeout: 480 seconds]
12:04anon has quit [Ping timeout: 480 seconds]
12:06hdbngr has joined #asahi-dev
12:08enverbalalic has quit [Ping timeout: 480 seconds]
12:11integralpilot has joined #asahi-dev
12:12integralpilotthat happened so much for me lol i installed this thing called ccache
12:12chadmedi cant be bothered with ccache on all the little random machines i have knocking about. the kernel make system is usually pretty good at not doing this
12:14chadmedi used to make heavy use of distcc to make building kernels less obnoxiously slow on the slower laptops but my wifi chokes on it and i cant easily run cat 6 through this house
12:16pb17 has joined #asahi-dev
12:22hdbngr has quit [Ping timeout: 480 seconds]
12:25hdbngr has joined #asahi-dev
12:29milek7 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
12:30milek7 has joined #asahi-dev
12:34hdbngr has quit [Ping timeout: 480 seconds]
12:36milek7 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
12:38sofusim not sure if pmp could cause any trouble? There are a few uniqe events only on m1 max/pro
12:38chaos_princessjust turn it off
12:42hdbngr has joined #asahi-dev
12:48sofusi think apple's fw reports to it, its logging stuff like 'Forcing VMAX!' when decoding is slow
12:51hdbngr has quit [Ping timeout: 480 seconds]
12:52hdbngr has joined #asahi-dev
13:08hdbngr has quit [Ping timeout: 480 seconds]
13:10enverbalalic has joined #asahi-dev
13:20enverbalalic has quit [Remote host closed the connection]
13:28integralpilot has quit [Remote host closed the connection]
13:28enverbalalic has joined #asahi-dev
13:28enverbalaliccould anyone do me a favor and try macvdmtool serial on an m4 mac ?
13:29enverbalalicbefore i go out and buy every usb cable in my city
13:29msf2600 has joined #asahi-dev
13:36sofus has quit [Quit: leaving]
13:39enverbalalic has quit [Ping timeout: 480 seconds]
13:43enverbalalic has joined #asahi-dev
13:52hdbngr has joined #asahi-dev
14:01hdbngr has quit [Ping timeout: 480 seconds]
14:04enverbalalic has quit [Ping timeout: 480 seconds]
14:05john-cabaj has joined #asahi-dev
14:13msf2600 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
14:28enverbalalic has joined #asahi-dev
14:53hdbngr has joined #asahi-dev
15:02hdbngr has quit [Ping timeout: 480 seconds]
15:02jsk has quit [Ping timeout: 480 seconds]
15:06mattia013 has quit [Remote host closed the connection]
15:10mattia013 has joined #asahi-dev
15:16john-cabaj has quit [Quit: john-cabaj]
15:27hdbngr has joined #asahi-dev
15:42jannauis the stream dart translation fault message accurate? dart-avd0 gets translation faults for stream 4 or 5 during resets of ps_avd_sys
16:01hdbngr has quit [Ping timeout: 480 seconds]
16:04nora has joined #asahi-dev
16:08hdbngr has joined #asahi-dev
16:17hdbngr has quit [Ping timeout: 480 seconds]
16:19mripard has quit [Quit: WeeChat 4.9.2]
16:21hdbngr has joined #asahi-dev
16:40hdbngr has quit [Ping timeout: 480 seconds]
16:44hdbngr has joined #asahi-dev
16:52hdbngr has quit [Ping timeout: 480 seconds]
16:56pb17 has quit [Ping timeout: 480 seconds]
16:58Guest11915 has quit [Quit: Bridge terminating on SIGTERM]
16:58rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
17:01enverbalalic has quit [Ping timeout: 480 seconds]
17:01pb17 has joined #asahi-dev
17:02hdbngr has joined #asahi-dev
17:03Jamie has joined #asahi-dev
17:04Jamie is now known as Guest12006
17:04r0ni has quit [Ping timeout: 480 seconds]
17:04rhysmdnz has joined #asahi-dev
17:07Nub[m] has joined #asahi-dev
17:09yukaWho could I ask about buying hardware from the asahi opencollective funds? At this point I think it would be good to have an M5 series device for the things I'm working on.
17:10sveni can just ask the rest of the board, but should be fine. be sure to check for tax implications in your local jurisdiction
17:13yukaThe other question is what I buy. I'm very tempted to get an M5 Pro since that's a device I would probably continue using once I get enough things working. But not sure if I should invoice the whole thing to the opencollective then or just some %
17:13chaos_princesswell, someone would need to get one, so might as well be you
17:14hdbngr has quit [Ping timeout: 480 seconds]
17:22hdbngr has joined #asahi-dev
17:33hdbngr has quit [Ping timeout: 480 seconds]
17:41hdbngr has joined #asahi-dev
17:48enverbalalic has joined #asahi-dev
17:49hdbngr has quit [Ping timeout: 480 seconds]
17:55hdbngr has joined #asahi-dev
17:57enverbalalic has quit [Ping timeout: 480 seconds]
18:07hdbngr has quit [Ping timeout: 480 seconds]
18:08hdbngr has joined #asahi-dev
18:09Retr0id has quit [Quit: Ping timeout (120 seconds)]
18:10Retr0id has joined #asahi-dev
18:26hdbngr has quit [Ping timeout: 480 seconds]
18:31anon has joined #asahi-dev
18:46hdbngr has joined #asahi-dev
18:59milek7 has joined #asahi-dev
19:02pb17 has quit [Ping timeout: 480 seconds]
19:06pb17 has joined #asahi-dev
19:12flokliyuka and I usually use the build deps from nixpkgs (which follows the releases) as a basis for a development shell to tinker with the python scripts. But we didn't package the scripts themselves in there, as chances are you already have an m1n1 checkout somewhere if you use the scripts.
19:18jannauso there is no reason to rush #601 in before the release, not that I would expect any issues from it
19:21yukaOdd: I wanted to debug the M4 crashes a bit more, returned to the exact setup from last time (switch_boot_cpu and then boot linux with maxcpus=1 on a secondary), but this time it boots reliably
19:23yuyichao_ has joined #asahi-dev
19:27yuyichao has quit [Ping timeout: 480 seconds]
19:31jannaumonday should be already reasonable. In Berlin Sunday will probably the hottest day. currently predicted with 40°C (down from 41°)
19:37gargantua has joined #asahi-dev
19:44enverbalalic has joined #asahi-dev
19:48fl0_id_afkgargantua where are you, puh
19:49enverbalalicre:macvdmtool serial. I got another fat USB4 cable that supports display out, again no serial on it.. macvdmtool is again 9/10 times returning vdm failed when putting target into serial mode (reply: 0x05ac80d2). macvdmtool logs from the m2 are https://pastebin.com/u5LThCha
19:51enverbalalicyuka: so i have a target macbook pro 16 m4 max, using the port nearest to the magsafe, the source is a m2 air, again using the port nearest to the magsafe, so rear left as it should be
19:53balrog_ has joined #asahi-dev
19:53enverbalalicchaos_princess: excluding pro or max
19:54balrog has quit [Ping timeout: 480 seconds]
19:54enverbalalicso just base m4 ?
19:54chaos_princessoh, i see
19:55enverbalalicwhat's the full workflow with this if someone is using this day to day ? is it really as simple as connect -> reboot serial -> picocom tty.debug-console
19:55enverbalalicand m1n1 should start dumping stuff to it
19:56enverbalalicthe macos 12 and 13 note in the readme doesn't apply for 26 ?
19:58balrog has joined #asahi-dev
20:01balrog_ has quit [Ping timeout: 480 seconds]
20:04mattia013 has quit [Remote host closed the connection]
20:06balrog has quit []
20:06enverbalalicok i get it now through debugusb and cu.kis-100000-ch-0
20:06enverbalalicserial does not work on t6041 it seems
20:08jvoisinyuka: https://next.ink/244236/apple-applique-des-hausses-vertigineuses-de-prix-sur-les-mac-et-ipad/ the article is in French, but prices raise list is language-agnostic. Sad news :/
20:09balrog has joined #asahi-dev
20:11enverbalalicthen again debugusb is useless because linux doesn't support it, right ?
20:16fl0_id_afkenverbalalic dumb question, when did you connect the cable?
20:17enverbalalicfl10_id_afk: what *exactly* do you mean by that ? :D
20:18fl0_id_afknot sure about macvdmtool, but when I first started with m1n1, my mistake was that I needed to connect the cable before boot on the target. (not sure if relevant here, but just in case...)
20:18enverbalalicwell i'm doing reboot serial, so it will reboot anyways ?
20:18enverbalalicwith the cable connected
20:18fl0_id_afkmmh yeah then it shouldn't matter I guess
20:20r0ni has joined #asahi-dev
20:29enverbalaliclooks like the reason i'm getting the VDM failed while putting target into serial mode is because the timeout on macvdmtool after reboot and before serial is too big
20:29enverbalalicif i manually do first reboot, then serial faster then macvdm, it will be a success in putting both target and local into serial mode
20:29enverbalalicbut that still doesn't give me any output
20:51yukaI think I might have had the same problem on an M5 Max which I had access to for one evening, but i don't fully remember if it worked with tuxvdmtool or there was some other workaround
20:52yukaI remember doing a lot of roudtrips through 1TR since no way to chainload until I fixed the pmgr and had working usb, so I guess serial was not working
20:59yukaDid flokli get the M4 Pro Mac Mini serial working with another mac / macvdmtool on the other side?
21:00hdbngr has quit [Read error: Connection reset by peer]
21:00hdbngr has joined #asahi-dev
21:02mazI nicked it almost verbatim from the Arduino script, which itself is a transcription of macvdmtool.
21:02yukaThat it actually gived a vdm error reply,... yes, odd. Did flokli also have that? There is definitely weirdness with the uart hardware itself, like not all macs can do 1,5M baudrate between their debugusbs.
21:10enverbalalic has quit [Ping timeout: 480 seconds]
21:13yukaintegralpilot: unfortunately my j773g just gets stuck in boot (with maxcpus=1) shortly after "apple-dockchannel-tty soc:serial: registered ttydc0"
21:23enverbalalic has joined #asahi-dev
21:25enverbalalictuxvdmtool also requires M series on both ends, just booting asahi itself ?
21:25enverbalalicok yeah i can't test that, if i linux my gf's air i might end up in a ditch somewhere
21:26anon has quit [Quit: anon]
21:44hdbngr has quit [Ping timeout: 480 seconds]
21:51enverbalalic has quit [Ping timeout: 480 seconds]
21:57chadmed has quit [Ping timeout: 480 seconds]
21:58enverbalalic has joined #asahi-dev
21:59hdbngr has joined #asahi-dev
21:59chadmed has joined #asahi-dev
22:07enverbalalic has quit [Ping timeout: 480 seconds]
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:08chadmed has quit [Quit: Konversation terminated!]
22:11chadmed has joined #asahi-dev
22:14enverbalalic has joined #asahi-dev
22:22enverbalalic has quit [Ping timeout: 480 seconds]
22:42gargantua has quit [Ping timeout: 480 seconds]
22:50jannauchadmed: https://github.com/sofus13/avd-fw/pull/1 to simplify avd testing on multiple targets
23:26gargantua has joined #asahi-dev
23:31anon_ has joined #asahi-dev
23:31hdbngr has joined #asahi-dev
23:40hdbngr has quit [Ping timeout: 480 seconds]
23:41hdbngr has joined #asahi-dev
23:54hdbngr has quit [Ping timeout: 480 seconds]