#asahi-dev · 2026-11-09 21:50
svenbut the hv should set that, see sprr_init_cpu#asahi-dev · 2026-11-09 21:50
svenI think that's APSTS_EL1 and it's polling for bit 0 or whatever there#asahi-dev · 2026-11-09 21:47
svendumb question: you always chainload before run_guest, don't you?#asahi-dev · 2026-11-09 21:45
svenplease try to disassemble a larger block like chaos said #asahi-dev · 2026-11-09 21:44
sventhat hvc is probably some VREG#asahi-dev · 2026-11-09 21:37
snooze6214[m]ye sure :)#asahi-dev · 2026-11-09 21:37
yukaso I guess snooze6214[m] if you figure it out tomorrow, please lmk how :)#asahi-dev · 2026-11-09 21:35
yuka*tried the release kernel [...]#asahi-dev · 2026-11-09 21:35
yukawhoops typing is hard#asahi-dev · 2026-11-09 21:34
yukaI would be interested in how to get symbols in 26/27, wasn't able I haven't figured it out. ried the release kernel with the accompanying dSYM DWARF passed as -s but just doesn't give me any symbols.#asahi-dev · 2026-11-09 21:34
snooze6214[m]yeah, wait#asahi-dev · 2026-11-09 21:34
chaos_princesscan you disasm a larger block#asahi-dev · 2026-11-09 21:34
chaos_princesslike, why is it trying to hvc, that is not a hv kernel#asahi-dev · 2026-11-09 21:33
snooze6214[m]ill look into setting up a kdk kernel tomorrow... too late today :') (3 am-ish for me)#asahi-dev · 2026-11-09 21:33
snooze6214[m]no i dont, sorry :/#asahi-dev · 2026-11-09 21:32
chaos_princessdo you have symbols#asahi-dev · 2026-11-09 21:27
snooze6214[m]hmm so "vm_compressor_codec=1" and "wksw_force=1" both give me an exception on when secondary CPUs come up. "vm_compressor_force_sw_wkdm=1" hangs here:... (full message at <https://matrix.org/oftc/media/v1/media/download/AUo1dYuDO1GH2vCSAad1SC6TatMYn8QckABe9YeS_-Jq-HvEHdyAPt5VlQrmnHuBs6eeF8oh2MI3S-bTBEYPa-lCeiCk7SyQAG1hdHJpeC5vcmcvWFRIVlR3V2hwSnh1UmZlVEhpZFdPZ0Rw>)#asahi-dev · 2026-11-09 21:26
svenbut it will panic if it runs out of memory because I’m lazy I think #asahi-dev · 2026-11-09 21:25
sveni think I added a flag to run_guest to adjust it #asahi-dev · 2026-11-09 21:25
svenpretty sure it’s just that value unless you modify it #asahi-dev · 2026-11-09 21:25
chaos_princessthat's out of 8#asahi-dev · 2026-11-09 21:25
sven2GB I think #asahi-dev · 2026-11-09 21:23
chaos_princesshow much memory is m1n1 stealing for the page tables on the neo?#asahi-dev · 2026-11-09 21:19
snooze6214[m]infact, took me till the login screen before, and then hung#asahi-dev · 2026-11-09 21:18
chaos_princessif so, use the other two flags#asahi-dev · 2026-11-09 21:18
snooze6214[m]yeah#asahi-dev · 2026-11-09 21:18
chaos_princessdid they come up before?#asahi-dev · 2026-11-09 21:18
snooze6214[m]chaos_princess: this makes the hv restart as soon as the secondary cpus start up for some reason :(#asahi-dev · 2026-11-09 21:14
svenlol#asahi-dev · 2026-11-09 21:13
mmediouni[m]https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/dev/arm64/sysctl.c#L331#asahi-dev · 2026-11-09 21:13
mmediouni[m]Fun errata with retries (!) in OSS XNU code#asahi-dev · 2026-11-09 21:11
mmediouni[m]vm_compressor_force_sw_wkdm#asahi-dev · 2026-11-09 21:11
mmediouni[m]wksw_force#asahi-dev · 2026-11-09 21:11
svenjust too slow ;)#asahi-dev · 2026-11-09 21:11
svendamn… just found it as well #asahi-dev · 2026-11-09 21:10
chaos_princesstry vm_compressor_codec=1#asahi-dev · 2026-11-09 21:05
chaos_princessno#asahi-dev · 2026-11-09 21:05
agentboubouHeya, new here but I have a working gpu driver for t6030 (m3 pro). I've used AI during the development and I know this is something Asahi doesn't approve of. Is this something that the team would still want to take a look at ? I got 120hz + vulkan working. It's far from perfect, but it's pretty smooth#asahi-dev · 2026-11-09 21:04
snooze6214[m]there's a bootarg to disable this?#asahi-dev · 2026-11-09 21:04
svenbootarg would be even better #asahi-dev · 2026-11-09 21:04
snooze6214[m]okay, ill just memcpy those pages, lemme try :)#asahi-dev · 2026-11-09 21:03
mmediouni[m]I think there's a boot arg to disable the hw wkdm path#asahi-dev · 2026-11-09 21:03
snooze6214[m]lmao#asahi-dev · 2026-11-09 21:03
svenmemcpy is a valid compression algorithm, isn’t it? 😁#asahi-dev · 2026-11-09 21:01
mmediouni[m]so apple switched to KTRR#asahi-dev · 2026-11-09 21:01
svenI guess I never hit that because my machines have too much RAM :D#asahi-dev · 2026-11-09 21:01
mmediouni[m]But EL3 just didn't have enough at the time to have a good story to protect the kernel - EL3 FGT came much later#asahi-dev · 2026-11-09 21:01
svenhttps://asahilinux.org/docs/hw/cpu/apple-instructions/#asahi-dev · 2026-11-09 21:01
svenlol, that’s wkdmc, compress memory page#asahi-dev · 2026-11-09 20:59
svenYeah, that’s a real IMPDEF instruction and not just a sysreg :(