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)]
<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`` 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
<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