#
…

2026-09-08

00:03elvishjerricco has quit [Quit: The Lounge - https://thelounge.chat]
00:05elvishjerricco has joined #asahi-dev
00:13rzhikharevich has joined #asahi-dev
00:17rany has quit [Remote host closed the connection]
00:18rany has joined #asahi-dev
00:21rzhikharevich has quit [Ping timeout: 480 seconds]
00:34pb17 has quit [Remote host closed the connection]
00:34pb17 has joined #asahi-dev
01:05superdisk_ has quit [Ping timeout: 480 seconds]
01:27unoloxia has joined #asahi-dev
01:29rany has quit [Remote host closed the connection]
01:30rany has joined #asahi-dev
01:33amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:37unoloxia has quit [Read error: Connection reset by peer]
01:38unoloxia has joined #asahi-dev
01:38unoloxiaSpeakers, 3.5mm out and internal microphone array from J700 achieved without Exclaves required. Successfully booted cL4 (ExclaveOS) as a secondary guest via a SPTM emulator to get traces, although iSight is being difficult. Any ideas on getting SK to talk to XNU via Tightbeam?
01:38unoloxiaStandalone INFO/ONLINE/Ping/Pong works, and I can return naturally from cL4’s kernel bootstrap before starting XNU on the same CPU, but XNU currently stalls after its early Domain 2 TXM calls, before the expected Domain 3/Table 0 SK RingGate call. Pointers on the real SPTM’s second SK entry/handoff
01:38unoloxiasemantics would be appreciated.
01:40bennofs3 has quit [Ping timeout: 480 seconds]
01:41unoloxia has quit [Read error: Connection reset by peer]
01:48bennofs3 has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:07pb17 has quit [Ping timeout: 480 seconds]
02:07amarioguy has joined #asahi-dev
02:08pb17 has joined #asahi-dev
02:15tobhe_ has joined #asahi-dev
02:22tobhe has quit [Ping timeout: 480 seconds]
02:25jnn has joined #asahi-dev
02:28jn has quit [Ping timeout: 480 seconds]
02:42crabbedhaloablut has quit []
02:43crabbedhaloablut has joined #asahi-dev
02:47amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:09mripard has quit [Remote host closed the connection]
03:10mripard has joined #asahi-dev
03:50nora has joined #asahi-dev
03:52nora_ has quit [Ping timeout: 480 seconds]
04:34rzhikharevich has joined #asahi-dev
04:42rzhikharevich has quit [Ping timeout: 480 seconds]
06:33pb17 has quit [Ping timeout: 480 seconds]
06:34pb17 has joined #asahi-dev
06:52rzhikharevich has joined #asahi-dev
07:00rzhikharevich has quit [Ping timeout: 480 seconds]
07:23yukawhy does this sound like pasted from a slop generator
07:23yukaand they left already
07:24superdisk_ has joined #asahi-dev
07:24chaos_princess'cause it was
08:01rzhikharevich has joined #asahi-dev
08:07integralpilot has joined #asahi-dev
08:09rzhikharevich has quit [Ping timeout: 480 seconds]
08:14hardy94 has joined #asahi-dev
08:15mripard has quit [Remote host closed the connection]
08:16mripard has joined #asahi-dev
08:29pb17 has quit [Ping timeout: 480 seconds]
08:36pb17 has joined #asahi-dev
08:41mripard has quit [Remote host closed the connection]
08:42mripard has joined #asahi-dev
08:49os2 has joined #asahi-dev
08:51chadmedoh we need to fix the j615 sound compatible to alias a machine with four speakers instead of 6
08:53chaos_princessdid i screw that up and put a j316 alias there
08:53chadmedi missed it too dont worry
08:54chadmedthe combinatorics on this is crazy
08:55os has quit [Ping timeout: 480 seconds]
08:59jannauwhere? the kernel has "apple,j415-macaudio"
09:00jannauas second compatible
09:22Umut[m] has joined #asahi-dev
09:55chadmedyes, that is wrong
09:55chadmedj415 has six speakers, j615 has four
09:55chadmedso we should be aliasing it to j413 or similar
09:56jannauoh, I did not realize that m3 15-inch macbook air has a different speaker config
09:58jannauoh, we forgot to deploy an automatic run once for fix27
09:59jannaumacOS 27.0 release will probably be 15th to 22nd september
10:08sofusdoes anyone know why set_digital_out_mode could crash?
10:10chadmedis this an m3 machine?
10:15chadmedhas it happened before
10:16sofuswhat do you mean?
10:17chaos_princessare you trying to plug in an external display
10:17chadmedno this looks like the internal panel on a macbook
10:17chaos_princess"copy_edid failed: -ETIMEDOUT"
10:17amarioguy has joined #asahi-dev
10:18sofuswas that not expected with 14.7?
10:18chadmedoh right the dimensions are for the dfb
10:18chadmedexternal displays should work yes, i tested on j314
10:18chaos_princessno, they should not
10:18chaos_princessdpphy is missing
10:18chaos_princesss/dpphy/dp part of atcphy/
10:19chadmedis this usb-c or hdmi port
10:19chaos_princessdoes hdmi not need the internal dp to be brought up
10:19sofusits on an m3, internal display
10:19chadmedhuh, have they finally flashed edids on to the tcons?
10:20chadmedcan you uncomment line 60 in iomfb_v14_7.c
10:20chadmedand see if that does anything
10:22jannauhdmi on t603x needs dp support in atcphy. on j504 it is iirc an external dp phy
10:24chadmed[ 2.498523] apple-dcp 28ec00000.dcp: dcp_hotplug() connected:1 valid_mode:0 nr_modes:6 they must have edids now
10:25sofusi was expecting the device tree / m1n1 setup to be wrong
10:26chadmedwhats trying to submit a null rectangle, that is odd
10:26chaos_princesstry tracing it?
10:27sofuscould that be cause of
10:27sofus[ 2.641898] apple-dcp 28ec00000.dcp: RTKit: syslog message: FramebufferDCP.cpp:2488: IOMFB:create_default_fb_surface: Creating default FB surface failed - width = 3024, height = 1964
10:28chadmedno thats something else, i never figured that one out. the trace between macos and linux is effectively identical until this point
10:29sofustrace in linux? How would i do that?
10:29chadmedyou can run linux under the hypervisor
10:29chadmedproxyclient/tools/run_guest_kernel.sh
10:29chaos_princesscopy boot.bin from ESP, pass it to run_guest.py with -r
10:30chadmedor do that if you dont have a kernel tree on your host ^
10:31sofusoh, im silly, i was already using the run_guest_kernel.sh, just never realized its just a run_guest wrapper...
10:42chadmedchaos_princess: are you sure the j615 dt is correct
10:42chadmedspecs list 6 speakers
10:43chaos_princesshow many are on j613
10:43chaos_princesshere's your answer, i thought that j615 is j613, but bigger
10:44chadmedokay we need to add the missing woofers then, thank goodness they didnt change anything
10:45chadmedi suspect left woofer 2 is going to be at 3a and right woofer 2 at 3d
10:46chaos_princessaudio-speaker-left-woofer-2 0x000009C40000003A audio-speaker-right-woofer-2 0x000009C40000003D
10:46chaos_princesslooks like it
10:54sofusnot really sure why the first swap fails, https://pastebin.com/n70dUvGG
10:54sofusseems to work otherwise
10:56chadmedi hope theres not some weirdness we have to make set_digital_out_mode take longer to account for...
10:58rany has quit [Remote host closed the connection]
10:58rany has joined #asahi-dev
11:18tryhard[m]chadmed: did u mean speaker_left_woof2 and not speaker_left_woo2f?
11:23sofusits very hacky, but if anyone wants to use it as a base it can be found here: https://github.com/sofus13/linux/commit/2622d4feae95a3de615a55d1f9d2b43424ec1aa6
11:23sofusthe only thing i had to trace was apple,bw-scratch, the rest is t602x copy paste
11:24sofusand in m1n1 using disp_reserved_regions_t602x worked
11:25amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:26chaos_princessi've added an attempt to decode it there
11:27samjo has joined #asahi-dev
11:32sofuswhops, should have asked. That works
11:35sofushow are the disp_reserved_regions derived? or can i assume the other socs also work with t602x
11:39integralpilot has quit [Quit: integralpilot]
11:59yuka has quit [Remote host closed the connection]
12:01yuka has joined #asahi-dev
12:12Acelogic_ has joined #asahi-dev
12:15yuka has quit [Remote host closed the connection]
12:18fl0_id_sofus I can probably try it later or tomorro. it just adds dcp right?
12:24yuka has joined #asahi-dev
12:30rzhikharevich has joined #asahi-dev
12:34sofusyeah, but only for t6030 and the internal display
12:37yuka has quit [Remote host closed the connection]
12:39rzhikharevich has quit [Ping timeout: 480 seconds]
12:40yuka has joined #asahi-dev
12:40Acelogic_ has quit [Remote host closed the connection]
12:41fl0_id_right. you think it might work (with some changes) for t6031? like if it needs testing. otherwise I'll leave it for now
12:48yuka has quit [Remote host closed the connection]
12:50Acelogic_ has joined #asahi-dev
12:50yuka has joined #asahi-dev
12:57foltz5 has quit [Quit: Ping timeout (120 seconds)]
13:01yuka has quit [Remote host closed the connection]
13:03commandoline has quit [Quit: Bye!]
13:04yuka has joined #asahi-dev
13:10commandoline has joined #asahi-dev
13:14nickchan- has joined #asahi-dev
13:15hardy94 has quit [Quit: hardy94]
13:17foltz5 has joined #asahi-dev
13:19nickchan has quit [Ping timeout: 480 seconds]
13:21pb17 has quit [Ping timeout: 480 seconds]
13:23rzhikharevich has joined #asahi-dev
13:28hardy94 has joined #asahi-dev
13:31hardy94 has quit []
13:33rzhikharevich has quit [Ping timeout: 480 seconds]
13:41rzhikharevich has joined #asahi-dev
13:44pb17 has joined #asahi-dev
13:49rzhikharevich has quit [Ping timeout: 480 seconds]
13:51amarioguy has joined #asahi-dev
13:53amarioguy has quit []
14:00os has joined #asahi-dev
14:05os2 has quit [Ping timeout: 480 seconds]
14:16amarioguy has joined #asahi-dev
14:16nano has quit [Quit: User left the chat]
14:19nano has joined #asahi-dev
14:26k70_ has joined #asahi-dev
14:26k70 has quit [Ping timeout: 480 seconds]
14:26k70_ is now known as k70
14:37hardy94 has joined #asahi-dev
14:59sofusmaybe? At the very least the addresses and bw-scratch need another offset
15:01amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:03Pokemod9773620847128183300132 has quit []
15:03Pokemod9773620847128183300132 has joined #asahi-dev
15:21pb17 has quit [Ping timeout: 480 seconds]
15:29pb17 has joined #asahi-dev
15:40SandwichBtw has joined #asahi-dev
16:04imran_asahi has joined #asahi-dev
16:04imran_asahi has quit []
16:12k70_ has joined #asahi-dev
16:16k70 has quit [Ping timeout: 480 seconds]
16:16k70_ is now known as k70
16:16xal has joined #asahi-dev
16:30bennofs3 has quit [Ping timeout: 480 seconds]
16:37yuka has quit [Remote host closed the connection]
16:38bennofs3 has joined #asahi-dev
16:52hardy94 has quit [Quit: hardy94]
16:56hardy94 has joined #asahi-dev
16:56hardy94 has quit [Remote host closed the connection]
17:00yuka has joined #asahi-dev
17:21pb17 has quit [Ping timeout: 480 seconds]
17:23WindDogStudio[m] has joined #asahi-dev
17:27WindDogStudio[m]Hey, I'm the guy who first posted the j615 audio issue on reddit. I tried installing pull request 606, and it doesnt seem to work out of the box. All six speakers are discovered, but speakersafetyd repeated states “negative power / bad ivsense data”. One other thing I found is that there seems to also be a false 150°C temperature report. I would post asahi-diagnose, but I seem to have bricked the asahi install
17:28ipatch has quit [Quit: WeeChat 4.9.5]
17:30ipatch has joined #asahi-dev
17:46myriaIs reading plist files from macos and transforming them into a kernel data structure fine?
17:46myriaspecifically there's some plists on macos describing perf events and what counters they have affinity on for all the generations and I wanted to check before I started reading them. For RE considerations
17:48pb17 has joined #asahi-dev
17:52svenmyria: ^--
17:56myriathank you sven! I figured as much, but just wanted to check
18:11jannauWindDogStudio[m]: the change from PR 606 wasn't entirely correct and it didn't even build for me (as merged)
18:14WindDogStudio[m]jannau: True, I did have to change the "woofers" to the correct values for it to compile. Forgot to mention that, sorry!
18:16jannauI commented on the other two issues in the PR
18:19WindDogStudio[m]Alright, thank you
18:37jannauWindDogStudio[m]: fixed fix pushed to asahi-wip
18:37jannauhow did you brick your install? i.e. how/when does it fail?
18:41jannauwould be nice if you could re-test before I tag a new kernel
19:05jamonbread has joined #asahi-dev
19:12sofusbtw is there a reason the pmp support for m3 is not merged yet?
19:14jannaumostly just being busy with the gpu driver for v7.2 and intending to merge it only for v7.2 based kernels
19:42waltmckWhy does mic 3 on j413 have 3/2 the gain of the other 2 mics?
19:45dyld has joined #asahi-dev
19:46chaos_princessthey are in a triangle pattern
19:46waltmckYeah that's true, but isn't that what the beamformer is supposed to do?
19:47WindDogStudio[m]jannau: Sorry for the late response, just compiled the asahi-wip kernel. Audio works now! Here is asahi-diagnose after the wip kernel was installed https://winddogstudio.com/asahi-diagnose-20260908-124256.txt
19:47waltmckmic 3 gets a 1.5x amplitude boost relative to the other mics before the beamformer ever sees the output
19:48WindDogStudio[m]jannau: I bricked it after trying to manually patch the already installed kernel, must have messed something up as it wouldnt get past grub, and I would be sent to the linux recovery where all I could do is retry since admin/sudo access is locked. This happened around 5 minutes before I sent my first message earlier today. If anything, it was user error
19:48waltmckI took a 30 speech sample raw recording from all 3 mics, and they only differed by ~0.1 decibels. If this 1.5 constant were right (and mic 3 is less sensitive), we would expect to see a difference of 3.5 dB
19:50WindDogStudio[m]* I bricked it after trying to manually patch the already installed kernel, must have messed something up as it would get past grub, but not any further, and I would be sent to the linux recovery where all I could do is retry since admin/sudo access is locked. This happened around 5 minutes before I sent my first message earlier today. If anything, it was user error
19:57waltmckI just tested this changing the gains to be the same for all microphones, and it reduces background noise by rought 0.8dB without changing speech volume
19:57WindowPain has quit [Ping timeout: 480 seconds]
19:58waltmck(this is comparing two different reconstructions of the same voice recording)
19:58WindowPain has joined #asahi-dev
19:58waltmckso I'm fairly sure that the 1.5x thing is just wrong at least for j413. However I have no idea for other devices
19:59bennofs3 has quit [Ping timeout: 480 seconds]
20:08jannauWindDogStudio[m]: thanks for testing
20:09jannauI've tagged asahi-7.1.13-1
20:25dyld has quit [Remote host closed the connection]
20:38chadmedwaltmck: it depends on the placement of the mics in the chassis. on j314 for example one of the mics is under a thinner part of the chassis and is much more sensitive than the other two
20:39waltmckAh cool, so this was just an educated guess for j413 based on other models?
20:39waltmckI guess that would explain it. I opened a PR correcting the weights which contains some of my measurements: https://github.com/AsahiLinux/asahi-audio/pull/98
20:40chadmedyeah i saw, ill merge it when i get out of bed
20:55sofusi added the rest of the dcp nodes here (i will likely fix them tomorow), https://github.com/sofus13/linux/tree/m3-dcp
20:56chaos_princessall t6031 irqs should be the other way around, first one is zero, not second
20:56sofusim supprised with how good the power usage is, but i only have my 16' to compare to. ~2.5-3 W idle seems pretty good
21:03JamesCalligeros[m]Sounds about right for a base M3
21:05sofuschaos_princess: thanks, fixed
21:06waltmcksofus: is that including the display backlight?
21:06sofusits the base pro, i dont know why i thought dcp would make it worse
21:08WindDogStudio[m]jannau: I’m glad I could help. I'll be trying things and see if I can find anymore bugs
21:08sofuswaltmck: no, im not sure why
21:10JamesCalligeros[m]As in the backlight doesnt work or PSTR is not changing as you change the brightness?
21:12sofusi dont have anything in /sys/class/backlight
21:13JamesCalligeros[m]Plasma doesnt recognise it either?
21:14sofusim not using plasma, does kde do something special?
21:15JamesCalligeros[m]It shouldnt but it works on my j314 with 14.7/14.8.3 fw
21:16JamesCalligeros[m]Anything sus in dmesg?
21:19sofusnothing obvious no
21:20JamesCalligeros[m]I need to offload some hardware smdh
21:21amarioguy has joined #asahi-dev
21:22amarioguy has quit []
21:23amarioguy has joined #asahi-dev
21:23sofusi will take a look tomorrow, hopefully not to hard to figure out
21:24amarioguy has quit []
21:24JamesCalligeros[m]I suspect something is just not started
21:25JamesCalligeros[m]Im like 99% sure i pushed the backlight stuff
21:26sofusi get "IOMFB: Could not find Backlight service" so i would assume the backlight stuff exists
21:27bennofs3 has joined #asahi-dev
21:27JamesCalligeros[m]That is expected iirc
21:29JamesCalligeros[m]Therell be another message near it about the pmu service
21:31devadri has joined #asahi-dev
21:34sofusnot anything i can find no
21:36JamesCalligeros[m]nvram is the one i meant lol ok so thats fine
21:36rany has quit [Remote host closed the connection]
21:36JamesCalligeros[m]Ill take a look when im at a computer
21:37sofusi have some traces from earlier i can get you before i go to bed if that would be helpfull?
21:37rany has joined #asahi-dev
21:37JamesCalligeros[m]They might be, pls share
21:46rany has quit [Remote host closed the connection]
21:47rany has joined #asahi-dev
21:48sofusi think the m1n1 one is from macos and the other one is not
21:50rany has quit [Remote host closed the connection]
21:51rany has joined #asahi-dev
21:59amarioguy has joined #asahi-dev
22:11pb17 has quit [Ping timeout: 480 seconds]
22:13amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:14amarioguy has joined #asahi-dev
22:15pb17 has joined #asahi-dev
22:21revadam has joined #asahi-dev
22:24revadam has quit []
22:24amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:24amarioguy has joined #asahi-dev
22:25JamesCalligeros[m]lol that second one didnt trace anything :P
22:26unoloxia has joined #asahi-dev
22:28unoloxia> why does this sound like pasted from a slop generator - I find it amusing that eloquence and grammatical correctness constitutes LLM generated.
22:30unoloxiaAdditionally not being online for
22:30unoloxiaa few hours is Timezone related lol
22:33unoloxiachaos_princess: happy to post proof, again as I have clearly mentioned here before I am working with tainted work and as such am not upstreaming. Achievements made however are still documentable by myself if you would like to like *shrug*
22:40unoloxia has quit [Read error: Connection reset by peer]
22:40cow123 has quit [Ping timeout: 480 seconds]
22:41amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:41superdisk_ has quit [Ping timeout: 480 seconds]
22:42iretq is now known as Guest17479
22:42iretq has joined #asahi-dev
22:43marv7000 has quit [Read error: Connection reset by peer]
22:43Guest17479 has quit [Write error: connection closed]
22:43marv7000 has joined #asahi-dev
22:51jamonbread has quit []
23:02amarioguy has joined #asahi-dev
23:05rany has quit [Remote host closed the connection]
23:06rany has joined #asahi-dev
23:13rany has quit [Remote host closed the connection]
23:14rany has joined #asahi-dev
23:15rany has quit [Remote host closed the connection]
23:16rany has joined #asahi-dev
23:16rany has quit [Remote host closed the connection]
23:17rany has joined #asahi-dev
23:18amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:22devadri has quit [Quit: devadri]
23:23cow123 has joined #asahi-dev
23:35amarioguy has joined #asahi-dev
23:52rany has quit [Remote host closed the connection]
23:53rany has joined #asahi-dev
23:56amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
…