#
…

2023-09-30

00:07linaeiln: Yeah, the surface filter is a hack... Though 0xc000 does work in practice ^^
00:08linaI wanted to get rid of the iotranslate stuff because I'd seen it crash there and also some really ugly memory corruption stuff (filesystem page cache oopses) and I felt really uncomfortable about doing it that way... ^^;;
00:08linaIn good news: It survived all night!
00:12jannegt6001 works with the 13.5 firmware
00:15jannegmarcan: https://github.com/AsahiLinux/asahi-scripts/pull/32 has my cleaned up dracut hooks to boot a kernel with modules (and firmware) via run_guest_kernel.sh
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
01:48Graypup_ has quit [Quit: meow]
01:49cylm has joined #asahi-dev
01:50eiln has joined #asahi-dev
01:50Graypup_ has joined #asahi-dev
01:54eilnlina: that's awesome news. seems like we're all good now..?
02:00gabuscus has quit []
02:11i509vcb has joined #asahi-dev
02:30gabuscus has joined #asahi-dev
02:54Cromulent has joined #asahi-dev
02:54Cromulent has quit []
02:57Cromulent has joined #asahi-dev
03:32linaI think so! Just need to fix up M2 12.4 I think? And test the other machines
03:55tristan2 has joined #asahi-dev
03:57tristan2_ has quit [Ping timeout: 480 seconds]
05:17stipa is now known as Guest1728
05:17stipa has joined #asahi-dev
05:20Guest1728 has quit [Ping timeout: 480 seconds]
05:33Cromulent has quit [Quit: Connection closed for inactivity]
05:34AnuthaDev has joined #asahi-dev
06:11espo has quit [Quit: WeeChat 4.0.5]
06:13crabbedhaloablut has joined #asahi-dev
06:15espo has joined #asahi-dev
06:19linaLooking at t8112...
06:21AnuthaDev has quit []
06:29janneglina: 12.4 firmware seems to be fine, 13.5 is crashing
06:30linaYeah, I repro'd... it's not MLVNR, I need the workaround for that on 1080p sensors as with t602x, but this is something else
06:30AnuthaDev has joined #asahi-dev
06:33lina dual-vc-llt-workaround-0 = [0x0000000F00000000, 0x0000001000000000]
06:33linaThat's sus... in the DART only for t8112 ISP...
06:42stipa has quit [Remote host closed the connection]
06:45espo has quit [Quit: WeeChat 4.0.5]
06:53linaWoah... what's up with the DAPF property here...
07:05linaI'm so confused...
07:30linaLooks like that workaround thing is a red herring...
07:33linaI think it's the DAPF config getting lost when we power down the DART. We might need save/restore in the DART driver for that...
07:44flom84 has joined #asahi-dev
07:47linaThat and in general more stuff being wrong with the IOVA offset...
07:47linaI think it basically worked by accident when it worked ^^;;
07:50AnuthaDev has quit []
07:55linaMaybe it doesn't need save/restore, hmm...
08:09linaHmm... back to square one...
08:39jeisom has joined #asahi-dev
08:43linaFixed the tracer for t8112, trying to compare things now...
08:48dcow has quit [Remote host closed the connection]
08:49dcow has joined #asahi-dev
08:58dcow has quit [Ping timeout: 480 seconds]
09:02mps has quit [Ping timeout: 480 seconds]
09:15mps has joined #asahi-dev
09:19dcow has joined #asahi-dev
09:44dcow has quit [Ping timeout: 480 seconds]
09:45jannegthe nvram size depends on on the stub version
10:12dcow has joined #asahi-dev
10:20jeisom has quit [Ping timeout: 480 seconds]
10:21linaPushed some stuff but I haven't really gotten anywhere... Next things to check are DART registers and whether there's any other weird init stuff (tunables...)
10:22dottedmag has left #asahi-dev [#asahi-dev]
10:22dottedmag has joined #asahi-dev
10:22dottedmag has left #asahi-dev [#asahi-dev]
10:23roxfan has joined #asahi-dev
10:24dcow has quit [Ping timeout: 480 seconds]
10:29dcow has joined #asahi-dev
10:30linaOnly DART difference is streams 14 and 15... but I tried enabling them (just as clones) and it doesn't fault or anything, so I don't think that's it...
10:34maria has quit [Remote host closed the connection]
10:35maria has joined #asahi-dev
10:56maria has quit [Ping timeout: 480 seconds]
11:00maria has joined #asahi-dev
11:03espo has joined #asahi-dev
11:13maria has quit [Remote host closed the connection]
11:14maria has joined #asahi-dev
11:50fugi has quit [Quit: Ping timeout (120 seconds)]
11:50fugi has joined #asahi-dev
11:51Wormn has joined #asahi-dev
11:57eiln has quit [Ping timeout: 480 seconds]
12:13Wormn has quit [Remote host closed the connection]
12:19kaazoo has joined #asahi-dev
12:19jannegwhich #address/#size-cells does FDT to parse ranges? for ADT (looking at spinor
12:19jannegit's apparently the nodes an not the parents
12:32Wormn has joined #asahi-dev
12:38kaazooHi, is there a special reason why address ranges for uat_handoff, uat_pagetables and uat_ttbs haven't been set in https://github.com/AsahiLinux/linux/blob/b486fd3ed8fc753da40b7776686f57f64e655f6e/arch/arm64/boot/dts/apple/t600x-common.dtsi#L439 yet or has it just been forgotten to commit? Do you perhaps wanted to add official GPU support for M2 Pro/Max later?
12:38kaazooUsing the same values as for other models made the GPU driver initialize correctly on my t6020-j414s. Before I had that uat_handoff remap error.
12:40marcanyou have that backwards. those values are set by m1n1 and should never be hardcoded, in fact we should remove the existing ones.
12:40marcanthe problem with t602x is just the missing no-map;, which we know.
12:41marcanuntil machines are considered production-ready there will be dumb stuff like this (this only breaks if you use u-boot, which we rarely do for testing)
12:43marcanin particular wifi isn't done for t602x machines and I'm in no particular rush to consider them usable until that's done, so if you really want to use them before they're ready you get to deal with the bugs :p
12:43marcanI'll fix this one for the next kernel tag anyway
12:45SalimTer- has quit [Ping timeout: 480 seconds]
12:51jannegI think you did already both in the isp branch
12:54marcanquite possible :p (since I added the heap thing)
12:54kaazoomarcan: OK, thanks for the details. I already saw that "no-map" option added when comparing 6.4.10 and 6.5.x tags and wondered ;)
13:19eiln has joined #asahi-dev
13:21SalimTerryLi has joined #asahi-dev
14:07Wormn has quit [Remote host closed the connection]
14:16eiln has quit [Ping timeout: 480 seconds]
14:39jeisom has joined #asahi-dev
14:40Leo3418 has quit [Quit: Applying updates]
14:42Leo3418 has joined #asahi-dev
15:01dcow has quit [Ping timeout: 480 seconds]
15:25tenkuu has quit [Quit: WeeChat 4.0.4]
15:27dcow has joined #asahi-dev
15:33jeisom has quit [Ping timeout: 480 seconds]
15:35dcow has quit [Ping timeout: 480 seconds]
16:00dcow has joined #asahi-dev
16:09dcow has quit [Ping timeout: 480 seconds]
16:48dcow has joined #asahi-dev
16:56dcow has quit [Ping timeout: 480 seconds]
16:56jeisom has joined #asahi-dev
17:08dcow has joined #asahi-dev
17:12dcow has quit [Remote host closed the connection]
17:12dcow has joined #asahi-dev
17:47jonmastersafter chainloading a new m1n1, if I just want it to do a normal boot, how do I tell the proxyclient to continue?
17:47jonmastersi.e. I've got the new Linux kernel already on the system, don't want to do linux.py loading
17:48j`eyyou have to use u-boot for that
17:48jonmastersI built an m1n1 with an appended u-boot
17:48jonmastersI think did a chainload -r with the new image
17:49jonmasters* then did
17:49jonmastersthe system reset, chainload said it was waiting to reconnect
17:49jonmastersit reconnected, then I got Proxy is alive again and it exited
17:49jonmastersI'm assuming at this point it loaded the new m1n1 with the u-boot payload but is waiting to be told to run it?
17:50j`eyjonmasters: did you gzip uboot before you appened it?
17:50j`eycan you check the logs, it should talk about payloads at some point
18:05jonmastersfollowed the instructions to build a stage 2 then chainloaded it
18:05jonmastersI'll try a direct kernel load
18:06j`eyif you can post the m1n1 log that would help diagnose it
18:08jonmastersah I misspoke
18:08jonmastersit loads, but then the host resets
18:08jonmastersso something is up with the payload
18:08jonmastersI built the u-boot binary by pulling the latest git, then cross compiled setting CROSS_COMPILE with the Fedora aarch64 gcc
18:09jonmasters(ACM1 because I appear to have some other device on this laptop, so I get ACM0 and ACM1 for the M1)
18:09jonmasters(ACM1 because I appear to have some other device on this laptop, so I get ACM1 and ACM2 for the M1)
18:09jonmasters* corrected
18:16j`eylooks like the 2nd m1n1 didnt show up, I think that output is from stage1
18:26jonmasterswhat I'm waiting to do is build a stage2 u-boot and chainload that
18:26jonmastersam I missing something?
18:27sventhat output looks normal, the error at the end happens because chainload.py is usually used to load into another m1n1 without u-boot
18:27svenand I think m1n1 with u-boot, etc. will try to boot into of exposing another proxy on usb
18:28sven*instead of
18:29j`eyright, a normally chainloaded stage2 wont do USB serial, makes sense (when I was doing this, mostly I did it under the hv, so I did have serial output..)
18:29svenis the dtb also part of that m1n1-uboot.bin?
18:30svenand yeah, i usually just run this into the hv as well and always skip uboot as well
18:30sven*inside
18:30jonmastersok so here's the thing, if I load a kernel and dtb into hv what patches the dtbs?
18:30j`eym1n1 still
18:30svenoh, I run the full m1n1+kernel inside the hv
18:31jonmastersright, that's what I did, but you do it without the raw m1n1?
18:31svencat build/m1n1.macho Image.gz t8103-j274.dtb > payload.macho; python3 proxyclient/tools/run_guest.py -S payload.macho is my (at this point very old) runhv.sh
18:31j`eyyou could try the same m1n1-uboot.bin with run_guest.py, that should work
18:31j`ey(instead of chainloading)
18:32j`eythat would get you output, and hopefully help diagnose the issue
18:32jonmastersthing is since I'm testing those USB4 patches I need to switch the dtb that gets patched
18:32jonmastersI'll try that now
18:34jonmastersoh, got an external abort
18:38j`eyweird address
18:41svenhuh, isn't that pcie?
18:42j`eyah yeah, and it's an SError..
18:42roxfan has quit [Read error: Connection reset by peer]
18:43sventhat would happen if the pcie power domain was off, but I don't think we ever turn that one off
18:54jonmastershave to head out - will poke more later
18:56CME has quit []
18:56CME has joined #asahi-dev
19:00jannegjonmasters: https://paste.debian.net/1293633/ works for me on m1 mac m1n1
19:21roxfan has joined #asahi-dev
20:44kidplayer_666_ has joined #asahi-dev
20:48kidplayer_666_ has quit [Remote host closed the connection]
20:54kidplayer_666_ has joined #asahi-dev
20:56kidplayer_666_ has quit [Remote host closed the connection]
21:05kidplayer_666_ has joined #asahi-dev
21:06kidplayer_666_ has quit [Remote host closed the connection]
21:13jeffmiw has joined #asahi-dev
21:38jeffmiwIt seems that the asahi/calamares installer is not able to configure correctly the keyboard selected: when setting the fr applealu_iso in the installer, it is not configured when login after. I saw that while trying the fedora remix.
21:46jeffmiwis there an easy way to run this calamares first boot installer to investigate ?
21:46eiln has joined #asahi-dev
22:24jannegjeffmiw: with an recent image? Since the images don't contain xorg-server related packages anymore there was an issue with /etc/X11/xorg.conf.d/ missing but I believe that should be fixed
22:25jeffmiwI used the rawhide version
22:26jannegyes, systemd-localectl uses that path to store global keyboard layout config
22:26jannegit just depends on the image creation date. does /etc/X11/xorg.conf.d/ exists?
22:30jeffmiwit does not.
22:30nela has quit [Ping timeout: 480 seconds]
22:31jeffmiwI think I used the 20230929 image, still quite recent
22:35nela has joined #asahi-dev
22:39jeffmiwhumm strange
23:05jeffmiw has quit [Ping timeout: 480 seconds]
23:43roxfan has quit [Read error: Connection reset by peer]
…