ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
as400 has quit [Remote host closed the connection]
as400 has joined #asahi-dev
ellyq_ has joined #asahi-dev
ellyq has quit [Read error: Connection reset by peer]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gabuscus has quit []
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
gabuscus has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has quit [Ping timeout: 480 seconds]
cylm_ has quit [Ping timeout: 480 seconds]
sternez has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
<sternez> jannau: 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
<sternez> I also modified the line: # [cpu0] [0xfffffe0014c9678c] MMIO: W.4 0x39c000010 (lpdptx-phy0[1], offset 0x10) = 0x0
<sternez> p.write32(self.phy_regs[1] + 0x10, 0x1)
sternez has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
chadmed has joined #asahi-dev
<jannau> please test https://github.com/AsahiLinux/m1n1/pull/329 - HDMI output support for m2+ desktops, requires proxy mode to power the dp2hdmi converter on
yaboishady has joined #asahi-dev
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
VinDuv has joined #asahi-dev
kit_ty_kate has quit [Quit: WeeChat 3.6]
gladiac has joined #asahi-dev
jacksonchen666 has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
gladiac is now known as Guest1620
gladiac has joined #asahi-dev
i509vcb has quit [Quit: Connection closed for inactivity]
Guest1620 has quit [Ping timeout: 480 seconds]
luix has joined #asahi-dev
leitao has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
leitao has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kit_ty_kate has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
jeisom has joined #asahi-dev
roxfan2 has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
luix has quit [Ping timeout: 480 seconds]
roxfan2 is now known as roxfan
ourdumbfuture has joined #asahi-dev
luix has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit [Ping timeout: 480 seconds]
VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
VinDuv has joined #asahi-dev
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-dev
luix has quit [Remote host closed the connection]
htop has joined #asahi-dev
htop is now known as chadmed_
chadmed has quit [Ping timeout: 480 seconds]
ellyq_ has quit [Ping timeout: 480 seconds]
sternez has joined #asahi-dev
<sternez> jannau: log after upgrading the m1n1: https://paste.centos.org/view/1a666458
<jannau> sternez: please try to add 'pmgr_adt_power_enable(cfg->dptx_phy);' next to the other one in dcp_init()
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pb17> I created a PR with a fix for wifi AP mode: https://github.com/AsahiLinux/linux/pull/184
<pb17> Since I only have a j316s it would be cool if someone else could check if it fixes AP mode on other devices as well
<sternez> jannau: no crash now, https://paste.centos.org/view/21143949
<jannau> but no picture?
<jannau> can 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`
<jannau> edit hv/trace_dcp.py and set dcp_name to "dcpext4"
<sternez> jannau: when I run it again, different message: https://paste.centos.org/view/fd461aa1
<jannau> that looks like it worked. did it?
<sternez> jannau: 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"
<sternez> jannau: I think so, I'll try to run the hypervisor now
<jannau> does the hdmi capture work with macos?
<sternez> yes
<jannau> that sounds like m1n1 is unlucky in selecting a color mode
<jannau> that looks truncated, which hdmi capture device is this? a ms2109/ms2130 one?
<sternez> jannau: I borrowed a monitor, now I do see the Asahi logo, I think it works on m2 ultra studio now. great job!
ourdumbfuture has joined #asahi-dev
<jannau> thanks for testing, pushed the power on change to the PR
<jannau> you should be able to boot linux now, probably needs pd_ignore_unused to avoid turning the display out off
sternez` has joined #asahi-dev
sternez has quit [Remote host closed the connection]
sternez`` has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sternez` has quit [Ping timeout: 480 seconds]
<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
<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
<sternez``> sorry, it's two times, not three
sternez`` has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
cylm_ has joined #asahi-dev
zzywysm has joined #asahi-dev
ourdumbfuture has joined #asahi-dev
<marcan> pushed 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
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jannau> kcbench is still at the value I remember from m1 ultra bringup which should predate the the bug
<marcan> ah so this at least came after ultra, less likely to break the world then
<marcan> might break t8112/t602x though
<jannau> t6002 and t8112 appear ok. no noticable perf change on kcbench
Guest1229 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi-dev
Jamie is now known as Guest1649
<jannau> sternez: 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
rhysmdnz has joined #asahi-dev
<marcan> whoops
<marcan> no surprise there, I just winged that
<marcan> sigh
<marcan> found another bug on t600x that would make it not really work, heh
<mps> with mesa asahi 20230903 and Xorg firefox crashes X server on start. Alpine linux with kernel 6.4-10
<mps> with 20230902 it works fine
<mps> not important for me, just reverted back to mesa asahi 20230902
<mps> ah there is 20230903b now
ourdumbfuture has joined #asahi-dev
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-dev
jeisom has quit [Quit: Leaving]
jeisom has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gladiac is now known as Guest1654
gladiac has joined #asahi-dev
<marcan> jannau: try 1.3.5 on t602x
Guest1654 has quit [Ping timeout: 480 seconds]
drubrkletern has joined #asahi-dev
<marcan> jannau: 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
<jannau> that survices at least m1n1 but I have trouble booting into linux. systemd apparently decides to reboot immediately
<marcan> that sounds... weird
<jannau> I think it's for selinux relabeling
<marcan> oh yeah that would happen
<marcan> did it work the second time?
<marcan> I pushed a fix for t8112 that may or may not matter
<jannau> no, it constantly failed but succeded now with selinux disabled
<marcan> I'm very confused as to how that m1n1 change could break selinux
<jannau> seems 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
<marcan> tagged v1.3.6 with the t8112 fix then
<jannau> did you push main as well? for v1.3.5 it was just the tag
<marcan> yes
<marcan> I'll push 1.3.6 to prod, seems to be ok
<jannau> yes, works here on t6020 and the selinux behavior is the same with m1n1 1.3.3
<jannau> the memorylatency tests shows a clear improvement starting at 16384 on t6020 as well
<marcan> excellent
<marcan> I should get some sleep, but if you get a chance t8112 tests would be good too :)
<marcan> t8103 is tested and improved, so just t8112 left
crabbedhaloablut has quit []
<jannau> also clear improvement on t8112 between 12288 and 32768
ellyq has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-dev
WindowPain has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
WindowPa- has quit [Ping timeout: 480 seconds]
i509vcb has joined #asahi-dev
WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
WindowPain has joined #asahi-dev
<jannau> sternez: are you just running into proxy timeouts? try if `M1N1TIMEOUT=12 ./experiments/dp2hdmi.py` works at the first try
ourdumbfuture has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
drubrkletern has quit [Remote host closed the connection]
drubrkletern has joined #asahi-dev
jacksonchen666 has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-dev
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi-dev
drubrkletern has quit [Remote host closed the connection]
jacksonchen666 has quit [Remote host closed the connection]