kanshi icon indicating copy to clipboard operation
kanshi copied to clipboard

Monitor disconnections not detected

Open aarobc opened this issue 4 years ago • 2 comments

Maybe this is a misunderstanding on my part, but when I shut off a monitor kanshi doesn't detect it as a change. A similar setup would function fine on autorandr with i3.

current setup:

  • sway-git
  • kanshi (from AUR)
profile dual {
	output DP-3 mode 3840x2160 position 0,0
	output DP-2 mode [email protected] position 3840,0
}

profile 4k {
	output DP-3 mode 3840x2160 position 0,0
}

profile 2k {
	output DP-2 mode [email protected] position 0,0
}

Is this a wayland thing?

aarobc avatar Jan 30 '21 01:01 aarobc

Can you grab a drm_info dump after turning off the monitor?

emersion avatar Jan 30 '21 07:01 emersion

I have the same issue. drm_info shows both monitors as “connected” even if I switch off Connector 1.

├───Connectors
│   ├───Connector 0
│   │   ├───Object ID: 95
│   │   ├───Type: HDMI-A
│   │   ├───Status: connected
--
│   ├───Connector 1
│   │   ├───Object ID: 104
│   │   ├───Type: DisplayPort
│   │   ├───Status: connected

Only if I unplug the cable, the status will switch to “disconnected”. Does that mean that this is a dirver issue?

Driver info from `drm_info`:
├───Driver: i915 (Intel Graphics) version 1.6.0 (20201103)
├───Device: PCI 8086:1912 Intel Corporation HD Graphics 530

coderkun avatar Mar 14 '21 09:03 coderkun