Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on your PiKVM or the mouse is not working fully or at all? Here is how to fix it. This should work for any NVR/DVR, however it has been tested successfully on the following:
Dahua NVR to PiKVM
Reolink NVR to PiKVM
Swann NVR to PiKVM
Lorex NVR to PiKVM
Hikvision NVR to PiKVM
The reason your PiKVM is not working with your NVR is the resolution (1920x1080 or higher) at 60Hz, and the mouse mode. The resolution issue results in no video and the mouse mode makes it so you cant move your mouse around or sometimes click. To fix the video issue, you could drop your NVR HDMI settings to a lower resolution, lower than 1920x1080. I did not want to do that, so here's how i did it.
Connect to the PiKVM via terminal in the webUI or SSH
https:<pikvmip> or ssh <pikvmip>
Change to root
su
Enable read/write mode
rw
Follow the steps below to change the resolution and Hz
Enable 1920x1080 resolution at 60Hz (Source: https://wiki.geekworm.com/X680?TheOrder=1)
To support max resolution 1920x1080 60Hz (for V1.5 only)
nano /boot/config.txt
- Change the line7 from dtoverlay=tc358743 to dtoverlay=tc358743,4lane=1
- Save and exit by hitting CTRL + X, answering Y and hitting Enter when prompted.
- Editing the EDID
nano /etc/kvmd/tc358743-edid.hex
- Delete existing EDID data, then copy and paste below new EDID data
00FFFFFFFFFFFF005262888800888888
1C150103800000780AEE91A3544C9926
0F505400000001010101010101010101
010101010101011D007251D01E206E28
5500C48E2100001E8C0AD08A20E02D10
103E9600138E2100001E000000FC0054
6F73686962612D4832430A20000000FD
003B3D0F2E0F1E0A202020202020014F
020323454F041303021211012021A23C
3D3E1F102309070766030C00300080E3
007F8C8C0AD08A20E02D10103E9600C4
8E210000188C0AD08A20E02D10103E96
00138E210000188C0AA01451F0160026
7C4300138E2100009800000000000000
00000000000000000000000000000000
00000000000000000000000000000087
- Save the config
- CTRL + O, Enter
- Exit Nano
- CTRL + X, Enter
- Now that you have changed your resolution, you need to modify the mouse settings as the remote mouse may not work with your NVR.
- Enable Single relative mouse mode (source: https://docs.pikvm.org/mouse/#single-relative-mode)
- Edit the KVMD override file
-
nano /etc/kvmd/override.yaml
-
Add the following to the file:
kvmd:
hid:
mouse:
absolute: false
horizontal_wheel: false
- Save the config
- CTRL + O, Enter
- Exit Nano
-
CTRL + X, Enter
- Change the system back to read-only
- ro
- (NOTE: THIS STEP IS IMPORTANT!!!! You could destroy your MicroSD or whatever storage if you forget this step.)
Reboot the PiKVM
reboot
Wait a few minutes for the device to come back online and connect to the WebUI of the PiKVM and you should see your NVR video and be able to click around.
Now you can see we get a picture and mouse!!
Shoutouts
Geekworm, for their documentation, technical support and great products! No endorsement, I but their stuff all the time, plus the official PiKVM prebuilts.
PiKVM, for their excellent documentation, hardware and software.
Reddit users curiouswidget, mehstg, hendrics2 and the subreddit pikvm:
https://www.reddit.com/user/curiouswidget/
https://www.reddit.com/user/mehstg/
https://www.reddit.com/user/hendrics2/
https://www.reddit.com/r/pikvm/comments/oc8x57/
Keyword/Search Terms:PiKVM,EDID,NVR,Hikvision,Dahua,Amcrest,kvmd,60hz,50hz,dtoverlay,geekworm,video,mouse,no picture,no video,rasberry pi,raspberrypi,HDMI,USB.