I built the latest TigerVNC server binary on a headless Linux workstation at work, which also has RealVNC binaries. The TigerVNC XVnc implementation takes considerably more CPU resources. Even when it should be completely dormant waiting for a connection, it for some reason will still see CPU usage hover around 5-10%. During actual usage, it can spike to 80% on a modern Xeon CPU.Is there a reason for the discrepancy compared to RealVNC? Are there options I can adjust that would bring the CPU usage in line with RealVNC or lower in general? Thank you.
Spiking to 80% during actual usage is normal on a high-speed network.
You might not be seeing that with RealVNC (particularly the free
version-- RealVNC 4.1.x), because the codecs it used were inefficient
and slow, and it lacked the RFB flow control extensions (thus, your
performance with RealVNC could easily be constrained by the client CPU
or the network.)
Shot in the dark-- are you using a build of TigerVNC based on X.org
1.19.x? If so, then I have seen a similar issue to what you describe,
but I'll have to dig up my notes on it.