#
…

2026-10-07

00:04rosalyntg_ has joined #asahi-dev
00:04rosalyntg has quit [Read error: Connection reset by peer]
00:04truita_ has joined #asahi-dev
00:06truita has quit [Ping timeout: 480 seconds]
00:06truita_ is now known as truita
00:11rany has quit [Remote host closed the connection]
00:12rany has joined #asahi-dev
00:54voidah has joined #asahi-dev
01:07voidah has quit [Ping timeout: 480 seconds]
01:08linkmauve has quit [Remote host closed the connection]
01:12voidah has joined #asahi-dev
01:12linkmauve has joined #asahi-dev
01:19rany has quit [Remote host closed the connection]
01:20rany has joined #asahi-dev
01:36voidah has quit [Ping timeout: 480 seconds]
01:43tobhe has quit [Ping timeout: 480 seconds]
01:45voidah has joined #asahi-dev
01:52lena6 has quit [Remote host closed the connection]
01:53voidah has quit [Ping timeout: 480 seconds]
01:57tobhe has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:29tobhe_ has joined #asahi-dev
02:36tobhe has quit [Ping timeout: 480 seconds]
03:01tjemke772 has joined #asahi-dev
03:07tjemke77 has quit [Ping timeout: 480 seconds]
03:07tjemke772 is now known as tjemke77
03:18marvin24 has quit [Ping timeout: 480 seconds]
03:33bgb has quit [Remote host closed the connection]
03:36ddxtanx has joined #asahi-dev
03:39nora has joined #asahi-dev
03:41nora_ has quit [Ping timeout: 480 seconds]
04:04bgb has joined #asahi-dev
04:38MichaelReeves[m]7.1 rebase going well!
04:38MichaelReeves[m]It’s actually easier than a thought
04:39MichaelReeves[m]It’s mostly done, I’ve booted into full FAR with everything forced to 4K and it all worked (LibreOffice, KMines etc)
04:39MichaelReeves[m]Im working on a test suite (I’ll probably upload it later for ppl to try) for programs that need to be 4K now, and then will run it
04:43LarstiQMichaelReeves[m]: you're on a roll it sounds like!
04:52gargantua has joined #asahi-dev
04:56MichaelReeves[m]a bunch of my teachers were at some PD day and we had subs so I’ve had like the whole day to work on it, which was good
04:57MichaelReeves[m]at lunch one of my friends helped write the test programs cause it’s probably good to have someone unbiased / second pair of eyes
04:57JamesCalligeros[m]"oh nah miss miss sir said we could have free time on the computers miss"
05:00MichaelReeves[m]well all of them were just like “look for the work left for you on teams and do it” and spent the whole time on their phones. it was mostly just quick stuff so I finished it and then worked on kernel stuff
05:03JamesCalligeros[m]...you use teams at school?
05:03JamesCalligeros[m]and youre allowed to have your phones in class?
05:04LarstiQI read that as the subs being on their phones
05:06mattia013 has quit [Quit: mattia013]
05:07mattia013 has joined #asahi-dev
05:08MichaelReeves[m]no we’re not the subs we’re
05:08MichaelReeves[m]s/we’re/were
05:08MichaelReeves[m]Phone autocorrect!
05:08LarstiQI thought you said you weren't on your phone!
05:09LarstiQMichaelReeves[m]: is your plan to rebase up to current kernel through every intermediate version or why are you rebasing on 7.1 now?
05:10MichaelReeves[m]its after school now
05:10MichaelReeves[m]LarstiQ: so I can try with the latest asahi kernel. when asahi 7.2 comes out I might rebase again if I've got time / anyone wants but it depends
05:14[Kalisto]9 has joined #asahi-dev
05:15LarstiQdoh, in my mind we were already at 7.2 but not quite
05:19[Kalisto] has quit [Ping timeout: 480 seconds]
05:28ddxtanx_ has joined #asahi-dev
05:28ddxtanx has quit [Remote host closed the connection]
05:31weirdtreething has quit [Remote host closed the connection]
05:31weirdtreething has joined #asahi-dev
05:36[Kalisto]99 has joined #asahi-dev
05:37[Kalisto]9 has quit [Read error: Connection reset by peer]
05:37MichaelReeves[m]yay the test suite all passes!
05:37MichaelReeves[m]OK time to upload
05:38[Kalisto]9 has joined #asahi-dev
05:43ddxtanx_ has quit [Quit: Konversation terminated!]
05:44[Kalisto]99 has quit [Ping timeout: 480 seconds]
05:45MichaelReeves[m]test suite (it's just a executable, download from releases) here: https://github.com/IntegralPilot/wts
05:45MichaelReeves[m]trying the kernel and test suite on different hardware much appreciated, thanks!
05:46ddxtanx has joined #asahi-dev
05:48MichaelReeves[m]for the kernel, you need CONFIG_ARM64_PER_PROCESS_PAGE_SIZE=y
06:00Pokemod97736208471281833001325 has quit []
06:11sofus_ has joined #asahi-dev
06:11voidah has joined #asahi-dev
06:15MichaelReeves[m]by the way, should we (or I) contact Google? it seems the relevant person would be Kalesh
06:15JamesCalligeros[m]Already being taken care of
06:16sofus has quit [Ping timeout: 480 seconds]
06:20voidah has quit [Ping timeout: 480 seconds]
06:20MichaelReeves[m]oh also forgot to say but if you want to force everything into 4K like I did before to test, its p3s_4k=on in kernel command line (you can run WTS with or without this)
06:21Pokemod97736208471281833001325 has joined #asahi-dev
06:21JamesCalligeros[m]My biggest concern re upstreaming would be arch folks using the same excuse they used to nack tso
06:22JamesCalligeros[m]Namely that this will be used as a crutch by lazy devs to not bother making their software work properly on non-4k systems
06:22Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:29[Kalisto]9 has quit [Ping timeout: 480 seconds]
06:33linkmauveYou have the opposite argument, that it will allow us devs who previously couldn’t try 16k or 64k page sizes due to using some programs requiring 4k to test them now.
06:36Takeshi has joined #asahi-dev
06:41MichaelReeves[m]they'd probably just say QEMU/KVM can be used
06:42ddxtanx has quit [Quit: Konversation terminated!]
06:43hello0092 has joined #asahi-dev
06:43linkmauveThat’s what muvm is, yeah.
06:46Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:48[Kalisto]9 has joined #asahi-dev
06:55sven3 has quit []
06:55sven3 has joined #asahi-dev
07:11NickChan[m]<MichaelReeves[m]> "they'd probably just say QEMU/..." <- this was true but in more recent versions of the architecture there are seperate feature reg for stage1 and stage2 translation granule supoort
07:12mmediouni[m]That doesn't change things
07:13mmediouni[m]If stage1 translation supports 4KB pages, it supports it both when stage2 is supported or not supported
07:13mmediouni[m]*used/not used
07:13mmediouni[m]However the vendor can make a SoC where 4KiB pages are only supported at stage1 and stage2 has to use 16KiB pages
07:14mmediouni[m]But apple doesn't do that afaik - at least not on any released product
07:18bennofs3 has quit [Ping timeout: 480 seconds]
07:18bennofs3 has joined #asahi-dev
07:19iwuvmika has quit [Remote host closed the connection]
07:30sofus_ is now known as sofus
07:36Lyude has quit [Read error: Connection reset by peer]
07:36Lyude has joined #asahi-dev
07:40[Kalisto]99 has joined #asahi-dev
07:45[Kalisto]9 has quit [Ping timeout: 480 seconds]
07:50[Kalisto]991 has joined #asahi-dev
07:50Lyude has quit [Remote host closed the connection]
07:50Lyude has joined #asahi-dev
07:55[Kalisto]99 has quit [Ping timeout: 480 seconds]
08:00meow676767676 has quit [Quit: The Lounge - https://thelounge.chat]
08:00chadmed has quit [Read error: Connection reset by peer]
08:01[Kalisto]9915 has joined #asahi-dev
08:01chadmed has joined #asahi-dev
08:01meow676767676 has joined #asahi-dev
08:06[Kalisto]991 has quit [Ping timeout: 480 seconds]
08:11leio has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
08:11gargantua has quit [Ping timeout: 480 seconds]
08:13leio has joined #asahi-dev
08:21chadmed has quit [Quit: Konversation terminated!]
08:21chadmed has joined #asahi-dev
08:25[Kalisto]99156 has joined #asahi-dev
08:27Lyude has quit [Remote host closed the connection]
08:28Lyude has joined #asahi-dev
08:31[Kalisto]9915 has quit [Ping timeout: 480 seconds]
08:38Takeshi has joined #asahi-dev
08:44picnoir has quit [Quit: WeeChat 4.10.0]
08:44Lyude has quit [Read error: Connection reset by peer]
08:44Lyude has joined #asahi-dev
08:44picnoir has joined #asahi-dev
08:50yukaMichaelReeves[m] the kvm diff I last sent also works on M4
08:51yukalet me see if I can make M5 Pro work as well
08:54iwuvmika has joined #asahi-dev
08:57aissen has joined #asahi-dev
09:32maz_ is now known as maz
09:44voidah has joined #asahi-dev
09:49MichaelReeves[m]awesome, thank you!!
09:49peetzweg has joined #asahi-dev
09:50MichaelReeves[m]I will get upstream dchid ready for you also
09:50MichaelReeves[m]Thank you also for replying to Rob for me last night after I went to bed
09:52peetzweg has quit [Quit: WeeChat 4.10.1]
09:53MichaelReeves[m]If you’ve got time, could you also try my 4K branch and WTS on M4, I wonder if it works or if anything needs changing for that?
09:54chadmedits all architected arm features, i would be very very very very very shocked if anything needs changing for a specific soc
09:54voidah has quit [Ping timeout: 480 seconds]
09:54yukaI don't see why it would need any changes?
09:54yukawhat is WTS?
09:54peetzweg has joined #asahi-dev
09:55chadmedalso is the 7.1 rebase on top of asahi-wip?
09:56chadmedmy kernel .git is over 10gb..
10:02yuka has quit [Remote host closed the connection]
10:03yuka has joined #asahi-dev
10:06gargantua has joined #asahi-dev
10:07tryhard[m]surprising, mine is 7.3gb and i didn't do as much
10:07peetzweg has quit [Remote host closed the connection]
10:08MichaelReeves[m]yuka: sorry I should have been clearer, I meant while you've got it M4 out if you could try to see if its reproducible or if it forgot needed bits or overfitted to fedora DL (and in would need changes), I don't expect anything specifically different but I guess with apple you never know
10:08MichaelReeves[m]s/it/I - I keep making that typo idk why
10:09MichaelReeves[m]WTS is the program I made to test 4K edge cases automatically, https://github.com/IntegralPilot/wts
10:09MichaelReeves[m]chadmed: its based on asahi-7.1.13-3 tag
10:09MichaelReeves[m]I think WIP is only 3 commits ahead of that
10:11yukadon't think I will be able to do that today
10:11chadmed has quit [Quit: Konversation terminated!]
10:11yukain other news I figured out why one of the usb ports was not working on M4. was a nasty typo in the device tree.
10:11MichaelReeves[m]thats ok nvm, its rly low priority compared to the other stuff
10:11yukaalso the M3 USB4 support stuff breaks the kboot_atc setup on M4
10:12yukachaos_princess: what is the upstream status of the M3 atcphy & spmi patches? Would a Tested-by from M3 Max help?
10:14chadmed has joined #asahi-dev
10:14chadmedfex in wine does not work
10:14chaos_princessatcphy - as soon as the dp lands in our tree, i intend to send it out. spmi - ¯\_(ツ)_/¯ - up to the kernel maintainers to do their thing, spmi is 6 days since last resend, tipd is 27 since last resend
10:14chadmedi assume because the host wine process is being mapped as 16k
10:14MichaelReeves[m]if you enable the force 4k kernel flag does it fix it?
10:15chadmedwhich one is that
10:15chadmed has quit []
10:17JamesCalligeros[m]Nope that kills the whole system lol
10:18chadmed has joined #asahi-dev
10:21MichaelReeves[m]the main thing I didnt test with that mode is GPU stuff (cause theres none of m3) so maybe its that
10:21chadmedyeah probably, that or dcp
10:21MichaelReeves[m]you should be able to force 4k just for wine
10:22MichaelReeves[m]just replace execv("/proc/self/exe", args); with system(rest of the args...)
10:28arryn has joined #asahi-dev
10:29mnml has joined #asahi-dev
10:30arryn has quit []
10:30Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
10:38chadmed has quit [Quit: Konversation terminated!]
10:40MichaelReeves[m]and get rid of the other stuff
10:41chadmed has joined #asahi-dev
10:41chadmedyeah nah this is actually completely unusable
10:41chadmedlinux fex still segfaults on page size issues, wine fex doesnt work, plasmashell constantly crashes under it
10:41chadmedneeds more time in the oven
10:42MichaelReeves[m]weird ok, ill look more into it tmrw
10:42MichaelReeves[m]obviously those are much more complex than the programs I tested
10:42MichaelReeves[m]thank you for testing!!
10:42chadmeddont waste too much time on this
10:43chadmedwe dont even know if google plans to make this at all upstreamable
10:43chadmedwe dont know if upstream would ever accept it
10:43chadmedlet them cook and if it ends up being useful we can come back to it
10:44chadmedi assume its going to have major issues with anything that is JITted in any case which is probably why plasmashell is crashing
10:44chadmeditll probably have issues with shared memory
10:45chadmedand the loader looking for the elf image alignment alone as the indicator of a process being 4k is fine for android apps _compiled_ for 4k but will fall apart for anything like fex or wine that is mixed
10:45chadmedthe parent process will be loaded as 16k because thats what the image is aligned to and then the code inside it will explode
10:46MichaelReeves[m]ah yeah, true. makes sense thanks
10:46MichaelReeves[m]was still fun to experiment with a bit & learnt lots abt how memory management works
10:46chadmedyeah i think its still really cool but it needs time in the oven is all
10:49chadmedthere probably needs to be a shim similar to loader.c somewhere in the mix if this is going to work on mixed systems
10:50chadmedapple gets away with just having rosetta do this for anything running under it of course, and all the x86 userspace code is obviously compiled for 4k anyway
10:50chaos_princessput it in fex?
10:50chadmeddoesnt help with wine
10:50jannauor in a binfmt_misc handler for x86
10:51jannauwine would probably need to handle it itselff
10:51chaos_princesshow early does it need to be applied?
10:51linkmauveAre AArch64 Windows programs also built for 4k pages?
10:51chadmedlinkmauve: doesnt matter, wine itself may not be
10:51jannauat execve() time
10:52chadmedif the elf loader sees a 16k elf it will not do the needful for anything that forks/execs off it later in its life
10:52chaos_princessso, the only way is to have wine re-exec if it notices that it needs to load x86 code
10:52chadmedyeah pmuch
10:52Takeshi has joined #asahi-dev
10:53chadmedi just tested this with a win32 game and results were as expected lol
10:58j`eyit's funny cos my coworker is trying to upstream the opposite, but that wont work asahi of course :( (4k kernel, 16k user)
10:59chadmedregardless if its going to cause crashes with memfd/shmem/graphics stuff then its useless lol
10:59chadmedor if plasmashell is gonna crash in some qml thing
11:00chaos_princessthey do have to deal with app-embedded chromium somehow, as that does jit and runs in 4k
11:06Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:07jannaudid you test the 6.18 tree? I would not be surprised if the rebase requires more than resolving conflicts
11:08MichaelReeves[m]it did so I might have stuffed something up with that
11:08JamesCalligeros[m]Ill go back and test that friday or on the weekend
11:29marvin24 has joined #asahi-dev
11:49mattia013 has quit [Quit: mattia013]
11:51runxiyu_ has joined #asahi-dev
11:54voidah has joined #asahi-dev
12:07gargantu1 has joined #asahi-dev
12:10gargantua has quit [Ping timeout: 480 seconds]
12:15voidah has quit [Ping timeout: 480 seconds]
12:18voidah has joined #asahi-dev
12:29mnml has quit [Remote host closed the connection]
12:32bgb has quit [Remote host closed the connection]
12:34voidah has quit [Ping timeout: 480 seconds]
12:37bgb has joined #asahi-dev
12:37voidah has joined #asahi-dev
12:40mnml has joined #asahi-dev
12:48mnml has quit [Ping timeout: 480 seconds]
12:51Takeshi has joined #asahi-dev
12:53jannausofus: maybe of interest: v4l2 vs. vulkan video talk at lpc: https://lpc.events/event/20/contributions/2354/ https://www.youtube.com/watch?v=gHZd9P5BQWE starting in 7 minutes
12:55linkmauveOh, I recently resumed my work on a Vulkan video layered above V4L2 stateless, fwiw.
12:55nodscher[m] has joined #asahi-dev
12:56jannaundufresne's talk is about replacing v4l2 stateless with minimal drm driver and implement vulkan video in mesa
12:57linkmauveMy main fear would be that it would encourage vendors to do proprietary drivers in userspace, where they don’t have the GPL requirement from the kernel.
12:58linkmauveBut they do so already, see Rockchip’s MPP.
13:00jannaudrm requires opensource user space
13:01linkmauveCan you hear sound from the video?
13:02jannauno, running problem for lpc streams this year
13:03linkmauveAlright, I’ll watch the recording later then.
13:07jannaustream audio is fixed
13:09mnml has joined #asahi-dev
13:14Hel3zi has joined #asahi-dev
13:14Hel3ziyuka: hit that same dead USB port on my M4 Pro. What was the typo in DT? Can test the fix right away.
13:14yukaM4 Pro DT does not have usb?
13:15yukaM4 Pro is not the same
13:15[Kalisto]99156 has quit []
13:16Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:19Hel3ziAh lol, that explains it! Is the USB setup on M4 Pro much different from base M4, or could the nodes be ported over?
13:19chaos_princessyes, atcphy is significantly different
13:19yukaIt is much different
13:20yukas-ven could probably trace atcphy next week to get us some more insight, but either way it will require more work
13:21yukaAnd I meant on the M4 two ports were working but the third was not, because I typoed some tipd interrupt
13:24yukasomeone found out the TB5 atcphy is an entirely new coproc?
13:25yukaIt was discussed here I think
13:25[Kalisto]99156 has joined #asahi-dev
13:27Hel3ziyuka: Ah damn, got it, that sucks :( Thanks for explaining though!
13:28voidah has quit [Ping timeout: 480 seconds]
13:31[Kalisto]99156 has quit []
13:31voidah has joined #asahi-dev
13:33[Kalisto]99156 has joined #asahi-dev
13:37Hel3zi has quit [Remote host closed the connection]
13:52[Kalisto]99156 has quit []
13:54hardy94 has joined #asahi-dev
14:48voidah has quit [Ping timeout: 480 seconds]
15:15Mayanico13 has joined #asahi-dev
15:22mnml has quit [Ping timeout: 480 seconds]
15:25mattia013 has joined #asahi-dev
15:40chadmed has quit [Quit: Konversation terminated!]
15:41chadmed has joined #asahi-dev
15:42chadmed has quit [Read error: Connection reset by peer]
15:43chadmed has joined #asahi-dev
15:52bennofs3 has quit [Ping timeout: 480 seconds]
15:58voidah has joined #asahi-dev
15:58r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
15:59bennofs3 has joined #asahi-dev
16:00r0ni has joined #asahi-dev
16:06Takeshi has joined #asahi-dev
16:06hardy94 has quit [Remote host closed the connection]
16:09voidah has quit [Ping timeout: 480 seconds]
16:10voidah has joined #asahi-dev
16:10gargantu1 has quit [Ping timeout: 480 seconds]
16:11jannaucan anyone think of a reason why chainload of the 2nd stage boot.bin could fail on M3 imacs?
16:13chaos_princesscheck if the file on the esp is sane?
16:18jannausize matches the one from fedora-44-gnome-202609041600.zip, which looks sane and is bit-identical to the one from the kde image. there are multiple installations, also uefi-only ones
16:35foltz5 has quit [Ping timeout: 480 seconds]
16:39Takeshi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:45bennofs3 has quit [Quit: Ping timeout (120 seconds)]
16:45bennofs3 has joined #asahi-dev
16:46okb has joined #asahi-dev
16:53[Kalisto]99156 has joined #asahi-dev
16:54[Kalisto]99156 has quit []
16:55[Kalisto] has joined #asahi-dev
16:58voidah has quit [Ping timeout: 480 seconds]
17:06voidah has joined #asahi-dev
17:08rany has quit [Remote host closed the connection]
17:09rany has joined #asahi-dev
17:21voidah has quit [Ping timeout: 480 seconds]
17:28Mayanico13 has quit [Quit: Leaving]
17:30voidah has joined #asahi-dev
17:36jannauand now there is a second report
17:38voidah has quit [Ping timeout: 480 seconds]
17:48voidah has joined #asahi-dev
17:51okb has quit [Ping timeout: 480 seconds]
18:16okb has joined #asahi-dev
18:29kraxel[m] has left #asahi-dev [User left]
18:38sofusjannau: thanks! Will watch later. I did have VV in mind when designing the driver, so porting should be straigtfull
18:41rany has quit [Remote host closed the connection]
18:42rany has joined #asahi-dev
18:42jannausofus: the stream misses audio in the beginning and for most of the discussion. Let's hope the recordings don't have the issue. I don't think there is more information than in the slides
18:59voidah has quit [Ping timeout: 480 seconds]
19:07voidah has joined #asahi-dev
19:10okb has quit [Ping timeout: 480 seconds]
19:31okb has joined #asahi-dev
19:33bgb has quit [Remote host closed the connection]
19:33bgb has joined #asahi-dev
19:46bgb has quit [Remote host closed the connection]
19:47bennofs3 has quit [Quit: Ping timeout (120 seconds)]
19:48bennofs3 has joined #asahi-dev
19:52bgb has joined #asahi-dev
19:57__Tetris__ has quit [Ping timeout: 480 seconds]
20:01__Tetris__ has joined #asahi-dev
20:06mnml has joined #asahi-dev
20:15mnml has quit [Ping timeout: 480 seconds]
20:19mnml has joined #asahi-dev
20:33mnml has quit [Ping timeout: 480 seconds]
20:35bennofs3 has quit [Ping timeout: 480 seconds]
20:38bennofs3 has joined #asahi-dev
20:44okb has quit [Ping timeout: 480 seconds]
20:46mnml has joined #asahi-dev
20:54mnml has quit [Remote host closed the connection]
20:57okb has joined #asahi-dev
20:58mnml has joined #asahi-dev
21:06mnml has quit [Ping timeout: 480 seconds]
21:16mnml has joined #asahi-dev
21:24mnml has quit [Ping timeout: 480 seconds]
21:40picnoir has quit [Ping timeout: 480 seconds]
21:50ddxtanx has joined #asahi-dev
21:50mnml has joined #asahi-dev
21:55okb has quit [Ping timeout: 480 seconds]
21:58mnml has quit [Ping timeout: 480 seconds]
22:00mnml has joined #asahi-dev
22:05chadmed has quit [Remote host closed the connection]
22:05chadmed has joined #asahi-dev
22:09mnml has quit [Ping timeout: 480 seconds]
22:16MatveyAleksandrov[m]1 has joined #asahi-dev
22:31mnml has joined #asahi-dev
22:39mnml has quit [Ping timeout: 480 seconds]
23:05mnml has joined #asahi-dev
23:13mnml has quit [Ping timeout: 480 seconds]
23:29zawg has joined #asahi-dev
23:38hello0092 has quit [Quit: Konversation terminated!]
23:39mnml has joined #asahi-dev
23:47mnml has quit [Ping timeout: 480 seconds]
23:49anon_ has joined #asahi-dev
23:52anon_For the nvme issue I've encountered, I have some new observations. It seems like we should not reset the controller on M5. Instead there is another path apple is actually using. Haven't work it out completely but I can tell that we have some positive results now.
23:54anon_I suggest to find out ways to capture what darwin actually did on. But afaik m1n1 proxy mode is not viable though.
23:54anon_Anyway we should not touch the power state of nvme controller and apple locks it after it boots.
…