#asahi-dev · 2023-09-05 09:19
kettenisbut it needs to happen very early on and there are some restrictions there#asahi-dev · 2023-09-05 09:18
kettenismarcan: yeah, it should be possible to build the map from the device tree#asahi-dev · 2023-09-05 09:18
ketteniswould be great if you could send that to the u-boot mailing list#asahi-dev · 2023-09-05 09:17
kettenisjannau: looks good to me#asahi-dev · 2023-09-05 09:16
marcanI forgot we still hardcode mem maps there... :p#asahi-dev · 2023-09-05 09:16
jannaukettenis: https://github.com/AsahiLinux/u-boot/pull/12#asahi-dev · 2023-09-05 09:15
marcanyeah#asahi-dev · 2023-09-05 09:15
kettenisjust noticed that u-boot doesn't have m2 ultra support yet; guess marcan booted kernels directly from m1n1#asahi-dev · 2023-09-04 18:37
ahdeb[m]I guess it could first becomes a problem only after https://github.com/AsahiLinux/u-boot/commit/c8a9045c37c562c3f41f02d7f14f2dd7a9de2720#asahi-dev · 2023-09-04 18:30
ahdeb[m](n/m the function itself prints timeout if needed.)#asahi-dev · 2023-09-04 18:27
ahdeb[m](also shouldn't there be some "timeout" print-out maybe, instead of just plain return?)#asahi-dev · 2023-09-04 18:26
ahdeb[m]Not sure where to best report something I just happened to spot: https://github.com/AsahiLinux/u-boot/commit/6b7f210e1cff92c672a0f950ce60544000421f2b seems to have missed https://github.com/AsahiLinux/u-boot/blob/asahi-v2023.07.02-2/drivers/usb/host/xhci-ring.c#L537#asahi-dev · 2023-09-04 12:31
steven_blackhello, not sure if this is the correct room to ask this question, but has anyone successfully compiled a custom kernel with 4k pages and booted it on a mac mini m1? #asahi-dev · 2023-09-04 09:48
lena6yup, ddc/ci has been ddcutil manually on devices with the i2c-dev module installed#asahi-dev · 2023-09-04 09:44
ketteniswe've been maintaining local patches to implement this in OpenBSD for ~5 years now#asahi-dev · 2023-09-04 09:44
kettenis__jannau__: really unfortunate that this didn't make any progress#asahi-dev · 2023-09-04 08:54
dottedmaghttps://drmdb.emersion.fr/properties/3435973836/BACKGROUND#asahi-dev · 2023-09-04 08:53
dottedmagThere are some properties, varying from driver to driver: https://drmdb.emersion.fr/properties/3233857728/backlight https://drmdb.emersion.fr/properties/4008636142/brightness https://drmdb.emersion.fr/properties/4008636142/contrast#asahi-dev · 2023-09-04 08:52
dottedmagSeriously, there is no DDC/CI in KMS/DRM? Not even as an output property of a DRM driver?#asahi-dev · 2023-09-04 08:14
tristan2_I think the current state of the art in linux ddc/ci still is using ddcutil on the i2c device node you manually matched to the monitor you want to control#asahi-dev · 2023-09-04 08:14
_jannau__it's probably all user space. see also https://lore.kernel.org/lkml/7f2d88de-60c5-e2ff-9b22-acba35cfdfb6@redhat.com/#asahi-dev · 2023-09-04 08:12
ChaosPrincessis there not an already existing ddc support code somewhere in the drm subsystem?#asahi-dev · 2023-09-04 08:11
_jannau__https://lore.kernel.org/dri-devel/b61d3eeb-6213-afac-2e70-7b9791c86d2e@redhat.com/ would be a possible solution but as far as I'm aware there have been no progress this year (except maybe still backlight device cleanup of existing drivers)#asahi-dev · 2023-09-04 08:09
tristan2_oh no (oh yeah)#asahi-dev · 2023-09-04 08:09
_jannau__yes, the problem is that we are about to enable support for more than 1 display#asahi-dev · 2023-09-04 08:05
tristan2_though.#asahi-dev · 2023-09-04 08:05
tristan2__jannau__: regarding the DDC/CI monitor brightness control discussion from #asahi: as long as asahi only supports one display, the most obvious and usefull way to implement brightness control is exposing a backlight through sysfs. many desktop environments will then show a slider in their panel. I suspect that this breaks as soon as sysfs contains more than one backlight node,#asahi-dev · 2023-09-03 20:34
jannausternez: are you just running into proxy timeouts? try if `M1N1TIMEOUT=12 ./experiments/dp2hdmi.py` works at the first try#asahi-dev · 2023-09-03 19:10
jannaualso clear improvement on t8112 between 12288 and 32768#asahi-dev · 2023-09-03 18:54
marcant8103 is tested and improved, so just t8112 left#asahi-dev · 2023-09-03 18:54
marcanI should get some sleep, but if you get a chance t8112 tests would be good too :)#asahi-dev · 2023-09-03 18:54
marcanexcellent#asahi-dev · 2023-09-03 18:53
jannauthe memorylatency tests shows a clear improvement starting at 16384 on t6020 as well#asahi-dev · 2023-09-03 18:49
jannauyes, works here on t6020 and the selinux behavior is the same with m1n1 1.3.3#asahi-dev · 2023-09-03 18:46
marcanI'll push 1.3.6 to prod, seems to be ok#asahi-dev · 2023-09-03 18:32
marcanyes#asahi-dev · 2023-09-03 18:31
jannaudid you push main as well? for v1.3.5 it was just the tag#asahi-dev · 2023-09-03 18:30
marcantagged v1.3.6 with the t8112 fix then#asahi-dev · 2023-09-03 18:30
jannauseems to work at least well enough to boot fedora. I blame booting via hypervisor/chainload on breaking selinux. I'd assume I'll see the same issues with m1n1-1.3.3#asahi-dev · 2023-09-03 18:28
marcanI'm very confused as to how that m1n1 change could break selinux#asahi-dev · 2023-09-03 18:27
jannauno, it constantly failed but succeded now with selinux disabled#asahi-dev · 2023-09-03 18:26
marcanI pushed a fix for t8112 that may or may not matter#asahi-dev · 2023-09-03 18:25
marcandid it work the second time?#asahi-dev · 2023-09-03 18:25
marcanoh yeah that would happen#asahi-dev · 2023-09-03 18:23
jannauI think it's for selinux relabeling#asahi-dev · 2023-09-03 18:18
marcanthat sounds... weird#asahi-dev · 2023-09-03 18:18
jannauthat survices at least m1n1 but I have trouble booting into linux. systemd apparently decides to reboot immediately#asahi-dev · 2023-09-03 18:07
marcanjannau: try https://github.com/clamchowder/Microbenchmarks/tree/master/MemoryLatency , that shows a definite improvement on t6000 around the point where it spills from L2 to SLC#asahi-dev · 2023-09-03 17:59
marcanjannau: try 1.3.5 on t602x#asahi-dev · 2023-09-03 17:16
mpsah there is 20230903b now