pikvm/docs/pass.md

81 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: HDMI Video Passthrough
description: "How to set up HDMI passthrough on PiKVM V4 Plus"
---
# HDMI Video Passthrough
This feature allows directing the video stream from the host to a display attached directly to the HDMI output of PiKVM V4 Plus. This simplifies accessing the host locally while retaining the remote access to the host via the Web UI or VNC. **This feature is limited to PiKVM V4 Plus** because its the only PiKVM version with an HDMI Out port. It also works best with [USB passthrough](usb_pass.md) enabled.
!!! info
* The passthrough feature supports a screen resolution **up to 1920x1200** pixels.
This is shown more clearly below:
<img src="pass.png" />
-----
## Setting up the passthrough
Connect the display to `OUT2` port on the back side of PiKVM V4 Plus.
This feature should be enabled by default on new images.
If not, follow two simple steps:
1. Update OS and reboot:
{!_update_os.md!}
2. After rebooting, you will see an image on the physical display.
-----
## My monitor does not support the 1920x1200 mode
PiKVM V4 supports the advanced capture mode of 1920x1200.
If your physical monitor is limited to 1920x1080, then part of the image from the bottom will be cropped.
To avoid this, you can change the resolution of the host OS, or if the OS does not support this,
disable the 1920x1200 mode on PiKVM itself:
```console
[root@pikvm ~]# rw
[root@pikvm ~]# kvmd-edidconf --import-preset=v4plus.no-1920x1200
[root@pikvm ~]# reboot
```
-----
## Current limitations
Please note the feature is pretty new and will be improved.
* Display resolution must be greater than or equal to that used by PiKVM capture.
If the maximum display resolution is 720p and the signal has a 1080p resolution, you will not see the image.
PiKVM does not perform any downscaling.
* At the same time, PiKVM will try to show at least something than nothing.
If the input signal has a resolution of 1920x1200, and the display supports only 1920x1080,
the image will be shown but cropped from the bottom so that you at least have the opportunity
to adjust the image parameters of the host.
* Audio is not supported at the moment.
-----
## Disabling the passthrough
1. Add few lines to `/etc/kvmd/override.yaml`:
```yaml
kvmd:
streamer:
forever: false
cmd_remove:
- "--v4p"
```
2. Perform `reboot`.