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.91k stars 112 forks source link

Add support for LG Monitors #143

Closed jessica-jorgenson closed 2 weeks ago

jessica-jorgenson commented 5 months ago

Some LG monitors do not support the standard VCP methods, and instead use a side-channel. ddcutil documents how to do that for Linux systems here: https://github.com/rockowitz/ddcutil/wiki/Switching-input-source-on-LG-monitors

I'm currently attempting to use display-switch between two Windows machines with 3 LG 27QN600-B monitors, but no luck so far. Having some sort of config that behaves similar to the --i2c-source-addr parameter in ddcutil would be great!

jessica-jorgenson commented 5 months ago

Got a workaround by setting _execute scripts to run the .exe from this repo: https://github.com/kaleb422/NVapi-write-value-to-monitor/tree/main

Edit: Only works for Nvidia GPUs

miroslav-staffa commented 5 months ago

Unfortunately the workaround is only usable with Nvidia GPUs. I tried work around with a few monitor utils on Windows (winddcutil) but nothing seems to work for LG + AMD GPU combination.

jessica-jorgenson commented 5 months ago

@miroslav-staffa forgot to mention that, thank you!

Looks like the AMD-version of the tool will have to be developed using GPUOpen And Intel with their control library

icyitscold commented 18 hours ago

Hi there, I saw this was marked completed a couple of weeks back but I was testing on windows today and confirmed that sending an "Hdmi1" command to an LG monitor creates a flicker but no input change. Was this fixed or closed in error?