mirror of
https://github.com/pikvm/pikvm.git
synced 2026-10-08 19:09:38 +02:00
60fps
This commit is contained in:
+2
-1
@@ -247,7 +247,8 @@ To do that:
|
||||
- [Harden the remote access](auth.md) by enabling 2FA.
|
||||
- Configure access to PiKVM from the Internet using [port forwarding](port_forwarding.md) or [Tailscale VPN](tailscale.md).
|
||||
- Enable a microphone for [two-way audio](audio.md).
|
||||
- Enable [HDMI pass-through](pass.md) and [USB passthrough](usb_pass.md).
|
||||
- Enable [HDMI pass-through](pass.md) and [USB passthrough](usb_pass.md) on V4 Plus.
|
||||
- Enable [H.264 60 fps streaming](video.md#boost-pikvm-v4-to-60fps-h264).
|
||||
- [Learn](config.md) how configuration files are structured.
|
||||
- Read how PiKVM is [identified](id.md) on the target host.
|
||||
|
||||
|
||||
+49
-1
@@ -21,7 +21,7 @@ video.
|
||||
|
||||
* Good network: use `WebRTC` or `Direct` mode, set `H.264 gop = 0`.
|
||||
|
||||
* Bad network and `WebRTC` mode: Set `H.264 gop = 30`.
|
||||
* Bad network and `WebRTC` mode: Set `H.264 gop = 60`.
|
||||
|
||||
* Bad network and `Direct` mode: Set `H.264 gop = 0`.
|
||||
|
||||
@@ -39,6 +39,54 @@ video.
|
||||
The recommended values are described above.
|
||||
|
||||
|
||||
-----
|
||||
## Boost PiKVM V4 to 60fps H.264
|
||||
|
||||
By default, the performance of PiKVM in 1080p mode is limited to 30fps, but this limitation can be lifted.
|
||||
The result will be a slightly lower video latency and a full 60fps stream
|
||||
with a slight increase in processor temperature
|
||||
(it's not critical for both [V4 Plus and Mini](v4.md), as they have a very good cooling system).
|
||||
It will also double the consumption of network traffic.
|
||||
|
||||
!!! warning "This is ONLY for PiKVM V4"
|
||||
|
||||
Don't try it on DIY or V3 devices.
|
||||
|
||||
??? example "Enabling H.264 boost"
|
||||
|
||||
1. Perform OS updating and reboot:
|
||||
|
||||
{!_update_os.md!}
|
||||
|
||||
2. Switch filesystem to RW-mode:
|
||||
|
||||
```console
|
||||
[root@pikvm ~]# rw
|
||||
```
|
||||
|
||||
3. Add `gpu_freq=700` to `/boot/config.txt` as a separate line.
|
||||
|
||||
4. Enable H.264 boost:
|
||||
|
||||
```console
|
||||
[root@pikvm ~]# kvmd-override --set kvmd/streamer/h264_boost=true
|
||||
```
|
||||
|
||||
5. Optional: change default FPS limit from 30 to 60 with following command:
|
||||
|
||||
```console
|
||||
[root@pikvm ~]# kvmd-override --set kvmd/streamer/desired_fps/default=60
|
||||
```
|
||||
|
||||
6. Perform reboot:
|
||||
|
||||
```console
|
||||
[root@pikvm ~]# reboot
|
||||
```
|
||||
|
||||
Please don't use the boost on [PiKVM V3](v3.md) and DIY devices.
|
||||
|
||||
|
||||
-----
|
||||
## WebRTC H.264 mode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user