x11vnc Server 'n_cache' incompatibility

x11vnc Server 'n_cache' incompatibility

Postby fingaz » 2011-02-18 09:58

Hi all,
Could someone advise if there's an option to enable correct handling of the caching options used by x11vnc server?
Basically, i'm using UltraVNC Viewer on my Win7 32bit to connect to x11vnc server on my Linux Debian server; and im starting x11vnc using something along the lines of:

x11vnc -forever -ncache 10 -ncache_cr

And when connecting using VNCViewer, you get 10 screens of additional vertical scroll, consisting of cached imagery.

If there isn't a way to manage this with the current configuration options, are there any plans to incorporate ncache support later down the line?
I find that the performance increase by using these options can be quite substantial.

Thanks in advance!
FingAZ
fingaz
 
Posts: 2
Joined: 2011-02-18 09:45

Re: x11vnc Server 'n_cache' incompatibility

Postby B » 2011-02-18 16:55

Why not just use ssvnc from the same author, on the client side?

http://www.karlrunge.com/x11vnc/ssvnc.html
B
Super-Mod
Super-Mod
 
Posts: 2347
Joined: 2009-09-09 14:05

Re: x11vnc Server 'n_cache' incompatibility

Postby krunge » 2011-02-20 04:01

The x11vnc -ncache is a hack for client-side caching that will work with unmodified VNC Viewers, provided the viewer can be made to "hide" the cache region from the user's view. Sometimes this happens automatically (SSVNC on unix or macosx), sometimes the user needs to manually resize the viewer window (and perhaps be careful not to bump-scroll down into the cache region), and sometimes the VNC viewer can't handle it at all (or even crashes if the cache region is too big.)

BTW, SSVNC on Windows just provides stock TightVNC VNCVIEWER.EXE as the viewer and that may not be very good at hiding with x11vnc's ncache cache region (I can't remember if it is or not.) By clicking around, you can change the VNC viewer that SSVNC uses on Windows to one of your choice (i.e. better at hiding the cache region.)
krunge
20
20
 
Posts: 39
Joined: 2008-09-13 22:30

Re: x11vnc Server 'n_cache' incompatibility

Postby redge » 2011-02-20 12:58

fingaz

could you try ultravnc viewer 1.0.9.5.1 if solve your issue
topic #27452
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: x11vnc Server 'n_cache' incompatibility

Postby fingaz » 2011-02-21 05:00

Yes, the new version certainly seems to be an improvement; but only if i tick the "Auto select best settings" in Options - otherwise it gives me my gdm login screen, and then dies on successful login... and this is true, even if im already logged in! It also hangs for a realllllyyy long time before logging in!

The caching content is still present in the downward scroll; but there isn't any text about "this shouldn't be here" etc etc. - Would i be correct in thinking that i should be resizing the VNC client to match that of the remote desktop in order to fully resolve? Because i can't do that, on the basis that im using a 1024x800 laptop display, against two 1280x1024 monitors (2560x1024) on the remote side?

Tried the x11vnc "official" client, and still has the same issue... so maybe its just the design of the ncache on the server :(
fingaz
 
Posts: 2
Joined: 2011-02-18 09:45

Re: x11vnc Server 'n_cache' incompatibility

Postby the_mouse » 2011-02-23 19:01

Using -ncache when starting my X11VNC is really good in terms of speed improvement. But the additional screens added below the actual desktop makes it quite unusable. Could you add a compatibility feature to fix it? Thank you :wink:
the_mouse
 
Posts: 1
Joined: 2011-02-23 18:52


Return to 1.0.9.5 (stable)

Who is online

Users browsing this forum: No registered users and 2 guests