On my laptop, as it turns out, the AMD dGPU can get in some sort of power saving state where it doesn't detect hotplugged monitors until a TTY switch or, apparently, even simply running lspci. I should check if force-probbing connectors with DrmScanner helps this (same thing as in device_changed()). If so, maybe it would be worth to force-probe when trying to run niri msg outputs and such.
On my laptop, as it turns out, the AMD dGPU can get in some sort of power saving state where it doesn't detect hotplugged monitors until a TTY switch or, apparently, even simply running
lspci
. I should check if force-probbing connectors withDrmScanner
helps this (same thing as indevice_changed()
). If so, maybe it would be worth to force-probe when trying to runniri msg outputs
and such.