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
c10l has joined #asahi-dev
c10l has quit []
c10l has joined #asahi-dev
c10l4 has joined #asahi-dev
c10l has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi-dev
jluthra_ is now known as jluthra
pyropeter1 has joined #asahi-dev
PyroPeter_ has quit [Ping timeout: 480 seconds]
derzahl has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
jluthra has quit [Remote host closed the connection]
<jeffmiw> j`ey: thanks for checking. I have tried different kernel config, starting with https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/config, and messing up with an old one that has been working.
jluthra has joined #asahi-dev
<jeffmiw> jannau: I do not have CONFIG_GPIO_MACSMC in my config, I will dig around this. Thanks.
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi-dev
jeffmiw has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi-dev
derzahl has joined #asahi-dev
the_lanetly_052___ has joined #asahi-dev
the_lanetly_052 has joined #asahi-dev
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
bps3 has joined #asahi-dev
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
bps2 has quit [Ping timeout: 480 seconds]
derzahl has quit [Quit: auf wiedersehen]
bps2 has joined #asahi-dev
bps3 has quit [Read error: Connection reset by peer]
c10l4 has quit [Ping timeout: 480 seconds]
c10l4 has joined #asahi-dev
nepeat_ has quit []
nepeat has joined #asahi-dev
handlerug_ has joined #asahi-dev
handlerug_ has left #asahi-dev [#asahi-dev]
akemin_dayo has quit [Ping timeout: 480 seconds]
the_lanetly_052 has quit [Ping timeout: 480 seconds]
Gaspare has joined #asahi-dev
Gaspare has quit []
tsujp has joined #asahi-dev
akemin_dayo has joined #asahi-dev
Gaspare has joined #asahi-dev
<marcan> merged a bunch of m1n1 PR stuff that was in the queue
<marcan> also the hypervisor now lets you cpu() to switch CPU without exiting the shell
<marcan> and there's an iterator so you can do stuff like `for i in cpus(): context(); bt()`
<_jannau_> marcan: re dcp: shutdown: it doesn't block, we simply don't ack the syslog message since due to asc_can_send() returning false. I don't remember in which state dcp is after that. It's certainly not useable in a chainloaded m1n1
<_jannau_> issue might be just that we don't power it down
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
bps2 has quit [Ping timeout: 480 seconds]
c10l4 has quit []
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
<marcan> _jannau_: right, but why does it return false?
<marcan> are there 8 messages in the FIFO? that seems unlikely
Gaspare has quit [Quit: Gaspare]
<jannau> yes, I think there are more than 8 messages. dcp produces several syslog messages over an HDMI poweroff/poweron cycle
<marcan> oh, so we ack 8 messages all at once (presumably for 8 syslog pings coming in) then try to send the EPIC out before DCP clears out any of them?
<marcan> that would explain it, yes
<marcan> either way the fix is what I said, we need to block, not fail, when the queue is full
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
<jannau> and of course I can't reproduce it anymore. there are 9 syslog messages at shutdown. one of them looks like it reported after the shutdown.
Gaspare has joined #asahi-dev
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
derzahl has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
jeffmiw has joined #asahi-dev
<marcan> jannau: so... turns out you can shut down DCP.
<marcan> like all the way :-)
<marcan> and it comes back up if you PMGR reset it and do a proper boot, and it even does so quickly!
<marcan> and doesn't modeset!
<marcan> that means no more hotplug nonsense, and HDMI stays up even if the monitor glitches :-)
<marcan> I'll implement it in the m1n1 C side tomorrow, need sleep
<jannau> good night
<jannau> so on disp0 side the same behavior as when dcp crashes with a 1920x1200 fb on the mac studio
<marcan> yes
<jannau> I assume dart-dcp remains locked and keeps its config
<marcan> I believe so
<marcan> there's still a race, but as long as we can detect hpd -> modeset -> shut down before the monitor goes into the disconnect cycle, we're good
<marcan> for users who want to set non-default modes, that'd have to include the trip into stage2
<marcan> anyway, will figure out the details tomorrow
___nick___ has quit [Ping timeout: 480 seconds]
<tpw_rules> i think i am such a user
<tpw_rules> who would want to set non-default modes
<jeffmiw> fwiw, I understood which config flag I was missing to get back my framebuffer with asahi-5.18-2 on my mba: CONFIG_BACKLIGHT_GPIO :)
c10l4 has joined #asahi-dev
<j`ey> jeffmiw: good its working again
jeffmiw has quit [Quit: Konversation terminated!]
<VinDuv> From what I’ve seen monitor disconnect delays seem to be all over the place, but hopefully the race window is short enough that it’s unlikely to cause problems
c10l4 has quit []
<VinDuv> maybe after modeset m1n1 should ask the dcp if the monitor is still connected just before shutting it down, to shorten the race window?
c10l4 has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
c10l4 has quit []
c10l4 has joined #asahi-dev
bps2 has joined #asahi-dev
jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]