#asahi · 2023-09-04 09:40
alinpanaitiu@alyssa about my blog post https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/ I actually managed to get DDC working on the HDMI port as well, it's not in the article. The trick is to use 0xB7 instead of 0x37 as the I2C address#asahi · 2023-09-04 08:31
leiobut as everything, it'll surely work at least eventually :)#asahi · 2023-09-04 08:21
_jannau__no idea#asahi · 2023-09-04 08:17
leio_jannau__: the initial HDMI framebuffer code for M2 should be able to drive a 6K screen as well, right?#asahi · 2023-09-04 08:01
_jannau__#asahi-dev #asahi · 2023-09-04 08:01
_jannau__if you have questions feel free to ask in #asahi-de#asahi · 2023-09-04 08:01
_jannau__I'm not sure how ddc based brightness control of external display should work though. as far as I'm aware there is nothing in linux/drm#asahi · 2023-09-04 08:00
tristan2_okay, cool, I will look into it#asahi · 2023-09-04 07:59
_jannau__I'll try to push a more stable branch during this week#asahi · 2023-09-04 07:58
_jannau__tristan2_: if you want to work on it you can start with this branch https://github.com/jannau/linux/tree/asahi-6.4-7pre-dcpext_dp_t602x (I hope I didn't break anything on m1)#asahi · 2023-09-04 07:52
tristan2_https://paste.centos.org/view/dbf21e56#asahi · 2023-09-04 07:51
_jannau__take a look at https://github.com/AsahiLinux/m1n1/pull/329 the kernel code is similar#asahi · 2023-09-04 07:49
_jannau__tristan2_: hdmi monitor connected via the hdmi port? I suppose it is one of the afk/epic endpoints. code for that exists and is required for HDMI on M2+ desktops and secondary display outputs#asahi · 2023-09-04 07:38
tristan2_alyssa: I have found a tool that can change my HDMI monitors brightness via ddc/ci on macOS on my m1 mac mini, and I have a m1n1 log of the commands, but when I looked into the kernels dcp code, most of it was missing, so I did not yet try to implement it#asahi · 2023-09-04 06:10
jannauapparently it's also possible to get the edid from dcp. possible reason why DDC over hdmi doesn't work is that it's not implemented over the dp2hdmi converter. I'd expect the dcp firmware would need support to drive ddc over mcdp29xx#asahi · 2023-09-04 02:26
alyssacool.#asahi · 2023-09-04 02:26
alyssa"I managed to get DDC working on Mac Mini as well, but only on the Thunderbolt 3 port. The HDMI port still doesn’t work for DDC, and no one knows why."#asahi · 2023-09-04 02:22
alyssahttps://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/#asahi · 2023-09-04 02:21
alyssaI don't think macOS does, not that I've tried very hard :)#asahi · 2023-09-04 01:41
tpw_rulesif you are asking about your specific monitor#asahi · 2023-09-04 01:41
tpw_rulesi think if that's supported then macos will do it#asahi · 2023-09-04 01:31
alyssaIIRC when this came up a few years ago the answer was "maybe?", not sure if that's a more solid yes or solid no now that we know more about eg dcpext#asahi · 2023-09-04 01:30
alyssajannau: I have a monitor where I need to go through a silly monitor control panel to adjust brightness.. any idea whether that could eventually be controlled from userspace via DDC over DCP or something?#asahi · 2023-09-03 22:41
spuosjannau, what do know, it was both. It's strange that it worked fine on wayland though. #asahi · 2023-09-03 22:26
jannaucan you try to if there are further updates? if not maybe just delete chromium's shader cache as described in https://github.com/AsahiLinux/linux/issues/72#asahi · 2023-09-03 22:22
spuosjannau, I don't know. #asahi · 2023-09-03 22:12
jannauspuos: which recent update? mesa-asahi-edge 23.3.0_pre2023090[23]-1 were buggy, update to mesa-asahi-edge 23.3.0_pre20230904-1#asahi · 2023-09-03 21:45
spuos besides the re2 package being a vesion above what chromium uses, I mean#asahi · 2023-09-03 21:44
spuoshas anyone else had issues with chromium on X following a recent update? #asahi · 2023-09-02 18:30
bluetailsimple questions aren't 6 posts long. Anyhow. I hope you are doing well. Cause I don't know the answer#asahi · 2023-09-02 18:25
sawyerI imagine once I'm on my feet with this I should be OK#asahi · 2023-09-02 18:24
sawyerSorry if these are some rather simple questions, I'm coming from a userland rust/python/jvm-lang background so the most complicated c/++ build system I've seen is the 20 line makefiles I needed to make for undergrad classes#asahi · 2023-09-02 18:20
sawyerI'm using a combined `.config` based on the ones from the PKGBUILDS repo (regular + edge), building on a Fedora Rawhide arm VM#asahi · 2023-09-02 18:19
sawyerIs there something I'm missing? A regular build seems to work fine#asahi · 2023-09-02 18:19
sawyerFrom the default `asahi` branch from https://github.com/AsahiLinux/linux/, `make LLVM=1 rustavailable` is happy, but `make LLVM=1 rust-analyzer`, or alternatively the `rustfmt` or `rusttest` yield a `no rule to make target` error from make#asahi · 2023-09-02 18:16
sawyerGetting a kernel dev env set up, having a bit of trouble with the rust side of things#asahi · 2023-09-02 14:58
jannauif boot.bin is missing the 1st-level m1n1 will go into proxy mode#asahi · 2023-09-02 14:54
charlessah: OK I'll try that again too.#asahi · 2023-09-02 14:52
ah-via nvram boot-args=-v#asahi · 2023-09-02 14:51
ah-charless: the backdoor proxy mode works great for me: https://github.com/AsahiLinux/docs/wiki/m1n1%3AUser-Guide#backdoor-proxy-mode-in-stage-1-release-builds#asahi · 2023-09-02 14:49
charlessOK. I'll give that a try. Thanks for the tips.#asahi · 2023-09-02 14:47
jannauassuming you use udev and set udev/80-m1n1.rules up, otherwise it's a random acm tty#asahi · 2023-09-02 14:46
charlessyes I did. #asahi · 2023-09-02 14:46
jannaucharless: try renaming m1n1/boot.bin on the ESP. copy that file to your host and run it through tools/run_guest.py. that should give you a serial console on /dev/m1n1-sec#asahi · 2023-09-02 14:41
ChaosPrincesscharless: did you run `csrutil disable` on the linux container#asahi · 2023-09-02 14:40
archarless: from what I've seen on fedi (https://social.treehouse.systems/@janne/110968789153443948 ) the code changes for that might not be merged yet#asahi · 2023-09-02 14:38
charlessSo after building the installer I was able to get Linux as a boot option. But I was not able to get the boot console from m1n1 and it never showed up on my network. I'm fine with low level debug, just looking for a place to start.#asahi · 2023-09-02 14:33
kdb424If the hardware support on the wiki is good enough for your needs, it should be the same as installing Asahi on any mac.#asahi · 2023-09-02 14:32
charlessHi, is there any information about installing Asahi Linux on an M2 Mac Mini? I really don't care that HDMI does not work. a serial console w/ Ethernet is fine.#asahi · 2023-09-02 08:52
iaguisknedlik: if you don't hsve the gpu working you probably didn't have a proper rust setup and didn't build the DRM_ASAHI module, check "make rustavailable" in the kernel