2023-07-15
00:16m42uko has joined #asahi-dev
00:18m42uko_ has quit [Ping timeout: 480 seconds]
00:30roxfan has quit [Remote host closed the connection]
00:41roxfan has joined #asahi-dev
00:46marcaneiln: you don't want raw frames, phone/web cameras these days do a stupid amount of processing on raw sensor data. raw frames will *suck*. we need to take advantage of the blob.
00:46marcanI'm not interested in reinventing the ISP stack and ending up with crappier results than macos
00:58nela has joined #asahi-dev
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi-dev
01:22amarioguy has quit [Remote host closed the connection]
01:30Z750 has quit [Quit: Ping timeout (120 seconds)]
01:31Z750 has joined #asahi-dev
01:58jnn has joined #asahi-dev
02:00gabuscus has quit []
02:01jn has quit [Ping timeout: 480 seconds]
02:03jeisom has quit [Ping timeout: 480 seconds]
02:24gabuscus has joined #asahi-dev
02:34mikelee has joined #asahi-dev
02:45crabbedhaloablut has quit [Ping timeout: 480 seconds]
02:53erso has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:01c10l5 has joined #asahi-dev
03:01erso has joined #asahi-dev
03:01skipwich has joined #asahi-dev
03:04_rudi has quit [Ping timeout: 480 seconds]
03:06apalos has quit [Quit: ZNC 1.7.2 - https://znc.in]
03:07apalos has joined #asahi-dev
03:08c10l has quit [Ping timeout: 480 seconds]
03:09chadmedmarcan: how do you feel about drawing a line under a custom bass enhancement plugin and just pulling in calf as a dependency?
03:10erso has quit [Ping timeout: 480 seconds]
03:14erso has joined #asahi-dev
03:20mikelee has quit [Remote host closed the connection]
03:23erso has quit [Ping timeout: 480 seconds]
03:31erso has joined #asahi-dev
03:37mikelee has joined #asahi-dev
03:39erso has quit [Ping timeout: 480 seconds]
03:47mikelee has quit [Ping timeout: 480 seconds]
03:47erso has joined #asahi-dev
03:55dylanchapell has quit [Read error: Network is unreachable]
03:55erso has quit [Ping timeout: 480 seconds]
03:57mikelee has joined #asahi-dev
04:03erso has joined #asahi-dev
04:05mikelee has quit [Ping timeout: 480 seconds]
04:12erso has quit [Ping timeout: 480 seconds]
04:14mikelee has joined #asahi-dev
04:20erso has joined #asahi-dev
04:21dylanchapell has joined #asahi-dev
04:29erso has quit [Ping timeout: 480 seconds]
04:35mikelee has quit [Read error: Connection timed out]
04:37erso has joined #asahi-dev
04:51erso has quit [Ping timeout: 480 seconds]
05:00erso has joined #asahi-dev
05:03mikelee has joined #asahi-dev
05:09erso has quit [Ping timeout: 480 seconds]
05:15mikelee has quit [Ping timeout: 480 seconds]
05:16erso has joined #asahi-dev
05:16mikelee has joined #asahi-dev
05:25erso has quit [Ping timeout: 480 seconds]
05:28mikelee has quit [Ping timeout: 480 seconds]
05:33erso has joined #asahi-dev
05:41mikelee has joined #asahi-dev
05:42erso has quit [Ping timeout: 480 seconds]
05:49mikelee has quit [Ping timeout: 480 seconds]
05:50erso has joined #asahi-dev
05:53midou has quit [Remote host closed the connection]
05:55midou has joined #asahi-dev
05:59erso has quit [Ping timeout: 480 seconds]
06:00mikelee has joined #asahi-dev
06:06erso has joined #asahi-dev
06:09mikelee has quit [Ping timeout: 480 seconds]
06:09sid-linux has joined #asahi-dev
06:15erso has quit [Ping timeout: 480 seconds]
06:17mikelee has joined #asahi-dev
06:22erso has joined #asahi-dev
06:26mikelee has quit [Ping timeout: 480 seconds]
06:31erso has quit [Ping timeout: 480 seconds]
06:34mikelee has joined #asahi-dev
06:39erso has joined #asahi-dev
06:43mikelee has quit [Ping timeout: 480 seconds]
06:48erso has quit [Ping timeout: 480 seconds]
06:51crabbedhaloablut has joined #asahi-dev
06:52mikelee has joined #asahi-dev
06:56erso has joined #asahi-dev
07:01mikelee has quit [Ping timeout: 480 seconds]
07:05erso has quit [Ping timeout: 480 seconds]
07:07mikelee has joined #asahi-dev
07:14erso has joined #asahi-dev
07:15mikelee has quit [Ping timeout: 480 seconds]
07:22erso has quit [Ping timeout: 480 seconds]
07:30erso has joined #asahi-dev
07:35mikelee has joined #asahi-dev
07:39erso has quit [Ping timeout: 480 seconds]
07:46pbsds has quit [Quit: The Lounge - https://thelounge.chat]
07:47erso has joined #asahi-dev
07:50mikelee has quit [Ping timeout: 480 seconds]
07:56erso has quit [Ping timeout: 480 seconds]
08:04erso has joined #asahi-dev
08:13erso has quit [Ping timeout: 480 seconds]
08:20erso has joined #asahi-dev
08:29erso has quit [Ping timeout: 480 seconds]
08:30rootbeerdan has quit [Ping timeout: 480 seconds]
08:38erso has joined #asahi-dev
08:47erso has quit [Ping timeout: 480 seconds]
08:56erso has joined #asahi-dev
08:57nsklaus has joined #asahi-dev
09:01mikelee has joined #asahi-dev
09:05erso has quit [Ping timeout: 480 seconds]
09:09mikelee has quit [Ping timeout: 480 seconds]
09:13erso has joined #asahi-dev
09:13pbsds has joined #asahi-dev
09:18mikelee has joined #asahi-dev
09:21erso has quit [Ping timeout: 480 seconds]
09:29mikelee has quit [Ping timeout: 480 seconds]
09:29erso has joined #asahi-dev
09:38mikelee has joined #asahi-dev
09:46mikelee has quit [Ping timeout: 480 seconds]
09:56jeisom has joined #asahi-dev
10:05mikelee has joined #asahi-dev
10:14mikelee has quit [Ping timeout: 480 seconds]
10:56erso has quit [Ping timeout: 480 seconds]
11:05erso has joined #asahi-dev
11:13erso has quit [Ping timeout: 480 seconds]
11:15erso has joined #asahi-dev
11:16roxfan2 has joined #asahi-dev
11:22cylm has joined #asahi-dev
11:22roxfan has quit [Ping timeout: 480 seconds]
11:27mikelee has joined #asahi-dev
11:28jeisom has quit [Quit: Leaving]
11:28stipa has joined #asahi-dev
11:31jeisom has joined #asahi-dev
11:34jeisom has quit [Remote host closed the connection]
11:34jeisom has joined #asahi-dev
11:35mikelee has quit [Ping timeout: 480 seconds]
11:35jeisom has quit [Remote host closed the connection]
11:36jeisom has joined #asahi-dev
11:38nsklaus has quit [Quit: WeeChat 4.1.0-dev]
11:38nsklaus has joined #asahi-dev
11:44mikelee has joined #asahi-dev
11:48jeisom_ has joined #asahi-dev
11:48jeisom has quit [Read error: No route to host]
11:52mikelee has quit [Ping timeout: 480 seconds]
11:55mikelee has joined #asahi-dev
12:03mikelee has quit [Ping timeout: 480 seconds]
12:09jeisom_ has quit [Remote host closed the connection]
12:10jeisom has joined #asahi-dev
12:39jannaucompletely unrelated: the intel 2.5 gb network chip which didn't work in my thunderbolt dock works as random PCIe card in a razor core x (thunderbolt 3 gpu case) (using the same code)
12:40sventhere are still some issues with pcie power management over tbt but I first want to get this new tipd/usb3 part ready
12:41jannauyeah! on the the unneeded reset. I guess it's on the HW a side effect of not supporting usb3.2 gen 2x2 or whatever the 2 lane mode is called today
12:42svenI think so. Iirc xnu used to do that additional reset but at some point they also stopped doing it
12:42svenbut essentially I can switch the atcphy mode without going through a full reset and everything still works
12:54jannausplit usb3 and DP seems to be sane default and is good up to 4k60 (8bpp, rgb 4:4:4, no compression) which should cover most displays and many dp-altmode usb-c displays will have an usb hub
12:54mikelee has joined #asahi-dev
13:03wCPO has quit [Quit: The Lounge - https://thelounge.chat]
13:04wCPO has joined #asahi-dev
13:07jannaudon't or talk to me first, I'm working on that to at least allow in principle dynamic switching
13:07midou has quit [Ping timeout: 480 seconds]
13:08sventhe only reason the current one doesn’t have that because it was built for intel and the drm side can actually read the current state from somewhere
13:09svenI also have some vague ideas about how to model this in the DT that we should also discuss at some point
13:09jannaucurrent plan is to have "fake" (as in not backed by HW) displayport controllers which control the phy and mux
13:11svenbut I think DP tunneling and ideally also multi output should work first because there might still be some nasty surprises lurking
13:11jannaudcp connects via ports/graph to those dp controller but I'm unsure how dp-tunneling fits into that
13:12svenif it works the way I expect it to I have some very vague idea, I’m about to head out but I can dump my thoughts later
13:12jannauI hope we can shove into the dp controller as well altough the second dcp dp out will be a strange fit
13:14svenbut essentially for DP tunneling we’ll have a “dpin” phy that will also trigger the HPD notification
13:14zachole has joined #asahi-dev
13:35amarioguy has joined #asahi-dev
13:44mikelee has quit [Ping timeout: 480 seconds]
13:47jeisom has quit [Ping timeout: 480 seconds]
13:56mikelee has joined #asahi-dev
14:00midou has joined #asahi-dev
14:04mikelee has quit [Ping timeout: 480 seconds]
14:06mikelee has joined #asahi-dev
14:14mikelee has quit [Ping timeout: 480 seconds]
14:19nsklaus has quit [Quit: brb]
14:19nsklaus has joined #asahi-dev
14:21roxfan has joined #asahi-dev
14:23sid-linux has quit [Quit: User exited]
14:24roxfan2 has quit [Ping timeout: 480 seconds]
14:37mikelee has joined #asahi-dev
14:47mikelee has quit [Ping timeout: 480 seconds]
14:51mikelee has joined #asahi-dev
15:01mikelee has quit [Ping timeout: 480 seconds]
15:08mikelee has joined #asahi-dev
15:13nsklaus has quit [Quit: brb]
15:13nsklaus has joined #asahi-dev
15:14roxfan2 has joined #asahi-dev
15:18roxfan has quit [Ping timeout: 480 seconds]
15:30eiln has joined #asahi-dev
15:32mikelee has quit [Ping timeout: 480 seconds]
15:38mikelee has joined #asahi-dev
15:42roxfan has joined #asahi-dev
15:47roxfan2 has quit [Ping timeout: 480 seconds]
15:50sid-linux has joined #asahi-dev
15:51mikelee has quit [Ping timeout: 480 seconds]
15:52mikelee has joined #asahi-dev
15:52eilnmarcan: makes sense. and if i can figure out one "ioctl", the 400 others should be relatively straightforward
15:53eilni'm worried calls like CISP_CMD_CH_AE_BIAS_EXPOSURE_SET aren't one-time, static params though (unlike, say, CISP_CMD_CH_COLOR_CAL_DATA_SET)
16:03eilnChaosPrincess: i recall the ane dapf writes were slightly different so i played safe. this is much better, thank you
16:04ChaosPrincessyes, they are different, and normal m1n1 code does not work with them
16:14sid-linux has quit [Quit: User exited]
16:21mikelee has quit [Ping timeout: 480 seconds]
16:22eiln has quit [Ping timeout: 480 seconds]
16:41rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:41Guest5884 has quit [Quit: Bridge terminating on SIGTERM]
16:45Jamie has joined #asahi-dev
16:45rhysmdnz has joined #asahi-dev
16:45Jamie is now known as Guest6081
16:53ChaosPrincesseiln: so, that ipc.bin link expired, but does that look correct? https://paste.bingner.com/paste/nmgha
16:56mikelee has joined #asahi-dev
17:11mikelee has quit [Ping timeout: 480 seconds]
17:19adryzz has joined #asahi-dev
17:20Lena has joined #asahi-dev
17:22mikelee has joined #asahi-dev
17:27adryzz has quit [Ping timeout: 480 seconds]
17:29___nick___ has joined #asahi-dev
17:29___nick___ has quit []
17:32___nick___ has joined #asahi-dev
17:35mikelee has quit [Ping timeout: 480 seconds]
17:40jeisom has joined #asahi-dev
17:51sid-linux has joined #asahi-dev
17:54sid-linuxquestion regarding m1n1 adt. When the stage 1 m1n1 overwrites itself with the stage 2 m1n1, the chainloaded m1n1 still has access to the adt.
17:55sid-linux (void *)(((u64)cur_boot_args.devtree) - cur_boot_args.virt_base + cur_boot_args.phys_base);
17:59sid-linuxbut I would have thought that we treat the memory as "fresh" when m1n1 stage 2 restarts
18:01ChaosPrincessthe memory is still there, stage 2 is loaded at such an address that it does not overwrite the adt or other things you need to preserve
18:02jannauas fresh as it is after iboot ran. the adt is in the bootargs and remains at it's location
18:11sid-linuxif you look at chainload_image() in m1n1 src/chainload.c , there is a copying of SEPFW but no copying of the adt
18:12ChaosPrincessthat should explain it
18:19jeisom has quit [Ping timeout: 480 seconds]
18:22mikelee has joined #asahi-dev
18:27sid-linux(figured it out also. adt is never overwritten by m1n1 and it lies at a lower address to _base where m1n1 is loaded)
18:32roxfan2 has joined #asahi-dev
18:35roxfan2 has quit [Remote host closed the connection]
18:37roxfan has quit [Ping timeout: 480 seconds]
18:48roxfan has joined #asahi-dev
18:56roxfan has quit [Remote host closed the connection]
18:59mikelee has quit [Ping timeout: 480 seconds]
19:04adryzz has joined #asahi-dev
19:04Lena has quit [Read error: Connection reset by peer]
19:06roxfan has joined #asahi-dev
19:11rootbeerdan has joined #asahi-dev
19:16mikelee has joined #asahi-dev
19:27mikelee has quit [Ping timeout: 480 seconds]
19:27sid-linuxdoes iboot add SEP Firmware in stage 1 boot ? Or does Asahi Linux package the SEP firmware with m1n1 stage 1 during installation of Asahi Linux?
19:37sid-linux has quit [Quit: User exited]
19:39ChaosPrincesshttps://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon#firmware-overview
19:39ChaosPrincessThis might be helpful sid-linux
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:09mikelee has joined #asahi-dev
20:13rootbeerdan has quit [Quit: rootbeerdan]
20:14rootbeerdan has joined #asahi-dev
20:17mikelee has quit [Ping timeout: 480 seconds]
20:26mikelee has joined #asahi-dev
20:34mikelee has quit [Ping timeout: 480 seconds]
20:42mikelee has joined #asahi-dev
20:51mikelee has quit [Ping timeout: 480 seconds]
21:09mikelee has joined #asahi-dev
21:19mikelee has quit [Ping timeout: 480 seconds]
21:31mikelee has joined #asahi-dev
21:41mikelee has quit [Ping timeout: 480 seconds]
22:03crabbedhaloablut has quit []
22:06mikelee has joined #asahi-dev
22:14mikelee has quit [Ping timeout: 480 seconds]
22:40mikelee has joined #asahi-dev
22:49mikelee has quit [Ping timeout: 480 seconds]
22:57mikelee has joined #asahi-dev
23:07mikelee has quit [Ping timeout: 480 seconds]
23:15mikelee has joined #asahi-dev
23:19nsklaus has quit [Ping timeout: 480 seconds]
23:27maria has quit [Ping timeout: 480 seconds]
23:31mikelee has quit [Ping timeout: 480 seconds]
23:38mikelee has joined #asahi-dev
23:48mikelee has quit [Ping timeout: 480 seconds]
23:57mikelee has joined #asahi-dev