Affected Systems:
Machine 1 — MSI Katana GF76 11UE
- OS: Pop!_OS 24.04 LTS
- cosmic-comp: 0.1
177938082624.04~6ebe2a1
- GPU: Intel TigerLake-H UHD (iGPU) + NVIDIA RTX 3060 (hybrid graphics)
- Display connection: AGON AG493UG7R4 49" ultrawide (3840×1080) via HDMI → HDMI-A-1 on Intel GPU
Machine 2 — System76 Oryx Pro
- OS: Pop!_OS 24.04 LTS
- GPU: NVIDIA (hybrid graphics mode required for USB-C DP Alt Mode)
- Display connection: AGON AG493UG7R4 49" ultrawide (3840×1080) via DisplayPort (USB-C DP Alt Mode)
Shared setup:
- Both machines connected to the same KVM: Hearvo S7240PH2 (HDMI 2.1 + DP 1.4, EDID Adaptive)
- The AGON is connected to KVM via both HDMI (from Machine 1) and DP (from Machine 2)
Description:
When switching a KVM between two machines, the active display connection experiences a hotplug event (disconnect → reconnect). On both machines running COSMIC DE, this causes cosmic-comp to crash with:
Failed to destroy old mode property blob
The compositor hangs or terminates, taking all Wayland client windows with it. The external monitor shows a black screen. The COSMIC
session manager restarts cosmic-comp, but the external display is not recovered automatically.
This is reproducible on both HDMI and DisplayPort connections, and on both Intel iGPU and NVIDIA GPU paths.
Steps to reproduce:
- Connect an external display via a KVM switch (HDMI or DisplayPort)
- Switch the KVM to another PC (display signal drops)
- Switch the KVM back (display signal restores / HPD event fires)
- cosmic-comp crashes with "Failed to destroy old mode property blob"
- External display shows black screen until cosmic-comp is manually restarted via pkill -x cosmic-comp
Additional notes:
- The bug also triggers when running cosmic-randr disable or cosmic-randr enable — any command that causes a mode property change
- i915 enable_dc=0 reduces freeze frequency on the Intel GPU machine but does not prevent the crash
- KVM has EDID Adaptive enabled, but HPD still fires on switch
Workaround (with significant side effect):
Running pkill -x cosmic-comp restarts the compositor and recovers the external display. However, because cosmic-comp is the Wayland
compositor, killing it terminates all open Wayland client windows — including every terminal, browser, and application. This makes the
workaround highly disruptive in a working environment, particularly when background tasks or terminal sessions are running.
A terminal multiplexer (tmux) can be used to preserve terminal sessions through the restart, but this should not be necessary for
something as routine as switching a KVM.
Expected behaviour:
cosmic-comp survives a display hotplug event and redetects the output without crashing.
Actual behaviour:
cosmic-comp crashes with "Failed to destroy old mode property blob" on every hotplug event caused by KVM switching, across both HDMI and
DisplayPort, on multiple machines.
Affected Systems:
Machine 1 — MSI Katana GF76 11UE
177938082624.04~6ebe2a1Machine 2 — System76 Oryx Pro
Shared setup:
Description:
When switching a KVM between two machines, the active display connection experiences a hotplug event (disconnect → reconnect). On both machines running COSMIC DE, this causes cosmic-comp to crash with:
Failed to destroy old mode property blob
The compositor hangs or terminates, taking all Wayland client windows with it. The external monitor shows a black screen. The COSMIC
session manager restarts cosmic-comp, but the external display is not recovered automatically.
This is reproducible on both HDMI and DisplayPort connections, and on both Intel iGPU and NVIDIA GPU paths.
Steps to reproduce:
Additional notes:
Workaround (with significant side effect):
Running pkill -x cosmic-comp restarts the compositor and recovers the external display. However, because cosmic-comp is the Wayland
compositor, killing it terminates all open Wayland client windows — including every terminal, browser, and application. This makes the
workaround highly disruptive in a working environment, particularly when background tasks or terminal sessions are running.
A terminal multiplexer (tmux) can be used to preserve terminal sessions through the restart, but this should not be necessary for
something as routine as switching a KVM.
Expected behaviour:
cosmic-comp survives a display hotplug event and redetects the output without crashing.
Actual behaviour:
cosmic-comp crashes with "Failed to destroy old mode property blob" on every hotplug event caused by KVM switching, across both HDMI and
DisplayPort, on multiple machines.