#asahi-dev · 2023-09-03 17:14
mpsnot important for me, just reverted back to mesa asahi 20230902#asahi-dev · 2023-09-03 17:13
mpswith 20230902 it works fine#asahi-dev · 2023-09-03 17:13
mpswith mesa asahi 20230903 and Xorg firefox crashes X server on start. Alpine linux with kernel 6.4-10#asahi-dev · 2023-09-03 16:55
marcanfound another bug on t600x that would make it not really work, heh#asahi-dev · 2023-09-03 16:49
marcansigh#asahi-dev · 2023-09-03 16:49
marcanno surprise there, I just winged that#asahi-dev · 2023-09-03 16:49
marcanwhoops#asahi-dev · 2023-09-03 16:48
jannaumarcan: fails on t6020: https://gist.github.com/jannau/691b0bfb604191673650665ee331d842#asahi-dev · 2023-09-03 16:46
jannausternez: do not use that branch, it's know broken and requires different m1n1. it is just old test branch which was used for GPU tests which "required" a display#asahi-dev · 2023-09-03 16:40
jannaut6002 and t8112 appear ok. no noticable perf change on kcbench#asahi-dev · 2023-09-03 16:40
marcanmight break t8112/t602x though#asahi-dev · 2023-09-03 16:40
marcanah so this at least came after ultra, less likely to break the world then#asahi-dev · 2023-09-03 16:31
jannaukcbench is still at the value I remember from m1 ultra bringup which should predate the the bug#asahi-dev · 2023-09-03 16:19
marcanpushed m1n1 v1.3.4 to asahi-dev with a really, really stupid bugfix that should improve performance but needs testing on all major chip variants to make sure I didn't break the world#asahi-dev · 2023-09-03 15:02
sternez``sorry, it's two times, not three#asahi-dev · 2023-09-03 14:55
sternez``monitor, about 20 seconds later everything disappeared except the asahi logo. I traced the hypervisor: https://paste.centos.org/view/c458f59b, and the dmesg https://paste.centos.org/view/a9fc183d , forget the kernel version, I switched to your branch: https://github.com/jannau/linux/commits/asahi-6.4-9-dcpext_dp_t602x#asahi-dev · 2023-09-03 14:55
sternez``jannau: you are welcome, I would like to learn something to make some help. still some problems here: 1. I have to run `python experiments/dp2hdmi.py` three times for the asahi to show up. 2. then I started a hypervisor with command `make -C ../ -j10 && sh tools/run_guest_kernel.sh ../../linux/build/edge 'debug rootwait pd_ignore_unused root=/dev/nvme0n1p6 rootflags=subvol=root' firmware.cpio.gz`, I saw the boot logs printed on the#asahi-dev · 2023-09-03 14:22
jannauyou should be able to boot linux now, probably needs pd_ignore_unused to avoid turning the display out off#asahi-dev · 2023-09-03 14:20
jannauthanks for testing, pushed the power on change to the PR#asahi-dev · 2023-09-03 14:08
sternezjannau: I borrowed a monitor, now I do see the Asahi logo, I think it works on m2 ultra studio now. great job!#asahi-dev · 2023-09-03 14:05
jannauthat looks truncated, which hdmi capture device is this? a ms2109/ms2130 one?#asahi-dev · 2023-09-03 14:01
sternezhttps://paste.centos.org/view/6772bfb8#asahi-dev · 2023-09-03 14:00
jannauthat sounds like m1n1 is unlucky in selecting a color mode #asahi-dev · 2023-09-03 13:57
sternezyes#asahi-dev · 2023-09-03 13:57
jannaudoes the hdmi capture work with macos?#asahi-dev · 2023-09-03 13:57
sternezjannau: I think so, I'll try to run the hypervisor now#asahi-dev · 2023-09-03 13:56
sternezjannau: actually I have no monitor, but I have a usb hdmi capture, when I play the hdmi output with ffplay, it showed "unsupported video format", before the message is "no video output"#asahi-dev · 2023-09-03 13:55
jannauthat looks like it worked. did it?#asahi-dev · 2023-09-03 13:54
sternezjannau: when I run it again, different message: https://paste.centos.org/view/fd461aa1#asahi-dev · 2023-09-03 13:54
jannauedit hv/trace_dcp.py and set dcp_name to "dcpext4"#asahi-dev · 2023-09-03 13:53
jannaucan you run m1n1 under the hypervisor `tools/run_guest.py -m hv/trace_dcp.py -m hv/trace_dptx.py -l dcp_dptx.log -r ../build/m1n1.bin`#asahi-dev · 2023-09-03 13:50
jannaubut no picture?#asahi-dev · 2023-09-03 13:49
sternezjannau: no crash now, https://paste.centos.org/view/21143949#asahi-dev · 2023-09-03 13:47
pb17Since I only have a j316s it would be cool if someone else could check if it fixes AP mode on other devices as well#asahi-dev · 2023-09-03 13:47
pb17I created a PR with a fix for wifi AP mode: https://github.com/AsahiLinux/linux/pull/184#asahi-dev · 2023-09-03 13:31
jannausternez: please try to add 'pmgr_adt_power_enable(cfg->dptx_phy);' next to the other one in dcp_init()#asahi-dev · 2023-09-03 13:22
sternezjannau: log after upgrading the m1n1: https://paste.centos.org/view/1a666458#asahi-dev · 2023-09-03 06:46
jannauplease test https://github.com/AsahiLinux/m1n1/pull/329 - HDMI output support for m2+ desktops, requires proxy mode to power the dp2hdmi converter on#asahi-dev · 2023-09-03 05:11
sternez p.write32(self.phy_regs[1] + 0x10, 0x1)#asahi-dev · 2023-09-03 05:11
sternezI also modified the line: # [cpu0] [0xfffffe0014c9678c] MMIO: W.4 0x39c000010 (lpdptx-phy0[1], offset 0x10) = 0x0#asahi-dev · 2023-09-03 05:09
sternezjannau: sorry, yesterday I spent too much time fixing m1n1 on another computer. dcp_iboot_m2pro.py's patch and log: https://paste.centos.org/view/8f638370#asahi-dev · 2023-09-02 23:34
ah-hmm, if I manually enable those clocks I can iomap_at the fw addresses in a m1n1 shell. maybe it's just that the clocks aren't enabled in linux#asahi-dev · 2023-09-02 22:29
ah-though it has a suspicious number of 0s in there: https://paste.centos.org/view/f41a47fb#asahi-dev · 2023-09-02 22:26
ah-haha! dart_dump works if I first run p.pmgr_adt_clocks_enable(f'/arm-io/dart-isp0')#asahi-dev · 2023-09-02 22:14
ah-hmm, maybe the dart_dump.py dart-isp0 error means that the issue is not the address but the dart it goes through not being setup right yet#asahi-dev · 2023-09-02 21:01
jannauso the actual mapped memory in dart-isp is from the top of the memory#asahi-dev · 2023-09-02 20:41
ah-there's read of a similar looking addr in the macos trace: [cpu0] [0xfffffe0013733aac] MMIO: R.8 0x385050000 (isp0[0], offset 0x1050000) = 0x102010000a58001#asahi-dev · 2023-09-02 20:35
ah-overall dart-dump: https://paste.centos.org/view/df1315c9 I get an exception when trying to dump dart-isp0: https://paste.centos.org/view/d083e350#asahi-dev · 2023-09-02 20:29
jannauno, when m1n1 is running in proxy mode#asahi-dev · 2023-09-02 20:28
ah-of isp0 segment-ranges