Closed bigfoote closed 1 year ago
Hello, thanks for the detailed report! I'd suggest:
ddcutil
to query your DDC devices, and see if it can see them or not. E.g. ddcutil detect
. See here for more examples.Success! ddcutil confirmed that both monitors are indeed DDC devices, so it made sense that following your instructions in point #1 got everything working. I just didn't realize that setting it up as a service included getting the permissions the way they need to be even if just running it myself. Not sure if there's any way to add a log message if access is denied to that directory.
Hmmm...my setup had been stable for over a year, and suddenly I started getting this problem again. I checked that my user is in fact in the group i2c and that my monitors (at /dev/i2c-4 and /dev/i2c-5) have the correct permissions (crw-rw---- 1 root i2c...), and running display-switch as root doesn't solve the problem. Any ideas?! I wonder if something changed in the Nvidia driver so that the monitors no longer are showing up as DDC-enabled, but 'ddcutil detect' still finds them...
Swapped my Nvidia card for an AMD one, and the problem went away. I don't know why, but closing for now.
First of all, I want to say how great this project is, and I'm really excited just at the idea of getting it working!
Steps to reproduce:
[monitor1] monitor_id = "27" on_usb_connect = "DisplayPort2" on_usb_disconnect = "Hdmi1"
[monitor2] monitor_id = "3220" on_usb_connect = "DisplayPort2" on_usb_disconnect = "Hdmi1"
21:11:34 [INFO] Configuration loaded... 21:11:34 [ERROR] Did not detect any DDC-compatible displays! ... 21:12:28 [INFO] Monitored device is ("0bda:5411") is disconnected 21:12:28 [ERROR] Did not detect any DDC-compatible displays! ... 21:13:00 [INFO] Monitored device ("0bda:5411") is connected 21:13:00 [ERROR] Did not detect any DDC-compatible displays!