Configuration File:
The default /etc/sway/config
Description:
Sway doesn't recognize the unplugging of the HDMI output.
After unplugging the HDMI cable, the output will stay visible
in the output of sway -t get_outputs.
For reference, #2525 and #2536 are also by me with the same hardware.
This time I checked, and it does work on X11, so it's a sway/wlroots thing.
iGPU: Intel Corporation UHD Graphics 630 (Mobile)
https://gist.github.com/fwSmit/04d5f6747aad92a9fcbe5c3109cf31cd
Can you grab a drm_info dump after unplugging the HDMI connector?
This is very weird. The act of doing the drm dump makes it detect the disconnect. So I can only give you the drm_info with the information that it is disconnected.
https://gist.github.com/fwSmit/d3ec45efb25034e8344718f144c64902
drm_info force-probes the connectors via drmModeGetConnector.
This is a driver bug, nouveau should send a hotplug uevent. Please open an issue at https://gitlab.freedesktop.org/drm/nouveau
Most helpful comment
drm_infoforce-probes the connectors viadrmModeGetConnector.This is a driver bug, nouveau should send a hotplug uevent. Please open an issue at https://gitlab.freedesktop.org/drm/nouveau