#asahi-dev · 2026-10-10 10:34
MichaelReeves[m]7.3-rc6#asahi-dev · 2026-10-10 10:32
MichaelReeves[m]to rephase/clarify, m1 and m2 are already in a list called has_vgic_v3[]. in v1 of the patch, I forgot to add m3 and m4 to it as well. because they aren't in that list, ARM64_HAS_ICH_HCR_EL2_TDIR remains unset and TC is set meaning we trap more than we need to. so in v2, I will add it to the list as well#asahi-dev · 2026-10-10 10:31
MichaelReeves[m]wait sorry I wrote my sentence the wrong way#asahi-dev · 2026-10-10 10:30
MichaelReeves[m]maz: no we aren't avoiding setting TC. avoiding setting TC is what will happen if M3 and m4 not added to has_vgic_v3 (which I forgot in v1). m1 and m2 are added to has_vgic_v3 already as well#asahi-dev · 2026-10-10 10:25
MichaelReeves[m]oh good point, yuka is the one who has M4 so maybe we should wait for her#asahi-dev · 2026-10-10 10:20
MichaelReeves[m]ok sounds good, yeah so you reply to v1 and then ill send v2#asahi-dev · 2026-10-10 10:19
MichaelReeves[m]ok I'll send v2 now with has_vgic_v3 added and noted we tested that SEIS was needed. you used m3 max right?#asahi-dev · 2026-10-10 10:19
MichaelReeves[m]perfect!! #asahi-dev · 2026-10-10 10:16
MichaelReeves[m]s/which/which avoids#asahi-dev · 2026-10-10 10:16
MichaelReeves[m]yes, the SEIS workaround needs to trap DIR, I was talking about a seperate list has_vgic_v3[] I think which unneeded TC trap#asahi-dev · 2026-10-10 10:04
MichaelReeves[m]btw myria did you test with has_vgic_v3/can_trap_icv_dir_el1 as well? (that was the extra one that increases performance but isnt needed for it to work)#asahi-dev · 2026-10-10 10:03
MichaelReeves[m]thanks, yep will do next time#asahi-dev · 2026-10-10 10:01
MichaelReeves[m]maz: sorry, didnt want to bother you and thought it was quicker to ask yuka#asahi-dev · 2026-10-10 08:34
MichaelReeves[m]weirdly, for battlefront, dxvk did work for me (with lavapipe) so I guess the wow64 issues with it are just with real GPUs#asahi-dev · 2026-10-10 08:33
MichaelReeves[m]trying Fallout: New Vegas (2010) with p3s next#asahi-dev · 2026-10-10 05:42
MichaelReeves[m]oh and also just checked and with the workaround applied it all functions fine#asahi-dev · 2026-10-10 05:26
MichaelReeves[m]once we've all done it then I'll reply on-list with the results#asahi-dev · 2026-10-10 05:26
MichaelReeves[m]have you (and yuka) had a chance to try it get on your devices?#asahi-dev · 2026-10-10 05:26
MichaelReeves[m]tried on my end and it causes the host to lock up and then a SoC reset, so I think that confirms t8122 has the buggy impl#asahi-dev · 2026-10-10 05:25
MichaelReeves[m]thanks for sending it through#asahi-dev · 2026-10-10 02:29
MichaelReeves[m]I think he might have DM'ed my IRC nick but I don't have a bouncer so I didnt get them when I was offline#asahi-dev · 2026-10-10 02:28
MichaelReeves[m]yuka: did you get them?#asahi-dev · 2026-10-10 02:28
MichaelReeves[m]sorry#asahi-dev · 2026-10-10 02:27
MichaelReeves[m]I didn't get any so I'm not sure#asahi-dev · 2026-10-10 00:26
MichaelReeves[m]it's just a 1 line fix and probably fixes other platforms as well so ill send it upstream#asahi-dev · 2026-10-10 00:25
MichaelReeves[m]bisected it to https://github.com/wine-mirror/wine/commit/52857120a9a5c22095580232b2982f6e45043077#asahi-dev · 2026-10-10 00:24
MichaelReeves[m]chadmed: found out why you didnt need the wine patch, the buggy code was introduced in 11.19 (came out last week) so you might have been on 11.18 or older#asahi-dev · 2026-10-09 09:53
MichaelReeves[m]ah didnt see ur message above about that LOL#asahi-dev · 2026-10-09 09:53
MichaelReeves[m]s/"-/"--#asahi-dev · 2026-10-09 09:52
MichaelReeves[m]does xnu ignore unknown boot args? whats stopping boot-args="-m1n1-enable-debugusb"#asahi-dev · 2026-10-09 07:36
MichaelReeves[m]whats happening with it?#asahi-dev · 2026-10-09 07:20
MichaelReeves[m]ok audio thing pushed (before it, if you used forced 4K mode for everything, the sound wouldn't come out right) https://github.com/IntegralPilot/linux/commit/dd83310ea469f113b319e44f58c40e19241b4f38#asahi-dev · 2026-10-09 07:08
MichaelReeves[m]and you'll need patched wine https://pastebin.com/raw/i2qeh1cd#asahi-dev · 2026-10-09 07:07
MichaelReeves[m]there's one more kernel patch that fixes audio so just need to push that#asahi-dev · 2026-10-09 07:07
MichaelReeves[m]oh cool, thank you!#asahi-dev · 2026-10-09 06:55
MichaelReeves[m]I think it (all?) works#asahi-dev · 2026-10-09 06:55
MichaelReeves[m]oh wow I can make a profile and start a game and walk around and shoot things, move the camera#asahi-dev · 2026-10-09 06:53
MichaelReeves[m]https://imgur.com/a/M5lzfWD#asahi-dev · 2026-10-09 06:51
MichaelReeves[m]there's no way... it actually works. im at the profile selection screen now LOL#asahi-dev · 2026-10-09 00:15
MichaelReeves[m]in other news, 64-bit windows apps are also working on p3s, I tested some complex toy ones with like spawing/mangaging processes, graphics (but keep in mind M3 is just LLVMpipe, so it mightn't work on real GPU), etc. so I guess it's time to try a real app. any suggestions?#asahi-dev · 2026-10-09 00:13
MichaelReeves[m]sorry for all this confusion, what's happened is the 2 lists you used became only 1 list (for the same behaviour) in 7.3. so I sent the patch with that list. but then, there's another seperate list in can_trap_icv_dir_el1 (which is what I'd like to check now, I've already confirmed it works on M3) which we didn't try before, and isn't needed for it to work, but could increase performance.#asahi-dev · 2026-10-09 00:11
MichaelReeves[m]yuka: what I'd like, is if could you please try https://pastebin.com/raw/S0DaFtWZ on top of 7.3-rc6?#asahi-dev · 2026-10-08 12:49
MichaelReeves[m]so its just v1 and then add all 'em to has_vgic_v3 too#asahi-dev · 2026-10-08 12:49
MichaelReeves[m]thank you!#asahi-dev · 2026-10-08 12:43
MichaelReeves[m]actually I think before has_vgic_v3 (in additional to the others) is added it needs to be checked on M4 (I'll do M3 now). yuka could you do that (whenever you've got time) and then after it's confirmed, then I'll send v2? thank you!#asahi-dev · 2026-10-08 12:31
MichaelReeves[m]or for a patch this small is v2 OK now or tomorrow morning?#asahi-dev · 2026-10-08 12:30
MichaelReeves[m]ill send v2 in a few days#asahi-dev · 2026-10-08 12:30
MichaelReeves[m]oh well sorry #asahi-dev · 2026-10-08 12:30
MichaelReeves[m]but then there's also has_vgic_v3 needed to stop software emulation (which doesn't break it, which is why our tests worked, but it makes it slow)#asahi-dev · 2026-10-08 12:29
MichaelReeves[m]the two lists in the termbin link (impdef_pmuv3_cpus, broken_seis) were merged into 1 list now (which I added)