haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.82k stars 110 forks source link

Fails to detect displays on System76 Pop!_OS 22.04 #103

Closed wmchristie closed 1 year ago

wmchristie commented 2 years ago

The laptop has a hybrid graphic system which uses an NVIDIA GPU for external monitors. The systemctl log shows

Did not detect any DDC-compatible displays!

I tried various cfg feature keys on the ddc-hi with Cargo to see if I could turn on the nvapi, but failed and gave up after it appeared that it's likely that code will only work on Windows. I have worked around the problem by installing display-switch on the Windows 10 machine and using both on_usb_connect and on_usb_disconnect.

haimgel commented 1 year ago

I don't think we can do anything about it here. The ddc crate and/or its dependencies might be able to address it, though.

ollipal commented 1 year ago

@wmchristie I had the same issue, adding to i2c group fails somehow I guess... Try root user (sudo display-switch), after that it works seamlessly at least on my Pop!_OS 22.04!