#
…

2023-09-13

00:43cylm has joined #asahi-dev
01:04chadmedurgh forgot how loathsome C can be sometimes
01:04chadmedim looking at this hwmon mess and i really dont like how the "info" channels work... its a nightmare to try and populate from the devicetree
01:04chadmedno of refcount errors on the first try though so thats nice :)
01:22maria has quit [Ping timeout: 480 seconds]
01:50cylm has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:01chadmed has quit [Remote host closed the connection]
02:06jeisom has quit [Ping timeout: 480 seconds]
02:17ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:33gabuscus has joined #asahi-dev
02:34ourdumbfuture has joined #asahi-dev
02:53ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:58ourdumbfuture has joined #asahi-dev
03:12ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:15tristan2 has joined #asahi-dev
03:17tristan2_ has quit [Ping timeout: 480 seconds]
04:51crabbedhaloablut has joined #asahi-dev
05:07amarioguy has quit [Ping timeout: 480 seconds]
05:08amarioguy has joined #asahi-dev
05:30amarioguy has quit [Remote host closed the connection]
06:02roxfan2 has joined #asahi-dev
06:08roxfan has quit [Ping timeout: 480 seconds]
06:53roxfan has joined #asahi-dev
06:55roxfan2 has quit [Ping timeout: 480 seconds]
07:05roxfan has quit [Ping timeout: 480 seconds]
07:08maria has joined #asahi-dev
07:08maria has quit [Remote host closed the connection]
07:09maria has joined #asahi-dev
07:16maria has quit [Remote host closed the connection]
07:17maria has joined #asahi-dev
07:25gladiac has joined #asahi-dev
07:38chadmed has joined #asahi-dev
07:39chadmedok this works but i dont think it will be upstreamable
07:39chadmedlots of evil pointers
07:40chadmedit doesnt seem to be fragile at all its just gross to look at
08:18c10l1 has quit []
08:18c10l has joined #asahi-dev
08:32marcaneiln: t6000 worked for me without any of those pointers. I suspect the dsid thing is for t8xxx only, since those addresses make no sense for t6xxx. But I think that whole thing is a memory controller optimization and we can just skip it (as long as there is some valid way to do that, e.g. all 0).
08:40Guest8963 has quit [Ping timeout: 480 seconds]
08:45tobhe has quit [Ping timeout: 480 seconds]
08:53tobhe has joined #asahi-dev
09:06cylm has joined #asahi-dev
09:26tobhe has quit [Ping timeout: 480 seconds]
10:19zane has joined #asahi-dev
10:24tobhe has joined #asahi-dev
11:46jeisom has joined #asahi-dev
11:50ourdumbfuture has joined #asahi-dev
11:52ourdumbfuture has quit []
11:52zane has quit [Quit: WeeChat 4.0.4]
12:19SalimTer- has quit [Quit: ZNC - https://znc.in]
12:20SalimTerryLi has joined #asahi-dev
12:30ourdumbfuture has joined #asahi-dev
12:33jeisom has quit [Ping timeout: 480 seconds]
12:37gladiac has quit [Quit: k thx bye]
12:52cylm has quit [Ping timeout: 480 seconds]
12:58ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:02ourdumbfuture has joined #asahi-dev
13:24phire has quit [Ping timeout: 480 seconds]
13:25hightower2 has quit [Ping timeout: 480 seconds]
13:27phire has joined #asahi-dev
14:07jeisom has joined #asahi-dev
14:20rpirea has joined #asahi-dev
14:25ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:44ourdumbfuture has joined #asahi-dev
15:04rpirea has quit []
15:04rpirea has joined #asahi-dev
15:12j`eydcp_is_initialized seems like it's in the wrong place being in drivers/gpu/drm/apple/iomfb.c?
15:14j`ey(somehow missed there's a lot of dcp_* functions in that file, just saw the iofmb_* functions either side of it)
15:54rpirea has quit [Remote host closed the connection]
16:02ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:07ourdumbfuture has joined #asahi-dev
16:16phire_ has joined #asahi-dev
16:16phire is now known as Guest2739
16:16phire_ is now known as phire
16:18Guest2739 has quit [Ping timeout: 480 seconds]
16:21eric_engestrommarcan (or anyone): can I (non-destructively, it's also my work machine) get a serial console on my macbook air (m2, 2022)?
16:21eric_engestromI have a screwdriver for the srcews at the bottom, but I haven't tried opening it yet (kinda scared of breaking something)
16:21eric_engestromthis is so that I can run CI on it, to make sure our infra is ready to support asahi testing
16:23_jannau__eric_engestrom: there is a serial console on the USB-C port next to the magsafe port
16:23eric_engestromnice, that's about as non-destructive as it can be xD
16:24eric_engestromI take it I need some usb-c serial adapter?
16:24* eric_engestromlooks that up
16:24eric_engestrom_jannau__: thanks!
16:24_jannau__yes, has to be enabled via USB PD, 1.2V
16:24svenor just another m1/m2 machines :p
16:25_jannau__we still have to implement that on Linux
16:25svenor you can run Linux inside m1n1‘s thin hv which will steal a usb port to expose a serial console
16:25sven(as a regular cdc acm device)
16:26_jannau__I suppose for CI the hard reset over USB PD is useful
16:26eric_engestromso the purpose is to be able to run any arbitrary kernel + mesa to test that it works before merging changes
16:26eric_engestromwould running that in m1n1 work?
16:27_jannau__I should get a few populated cs-hw boards tomorrow
16:28svenI do all my development inside that hv fwiw
16:29svenit just passed through most hw and doesn’t try to virtualization anything
16:29svenbut the hard reset over pd might be very useful for CI
16:29_jannau__yes, kernel can be booted over usb (either barebone or with m1n1's HV which virtualizes mostly the serial port)
16:29sven*passes
16:29eric_engestromdoes this need 2 AS devices though?
16:29eric_engestromor can the hv be run from any machine
16:30j`eyany machine
16:30svenhv can be run from anywhere
16:30_jannau__the hw reset needs some usb pd hardware
16:32eric_engestromwhat should I read up on for these two setups (bare or through m1n1)? I'm assuming you've written blogs/wiki/etc about it :P
16:32eric_engestromI'l read the README on https://github.com/asahilinux/m1n1 for starters
16:33jeisom has quit [Remote host closed the connection]
16:34jeisom has joined #asahi-dev
16:36_jannau__I find it useful to have a separate proxy only install on CI / test devices. that avoid the "Enabling the backdoor proxy mode" step
16:42m5zs7k has joined #asahi-dev
16:50eric_engestromthere's also the issue that sometimes the default boot option gets reset to macos, and I have to go in the "keep power pressed for 8 sec" menu to re-select my main linux install
16:51eric_engestromI'm guessing this is when the linux boot doesn't reach some specific point, which is something that might happen a lot in CI
16:52_jannau__m1n1 can take care of that and it's taken care of automatically when using the HV
16:52_jannau__see tools/reset_panic_counter.py
16:52jeisom has quit [Remote host closed the connection]
16:53jeisom has joined #asahi-dev
16:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:58ourdumbfuture has joined #asahi-dev
17:02lawrence has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:03lawrence has joined #asahi-dev
17:14eric_engestromI see, thanks!
17:17marcanyes, CI would definitely all run in the HV, among other things because we want to use that to validate GPU initialization and stuff like that
17:17marcanstill need to buy my CI rack machines but that's pretty much the next project after the Fedora GA release :)
17:19eric_engestrommarcan: talk to me (or mupuf, not on this channel but on this server) when you do :)
17:19marcanyup, will do! :)
17:20eric_engestromI have to go, but I'll read any more messages tomorrow, and I'm hoping I can get around to working on this in a week or two 🤞
17:20marcanawesome :D
17:21marcan(also if anyone's bored: one thing we need to be able to do for CI is switch boot volumes to select different firmware, and ideally we'd do that from m1n1, so a m1n1/python implementation of nvram writes would be useful)
17:21marcan(also fine to implement in the C side and call from python, since nvram writes *could* be a useful thing to have in m1n1 proper)
17:24jeisom_ has joined #asahi-dev
17:24jeisom has quit [Read error: No route to host]
17:33ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:35ourdumbfuture has joined #asahi-dev
17:50ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:55rpirea has joined #asahi-dev
18:50crabbedhaloablut has quit []
19:03ellyq has joined #asahi-dev
20:16blazra has quit [Ping timeout: 480 seconds]
20:22maz_jannau__: out of curiosity, which version did you build? I'm keeping tabs on who builds what...
20:24cylm_ has joined #asahi-dev
20:27jannaumaz: 3.2-dev (4a3fe788e441)
20:29mazright, real close to the tagged version.
20:30blazra has joined #asahi-dev
20:35cylm_ has quit [Quit: WeeChat 3.6]
20:35le_petit_segfault has joined #asahi-dev
20:37cylm has joined #asahi-dev
21:32le_petit_segfault has quit [Ping timeout: 480 seconds]
21:51balrog has quit [Quit: Bye]
21:54sam_ has quit [Quit: ZNC - http://znc.in]
21:55balrog has joined #asahi-dev
21:57sam_ has joined #asahi-dev
…