Live data from Hacker News

Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

github.com

121–130 of 155 posts

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#121
post #83
post #74

PSA: Many 4K Dell monitors (like my Dell UltraSharp U3219Q ) have a built-in KVM switch and they support full DDC commands for switching the input as well (over HDMI, DP and USBC). I can control them from Mac and Linux with hot keys that trigger the appropriate ddc commands.

record scratch Whoah. How do I obtain these ddc commands on macOS?

https://github.com/MonitorControl/MonitorControl for example, though I'm sure there are others.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#122
post #80

Earlier quoted context omitted.

I’ll never buy anything from Samsung again. The software on their otherwise delightful hardware is absolute crap.

Or their dryers...or their dishwashers...I hear their phones are okay...It sucks when a multinational conglomerate has a sketchy quality issue.

Their laser printers are great in my experience.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#123
post #113

Earlier quoted context omitted.

I use NDI a lot, but with a phone as webcam, or from obs to obs, scan converter, audio stream between devices like ipad/iphone/Android to desktop... But it is demanding to encode this way. HDMI capture does only use bandwidth over the USB or pcie bus, while ndi uses cpu or gpu.

HDMI capture cards can definitely use CPU, and this is the case for most USB capture cards as USB does not have enough bandwidth to send an entire raw stream in realtime.

Yes, it's MJPEG for the cheap ones.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#124

from a purely software perspective and sort of the inverse of this, everyone should be aware of barrier, the fork/continuation of synergy https://github.com/debauchee/barrier the general concept is you could have 2, 3, 4 or more individual desktop PCs at one desk, each connected to their own displays, and one keyboard and one mouse. The keyboard and mouse are on the primary workstation, you can roll the mouse off the…

Barrier is almost perfect for my use, with one big flaw. It has no concept of individual displays. For most setups, it probably isn't a big deal. For me, I am back to a hardware KVM.

Please explain. Individual displays doesn't tell me enough.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#125

It's cool but it only works if you have a rust compiler that can actual compile this (1.55.0) and no one does. That means you have to install a compiler from outside of your system repositories 100% of the time. Is suggesting everyone, curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ... really such a great idea? Even ignoring the curl | sh it's going to bork many systems now having two rusts. Rust proj…

Sadly the standard these days is compile everything in a container. Avoid any conflict by taking the path of least resistance.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#126
post #81

Lunar ( https://lunar.fyi ) supports up to 3 hotkeys to switch input using DDC. Also the functionality is completely free, the Pro license isn’t needed if you only switch inputs and occasionally adjust brightness or volume. This might be a more comfortable solution if your monitor allows input switching through DDC. https://static.lunar.fyi/img/input-key/1920_input-key.png

Lunar worked great for me on MacBook Pro 2020 (2 monitors, one connected over USB-C to USB-C cable, another one over USB-C to DisplayPort), but doesn’t work on for the same monitors connected to MacPro via 2 HDMI cables…

Any idea why?

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#127
post #126
post #81

Lunar ( https://lunar.fyi ) supports up to 3 hotkeys to switch input using DDC. Also the functionality is completely free, the Pro license isn’t needed if you only switch inputs and occasionally adjust brightness or volume. This might be a more comfortable solution if your monitor allows input switching through DDC. https://static.lunar.fyi/img/input-key/1920_input-key.png

Lunar worked great for me on MacBook Pro 2020 (2 monitors, one connected over USB-C to USB-C cable, another one over USB-C to DisplayPort), but doesn’t work on for the same monitors connected to MacPro via 2 HDMI cables… Any idea why?

The HDMI port on most recent Mac devices uses a converter chip inside to convert the signal to DisplayPort internally. That chip has DDC/CI blocked in its firmware and there's no way to enable it.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#128
post #74

PSA: Many 4K Dell monitors (like my Dell UltraSharp U3219Q ) have a built-in KVM switch and they support full DDC commands for switching the input as well (over HDMI, DP and USBC). I can control them from Mac and Linux with hot keys that trigger the appropriate ddc commands.

Wow! Thanks for that comment, I have a Dell U3818DW with a KVM switch and I didn't know you could control it with DDC commands!

So for linux (e.g. fedora):

  dnf install ddcutil
  ddcutil capabilities -d 1 # show the available commands
  ddcutil setvcp 60 0x11    # for example switch to HDMI 1
  # assign a global shortcut key to the `ddcutil setvcp` command you need
And for windows:

  - download the "Dell Display Manager" software from their support site
  - assign a shortcut key in the Dell Display Manager: "Input Manager" tab => "Favourite Input Shortcut Key"
I used the same shortcut (Ctrl-Alt-ScrollLock) for both linux(kde)/windows

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#129
post #80

Earlier quoted context omitted.

I’ll never buy anything from Samsung again. The software on their otherwise delightful hardware is absolute crap.

Or their dryers...or their dishwashers...I hear their phones are okay...It sucks when a multinational conglomerate has a sketchy quality issue.

Their phones are yet another example of good hardware crippled by stupid software - not even low quality, but with bad intentional choices.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#130
post #125

It's cool but it only works if you have a rust compiler that can actual compile this (1.55.0) and no one does. That means you have to install a compiler from outside of your system repositories 100% of the time. Is suggesting everyone, curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ... really such a great idea? Even ignoring the curl | sh it's going to bork many systems now having two rusts. Rust proj…

Sadly the standard these days is compile everything in a container. Avoid any conflict by taking the path of least resistance.

I'd argue that that is a failure install and failure to compile. You don't have a binary that can run on your actual system. When I run MS Office in a Windows virtual machine I am running it but it is not cross-platform or running on Linux. I'm virtualizing it. The same applies here.
Post reply on HN