#
…

2026-11-10

00:17hardy94 has quit [Remote host closed the connection]
01:44MichaelReeves[m]I finally finished sorting through the commits on bits/080-wifi and comparing with what's upstream! turns out now 32 of the 47 there aren't needed anymore (well, won't be after 7.5) :)
01:45MichaelReeves[m]I think the remaining things should be sent in 2 series, "other" and 6GHz.
01:45MichaelReeves[m]I'm happy cause my upstreaming cancelled out way more than I was expecting so yay
02:03roxfan2 has quit [Ping timeout: 480 seconds]
02:03bgb has quit [Remote host closed the connection]
02:09bgb has joined #asahi-dev
02:25cy8aer has quit [Ping timeout: 480 seconds]
02:44umo has quit [Remote host closed the connection]
02:44umo has joined #asahi-dev
03:00yurix has quit [Remote host closed the connection]
03:00yurix has joined #asahi-dev
03:04tobhe has joined #asahi-dev
03:11tobhe_ has quit [Ping timeout: 480 seconds]
03:56roxfan has joined #asahi-dev
04:03bgb has quit [Remote host closed the connection]
04:08bgb has joined #asahi-dev
04:15nora has joined #asahi-dev
04:17nora_ has quit [Ping timeout: 480 seconds]
04:24mripard has quit [Remote host closed the connection]
04:24mripard has joined #asahi-dev
05:44bgb has quit [Remote host closed the connection]
05:50bgb has joined #asahi-dev
06:05yuyichao_ has joined #asahi-dev
06:05yukachaos_princess sadly finding the usb switch (if it exists) is not really made easier by this as it's not used anywhere in normal macOS operation? or do you have some idea
06:06yukaonly place we know it would have to be used is dfu restores (assuming it switches from the DebugUSB mode to recovery mode and at that point does device-mode through DWC3)
06:08yuyichao has quit [Ping timeout: 480 seconds]
06:14yukalet me see if any of the fixes for the A18 Pro also get me further on M5 Pro
06:20nickchanshare disk in macOS recovery might also use device mode
06:22yukaunsure about that, all the data transfer / airdrop features do not invoke it
06:22yukaI think if you just connect together two MB Neos it will not be able to airdrop over usb
06:23nickchanuh so yes it does use device mode but it seems that function is outright disabled on neo
06:23yukayes exactly
06:23yukaalmost hints at this being a myth
06:25nickchanthe share disk has to use device mode but that it is not supported on neo seems undocumented by apple
06:25nickchanthe only way to find it won't work online is with random forum posts
06:25sven has quit [Quit: The Lounge - https://thelounge.chat]
06:26nickchan(if you connect two macs together then obviously one of them has to be the host and other has to be device and the share disk function makes you connect macs like that)
06:26sven has joined #asahi-dev
06:27nickchanmaybe the other port being entirely non operational is too confusing for apple to ship in an environment where user have access?
06:30yukapossible
06:42ddxtanx has quit [Remote host closed the connection]
07:01cy8aer has joined #asahi-dev
07:03yuka> let me see if any of the fixes for the A18 Pro also get me further on M5 Pro
07:03yukasadly not
07:17chadmed has joined #asahi-dev
07:18chadmedjannau: elisaado: i have reproed weirdness with clock settings here, i think i can fix this easily
07:19chadmeddidnt hit it during testing when i first submitted this because its sample rate dependent
07:19chadmed has quit []
07:32chadmed has joined #asahi-dev
07:32chadmedyeah putting that 7 back in fixes everything
07:33chadmedoffsetting the port by 7 makes no sense to me, the resultant bits that get set in the mclk_sel register then dont make sense
07:33chadmedwe set bit 3 only if the port is not 0? and for port 0 we set all bits 0-2?
07:34chadmedwhatever ill send a fix tomorrow
07:39chadmed has quit [Quit: Konversation terminated!]
07:39chadmed has joined #asahi-dev
08:06jn has joined #asahi-dev
08:10jnn has quit [Ping timeout: 480 seconds]
08:37Bhyve has joined #asahi-dev
08:55js6pak has quit [Quit: Ping timeout (120 seconds)]
08:56js6pak has joined #asahi-dev
08:59jannauchadmed: MCLK_SEL suggests that it is not a bit pattern but a number which matches `writel_relaxed(cl->no + 1, cl->base + REG_SYNCGEN_MCLK_SEL);` in mca_fe_enable_clocks(). you wouln't select multiple clocks. so `6 + first_port_cl_no + 1` selects the clock of the first port
09:02hdbngr has joined #asahi-dev
09:14bgb has quit [Remote host closed the connection]
09:20jannauhmm no. it selects the clock of a BE port
09:24bgb has joined #asahi-dev
09:30N_Tempus_04 has joined #asahi-dev
09:43___nick___ has joined #asahi-dev
09:43___nick___ has quit []
09:46___nick___ has joined #asahi-dev
09:51N_Tempus_04how can i make a asahi linux vm
09:52bgb has quit [Remote host closed the connection]
09:52apc has quit [Quit: The Lounge - https://thelounge.chat]
09:54r0ni has quit [Ping timeout: 480 seconds]
09:56integralpilot has joined #asahi-dev
09:56apc has joined #asahi-dev
09:57integralpilot6GHz first draft almost done. now need to find which devices in my house can actually be a 6GHz AP to test it
09:57bgb has joined #asahi-dev
09:58integralpilotN_Tempus_04: do you mean a VM on asahi linux host, or asahi linux in a VM on a different host (in which, there's no point, just make a normal mainline linux VM)?
10:17jcbm_ has joined #asahi-dev
10:17apc has quit [Quit: The Lounge - https://thelounge.chat]
10:18jcbm has quit [Ping timeout: 480 seconds]
10:19apc has joined #asahi-dev
10:19jcbm_ is now known as jcbm
10:19jannauchadmed: see what I pushed to asahi-wip
10:22N_Tempus_04no a asahi linux vm with appel hypervisor framework on appel silicon
10:23integralpilotlets move to #asahi because this is more user support rather than development work
10:29jannauI've tagged asahi-7.3.3-2 please do upgrade immediately from asahi-7.3.3-1
10:38integralpilotyuka: the dt maintainer whats to drop apple,has-stm and just determine it from A18 Pro compatible. is that OK with you or?
10:38integralpilots/what/wants
10:39integralpilotbecause there's no A18 pro MTP in the current series, that would mean in v6 i will have to make it always wait for STM, and then when we add A18 pro seperate compatible, the driver can be updated for it to have that different behaviour
10:41apc has quit [Quit: The Lounge - https://thelounge.chat]
10:43integralpilotalso the other thing they want is make "0" the default country code and not have to specify it explicity. so then m1n1 would have to be modified to instead of searching for "hid-country-code" to change, it would have to insert it in the first place. i mean we _can_ do that, it's more annoying, thoughts?
10:43integralpilotbut if its the nicer DT design, "it would be harder in the bootloader" isnt rly a counterargument so maybe we'll just have to do it
10:44apc has joined #asahi-dev
10:48jannauintegralpilot: m1n1 does not care either way. it does `fdt_setprop_u32(dt, node, "hid-country-code", ...)` which will insert the property if it does not exists
10:49integralpilotoh, perfect then! i must have remembered wrong (or maybe when i looked at the code a while ago i misunderstood what setprop did). thanks
10:50jannauI would have added it to the dt-bindings to make it clear that the bootloader might/will set it
10:51integralpilotyes, i probably should have so its clearer, but for v6 its looking like ill have to move it to a generic file somewhere anyway
10:52integralpiloti have my draft reply written but ill leave it until yuka confirms what they think about stm because that only really impacts Neo and i don't want to agree to something and it turns out we'd rather do it another way
10:57jannauseparate compatible for a device which behaves differently looks like intended use of compatibles
10:57apc has quit [Quit: The Lounge - https://thelounge.chat]
10:58integralpilotthe only thing is, its not really the SoC that decides it, it's if they use the cheap trackpad or expensive trackpad. so in future there could be one macbooks with and without STM that use the same SoC
10:58integralpilotbut that's just speculation so maybe it's fine for now
10:59integralpilotto use SoC-based compatibles
10:59apc has joined #asahi-dev
11:00chaos_princessworst case you will have t6091-mtp-j9000 as the compatible
11:00dvh has quit [Remote host closed the connection]
11:00integralpilotOK sounds fine then. i'll send reply now
11:00yukaintegralpilot reply to what? I'm not in the loop
11:00myriaHey, does anyone know what ethernet drivers the m1 mac mini needs? I can't seem to easily find anything
11:01dvh has joined #asahi-dev
11:01chaos_princesstg iirc, i can boot mine and check
11:01jannauconfig symbol is iirc TIGON3
11:02yukaintegralpilot I don't see any mails regarding stm subnode or has-stm property in the current dchid submission.
11:02myriaWould AQUANTIA be needed at all?
11:02chaos_princessyuka: krzk's "Isn't this implied by the compatible?"
11:03myriaAh, thanks!
11:03dvh has quit [Remote host closed the connection]
11:03jannauconfig symbol for 10gbps is AQTION, driver is called atlantic
11:04yukaok, will see what integralpilot replied now before adding my opinion
11:04integralpiloti havent sent it yet
11:08dvh has joined #asahi-dev
11:12integralpilotdo you want me to send or wait for you to have some time to think about it so we don't contridict each other
11:18chadmedjannau: oh yes that makes more sense. thanks
11:20apc has quit [Quit: The Lounge - https://thelounge.chat]
11:21apc has joined #asahi-dev
11:22jdrago has quit [Quit: WeeChat 4.8.1]
11:22chadmedthatll teach me for testing on the simplest possible machine...
11:22jdrago has joined #asahi-dev
11:22chadmed(well simplest laptop)
11:29integralpilot has quit [Quit: integralpilot]
11:31millefy14 has quit [Quit: Oops... I crashed]
11:39Bhyve has quit []
11:42s0ullight[m]We still pay for the compositor in Fullscreen apps right?
11:42kloenk has quit [Remote host closed the connection]
11:43kloenk has joined #asahi-dev
11:44apc has quit [Quit: The Lounge - https://thelounge.chat]
11:44chadmedyes but im working on it
11:45apc has joined #asahi-dev
11:45chadmedkwin still doesnt like doing direct scanout with this sort of setup (dcp is treated as a second gpu) but we're getting there
11:45chadmedif youre looking for gpu stuff to fix/clean up, you could look into ycbcr image formats on agx :)
11:46chaos_princessi think the question was more in relation to games, not video
11:47chadmedwell yes ycbcr wont help with that
11:47chadmedbut direct scanout for rgb formats is a limitation of the compositor itself now
11:48s0ullight[m]I've been trying to figure out the fps tanking with higher resolutions and just realized it matches macos if the game runs windowed
11:49chadmedframebuffer copies are probably a major source of performance degradation yes
11:49dvh has quit [Remote host closed the connection]
11:49chadmedespecially since interchange is not yet supported in mesa (waiting for the format modifier to land in a released kernel)
11:49dvh has joined #asahi-dev
11:50chadmedso everything is massive linear framebuffers
11:50s0ullight[m]I think after virtio implicit sync that's the biggest cost for higher resolutions
11:50cy8aer has quit [Ping timeout: 480 seconds]
11:50chaos_princessdoes any modern os even do the "classic" fullscreen?
11:50chadmednope, windows fakes it
11:51chadmedbut all of them do support direct scanout of the application's framebuffer without compositing
11:51s0ullight[m]chadmed: Is your work also covering this?
11:52chadmedim not looking at kwin because c++ is the worst thing since leaded petrol
11:52chadmedbut yes interchange support in mesa will make direct scanout more feasible and also reduce memory pressure during framebuffer copies
11:53chadmedthe dcp driver already supports it, and i have a local copy of mesa with everything wired up and no cts regressions
11:54chadmedbut it cant go upstream until the format modifier lands in the drm headers, which should be with 7.4
11:54dvh has quit [Remote host closed the connection]
11:54dvh has joined #asahi-dev
12:00s0ullight[m]Alrightie, I'll polish up my hk improvements and try to upstream. Also will try to get the conversation going regarding fence passing
12:01cy8aer has joined #asahi-dev
12:14ayaana has joined #asahi-dev
12:27fake_agent_smith has quit [Quit: fake_agent_smith]
12:31fake_agent_smith has joined #asahi-dev
12:32jannauchadmed: I think landing in v7.4-rc1 is enough. I think we merged the driver itself after rc1 with asahi uapi was out
12:34chadmedi might open a MR this weekend then!
12:38ayaana has quit [Read error: Connection reset by peer]
12:39ayaana has joined #asahi-dev
12:46jannauI don't see how the compressed formats help with memory pressure. they actual use more memory. they help with memory bandwidth
12:46eluks has quit [Remote host closed the connection]
12:47ayaana has quit [Ping timeout: 480 seconds]
12:48chadmedthat is what i meant, not capacity
12:49jannauwe even merged the uapi in mesa before v6.16-rc1
12:56ayaana has joined #asahi-dev
13:01N_Tempus_04 has quit [Ping timeout: 480 seconds]
13:01Bhyve has joined #asahi-dev
13:07KimTalmo has joined #asahi-dev
13:07ayaana has quit [Ping timeout: 480 seconds]
13:13msimonelli22 has joined #asahi-dev
13:19ayaana has joined #asahi-dev
13:27ayaana has quit [Ping timeout: 480 seconds]
13:28ayaana has joined #asahi-dev
13:46zumi has joined #asahi-dev
13:49zumix has joined #asahi-dev
13:51bgb has quit [Remote host closed the connection]
13:54zumix has left #asahi-dev [Leaving]
13:56bgb has joined #asahi-dev
14:07DarkShadow44 has quit [Remote host closed the connection]
14:07nano has quit [Quit: User left the chat]
14:08DarkShadow4444 has joined #asahi-dev
14:10nano has joined #asahi-dev
14:19ayaana has quit [Ping timeout: 480 seconds]
14:23N_Tempus_04 has joined #asahi-dev
14:27ayaana has joined #asahi-dev
14:36ayaana has quit [Ping timeout: 480 seconds]
14:43ayaana has joined #asahi-dev
14:47hdbngr has quit [Read error: Connection reset by peer]
14:48hdbngr has joined #asahi-dev
14:49danield has joined #asahi-dev
15:02Bhyve has quit []
15:03danield has quit [Quit: danield]
15:03danield has joined #asahi-dev
15:10danieldHi- I've been playing with enabling DP alt mode on a thunderbolt dock, and was wondering if someone more familiar with the DCP had any thoughts. I setup Sonoma under the M1N1 hypervisor, and grabbed a trace of the DCPEXT. Based on that, it looks like the AP calls Sonoma gets are: 18, 10, 0, and 21.
15:13danieldI have a branch here for the M2 Pro: https://github.com/danieldegrasse/linux/tree/wip/m2-dp-hacks, which gets the following AP calls from the DCP: 20, 1, 20, 18, 10, 0, 22, 24. Based on that, it seems like the *initial* set of calls is matching what Sonoma gets, but then the DCP seems to drop connection (calls 22 and 24)
15:14danieldBased on the fact I had to hack the HPD bit in the typeC driver to get the DCP to even attempt to connect, I'm wondering if the 18,10, 0 AP call sequence indicates some initial progress, or if thunderbolt just isn't set up correctly (I'm aware it isn't supported yet on the fairydust branch). Any thoughts?
15:24jannauI would expect it to work mostly the same as dp-altmode with selecting dpin0 in the display crossbar, not interacting with atc-phy and then handling everything on usb4 side
15:27jannauDPTX_APCALL_DEVICE_NOT_RESPONDING (22) indicates that the signal path between dcp and host router and/or display is not up
15:30jannaunot sure how the squencing there is supposed to work but I'd assume the there have to start things on USB4 side before you can connect/HPD dcp
15:34sventhere’s a DP-in phy which is very simple
15:34svenit needs a bunch of MMIO pokes after the tunnel is up
15:42danield has quit [Quit: danield]
15:42danield has joined #asahi-dev
15:50sventhat thing should be in the ADT
15:50picnoir has quit [Read error: No route to host]
15:50svenit’s very simple and iirc HPD must come from there as well
15:50picnoir has joined #asahi-dev
15:50svenfor tbt tunnels the dp aux channel is tunneled as well and that thing usually sends HPD updates
15:56chadmed has quit [Read error: Connection reset by peer]
15:56chadmed has joined #asahi-dev
16:04N_Tempus_04 has quit [Ping timeout: 480 seconds]
16:09danield has quit [Remote host closed the connection]
16:09danield has joined #asahi-dev
16:23N_Tempus_04 has joined #asahi-dev
16:23eluks has joined #asahi-dev
16:32danield has quit [Quit: The Lounge - https://thelounge.chat]
16:32danield has joined #asahi-dev
16:37zaprit has joined #asahi-dev
16:38danield has quit [Quit: The Lounge - https://thelounge.chat]
16:38danield has joined #asahi-dev
16:40danield has quit []
16:40danield has joined #asahi-dev
16:42ayaana has quit [Remote host closed the connection]
16:42ayaana has joined #asahi-dev
16:47hdbngr has quit [Ping timeout: 480 seconds]
16:50danield is now known as danield75
16:55hdbngr has joined #asahi-dev
17:01r0ni has joined #asahi-dev
17:04zumi_ has joined #asahi-dev
17:06OliverClarke[m] has joined #asahi-dev
17:07danield75That makes sense- so I should probably trace the MIMO pokes via M1N1 to the DP-in phy? Assuming I can use the address for atc0-dpin in the ADT (0x701E50000 for the J414). It looks like I'd read the HDP level bit from the DP-in phy instead of the CD321X. Thanks for the info- I'll look around some more and see what I find :)
17:09zumi has quit [Ping timeout: 480 seconds]
17:09zumi_ is now known as zumi
17:12zaprit has quit [Ping timeout: 480 seconds]
17:15r0ni has quit [Ping timeout: 480 seconds]
17:15r0ni has joined #asahi-dev
17:16Bhyve has joined #asahi-dev
17:17zaprit has joined #asahi-dev
17:21svenyup! the header file already contains all registers I think so tracing should give you the right order then
17:21svenand yes, HPD comes from dpin
17:21svenYou’ll also need a notification from tbt tunnel up to dpin but feel free to just hack that for now
17:30N_Tempus_04 has quit [Ping timeout: 480 seconds]
17:32zaprit has quit [Ping timeout: 480 seconds]
17:34ayaana has left #asahi-dev [ERC 5.6.2.31.1 (IRC client for GNU Emacs 31.1)]
17:36umo has quit [Remote host closed the connection]
17:36umo has joined #asahi-dev
17:38danield75Great, thank you. I’ll take a look and see where I get, might be later this week but I really appreciate the guidance!
17:40hdbngr has quit [Ping timeout: 480 seconds]
17:42jgoyvaertshey guys is there a security contact for security issues in asahi kernel?
17:48hdbngr has joined #asahi-dev
17:52zaprit has joined #asahi-dev
17:52chaos_princessis it asahi-specific, or linux in general?
17:52svenif it’s upstream just follow the usual Linux stuff
17:52jgoyvaertsits only in asahi
18:01sansara has quit []
18:01sansara has joined #asahi-dev
18:02zaprit has quit [Ping timeout: 480 seconds]
18:07zaprit has joined #asahi-dev
18:17bgb has quit [Remote host closed the connection]
18:22bgb has joined #asahi-dev
18:22zaprit has quit [Ping timeout: 480 seconds]
18:22hdbngr has quit [Ping timeout: 480 seconds]
18:31hdbngr has joined #asahi-dev
18:33zaprit has joined #asahi-dev
18:33bgb has quit [Remote host closed the connection]
18:35Bhyve has quit []
18:37bgb has joined #asahi-dev
18:41zaprit has quit [Ping timeout: 480 seconds]
18:44hdbngr_ has joined #asahi-dev
18:44hdbngr has quit [Ping timeout: 480 seconds]
18:48rany has quit [Quit: Leaving]
18:48rany has joined #asahi-dev
18:49zaprit has joined #asahi-dev
19:00bgb has quit [Remote host closed the connection]
19:00bgb has joined #asahi-dev
19:06zaprit has quit [Ping timeout: 480 seconds]
19:27zaprit has joined #asahi-dev
19:37zaprit has quit [Remote host closed the connection]
19:37yurix has quit [Read error: Connection reset by peer]
19:39zaprit has joined #asahi-dev
19:40yurix has joined #asahi-dev
19:48zaprit has quit [Ping timeout: 480 seconds]
19:50lacamar has joined #asahi-dev
19:51zaprit has joined #asahi-dev
19:55lacamar_ has quit [Ping timeout: 480 seconds]
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+deb13u1 - https://znc.in]
20:01nickchan has joined #asahi-dev
20:04zaprit has quit [Ping timeout: 480 seconds]
20:20zaprit has joined #asahi-dev
20:36svenm4 pro atcphy really doesn't look too bad. different MMIO pokes and you need to start a random co-processor in the middle and then just not interact with it :D
20:36svenall the sequencing with dwc3, etc. seems to be just the same
20:36svenI was worried they changed that part
21:03zaprit has quit [Ping timeout: 480 seconds]
21:05___nick___ has quit [Remote host closed the connection]
21:19zaprit has joined #asahi-dev
21:23hdbngr_ has quit [Ping timeout: 480 seconds]
21:28zaprit has quit [Ping timeout: 480 seconds]
21:28kaazoo has joined #asahi-dev
21:28kaazoo has quit [Remote host closed the connection]
21:28kaazoo has joined #asahi-dev
21:29kaazoo has quit [Remote host closed the connection]
21:29kaazoo has joined #asahi-dev
21:29hdbngr has joined #asahi-dev
21:30kaazoo has quit []
21:39kaazoo has joined #asahi-dev
21:41kaazoo has quit []
21:41N_Tempus_04 has joined #asahi-dev
21:48hdbngr has quit [Ping timeout: 480 seconds]
21:48hardy94 has joined #asahi-dev
21:49crabbedhaloablut has quit []
21:50crabbedhaloablut has joined #asahi-dev
21:56zaprit has joined #asahi-dev
21:57hdbngr has joined #asahi-dev
22:04zaprit has quit [Ping timeout: 480 seconds]
22:04hdbngr_ has joined #asahi-dev
22:05hdbngr has quit [Ping timeout: 480 seconds]
22:06N_Tempus_04 has quit [Ping timeout: 480 seconds]
22:07Lightsword has quit [Remote host closed the connection]
22:14hdbngr_ has quit [Ping timeout: 480 seconds]
22:20Lightsword has joined #asahi-dev
22:24hdbngr has joined #asahi-dev
22:27zaprit has joined #asahi-dev
22:32hdbngr has quit [Ping timeout: 480 seconds]
22:37zaprit has quit [Ping timeout: 480 seconds]
22:39bgb has quit [Remote host closed the connection]
22:42hdbngr has joined #asahi-dev
22:45bgb has joined #asahi-dev
22:56hdbngr has quit [Ping timeout: 480 seconds]
22:59hdbngr has joined #asahi-dev
23:02chadmed has quit [Read error: Connection reset by peer]
23:02chadmed has joined #asahi-dev
23:05zumi_ has joined #asahi-dev
23:08hdbngr has quit [Ping timeout: 480 seconds]
23:09hdbngr has joined #asahi-dev
23:10zumi has quit [Ping timeout: 480 seconds]
23:10zumi_ is now known as zumi
23:19hdbngr has quit [Ping timeout: 480 seconds]
23:22amarioguy has joined #asahi-dev
23:27hdbngr has joined #asahi-dev
23:29chadmed has quit [Quit: Konversation terminated!]
23:29chadmed has joined #asahi-dev
23:34zaprit has joined #asahi-dev
23:34fake_agent_smith has quit [Quit: fake_agent_smith]
23:35hdbngr has quit [Ping timeout: 480 seconds]
23:41chadmed has quit [Quit: Konversation terminated!]
23:41chadmed has joined #asahi-dev
23:42zaprit has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-dev
23:43chadmed has quit [Read error: Connection reset by peer]
23:43chadmed has joined #asahi-dev
23:45chadmed has quit [Read error: Connection reset by peer]
23:46chadmed has joined #asahi-dev
23:51hdbngr has quit [Ping timeout: 480 seconds]
23:53amarioguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:54hdbngr has joined #asahi-dev
…