1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

Two pikvms for two displays for same pc - Can't use both in absolute mouse mode #698

Open
opened 2026-02-20 14:04:07 -05:00 by deekerman · 15 comments
Owner

Originally created by @plia7 on GitHub (Jul 22, 2023).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
I have two pikvms which gives me two displays, moving the mouse from first screen to second screen only works if I enter first pikvm web page in a relative mouse mode - Then the mouse seamlessly moves to the second screen - relative mouse mode movement is quite slow compared to absolute mouse mode. The problem is you can't use both in absolute mouse mode.

Prerequisites: Connect pikvm 1 to first hdmi port in pc 1 and usb port. Connect pikvm 2 to second hdmi port in pc 1. Go into Windows display settings in the host pc and set the display mode as Extended.

Note: I didn't connect pikvm 2 to a second usb in pc 1, but I noticed if you do connect it, it allows you to enter with relative mouse mode from either pikvm 1 or 2 web page, without it, you have to enter the relative mouse mode only from pikvm 1 web page (the one with the usb connection) to move the mouse to second display.

To Reproduce
Steps to reproduce the behavior, like:

  1. Go to pikvm 1 web page - the absolute mouse mode defaults - if you hover with your mouse it moves.
  2. Go to pikvm 2 web page - the absolute mouse mode defaults - if you hover with your mouse it doesn't move.
  3. Try to move the mouse in pikvm 1 web page far enough so it could reach the edge of the screen.

Actual behavior
Mouse cursor remains at the edge of the first screen and there is no indication on the second screen that the mouse cursor is there.

Expected behavior
Mouse cursor ends up showing up on the second screen and can be further moved by hovering with the mouse on pikvm 2 web page without the need to enter relative mouse mode.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
    Windows 11
  • Browser [e.g. chrome, safari]
    Google Chrome Version 114.0.5735.199 (Official Build) (64-bit)
    or
    Microsoft Edge Version 115.0.1901.183 (Official build) (64-bit)
  • Version [e.g. 22]
  • VNC client (if used)

PiKVM info:

  • Raspberry Pi board version [e.g. RPi 4]
    PiKVM v3 Pre-Assembled
  • PiKVM platform [e.g. v2-hdmi]
  • Video capture type [e.g. CSI bridge]
  • KVMD version: pacman -Q | grep kvmd
    kvmd 3.236-1
    kvmd-fan 0.26-1
    kvmd-oled 0.24-1
    kvmd-platform-v3-hdmi-rpi4 3.236-1
    kvmd-webterm 0.43-1
  • uStreamer version: pacman -Q | grep ustreamer
    ustreamer 5.41-1
  • Linux kernel: uname -a
    Linux pikvm 5.15.68-3-rpi-ARCH #1 SMP Mon Oct 31 20:56:54 MSK 2022 armv7l GNU/Linux

Additional context
Moving the mouse from first screen to second screen only works if I enter first pikvm web page in a relative mouse mode - Then the mouse seamlessly moves to the second screen - relative mouse mode movement is quite slow compared to absolute mouse mode and you can't see the browser cursor in relative mode which is not the ideal solution or workaround because of the host mouse cursor movement delay.

Originally created by @plia7 on GitHub (Jul 22, 2023). Originally assigned to: @mdevaev on GitHub. **Describe the bug** I have two pikvms which gives me two displays, moving the mouse from first screen to second screen only works if I enter first pikvm web page in a relative mouse mode - Then the mouse seamlessly moves to the second screen - relative mouse mode movement is quite slow compared to absolute mouse mode. The problem is you can't use both in absolute mouse mode. **Prerequisites:** Connect pikvm 1 to first hdmi port in pc 1 and usb port. Connect pikvm 2 to second hdmi port in pc 1. Go into Windows display settings in the host pc and set the display mode as Extended. **Note:** I didn't connect pikvm 2 to a second usb in pc 1, but I noticed if you do connect it, it allows you to enter with relative mouse mode from either pikvm 1 or 2 web page, without it, you have to enter the relative mouse mode only from pikvm 1 web page (the one with the usb connection) to move the mouse to second display. **To Reproduce** Steps to reproduce the behavior, like: 1. Go to pikvm 1 web page - the absolute mouse mode defaults - if you hover with your mouse it moves. 2. Go to pikvm 2 web page - the absolute mouse mode defaults - if you hover with your mouse it doesn't move. 3. Try to move the mouse in pikvm 1 web page far enough so it could reach the edge of the screen. **Actual behavior** Mouse cursor remains at the edge of the first screen and there is no indication on the second screen that the mouse cursor is there. **Expected behavior** Mouse cursor ends up showing up on the second screen and can be further moved by hovering with the mouse on pikvm 2 web page without the need to enter relative mouse mode. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] Windows 11 - Browser [e.g. chrome, safari] Google Chrome Version 114.0.5735.199 (Official Build) (64-bit) or Microsoft Edge Version 115.0.1901.183 (Official build) (64-bit) - Version [e.g. 22] - VNC client (if used) **PiKVM info:** - Raspberry Pi board version [e.g. RPi 4] PiKVM v3 Pre-Assembled - PiKVM platform [e.g. v2-hdmi] - Video capture type [e.g. CSI bridge] - KVMD version: `pacman -Q | grep kvmd` kvmd 3.236-1 kvmd-fan 0.26-1 kvmd-oled 0.24-1 kvmd-platform-v3-hdmi-rpi4 3.236-1 kvmd-webterm 0.43-1 - uStreamer version: `pacman -Q | grep ustreamer` ustreamer 5.41-1 - Linux kernel: `uname -a` Linux pikvm 5.15.68-3-rpi-ARCH #1 SMP Mon Oct 31 20:56:54 MSK 2022 armv7l GNU/Linux **Additional context** Moving the mouse from first screen to second screen only works if I enter first pikvm web page in a relative mouse mode - Then the mouse seamlessly moves to the second screen - relative mouse mode movement is quite slow compared to absolute mouse mode and you can't see the browser cursor in relative mode which is not the ideal solution or workaround because of the host mouse cursor movement delay.
Author
Owner

@plia7 commented on GitHub (Jul 27, 2023):

@mdevaev Just for reference, you mentioned on 07/23/2023 that "this is a complex issue, but I plan to solve it in this year".

Some research/approach considerations:
"have some special feature flag or setting/mode, that links two pikvms together, so they talk to each other, i.e.: pikvm1 to pikvm2: user brought mouse to left edge of screen 1. pikvm2 to pikvm1: ok let me take the mouse from here putting it in right edge of screen 2. " - to which you replied "yes, maybe".

https://www.hardwarecentric.com/how-to-use-2-monitors-2-keyboards-2-mice-1-computer-at-the-same-time/

https://www.youtube.com/watch?v=BzX4u6nPWTY

https://mcmw.abilitynet.org.uk/how-to-use-your-keyboard-to-control-the-mouse-pointer-in-windows-11

Note: There is a related ticket: https://github.com/pikvm/pikvm/issues/1071

Thank you.

@plia7 commented on GitHub (Jul 27, 2023): @mdevaev Just for reference, you mentioned on 07/23/2023 that "this is a complex issue, but I plan to solve it in this year". Some research/approach considerations: "have some special feature flag or setting/mode, that links two pikvms together, so they talk to each other, i.e.: pikvm1 to pikvm2: user brought mouse to left edge of screen 1. pikvm2 to pikvm1: ok let me take the mouse from here putting it in right edge of screen 2. " - to which you replied "yes, maybe". https://www.hardwarecentric.com/how-to-use-2-monitors-2-keyboards-2-mice-1-computer-at-the-same-time/ https://www.youtube.com/watch?v=BzX4u6nPWTY https://mcmw.abilitynet.org.uk/how-to-use-your-keyboard-to-control-the-mouse-pointer-in-windows-11 Note: There is a related ticket: https://github.com/pikvm/pikvm/issues/1071 Thank you.
Author
Owner

@plia7 commented on GitHub (Oct 1, 2023):

@mdevaev It's already October, just checking to see it's still in the planning, as you said you plan to solve it in this year.
Thank you.

@plia7 commented on GitHub (Oct 1, 2023): @mdevaev It's already October, just checking to see it's still in the planning, as you said you plan to solve it in this year. Thank you.
Author
Owner

@mdevaev commented on GitHub (Oct 3, 2023):

It's not ready yet.

@mdevaev commented on GitHub (Oct 3, 2023): It's not ready yet.
Author
Owner

@plia7 commented on GitHub (Oct 4, 2023):

It's not ready yet.

Thank you, this could be an amazing feature and stimulate other potential customers to buy additional pikvms for added productivity (a second monitor).

@plia7 commented on GitHub (Oct 4, 2023): > It's not ready yet. Thank you, this could be an amazing feature and stimulate other potential customers to buy additional pikvms for added productivity (a second monitor).
Author
Owner

@mdevaev commented on GitHub (Oct 26, 2023):

Edited: wrong comment

@mdevaev commented on GitHub (Oct 26, 2023): Edited: wrong comment
Author
Owner

@plia7 commented on GitHub (Nov 29, 2023):

Edited: wrong comment

Hello @mdevaev, is this feature still feasible by EOY (any progress)? Would be nice if Santa includes this feature :)
Thank you.

@plia7 commented on GitHub (Nov 29, 2023): > Edited: wrong comment Hello @mdevaev, is this feature still feasible by EOY (any progress)? Would be nice if Santa includes this feature :) Thank you.
Author
Owner

@mdevaev commented on GitHub (Dec 1, 2023):

Yes, it is. I remember the task and do it whenever possible.

@mdevaev commented on GitHub (Dec 1, 2023): Yes, it is. I remember the task and do it whenever possible.
Author
Owner

@Vladimir2989 commented on GitHub (Feb 1, 2024):

Hi, any news on this ? its been a while.
I'm still good for 100$ bounty I've offered 💰

@Vladimir2989 commented on GitHub (Feb 1, 2024): Hi, any news on this ? its been a while. I'm still good for 100$ bounty I've offered 💰
Author
Owner

@mdevaev commented on GitHub (Mar 31, 2024):

@Vladimir2989 I don't have the opportunity to do this yet :(

@mdevaev commented on GitHub (Mar 31, 2024): @Vladimir2989 I don't have the opportunity to do this yet :(
Author
Owner

@lodibrahim commented on GitHub (Nov 14, 2024):

I am facing same issue, it will be cool to be able to use two monitors

@lodibrahim commented on GitHub (Nov 14, 2024): I am facing same issue, it will be cool to be able to use two monitors
Author
Owner

@mannyking0406 commented on GitHub (Feb 21, 2025):

Waiting for #1017 to be resolved .

@mannyking0406 commented on GitHub (Feb 21, 2025): Waiting for #1017 to be resolved .
Author
Owner

@tenroseUK commented on GitHub (Feb 25, 2025):

This is the dream feature for me. I've got two PiKVMs set up in the same config as the OP, except my experience goes like this.

PiKVM 1 is connected to HDMI and USB, in browser window 1
PiKVM 2 is connected to HDMI and USB, in browser window 2

With both set to Absolute Mouse Mode:
Moving on browser 1 performs as expected
Moving on browser 2 moves the cursor on both browser 1 and browser 2

With both set to Relative Mouse Mode:
Able to control both browsers from either one while control is captured

As the OP said, Relative Mouse Mode is much slower than Absolute. Would be nice to see this feature prioritised if possible?

@tenroseUK commented on GitHub (Feb 25, 2025): This is the dream feature for me. I've got two PiKVMs set up in the same config as the OP, except my experience goes like this. PiKVM 1 is connected to HDMI and USB, in browser window 1 PiKVM 2 is connected to HDMI and USB, in browser window 2 With both set to Absolute Mouse Mode: Moving on browser 1 performs as expected Moving on browser 2 moves the cursor on both browser 1 and browser 2 With both set to Relative Mouse Mode: Able to control both browsers from either one while control is captured As the OP said, Relative Mouse Mode is much slower than Absolute. Would be nice to see this feature prioritised if possible?
Author
Owner

@plia7 commented on GitHub (Apr 7, 2025):

Hello @mdevaev, just following up on this, it's been almost 2 years now.
When are you estimating for this feature to be complete? Will it also work if one of the screens have a different orientation (i.e. left screen is set to 90 degrees)?

Thank you.

@plia7 commented on GitHub (Apr 7, 2025): Hello @mdevaev, just following up on this, it's been almost 2 years now. When are you estimating for this feature to be complete? Will it also work if one of the screens have a different orientation (i.e. left screen is set to 90 degrees)? Thank you.
Author
Owner

@mdevaev commented on GitHub (Apr 9, 2025):

I hope this year.

@mdevaev commented on GitHub (Apr 9, 2025): I hope this year.
Author
Owner

@fouram commented on GitHub (Oct 10, 2025):

@mdevaev I hope you are able to pull this off. Due to factors outside of my control, I'm currently very interested in a setup like this and I cannot afford the thousands that closed offerings of similar products would provide. I wish I had more expertise in building something like this so that I could contribute, but you will have my purchase (and eternal gratitude) if this is ever implemented!

@fouram commented on GitHub (Oct 10, 2025): @mdevaev I hope you are able to pull this off. Due to factors outside of my control, I'm currently very interested in a setup like this and I cannot afford the thousands that closed offerings of similar products would provide. I wish I had more expertise in building something like this so that I could contribute, but you will have my purchase (and eternal gratitude) if this is ever implemented!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pikvm-pikvm#698
No description provided.