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
yuyichao has joined #asahi-dev
<alyssa> systemWillShutdown did not fix the green flash
<alyssa> macOS actually does setPowerState
<alyssa> yeah ok setPowerState fixes it
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi-dev
phiologe has joined #asahi-dev
PhilippvK has quit [Ping timeout: 480 seconds]
psykose has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
robinp_ has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
robinp has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
robinp_ is now known as robinp
aleasto has joined #asahi-dev
kettenis_ is now known as kettenis
yuyichao has joined #asahi-dev
jnoxon has quit [Ping timeout: 480 seconds]
<alyssa> marcan: As for hotplugging, the idea is that we need to do a mode set anytime the HDMI cable is plugged in, in addition to on boot
<alyssa> so handle hotPlug_notify_gated as "set_display_device(2); set_digital_out_mode(foo, bar);"
<alyssa> where foo and bar are from the big dict which is resent on hotplug
<alyssa> the one wrinkle to doing this in dcp.py is that hotPlug_notify_gated comes in on the ASYNC channel, so we need to issue the modeset on the CMD channel (whereas m1n1 will incorrectly see we're in a callback and then use the CB channel)
<alyssa> not in the mood to go poking at manager.py further but yeah.
<alyssa> this is functional anyway
<alyssa> will wire this into the linux driver shortly
<kettenis> alyssa: the linux driver is where this matters isn't it?
<kettenis> I mean, hotplug in m1n1 isn't really essential
<alyssa> kettenis: m1n1's dcp.py, not m1n1 proper
<alyssa> dcp.py is just a r/e proof of concept thing. but debugging dcp.py is way easier than actual kernel driver
<alyssa> so wanted to get hotplugging in dcp.py first
boardwalk has quit [Quit: The Lounge - https://thelounge.chat]
boardwalk has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
kettenis has quit [Ping timeout: 480 seconds]
<alyssa> [syslog] * [UPPipeDCP_H13P.cpp:3114]bool IOMFB::UPPipeDCP_H13P::verify_surfaces(IOMFB::SwapRequest *): plane requires a minimum of 32x32 for the source buffer
<alyssa> there goes my "clever" idea