|
|
|
|
|
by any1
15 hours ago
|
|
> This is obviously not a great solution, and VNC in general feels like ancient technology It's not obvious to me. This looks like software ageism. :) There are at least 2 things that could be done to improve performance in the author's setup: 1. Use the --gpu flag which enables dmabuf capture and h264 encoding via vaapi.
2. Connect using a dedicated VNC client like TigerVNC. This reduces latency by roughly 50 ms.
For more details on 2. see second paragraph in the following blog post https://andri.yngvason.is/measuring-latencies.htmlThat being said, noVNC has gained hardware decoding of h264 via WebCodecs since the writing of that blog post, so performance will have improved some. It's unlikely that the 50 ms latency has gone down, but it might be worth measuring again since browsers may opt to render video through a dedicated overlay plane that bypasses regular rendering. However, it would be silly not to synchronise frame presentation between overlays. |
|
And you might be right about that ageism comment… didn't realize more efficient encodings were a thing now! Thanks for your work! :)