Open julian-hoch opened 1 year ago
Can you provide more details on exactly how you've configured the streamdeck_ui to trigger the KVM switch?
From the fact that you're using xev
I'm assuming you're triggering a key sequence. Can you elaborate what you mean by you're also seeing the delay using xev
? Are you saying the key presses themselves show up late - or - they are generated on time but there is a delay?
Sorry but without a lot more detail it's hard to help.
Hi dogyrabbit, I agree I perhaps was not precise enough. Let me be more clear. I am not using the streamdeck to trigger the KVM switch, its just that using the KVM switch (which I control at the moment either via physical buttons on the switch or keyboard shortcuts) the streamdeck starts acting up.
The streamdeck device is connected to my main computer via USB (directly plugged in to one of the mainboard USB ports). My monitor, mouse and keyboard (as well as a video camera) are plugged into the KVM switch, and the KVM switch in turn is connected to my PC and my laptop via Displayport and USB. Now as long as my main computer has the focus (meaning mouse and keyboard and monitor are routed to the main computer), the streamdeck works just fine. If I switch to the laptop (meaning mouse and keyboard now control the laptop, and the monitor shows the laptops screen), things get inconsistent. The streamdeck is directly connected to the PC, so it SHOULD work normally. And sometimes it does. But usually, if I press a button on the streamdeck (for example, pause music which I do quite often), there are quite long delays between the button press and the actual command. What I did with xev is just run that in a console on a separate monitor. It logs keyboard and mouse buttons, but also streamdeck button presses. As long as the main computer has the focus, those show up immediately. If I switch to the laptop, other input devices STILL show up immediately (e.g. extra keyboards I plug in), but the streamdeck key presses show up with the same delay. I cannot tell whether they are generated on time or just received with a delay, since I am not familiar enough with how the whole thing is handled by the OS or whatever handles these events, unfortunately. I would like to be able to debug this further, but am lacking the knowledge on what else to check.
Thanks for taking the time, and btw. I love the software, its really awesome! Julian
hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.
if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui
It does not always happen, and the delay is not always the same, but if I switch Mouse and Keyboard to another PC using a hardware KVM switch, it can take up to 30 seconds between button press and action on the stream deck.
If I monitor the device with xev, I can see the delay there too, so it might not be the software that's at fault. Still, the streamdeck is the only affected device, so wondering if you have any ideas.