#
…

2026-06-02

00:08gargantua has quit [Ping timeout: 480 seconds]
00:11liangqi has joined #asahi-dev
00:19liangqi has quit [Ping timeout: 480 seconds]
00:34voidah has quit [Ping timeout: 480 seconds]
00:34voidah has joined #asahi-dev
00:43liangqi has joined #asahi-dev
00:52liangqi has quit [Ping timeout: 480 seconds]
01:02liangqi has joined #asahi-dev
01:12liangqi has quit [Ping timeout: 480 seconds]
01:21liangqi has joined #asahi-dev
01:30liangqi has quit [Ping timeout: 480 seconds]
01:44balrog has quit []
01:51balrog has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:02abennett has joined #asahi-dev
02:03abennettCollecting system information... Product name: MacBook Air (13-inch, M4, 2025) SoC: Apple M4 Device class: j713ap Product type: Mac16,12 Board ID: 0x2c Chip ID: 0x8132 System firmware: iBoot-13822.81.10 is there anything i can do to help get asahi linux onto my mac?
02:04fumnanya has quit [Ping timeout: 480 seconds]
02:04abennett has quit []
02:50tobhe_ has joined #asahi-dev
02:57tobhe has quit [Ping timeout: 480 seconds]
02:59liangqi has joined #asahi-dev
03:07liangqi has quit [Ping timeout: 480 seconds]
03:09marvin24 has quit [Ping timeout: 480 seconds]
03:15liangqi has joined #asahi-dev
03:16damas has joined #asahi-dev
03:19alessaba has quit [Ping timeout: 480 seconds]
03:19alessaba has joined #asahi-dev
03:24liangqi has quit [Ping timeout: 480 seconds]
03:28damas has quit [Remote host closed the connection]
03:28damas has joined #asahi-dev
03:48liangqi has joined #asahi-dev
03:50first_thunder02 has joined #asahi-dev
03:52nora has joined #asahi-dev
03:52first_thunder0 has quit [Read error: Connection reset by peer]
03:52first_thunder02 is now known as first_thunder0
03:53nora_ has quit [Ping timeout: 480 seconds]
03:56liangqi has quit [Ping timeout: 480 seconds]
03:58fumnanya has joined #asahi-dev
04:05liangqi has joined #asahi-dev
04:08fumnanya has quit [Ping timeout: 480 seconds]
04:14liangqi has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:30eluks has joined #asahi-dev
04:35liangqi has joined #asahi-dev
04:44liangqi has quit [Ping timeout: 480 seconds]
04:52liangqi has joined #asahi-dev
04:59damas has quit [Read error: Connection timed out]
05:11liangqi has quit [Ping timeout: 480 seconds]
05:20liangqi has joined #asahi-dev
05:26zmndlp has quit [Remote host closed the connection]
05:32elvishjerricco9 has joined #asahi-dev
05:38elvishjerricco has quit [Ping timeout: 480 seconds]
05:38elvishjerricco9 is now known as elvishjerricco
05:38liangqi has quit [Remote host closed the connection]
05:39liangqi has joined #asahi-dev
05:47liangqi has quit [Ping timeout: 480 seconds]
05:48pb17 has quit [Ping timeout: 480 seconds]
05:51pb17 has joined #asahi-dev
05:51liangqi has joined #asahi-dev
06:01liangqi has quit [Ping timeout: 480 seconds]
06:09liangqi has joined #asahi-dev
06:24yukafor anyone else wanting to experiment with cpufreq on t603[124]:
06:25voidah has quit [Ping timeout: 480 seconds]
06:25yukalots of help from chaos_princess in getting the cpu_pstate_latencies.py to work
06:26yukaAnd if anyone really understands how cpu_pstate_latencies.py works and why changing "off = 256" to some other number completely changes the results, please tell us :)
06:34voidah has joined #asahi-dev
06:35fumnanya has joined #asahi-dev
06:35liangqi has quit [Ping timeout: 480 seconds]
06:42voidah has quit [Ping timeout: 480 seconds]
06:43liangqi has joined #asahi-dev
06:44fumnanya has quit [Ping timeout: 480 seconds]
06:52liangqi has quit [Ping timeout: 480 seconds]
07:02LarstiQI don't have a t6031 but it's been really nice reading along with the progress, cheers!
07:02liangqi has joined #asahi-dev
07:19nela has quit [Quit: Ping timeout (120 seconds)]
07:20nela has joined #asahi-dev
07:41asahi has joined #asahi-dev
07:42voidah has joined #asahi-dev
07:51voidah has quit [Ping timeout: 480 seconds]
08:07asahi has quit [Quit: asahi]
08:08fumnanya has joined #asahi-dev
08:12asahi has joined #asahi-dev
08:18voidah has joined #asahi-dev
08:26voidah has quit [Ping timeout: 480 seconds]
08:29r0ni has quit [Ping timeout: 480 seconds]
08:44ansg191 has quit [Remote host closed the connection]
08:51renoo has joined #asahi-dev
08:51ansg191 has joined #asahi-dev
09:11sofus has joined #asahi-dev
09:19voidah has joined #asahi-dev
09:20J has joined #asahi-dev
09:20J is now known as Guest10627
09:27voidah has quit [Ping timeout: 480 seconds]
09:43Guest10627 has quit [Remote host closed the connection]
10:10picnoir has quit [Quit: WeeChat 4.9.0]
10:20lion328 has quit [Ping timeout: 480 seconds]
10:27picnoir has joined #asahi-dev
10:36voidah has joined #asahi-dev
10:37J has joined #asahi-dev
10:38J is now known as Guest10634
10:39Guest10634 has quit []
10:39J_ has joined #asahi-dev
10:40J_ has quit []
10:40J_ has joined #asahi-dev
10:40chaos_princessJ_: whatever you are trying to do is not having the effect you think it has
10:42J_IDENTIFY
10:44voidah has quit [Ping timeout: 480 seconds]
10:44J_ has quit [Remote host closed the connection]
10:47asahi1 has joined #asahi-dev
10:53asahi has quit [Ping timeout: 480 seconds]
10:53asahi1 has quit [Remote host closed the connection]
10:53asahi has joined #asahi-dev
10:54sofusafter resseting avd i get TTBR iommu translation faults, im not sure what im doing wrong. Can anybody help?
10:57chaos_princessare you configuring the dart correctly/at all?
10:58sofusim not sure, it works until i reset the device.
10:59chadmedin m1n1 or with a prototype linux driver?
10:59chadmedif the latter, have you expressed its dart in your devicetree?
11:00sofuslinux driver, and yes
11:00chaos_princessis it by any chance using some weird dart stream to access that
11:00chaos_princesslike, 15 or whatever
11:01chadmedhave you published any of this anywhere too? would be good to actually see, backseat debugging is kind of annoying
11:01sofuschaos_princess: no im always using 0.
11:01asahi has quit [Ping timeout: 480 seconds]
11:01chaos_princessi am asking which stream the fault is on
11:02chaos_princessthere are various darts that have 15 as bypass
11:02chaos_princessand linux disables bypass on all streams
11:02sofuschadmed: no sorry, i was gonna clean up soon and publish it
11:03sofuschaos_princess: the fault is also on stream 0
11:03chaos_princesswell, what address
11:03chaos_princessis this an address you mapped previously?
11:04sofuschaos_princess: an example: 0x1fffe880000, its the address i get from v4l2 so it changes each time
11:04jannauwhat does reset mean? reset while the module remains loaded and the device bound?
11:04chaos_princesshow exactly are you resetting it
11:05jannauis that a videobuf address?
11:06sofusi reset through pmgr, the pmgr-pwrstate thing
11:07chaos_princessdoesn't that clear the dart too?
11:07sofuschaos_princess: im not sure? The fault first clears after i restart my computer
11:08chadmedare you resetting it via pmgr for PM ops or something else
11:08sofusjannau: im not sure what you mean by videobuf address. Its the address with bitsream slice data
11:09chadmedcan we just like, not do that?
11:09voidah has joined #asahi-dev
11:10sofuschadmed: im not sure theres another way to clear hw faults
11:10jannauwhich power-domains do your avd and dart_avd devices have?
11:10sofusim using reset_control_reset
11:12sofusi have ps_avd_sys for dart, pmp_report_avd_sys for avd and ps_avd_sys for the reset control
11:17jannaumy best guess is that the dart loses stated due to the reset. if you run under the HV you could check
11:18voidah has quit [Ping timeout: 480 seconds]
11:19jannaunot sure if there is a good way to model this. what possible could work is to runtime suspend avd before the reset. That should runtime suspend the dart as well which saves its state and restores it when it goes out of suspend
11:20chadmedhave you tried just resetting avd's cm3 and reinitialising rather than doing a full power cycle?
11:22sofusjannau: i dont think i can reset if the device is suspended?
11:24sofuschadmed: yes, it works... sometimes, i asume it depends on the error
11:25sofuscan i restart the dart somehow?
11:25chadmeddoing that is likely the issue here :P
11:27chadmedim surprised that reinitialising the cm3 does not clear all hw faults, iirc (its been three years i am likely incorrect) after the fw is uploaded and the m3 starts running it, everything behind it gets reset
11:27chaos_princessok, so, crazy modelling and idk if it will fly upstream - put the dart as the reset controller of the avd, and add code to dart driver to save the sate, call its reset controller (the pmgr one) in turn and restore
11:28chadmedthanks i hate it
11:28chadmedwe couldnt even get upstream to accept a dummy fixed regulator :P
11:30sofuschadmed: maybe im doing something wrong idk.
11:31sofusha, i hope thats not necessary
11:31chadmedclear m3 memory and reset it, reupload the fw and then kick it off again
11:33sofusi dont know alot about the dart. But is it not possible to reinitialize the dart? I dont think i need the state
11:33chaos_princessyou need the state, that is the problem you are having
11:34chaos_princessthe driver and hw have different opinion of what the state is
11:34chadmedthe driver is trying to talk to memory it thinks the dart has mapped, but the dart has been reset and has not mapped that address
11:35chadmedyou either need to save and restore the dart state when you reset avd (ew) or figure out how to reset avd without resetting dart or figure out why avd is faulting and fix that
11:39sofus has quit [Read error: Connection reset by peer]
11:39J has joined #asahi-dev
11:39J is now known as Guest10638
11:40sofus has joined #asahi-dev
11:45sofusIm not sure if its relevant that i can do iommu_iova_to_phys on the same addres and that works? Also its on any address i send it
11:45sofusexample: (NO TTBR FOR IOVA) at 0x0
11:46tjemke77 has quit [Read error: No route to host]
11:47chaos_princessyou have completely cleared all dart registers with the pmgr reset, ofc it will fault on every address
11:47tjemke77 has joined #asahi-dev
11:48sofusOkay, i think i understand now thanks
12:13voidah has joined #asahi-dev
12:17sofus has quit [Quit: Lost terminal]
12:19sofus has joined #asahi-dev
12:21voidah has quit [Ping timeout: 480 seconds]
12:22sofusThanks for the help, made an ugly hack that works for now :)
12:24nicenickname6161 has joined #asahi-dev
12:33sofus has quit [Read error: Connection reset by peer]
12:37JamesCalligeros[m]What did you do :p
12:38LarstiQthe crazy modelling? :)
12:52msf2600 has joined #asahi-dev
13:04damas has joined #asahi-dev
13:13damas has quit [Ping timeout: 480 seconds]
13:14Yushi has quit [Remote host closed the connection]
13:15Yushi has joined #asahi-dev
13:17nicenickname6161 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:18gargantua has joined #asahi-dev
13:23Myria[m] has joined #asahi-dev
13:23voidah has joined #asahi-dev
13:27Guest10638 has quit [Quit: Page closed]
13:27J has joined #asahi-dev
13:27J is now known as Guest10648
13:28Guest10648 has quit []
13:28J_ has joined #asahi-dev
13:31voidah has quit [Ping timeout: 480 seconds]
13:31J_ has quit [Remote host closed the connection]
13:35voidah has joined #asahi-dev
13:40nicenickname6161 has joined #asahi-dev
13:48sofus has joined #asahi-dev
13:51sofuskinda, but worse, i exported the pm functions and call them
13:52asahi has joined #asahi-dev
13:52yukaAfter some more fiddling I can read the full pcie phy-ip section on t8132 amd p
13:52yuka*and apply the tunables
13:53yukabut later the port doesn't reach idle state
13:53yukaso yeah
13:53yukaTraces make this so much easier
14:00asahi has quit [Ping timeout: 480 seconds]
14:03nicenickname6161 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:05nicenickname6161 has joined #asahi-dev
14:26msf2600 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
14:30J has joined #asahi-dev
14:30J is now known as Guest10652
14:35damas has joined #asahi-dev
14:40Guest10652 has quit [Remote host closed the connection]
14:41renoo has quit [Ping timeout: 480 seconds]
14:57eluks has quit [Remote host closed the connection]
14:57damas has quit [Read error: Connection timed out]
14:57eluks has joined #asahi-dev
15:04nicenickname6161 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:08r0ni has joined #asahi-dev
15:09whitefish[m] has left #asahi-dev [User left]
15:13junefish has quit [Remote host closed the connection]
15:26junefish has joined #asahi-dev
15:31pb17 has quit [Ping timeout: 480 seconds]
15:32pb17 has joined #asahi-dev
15:37riker77 has quit [Quit: Quitting IRC - gone for good...]
15:42jannaucpufreq works on t6030 as well. so much smoother. nice
15:43yukaCool. Do you happen to have a 16-inch model to check if it has more pstates?
15:43yukaor was that only for the 16-inch max previously...
15:52jannau14-inch but didn't apple extended performance mode to all models? it was only the 16-inch m2 max iirc
15:53jannauand 16-inch m1 max
15:54jannau14-inch m3 max should have it as well
15:54yukaIt lists M3 Max but not M3 Pro
15:54yukaso then these could have different p-states?
15:54yukaDo you maybe have less (actually distinct) p-states on your M3 Pro?
15:56jannauI don't think we have the high perf ones yet. highest is above 4 GHz
15:56yukaI will check it later
15:56sofus has quit [Ping timeout: 480 seconds]
15:57yukadon't have a second device or central scrutinizer with me rn
15:57yuka(maybe on purpose, so that I focus on the other things I should be doing ;))
15:57renoo has joined #asahi-dev
16:00jannauno, even base M3 has 4056 MHz as highest p-state
16:00aites[m] has joined #asahi-dev
16:01Ami[m] has joined #asahi-dev
16:01jannau20 distinct p-states according to powermetrics
16:06renoo has quit [Read error: Connection reset by peer]
16:07fumnanya has quit [Remote host closed the connection]
16:07fumnanya has joined #asahi-dev
16:08riker77 has joined #asahi-dev
16:09gargantua has quit [Ping timeout: 480 seconds]
16:10fumnanya has quit [Remote host closed the connection]
16:14yukaAhh okay then I need to re-do the table
16:15yukaCrazy that this thing can go even faster, it already feels super fast
16:15lacamar has joined #asahi-dev
16:18jannaudoes the t6031 table matches powermetrics? both t8122 and t6030 are different then. both have 700 - 800 MHz p-states for everest and sawtooth (I guess the non working op_01 p-state)
16:21sofus has joined #asahi-dev
16:22jannauI want "opp-mhz", annoyinmg to keep track of 6 trailing zeros
16:22lion328 has joined #asahi-dev
16:22lacamar- has quit [Ping timeout: 480 seconds]
16:26lacamar_ has joined #asahi-dev
16:29okb has joined #asahi-dev
16:30jannauyeah: "current CPU frequency: 10.44 GHz"!
16:33lacamar has quit [Ping timeout: 480 seconds]
16:34ChickenKitten has quit [Remote host closed the connection]
16:34ChickenKitten has joined #asahi-dev
16:39yukaT6034 powermetrics match my table (except of higher p-states missing in my table)
16:40yukachaos_princess measured similar things on t6031 using cpu_pstate_latencies.py
16:41yukaSo this table needs to go in t6031.dtsi instead of t6031-base.dtsi, correct?
16:42yukathe header says t0631-base is for t603[124] but not t6030
16:43yukaThen it is already in the right place
16:44gargantua has joined #asahi-dev
16:45jannauare you missing e-core pstates? t6030 has 8 up to 2748 MHz
16:46jannauthe 20 p-states on everest behave a little strange in the upper range:
16:46jannau... 15:3624MHz 16:3708MHz 17:3705MHz 18:3704MHz 19:3960MHz 20:3959MHz
16:47jannau20 probably needs the other cpu cores in idle but 17 and 18 look wrong
16:50yukajannau: no, the e-core pstates match with powermetrics output
16:51yukaodd indeed that the frequency goes down again
16:51chaos_princessoh, not getting the 20 is my fault, i noticed them going down and assumed that is the end of the table
16:52chaos_princessi wonder if they will behave saner if that is the only core
16:52chaos_princess(per cluster)
16:52yukathe only core how?
16:53chaos_princessmeasure from ecore
16:53yukathe other cores shut down completely?
16:53yukaHmm, right
16:53yukaso I should measure the e-core cluster from p-core, and the p-core cluster from e-core
16:53chaos_princesswould make sense to do that
16:54chaos_princessand send all other secondaries into wfi
16:55chaos_princessdoes anyone know where the frequency for nco_clkref comes from?
16:59renooo has joined #asahi-dev
17:00jannaudidn't dump_pmgr output it on m1/m2?
17:03sofus has quit [Quit: Lost terminal]
17:11yukaI heard about those p-states which can only be reached if some other cores are in deep wfi. Does Linux somehow know about this for scheduling, or will it still attempt to use the highest p-state even in an all-core workload, and what will happen then?
17:13yukaI guess it's a _target_ p-state
17:14lacamar has joined #asahi-dev
17:21lacamar_ has quit [Ping timeout: 480 seconds]
17:29lacamar_ has joined #asahi-dev
17:36lacamar has quit [Ping timeout: 480 seconds]
18:02svenit just won't enter that p-state
18:02svenit'll try but the hw will refuse
18:13renooo has quit [Ping timeout: 480 seconds]
18:28okb has quit [Ping timeout: 480 seconds]
18:47kirakun[m] has joined #asahi-dev
18:49Sobek[m] has joined #asahi-dev
18:50chaos_princesstrying to get audio output to work, getting this error in dmesg "Secondary: ASoC: no backend DAIs enabled for Secondary, possibly missing ALSA mixer-based routing or UCM profile" and no audio output. (input seems to be working, the volume meters do bounce.) Any ideas on what i might be doing wrong?
18:55okb has joined #asahi-dev
18:57jannauwhen does this happen? on use? Message sounds familar. Did you adjust the ucm to cover M3 devices as well? "or UCM profile" might be true
18:59chaos_princessshortly after login. where does said ucm profile live?
19:06jannau`equery f alsa-ucm-conf-asahi`
19:06jannaushould be /usr/share/alsa/ucm2/conf.d/macaudio
19:14NeOne has joined #asahi-dev
19:17Psil0Cybin[m]oh princess oh princess, you are using this for Mac? Why no virtual machine?
19:17Psil0Cybin[m]io did this and than switched back to mac, and was missing keyboard functions like lights and sound
19:17Psil0Cybin[m]like u want ur mac into a linux box, i would start with a mac on VM, very little ---> security issues unless you are pushing your security chances to the limit
19:18Psil0Cybin[m]VMS you can take with on extrnal hard drive and run anywhere without carrying the laptop
19:18Psil0Cybin[m]plus you MAY by accident remove the Mac bootloader which is cool as long as you do not plan to go back to Macintosh
19:18junefish has quit [Remote host closed the connection]
19:19junefish has joined #asahi-dev
19:19Psil0Cybin[m] was kicked from #asahi-dev by sven [Psil0Cybin[m]]
19:19Psil0Cybin[m] has joined #asahi-dev
19:19Psil0Cybin[m]plus if you want to be a sneaky cat, once the hard drive is gone, no one knows that you know how to use that OS..... ;)
19:19Psil0Cybin[m] has left #asahi-dev [Kicked by @oftc-irc:matrix.org : sven has kicked this user from #asahi-dev (Psil0Cybin[m])]
19:19Psil0Cybin[m] has joined #asahi-dev
19:19chaos_princessmate, stop promoting veganism in front of pork farmers
19:21Psil0Cybin[m]? why the kik? lol
19:22Psil0Cybin[m] was kicked from #asahi-dev by ChanServ [You are not permitted on this channel]
19:38chaos_princessand, it sings, ucm was the missing bit
19:57f|_|ckgov[m] has joined #asahi-dev
20:05Lyude has quit [Quit: Bouncer restarting]
20:07Lyude has joined #asahi-dev
20:10gargantua has quit [Ping timeout: 480 seconds]
20:23asahi has joined #asahi-dev
20:24UtkarshVerma[m] has joined #asahi-dev
20:30jotenakis has joined #asahi-dev
20:36jannauI've tagged and pushed asahi-7.0.11-1 (bare minimum to get all 14.x based m3 devices to be self-updatable). depends on m1n1 t603x pcie support
20:46asahi has quit [Quit: asahi]
20:48chadmedchaos_princess: did you need to make any material changes? nco, admac, mca all the same?
20:49chaos_princessseems to be the same
20:49chadmedgood news to wake up to :)
20:49chaos_princessbut we have a new chassis, right?
20:51chadmedpossibly. we'll need to see if there's new TS parameters and new tunings required
20:51chadmedi suspect it's probably all the same as the m2 machines though
20:51chadmed(neo notwithstanding)
20:51chaos_princessi mean the j504
20:52chaos_princess14 inch mbp with non-pro/max chip
20:53jannauprobably close enough to to j514. the missing cutout for the usb-c port on the right side hopefully make not much of a difference
20:54chadmedcheck to see if it has a different AID
20:54chadmedshould be in the ADT
20:55chaos_princess24, vs 28 on j514
20:55chaos_princessand 24 seems unique
21:01JamesCalligeros[m]If the ts parameters differ then they will likely need separate tunings
21:01JamesCalligeros[m]Theyll definitely need separate entries in macaudio and speakersafetyd too
21:23liangqi has quit [Remote host closed the connection]
21:23liangqi has joined #asahi-dev
21:35yukajannau if you want to measure clocks on t8122 or t6031, try this branch: https://github.com/yuyuyureka/m1n1/commits/pstate-latencies-boot-cpu/ (you need the cregs and number of pstates but the rest should work now)
21:35liangqi has quit [Ping timeout: 480 seconds]
21:35yuka*measure pstate latencies
21:35yukaand *t6030
21:35voidah has quit [Ping timeout: 480 seconds]
21:46gargantua has joined #asahi-dev
21:51okb has quit [Remote host closed the connection]
22:01damas has joined #asahi-dev
22:15gargantu1 has joined #asahi-dev
22:19damas has quit [Ping timeout: 480 seconds]
22:20gargantua has quit [Ping timeout: 480 seconds]
22:26Lewis[m] has joined #asahi-dev
22:33damas has joined #asahi-dev
22:47damas has quit [Ping timeout: 480 seconds]
23:01jsk_ has joined #asahi-dev
23:03damas has joined #asahi-dev
23:06jsk has quit [Ping timeout: 480 seconds]
23:07chadmed has quit [Quit: Konversation terminated!]
23:07chadmed has joined #asahi-dev
23:08Ariadne has quit [Read error: Connection reset by peer]
23:09jsk_ is now known as jsk
23:17Ariadne has joined #asahi-dev
23:20damas has quit [Remote host closed the connection]
23:25damas has joined #asahi-dev
23:28voidah has joined #asahi-dev
23:36voidah has quit [Ping timeout: 480 seconds]
…