ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
user982492 has joined #asahi-dev
user982492 has quit []
user982492 has joined #asahi-dev
hays has quit []
hays has joined #asahi-dev
<marcan> from those reports I'm kind of getting the feeling the iBoot mode selection is "pick from a list of hardcoded modes or bail"
<marcan> which would explain it failing on a bunch of screens
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dcow has joined #asahi-dev
Dcow has quit [Quit: Dcow]
user982492 has joined #asahi-dev
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
jeffmiw has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi-dev
aleasto has joined #asahi-dev
<kettenis> I must say that even the DCP iBoot interface looks hopelessly complicated
<kettenis> is the DCP OS interface significantly worse?
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
<marcan> kettenis: the DCP OS interface uses nested callback chains and requires a lot more back and forth to do the same thing
<marcan> and it's more complex marshalling including nested json-like structures in two different binary serializations
<kettenis> so yes ;)
<marcan> kettenis: at least the iBoot interface is stable-ish, I think. at least it looks that way.
<marcan> the OS one can randomly change its ABI entirely with macOS releases
<alyssa> kettenis: the DCP OS interface is stuff of nightmares
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h_ has joined #asahi-dev
hays has quit [Ping timeout: 480 seconds]
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi-dev
h_ has quit [Ping timeout: 480 seconds]
<sven> huh, looks like the DCP stuff infinite loops or crashes early on when used with <12 (yeah, yeah, I’ll finally upgrade after fixing that)
<jannau> 11.x without connected display?
hays has joined #asahi-dev
<sven> yes. I think I found the issue
<sven> dcp crashes and then afk_recv infinite loops
<sven> https://github.com/AsahiLinux/m1n1/pull/146 should at least prevent m1n1 from getting stuck in an infinite loop
<sven> yup. DCP crashes with "TTY> rtkit(dcp): Message 1: unsupported subpacket version" but I'm not gonna fix that
<jannau> it works on 12.0 and timeouts after 2 seconds without connected display. so far dcp was ready after 400 ms with all displays so we should be able reduce the timeout
<kettenis> sven: works for me on the mini
<kettenis> TTY> display: Display is already initialized (1920x1080)
<sven> disconnect your screen
<kettenis> ah
<kettenis> missed that detail
<jannau> I wonder what happens if someone connects a screen with iphone5 dimensions
<sven> it'll still crash DCP with that fix but at least the proxy continues to work :D
<sven> jannau: it should just reinitialize that screen then, shouldn't it?
Gues__________________________ has joined #asahi-dev
Gues__________________________ is now known as thevar1able
thevar1able has quit []
Gues__________________________ has joined #asahi-dev
Gues__________________________ has quit []
thevar1able has joined #asahi-dev
gladiac is now known as Guest784
gladiac has joined #asahi-dev
Guest784 has quit [Ping timeout: 480 seconds]
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
MajorBiscuit has quit [Ping timeout: 480 seconds]
<kettenis> marcan: I've created a pull request with a change to make m1n1 add the u-boot,dm-pre-reloc properties needed for U-Boot
<kettenis> that we we don't have to add them to the device trees beforehand
<jannau> sven: have you seen "xhci_hcd 0000:02:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state." before? possibly related to the dart changes in the dcp branch. I see that with 12.0 but not with 12.1. dcp dt nodes are commented out
<sven> huh, no, I don’t think I ever saw that
aleasto has quit [Remote host closed the connection]
<jannau> err, it's with the usb-a ports so I guess nevermind. if it's dart related it would be PCIe
<sven> i guess it's just the usb curse again
<jannau> maybe just a dying usb device
<alyssa> sven: there goes the "iBoot protocol is stable" theory :v
<sven> I’m just glad that DCP isn’t my problem ;)
<alyssa> sven: grumble mumble
<alyssa> you know I said I was going to work on the M1 GPU driver this afternoon
<alyssa> mmmaybe i should work on Mali GPUs instead
thevar1able has joined #asahi-dev
thevar1able has quit []
thevar1able has joined #asahi-dev
thevar1able has quit []
thevar1able has joined #asahi-dev
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi-dev
<jevinskie[m]> marcan: I’m curious as to why m1n1 is built with -mgp-regs/no FP. Is it not as simple as disabling FP instruction trapping?
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi-dev
dominic_ has joined #asahi-dev
dominic_ has quit []
thevar1able has quit [Quit: Textual IRC Client: www.textualapp.com]