#
…

2022-07-01

00:13millenialhacker has joined #asahi-dev
00:19pseigo_ has quit [Ping timeout: 480 seconds]
00:22millenialhacker has quit [Ping timeout: 480 seconds]
00:23yuyichao has quit [Quit: Konversation terminated!]
00:24kettenis_ has joined #asahi-dev
00:26kettenis has quit [Ping timeout: 480 seconds]
00:31kettenis has joined #asahi-dev
00:33kettenis_ has quit [Ping timeout: 480 seconds]
00:41kettenis_ has joined #asahi-dev
00:43kettenis has quit [Ping timeout: 480 seconds]
01:01turo has joined #asahi-dev
01:05kettenis_ has quit [Ping timeout: 480 seconds]
01:12amarioguybtw quick question does m2 use AICv1 or v2?
01:23Catyre_ has joined #asahi-dev
01:29Catyre__ has joined #asahi-dev
01:29Catyre has quit [Ping timeout: 480 seconds]
01:35Catyre_ has quit [Ping timeout: 480 seconds]
01:45pseigo_ has joined #asahi-dev
02:02pseigo_ has quit [Ping timeout: 480 seconds]
02:05off^ has joined #asahi-dev
02:12pseigo_ has joined #asahi-dev
02:13PhilippvK has joined #asahi-dev
02:14pseigo has joined #asahi-dev
02:16phiologe has quit [Ping timeout: 480 seconds]
02:18Graypup_ has joined #asahi-dev
02:21pseigo_ has quit [Ping timeout: 480 seconds]
02:33pseigo has quit [Ping timeout: 480 seconds]
02:51pseigo has joined #asahi-dev
03:04off^ has quit [Ping timeout: 480 seconds]
03:10off^ has joined #asahi-dev
03:50kov has quit [Quit: Coyote finally caught me]
03:57millenialhacker has joined #asahi-dev
04:02ajxu2 has joined #asahi-dev
04:03ajxu2 has quit []
04:05millenialhacker has quit [Ping timeout: 480 seconds]
04:15off^ has quit [Remote host closed the connection]
04:15off^ has joined #asahi-dev
04:43off^ has quit [Ping timeout: 480 seconds]
05:03nicolas17 has joined #asahi-dev
05:06millenialhacker has joined #asahi-dev
05:14millenialhacker has quit [Ping timeout: 480 seconds]
05:19nicolas17 has quit [Quit: Konversation terminated!]
05:28pseigo has quit [Quit: left]
05:29pseigo has joined #asahi-dev
06:13millenialhacker has joined #asahi-dev
06:18svenhm, no android phone or Bluetooth keyboards here. Guess I’ll just have to assume those will work ;)
06:18jluthra has quit [Remote host closed the connection]
06:18svenI think I should be able to somehow test ACL and SCO with audio anyway
06:18jluthra has joined #asahi-dev
06:33millenialhacker has quit [Ping timeout: 480 seconds]
06:44the_lanetly_052__ has joined #asahi-dev
06:47kettenis has joined #asahi-dev
06:58kettenis has quit [Ping timeout: 480 seconds]
07:13MajorBiscuit has joined #asahi-dev
07:19CarlEkerot[m] has joined #asahi-dev
07:20CarlEkerot[m] is now known as frys[m]
07:22pseigo has quit [Quit: left]
07:22pseigo has joined #asahi-dev
07:38millenialhacker has joined #asahi-dev
07:44off^ has joined #asahi-dev
07:47millenialhacker has quit [Ping timeout: 480 seconds]
07:49kettenis has joined #asahi-dev
07:52timokrgr has quit [Quit: User left the chat]
07:54timokrgr has joined #asahi-dev
07:55millenialhacker has joined #asahi-dev
07:58the_lanetly_052__ has quit [Ping timeout: 480 seconds]
08:00millenialhacker has quit [Remote host closed the connection]
08:00nirya has joined #asahi-dev
08:01millenialhacker has joined #asahi-dev
08:09off^ has quit [Ping timeout: 480 seconds]
08:09millenialhacker has quit [Ping timeout: 480 seconds]
08:15millenialhacker has joined #asahi-dev
08:27millenialhacker has quit [Ping timeout: 480 seconds]
08:33millenialhacker has joined #asahi-dev
08:42millenialhacker has quit [Ping timeout: 480 seconds]
08:48kettenis has quit [Remote host closed the connection]
08:48kettenis has joined #asahi-dev
08:54nirya is now known as HELP
08:54kettenis has quit [Remote host closed the connection]
08:55HELP is now known as nirya
08:55kettenis has joined #asahi-dev
09:16timokrgr has quit [Quit: User left the chat]
09:16millenialhacker has joined #asahi-dev
09:20timokrgr has joined #asahi-dev
09:25millenialhacker has quit [Ping timeout: 480 seconds]
10:17off^ has joined #asahi-dev
10:21systwi has joined #asahi-dev
10:28off^ has quit [Ping timeout: 480 seconds]
10:34kov has joined #asahi-dev
10:38the_lanetly_052__ has joined #asahi-dev
10:40marcanprogress report queued up, but let's get a release out before that :)
10:40marcandid anyone test the new kernels?
10:52kettenis has quit [Ping timeout: 480 seconds]
11:03millenialhacker has joined #asahi-dev
11:07pseigo has quit [Ping timeout: 480 seconds]
11:08jannaumarcan: it boots on m1 max mb pro 14" and everything seemed to work
11:09jannauio-pgtable-dart change looks good but it got squashed into the suspend commit
11:11millenialhacker has quit [Ping timeout: 480 seconds]
11:13mpsI could try to rebuild and test on j293 this evening
11:14mpsj293 - m1 mbp
11:16marcanjannau: argh, sorry, just pushed it properly. I was really tired last night..
11:16marcanI also removed ARM from the depend of the config option
11:22svenhuh, looks like SCO transfers just work but there's a ~2-3 second delay when I do parec | paplay
11:22sveni wonder if that's caused by not doing anything special for the SCO IPC
11:26marcanisn't that just normal latency for parec | paplay?
11:26marcanthat sounds like a worst case setup for latency, to be honest
11:27marcanbluetooth, a dumb pipe, pulseaudio, ...
11:27svenno idea :D
11:27svenbut yeah, maybe it's just the ghetto setup
11:27off^ has joined #asahi-dev
11:28pseigo has joined #asahi-dev
11:28marcantry actually going on a voice call or something (e.g. discord)
11:28svenhrm, that's gonna be annoying since this machine has no display or keyboard or mouse hooked up
11:29marcanssh -Y and run a browser remotely? :p
11:29svenlol, that might actually work :D
11:31mazXpra has the option to route audio. never tried though...
11:32marcanthere's also that actual loopback PA module which might be a saner option for this
11:32svenparec | pacat --latency-msec 1 sounds fine
11:32svenso i guess it just works \o/
11:33marcanmaz: by the way, thoughts on the big.LITTLE kvm issue? I see people running into that recently... it kind of sucks to have to pin guests :(
11:34marcanI think macOS just fakes the ID registers to the guest and relies on the cores being *effectively* transparently compatible
11:34mazmarcan: this is a QEMU issue.\
11:34marcanas in QEMU should pin guests by default?
11:34mazkvmtool doesn't care, for example.
11:34j`eywhat's this?
11:35mazno, the issue is that QEMU starts a guest by sampling the id registers on one CPU, and tries to restore them on all of them.
11:35marcanoh, huh. really.
11:35mazif you have two types, it goes tits up.
11:35maz(effectively, a VM startup is implemented as a VM migration)
11:35marcandoes KVM support faking/fixing ID registers so it can present a consistent view to the guest?
11:36mazno. we explicitely expose the underlying HW because we have so many bugs to mitigate in the guest...
11:36marcanright, so that would probably confuse guests if cores move around, so you'd still need pinning...
11:36mazI have a vague plan to allow the exposure of a virtual MIDR with a list of actual cores you can run on, and let the guest deal with that.
11:36mazbut that's pretty low on my laudry list.
11:37marcanoh, like a set of MIDRs?
11:37mazit would also require some pretty heavy guest buy-in.
11:37marcanyeah, of course...
11:37marcanapple's game here is that they can get away with just pretending the cores are the same
11:37marcanin practice you can probably get away with pretending all cores are big, since any buglets are likely to happen there or in both, probably
11:38mazyup. we'd tell the guest: "this is a fake CPU, but here's the list of MIDRs you may see, go and enable all the errata that match this@.
11:38marcan(in apple's case)
11:38mazdon't under-estimate the capacity of small core designers to fuck things up...
11:39marcanI think Apple's small cores are mostly cut down big cores, but yeah
11:39marcanthis hasn't hit anyone else because nobody else does real VMs on big.LITTLE?
11:39j`eymarcan: btw tested on m1 mba. wifi nvme battery rtc all work
11:40mazpeople do (we certainly do), but only QEMU has this behaviour, and Linux in general isn't too affected by the CPU migration under its feet... but it's mostly luck ATM.
11:41marcanright, sigh.
11:41mazanyway, -SIGLUNCH.
11:41marcanmaybe we should cook up a qemu patch to make it at least not broken, and ship that, and see how it goes
11:41millenialhacker has joined #asahi-dev
11:42svendoes the M2 still have the 4378/4387 chips for wifi/bluetooth?
11:42marcanI think so, but -ENOPCIE
11:42marcanneed to fix that
11:42marcan(just the fuse table probably)
11:42svenah, true :D
11:42marcanmight do that now, so I can just say wifi works for the progress report
11:42svenhrm, i guess i could also just update my mba and look into /usr/share/firmware or whatever
11:42marcanbbiab, dinner
11:42marcanthat too :)
11:43marcanbut yeah I think someone said it was 4387?
11:43marcanactually wait
11:46marcanah, nevermind
11:47marcan wifi-chipset = 4378
11:47marcansven: it's in the adt
11:47marcan4378 it seems
11:47marcanno change
11:47svenah, nice
11:49svenguess that just leaves the firmware renaming script for bluetooth
11:50marcaneh, might do an M2 continuation bring-up stream in a bit, after dinner/shower. why the heck not.
11:50millenialhacker has quit [Ping timeout: 480 seconds]
11:50marcanSPMI should be simple (and might even get me writing a real driver or help with the old hardware, the old one is kind of bad)
11:50marcanthen the PCIe fuse bits
11:51marcanand maybe even dockchannel HID if everything else goes fast
11:51marcanwe'll see
11:51j`eystream :o
11:58pseigo has quit [Quit: left]
11:58pseigo has joined #asahi-dev
11:59marcanafter dinner :)
12:19yuyichao has joined #asahi-dev
12:28millenialhacker has joined #asahi-dev
12:28off^ has quit [Ping timeout: 480 seconds]
12:33tanty has joined #asahi-dev
12:37millenialhacker has quit [Ping timeout: 480 seconds]
12:39pseigo has quit [Ping timeout: 480 seconds]
12:45off^ has joined #asahi-dev
13:22kettenis has joined #asahi-dev
13:28amarioguy has quit [Remote host closed the connection]
13:41the_lanetly_052__ has quit [Ping timeout: 480 seconds]
14:03millenialhacker has joined #asahi-dev
14:05svenBCM4377B3_81.84.147_PCIE_Formosa_MFG_GEN_20210623_DEV.signed.bin
14:05svenBCM4377B3_81.84.147_PCIE_Formosa_MFG_GEN_20210623_PROD.signed.bin
14:05svenhuh... so I guess we just ignore the _DEV one?
14:06sven("GEN" is that part that's usually MUR or USI and selected using a value from the OTP)
14:08off^ has quit [Ping timeout: 480 seconds]
14:11millenialhacker has quit [Ping timeout: 480 seconds]
14:27pseigo has joined #asahi-dev
14:44pseigo has quit [Ping timeout: 480 seconds]
15:02pseigo has joined #asahi-dev
15:04axboe has joined #asahi-dev
15:11millenialhacker has joined #asahi-dev
15:13off^ has joined #asahi-dev
15:19millenialhacker has quit [Ping timeout: 480 seconds]
15:24millenialhacker has joined #asahi-dev
15:24svenhttps://github.com/AsahiLinux/linux/tree/bluetooth-wip <-- if anyone wants to give it a try, still pretty rough around the edge and bring your own devicetree-and-firmware
15:28Dcow[m]is there something that unsupported yet? besides possible bugs
15:28svenvery large ACL frames but dunno what exactly would use those
15:29j`eydid you get keyboard working?
15:29sveni don't have a bluetooth keyboard but i think it'll just work
15:30Dcow[m]I have bluetooth mouse, apple bluetooth keyboard and a lot of bluetooth headphones
15:30j`eyoh I misunderstood an earlier message
15:30pseigo has quit [Ping timeout: 480 seconds]
15:31Dcow[m]like bose qc35, b&w px, sony's 1000XM4...
15:31Dcow[m]also some JBL bluetooth speaker
15:31svenRedecorating[m]: ^-- might also work on T2, completely untested though
15:32millenialhacker has quit [Ping timeout: 480 seconds]
15:34off^ has quit [Remote host closed the connection]
16:02pseigo has joined #asahi-dev
16:04millenialhacker has joined #asahi-dev
16:12millenialhacker has quit [Ping timeout: 480 seconds]
16:19pseigo has quit [Ping timeout: 480 seconds]
16:45nicolas17 has joined #asahi-dev
16:50millenialhacker has joined #asahi-dev
16:55MajorBiscuit has quit [Ping timeout: 480 seconds]
16:58millenialhacker has quit [Ping timeout: 480 seconds]
17:04Catyre__ has quit [Remote host closed the connection]
17:26millenialhacker has joined #asahi-dev
17:27pseigo has joined #asahi-dev
17:30Catyre has joined #asahi-dev
17:31Catyre has quit [Remote host closed the connection]
17:31Catyre has joined #asahi-dev
17:33timokrgr has quit [Quit: User left the chat]
17:34millenialhacker has quit [Ping timeout: 480 seconds]
17:36gladiac has joined #asahi-dev
17:47pseigo has quit [Ping timeout: 480 seconds]
17:57pseigo has joined #asahi-dev
18:14pseigo has quit [Ping timeout: 480 seconds]
18:28jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
18:33pseigo has joined #asahi-dev
18:48pseigo has quit [Ping timeout: 480 seconds]
18:54nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
19:02millenialhacker has joined #asahi-dev
19:35millenialhacker has quit [Read error: Connection timed out]
19:51jakebot6 has joined #asahi-dev
19:54MajorBiscuit has joined #asahi-dev
19:57millenialhacker has joined #asahi-dev
20:05millenialhacker has quit [Ping timeout: 480 seconds]
20:08MajorBiscuit has quit [Quit: WeeChat 3.5]
20:18gladiac has quit [Quit: k thx bye]
20:21nsklaus has joined #asahi-dev
20:29Catyre has quit [Remote host closed the connection]
20:35systwi_ has joined #asahi-dev
20:38pseigo has joined #asahi-dev
20:39systwi has quit [Ping timeout: 480 seconds]
20:47millenialhacker has joined #asahi-dev
20:50systwi has joined #asahi-dev
20:54Catyre has joined #asahi-dev
20:55Catyre has quit [Remote host closed the connection]
20:55systwi_ has quit [Ping timeout: 480 seconds]
20:55Catyre has joined #asahi-dev
20:55millenialhacker has quit [Ping timeout: 480 seconds]
21:03pseigo has quit [Quit: left]
21:03pseigo has joined #asahi-dev
21:09millenialhacker has joined #asahi-dev
21:15pseigo has quit [Ping timeout: 480 seconds]
21:15nsklaus_ has joined #asahi-dev
21:21nsklaus has quit [Ping timeout: 480 seconds]
21:30millenialhacker has quit [Ping timeout: 480 seconds]
21:36millenialhacker has joined #asahi-dev
21:37systwi_ has joined #asahi-dev
21:42systwi has quit [Ping timeout: 480 seconds]
21:46systwi has joined #asahi-dev
21:49millenialhacker has quit [Ping timeout: 480 seconds]
21:51systwi_ has quit [Ping timeout: 480 seconds]
22:01zzywysm has joined #asahi-dev
22:18kettenis has quit [Ping timeout: 480 seconds]
22:51doggkruse has joined #asahi-dev
22:52Catyre_ has joined #asahi-dev
22:58Catyre has quit [Ping timeout: 480 seconds]
23:54nsklaus has joined #asahi-dev
…