smithay icon indicating copy to clipboard operation
smithay copied to clipboard

`prop_mapping` cache in `AtomicDrmDevice` doesn't handle connector hotplug

Open ids1024 opened this issue 1 year ago • 0 comments

Cosmic-comp panics with Unknown handle in AtomicDrmDevice::reset_state on the Surface Pro 9 when:

  • The compositor is started with no USB DisplayPort device
  • Monitors are connected over USB-C; which adds DRM connectors
  • TTY is switched away from cosmic-comp, and back

Presumably prop_mapping needs to be updated in this case.

ids1024 avatar Mar 28 '24 02:03 ids1024