#
…

2023-04-30

00:07linuxgemini180 has joined #asahi-dev
00:10linuxgemini18 has quit [Ping timeout: 480 seconds]
00:56cylm has joined #asahi-dev
00:58cylm_ has quit [Ping timeout: 480 seconds]
01:00DragoonAethis has quit [Quit: hej-hej!]
01:00nepeat has quit [Quit: ZNC - https://znc.in]
01:00DragoonAethis has joined #asahi-dev
01:02nepeat has joined #asahi-dev
01:10cylm has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:13gabuscus has joined #asahi-dev
02:23ydzhou` has joined #asahi-dev
02:39hxliew has quit []
02:47ydzhou` has quit [Ping timeout: 480 seconds]
03:46abd has joined #asahi-dev
04:10abd has quit [Remote host closed the connection]
04:15kettenis has joined #asahi-dev
04:16benpoulson has joined #asahi-dev
04:20drubrkletern has joined #asahi-dev
04:25benpoulson has quit [Ping timeout: 480 seconds]
04:28kettenis has quit [Ping timeout: 480 seconds]
04:34mamoos1 has quit [Ping timeout: 480 seconds]
04:45drubrkletern has quit [Remote host closed the connection]
05:36audiojaguar has quit [Quit: ZNC - https://znc.in]
05:40audiojaguar has joined #asahi-dev
05:41mamoos1 has joined #asahi-dev
06:02jannaueiln_: https://www.jannau.net/asahi/ane/ not sure what you're looking for but it seems all PD_COUNT vals work
06:04jannaualso modified '"ane%d" % i*2' to '"ane%d" % (i*2)'. it looks like '%' takes precedence over '*'
06:43eiln_jannau: does it work with 4?
07:09jannaueiln_: https://www.jannau.net/asahi/ane/ane_t6002_power_pd4.log exceptions and more poll output. are those crash dumps?
07:16eiln_jannau: yeah, the engine region seems to be locked behind 5 then. weird the last two turn on though, whose domain is that?
07:16eiln_can you see if the 8th one turns on too?
07:26jannauupdated, different content but do 7 and 8 actually turn anything on as the pmgr reg remains 0
07:27eiln_jannau: received, thank you so much. it looks like it's 6.
07:29eiln_so the kext turns on 5 to unlock the mmio region, then the fw turns on the last one... why are they playing games with power domains of all things
07:41nepeat has quit [Quit: ZNC - https://znc.in]
07:43nepeat has joined #asahi-dev
07:44eiln_oh wait i figured it out
07:44eiln_ane_sys_cpu is 0xc000 for t8103, and there's 6 more after to make it 0xc000 - 0xc030
07:44eiln_t6000 has ane_sys_cpu elsewhere, and there's 6 too, so it goes 0xc000 - 0xc028
07:44eiln_both have the same pds, just in diff locations
07:45eiln_terrible day for one off errors, i'm was counting on my fingers lol
08:07chadmed has quit [Remote host closed the connection]
08:09kettenis has joined #asahi-dev
08:14nyilas has joined #asahi-dev
08:43chadmed has joined #asahi-dev
08:48nsklaus has joined #asahi-dev
09:00yzhou has quit [Ping timeout: 480 seconds]
09:02bps2 has joined #asahi-dev
09:16r0ni has joined #asahi-dev
09:19kettenis has quit [Ping timeout: 480 seconds]
09:23Tramtris1 has joined #asahi-dev
09:30Tramtrist has quit [Ping timeout: 480 seconds]
09:55kettenis has joined #asahi-dev
09:59r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
10:23cylm has joined #asahi-dev
10:26kettenis has quit [Ping timeout: 480 seconds]
10:34svenhuh, looks like the t8103 thunderbolt dart wasn't picked up for some reason
10:35svenguess i'll just send that series again :(
10:38bps2 has quit [Ping timeout: 480 seconds]
10:44linasven: And I never got a reply from Robin about what to do with the UAT IOMMU code... ;;
10:45linaI wonder if I should just do what DART did and reimplement it (except directly in Rust and not use io-pgtable at all...)
10:49kettenis has joined #asahi-dev
10:51kettenis_ has quit [Ping timeout: 480 seconds]
10:56chadmed has quit [Remote host closed the connection]
11:21benpoulson has joined #asahi-dev
11:35benpoulson has quit [Remote host closed the connection]
11:54___nick___ has joined #asahi-dev
11:54___nick___ has quit []
11:56___nick___ has joined #asahi-dev
12:14benpoulson has joined #asahi-dev
12:27billak has joined #asahi-dev
12:30mazshades of the same problem I had last year when building the installer from scratch: the 'core' crate appears to be missing, and I have no clue how to square that one (well, I managed it last year, but obviously paged it out since...)
12:30maz(yes, I'd like to get this m2 pro mini going...)
12:34benpoulson has quit [Remote host closed the connection]
12:35jannaumaz: just missing submodules? `git submode sync git submodule --init` should help then but `curl -L https://alx.sh/dev | sh` should support installing on m2 pro mini
12:36jannauyou end up with the chainloaded m1n1 running in proxy mode since the dtb for the target is missing
12:37mazjannau: no amount of 'git submodule' seems to help, and I have the same error when building m1n1 with the CHAINLOAD option.
12:37mazI'll give the pre-build installer a go, which is likely the best option! ;-)
12:41maz"This device is not supported yet!"
12:42ChaosPrincessgo to /tmp/asahi-installer and patch out the check
12:43jannauwas that built before the m2* mini model numbers were fixed?
12:48mazjannau: right, let me try that now.
12:49chadmed has joined #asahi-dev
12:53korreckj328 has joined #asahi-dev
12:54mazyup, much happier now. I'll report back once I'm done with it (I'll probably need a pointer to a DT and such...)!
12:59jannauuse 13.3 for installing, m1n1 main branch and asahi-wip in linux should work to the extent of what's supported, i.e. no display and gpu and no wifi/bt everything else should work
13:01mazjannau: brilliant! I seem to remember that u-boot works with the same constraints?
13:04jannaut6020 branch in u-boot
13:06marcanfixed the stupid trackpad stops working issue. I think what happens is sometimes the Broadcom touch controller freaks out, and then the STM times out and resets it. when that happens hid-magicmouse gets a report 0x60 and it has to re-send the HID report init/change packet to go back to regular MT mode.
13:06mazexcellent. m1n1 is alive on the machine, thanks a bunch!
13:06marcanvalidating and will push in a bit.
13:07marcanumm... something else blew up...
13:19jannaumarcan: do you have more context? did this happen at plasma startup or randomly while it was running. if the latter any idea why it would create a new buffer
13:20marcanit happened when I first moved the mouse after plasma startup
13:20marcancould be the cursor
13:24jannauI'd start looking in the iommu code but I have no idea where. was that with or without lina's 4k patch?
13:25jannaubased on version probably asahi-wip with the touchpad fixes
13:31billak has quit [Remote host closed the connection]
13:36mazjannau: "U-Boot 2023.04-00021-g1b30640649-dirty (Apr 30 2023 - 14:28:03 +0100)"
13:37mazwe're in business! a lot of thanks to everyone!
13:37mamoos1 has quit [Ping timeout: 480 seconds]
13:37maz(hopefully I can now consider turning the M2 MBA into a real laptop and not just a dev board... ;-)
13:42mamoos1 has joined #asahi-dev
13:46marcanjannau: it's asahi-wip plus spi debug stuff
13:47marcannow I'm trying to figure out why the reset report never makes it to hid-magicmouse, but only sometimes (usually the second time it happens) :/
13:47korreckj328 has quit [Remote host closed the connection]
13:51korreckj328 has joined #asahi-dev
14:01marcan[ 65.477961] apple_ll_close
14:01marcanlol okay.
14:01marcanthe desktop environment closes the trackpad device when you close the lid. that makes sense but... yeah, then I lose the "omg reset" report sometimes.
14:02marcanI guess I have to make magicmouse send the init command unconditionally on every device open
14:26steffen[m] has quit [Remote host closed the connection]
14:27steffen[m] has joined #asahi-dev
14:28marcanwell... there's no hook for that, lovely
14:28marcanso instead I guess we just keep the LL device open
14:28marcannot that there's any power disadvantage to doing that right now, it does not actually shut down anything in the LL driver, so meh
14:29steffen[m] has quit [Remote host closed the connection]
14:29mamoos1 has quit [Ping timeout: 480 seconds]
14:29WindowPa- has joined #asahi-dev
14:29steffen[m] has joined #asahi-dev
14:29marcanwell I guess I could mutate the input device
14:29marcanmaybe that's a better idea
14:34WindowPain has quit [Ping timeout: 480 seconds]
14:37steffen[m] has quit [Remote host closed the connection]
14:37steffen[m] has joined #asahi-dev
14:53mamoos1 has joined #asahi-dev
14:56marcanI *want* to say the spihid stuff might finally be stable now :)
15:00mamoos1 has quit [Quit: Lost terminal]
15:13bcrumb has joined #asahi-dev
15:27djorz has quit [resistance.oftc.net reflection.oftc.net]
15:27steven has quit [resistance.oftc.net reflection.oftc.net]
15:27balrog has quit [resistance.oftc.net reflection.oftc.net]
15:27msteffen has quit [resistance.oftc.net reflection.oftc.net]
15:27_rudi has quit [resistance.oftc.net reflection.oftc.net]
15:27zjstraus has quit [resistance.oftc.net reflection.oftc.net]
15:27bpye has quit [resistance.oftc.net reflection.oftc.net]
15:27nyx_o has quit [resistance.oftc.net reflection.oftc.net]
15:27zzywysm has quit [resistance.oftc.net reflection.oftc.net]
15:27enron has quit [resistance.oftc.net reflection.oftc.net]
15:27CoolStar_ has quit [resistance.oftc.net reflection.oftc.net]
15:27zalyx0 has quit [resistance.oftc.net reflection.oftc.net]
15:27apalos has quit [resistance.oftc.net reflection.oftc.net]
15:27refi64 has quit [resistance.oftc.net reflection.oftc.net]
15:27kode54 has quit [resistance.oftc.net reflection.oftc.net]
15:27jlco has quit [resistance.oftc.net reflection.oftc.net]
15:27lawt has quit [resistance.oftc.net reflection.oftc.net]
15:27weitcis has quit [resistance.oftc.net reflection.oftc.net]
15:27Method has quit [resistance.oftc.net reflection.oftc.net]
15:27soonercane has quit [resistance.oftc.net reflection.oftc.net]
15:27turo has quit [resistance.oftc.net reflection.oftc.net]
15:27Leo3418 has quit [resistance.oftc.net reflection.oftc.net]
15:27TheFirst has quit [resistance.oftc.net reflection.oftc.net]
15:27xaiki has quit [resistance.oftc.net reflection.oftc.net]
15:27nathanchance has quit [resistance.oftc.net reflection.oftc.net]
15:27liszt has quit [resistance.oftc.net reflection.oftc.net]
15:27codingkoopa3 has quit [resistance.oftc.net reflection.oftc.net]
15:27skoobasteeve has quit [resistance.oftc.net reflection.oftc.net]
15:27cyrozap has quit [resistance.oftc.net reflection.oftc.net]
15:27tbodt has quit [resistance.oftc.net reflection.oftc.net]
15:27mokou has quit [resistance.oftc.net reflection.oftc.net]
15:27ids1024 has quit [resistance.oftc.net reflection.oftc.net]
15:27emptynine has quit [resistance.oftc.net reflection.oftc.net]
15:27eigenform has quit [resistance.oftc.net reflection.oftc.net]
15:27rcombs has quit [resistance.oftc.net reflection.oftc.net]
15:27argonaut has quit [resistance.oftc.net reflection.oftc.net]
15:27tmlind has quit [resistance.oftc.net reflection.oftc.net]
15:27Poplar has quit [resistance.oftc.net reflection.oftc.net]
15:27tpw_rules has quit [resistance.oftc.net reflection.oftc.net]
15:27Skirmisher has quit [resistance.oftc.net reflection.oftc.net]
15:27Gaelan_ has quit [resistance.oftc.net reflection.oftc.net]
15:27Avaflow has quit [resistance.oftc.net reflection.oftc.net]
15:27tmlind has joined #asahi-dev
15:27mokou has joined #asahi-dev
15:27TheFirst has joined #asahi-dev
15:27lawt has joined #asahi-dev
15:27msteffen has joined #asahi-dev
15:27xaiki has joined #asahi-dev
15:27skoobasteeve has joined #asahi-dev
15:27turo has joined #asahi-dev
15:27weitcis has joined #asahi-dev
15:27tpw_rules has joined #asahi-dev
15:27tbodt has joined #asahi-dev
15:27Poplar has joined #asahi-dev
15:27Avaflow has joined #asahi-dev
15:27cyrozap has joined #asahi-dev
15:27codingkoopa3 has joined #asahi-dev
15:27liszt has joined #asahi-dev
15:27kode54 has joined #asahi-dev
15:27zjstraus has joined #asahi-dev
15:27CoolStar_ has joined #asahi-dev
15:27nyx_o has joined #asahi-dev
15:27Leo3418 has joined #asahi-dev
15:27soonercane has joined #asahi-dev
15:27Gaelan has joined #asahi-dev
15:27balrog has joined #asahi-dev
15:27Method has joined #asahi-dev
15:28rcombs has joined #asahi-dev
15:28nathanchance has joined #asahi-dev
15:28argonaut has joined #asahi-dev
15:28Skirmisher has joined #asahi-dev
15:28emptynine has joined #asahi-dev
15:28ids1024 has joined #asahi-dev
15:29zalyx0 has joined #asahi-dev
15:29_rudi has joined #asahi-dev
15:29enron has joined #asahi-dev
15:29bpye has joined #asahi-dev
15:29refi64 has joined #asahi-dev
15:29zzywysm has joined #asahi-dev
15:31steven has joined #asahi-dev
15:33bcrumb has quit [Quit: WeeChat 3.8]
15:35apalos has joined #asahi-dev
15:49WindowPain has joined #asahi-dev
15:52___nick___ has quit []
15:54___nick___ has joined #asahi-dev
15:54___nick___ has quit []
15:54WindowPa- has quit [Ping timeout: 480 seconds]
15:56___nick___ has joined #asahi-dev
16:24jannaumarcan: as long as the touchbar drivers are ignored be kde and gnome it would make sense it include and build them in the edge kernel to make user space development simpler
16:25* jannaustill needs to convince ChaosPrincess to remove the software rotation from the driver
16:25ChaosPrincessits at least a tiny bit useful with sw rotation
16:27ChaosPrincessactually, if you tell me how to get vertical stride from framebuffer, i can remove the rotation :P
16:30jannauthe driver is to serve special user space programm(s) to be written from scratch so it should take the panel orientation into account from the beginning
16:31jannauwhat do mean by vertical stride?
16:31ChaosPrincessfb->pitches contains horizontal stride
16:34korreckj328_ has joined #asahi-dev
16:34ChaosPrincessactually, i think im confusing myself
16:38jannaumy understanding how it is supposed to work is that the driver exports a mode of 60x2008. user space uses then fb with 60 (stride 64) by 2008 pixels with pre-rotated content. I suspect your vertical stride is then inside pitches
16:40korreckj328 has quit [Ping timeout: 480 seconds]
16:41marcanjannau: yeah, that's the only blocker as far as I'm concerned
16:51DarkShadow44 has quit [Quit: ZNC - https://znc.in]
16:51jannauwe probably have to add an udev rule to have the touchscreen ignored by libinput
16:52DarkShadow44 has joined #asahi-dev
16:57DarkShadow44 has quit [Quit: ZNC - https://znc.in]
16:57DarkShadow44 has joined #asahi-dev
16:59DarkShadow44 has quit []
16:59DarkShadow44 has joined #asahi-dev
17:06DarkShadow44 has quit [Quit: ZNC - https://znc.in]
17:06DarkShadow44 has joined #asahi-dev
17:09ChaosPrincessjannau: removed sw rotation
17:09ChaosPrincessdo you also want me to throw a non-desktop on it
17:09jannauthanks, yes, please add non-desktop
17:25brolin has joined #asahi-dev
17:50brolin has quit [Ping timeout: 480 seconds]
17:53eiln_ has quit [Quit: WeeChat 3.8]
17:55brolin has joined #asahi-dev
18:00korreckj328__ has joined #asahi-dev
18:05abd has joined #asahi-dev
18:06korreckj328_ has quit [Ping timeout: 480 seconds]
18:06korreckj328_ has joined #asahi-dev
18:12korreckj328__ has quit [Ping timeout: 480 seconds]
18:52bluetail has quit [Quit: The Lounge - https://thelounge.chat]
18:52nicolas17 has joined #asahi-dev
19:00brolin has quit [Ping timeout: 480 seconds]
19:34bcrumb has joined #asahi-dev
19:36korreckj328__ has joined #asahi-dev
19:38djorz has joined #asahi-dev
19:42korreckj328_ has quit [Ping timeout: 480 seconds]
19:44yzhou has joined #asahi-dev
19:57SalimTer- has joined #asahi-dev
20:00salimterryli has quit [Ping timeout: 480 seconds]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:22cylm has quit [Ping timeout: 480 seconds]
20:23yzhou has quit [Quit: Leaving]
20:41eiln has joined #asahi-dev
20:56abd has quit [Ping timeout: 480 seconds]
21:22abd has joined #asahi-dev
21:43eiln has quit [Quit: WeeChat 3.8]
21:48elvishjerricco has quit [Read error: Connection reset by peer]
21:49elvishjerricco has joined #asahi-dev
21:53nyilas has quit [Remote host closed the connection]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:30bps2 has joined #asahi-dev
22:30eiln has joined #asahi-dev
22:46eiln_ has joined #asahi-dev
22:46eiln has quit [Remote host closed the connection]
22:48eiln_shot in the dark but does any t6000 mind running experiments/ane.py on ane-t6000 branch https://github.com/eiln/m1n1/tree/ane-t6000
23:04ChaosPrincesseiln_: where do i get add.hwx from
23:05eiln_sorry shoudlve mentioned
23:08eiln_ChaosPrincess: ty. looking at the error.
23:10bcrumb has quit [Quit: WeeChat 3.8]
23:12eiln_ has quit [Quit: WeeChat 3.8]
23:12bps2 has quit [Ping timeout: 480 seconds]
23:21espo has quit [Quit: fBNC - https://bnc4free.com]
23:30povikwriting a codec driver from scratch after having learned most of the ins and outs of ASoC is strangely soothing :D
23:30povikor is it having datasheet at hand, for once?
23:33abd has quit [Ping timeout: 480 seconds]
23:57nicolas17 has quit [Read error: Connection reset by peer]
…