Wlroots: HDMI unplugging not detected

Created on 13 Dec 2020  路  4Comments  路  Source: swaywm/wlroots

HDMI unplugging not detected

  • 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.

Info

Most helpful comment

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings