gujjwal00 / avnc

VNC Client for Android
GNU General Public License v3.0
660 stars 59 forks source link

Hi #161

Closed HilmiRidho closed 1 year ago

HilmiRidho commented 1 year ago

very smooth I see speeds of over 70mbps, but I get more fps when running glxgears in tightvnc viewer (from android to pc). Is this because the performance depends on the cpu? on pc : 440fps+ (using usb tethering) on android : 180fps+

gujjwal00 commented 1 year ago

Where is your VNC server running: PC or Android? Are VNC server & AVNC running on same device?

HilmiRidho commented 1 year ago

vnc server run on android chroot

HilmiRidho commented 1 year ago

yes, using the same device, namely Android (localhost) and using a different device, namely a PC (USB tethering Android to PC, faster than wireless)

gujjwal00 commented 1 year ago

If AVNC and VNC server are running on same device, that might explain the lower FPS. Both AVNC and glxgears will be competing for the same CPU/GPU, and the scheduler is likely to give priority to AVNC as it will be in foreground.

Side note: I am assuming the 440/180 number is coming from glxgears. The "actual" FPS in AVNC (i.e. how frequently AVNC renders the contents received form server) will be capped to to your screen refresh rate.