Way to improve performance on 1.0.6.4

Way to improve performance on 1.0.6.4

Postby hardbrain » 2009-07-28 23:46

I installed WinVNC on an XP machine, with the 1.0.6.4 mirror video driver.

Everything works well (installation, authentication, setting up the server part...)

Except this thing :

Viewer watching the Server : mouse movement is OK, fluid. Same on the Server.

When the Server (the user) move the mouse or let say, scroll a web page, it's choppy on the Viewer screen... much slower than with previous versions.

Do you have some advice on how to improve performance?
hardbrain
 
Posts: 1
Joined: 2009-07-28 23:23

Re: Way to improve performance on 1.0.6.4

Postby bgm » 2009-07-29 07:50

Window updates are very slow compared with previous versions.
bgm
 
Posts: 5
Joined: 2009-07-29 07:46

Re: Way to improve performance on 1.0.6.4

Postby redge » 2009-07-30 23:21

known issue, reported here
Performance measurements
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: Way to improve performance on 1.0.6.4

Postby Rudi De Vos » 2009-07-31 09:33

There seems to be different things.

1. Viewer drawing speed
*Realvnc viewer use a faster drawing method. The effect is only viewable
when server/viewer are connected with a fast network.
*Ultravnc viewer 102-106 drawing method didn't changed.
The drawing speed is hardware depended, setpixelV and bitblt speed differ for video cards. The effect is not the same for all hardware.

(1) didn't change between ultravnc version, reports of performance drop
can't be caused by this. This is something we need to check in the future.

2. Update speed when server is controled by viewer
This seems to be OK, at least when you use the driver
3. Update speed when server is controled by server user
choppy ?
4. hook.dll
All test i did where with the schook.dll and not the vnchook.dll, possible
the vnchook is not behaving like he should.
The schook is not installed by default but downloaded during install if you
selected it.
You can manual download the hook and save it in the ultravnc folder.
http://sc.uvnc.com/schook.dll
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5739
Joined: 2004-04-23 10:21

Re: Way to improve performance on 1.0.6.4

Postby redge » 2009-08-01 09:16

Rudi De Vos wrote:2. Update speed when server is controled by viewer
This seems to be OK, at least when you use the driver
3. Update speed when server is controled by server user
choppy ?
4. hook.dll


I confirm with SCHook.dll or/and VNCHook.dll file present on the ultravnc,
moving mouse mouvements on local server with EnableHook=1 is send to vncviewer are very choppy

restart uvnc_service before start new test.
tested only with poll settings below

[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=1
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=0


but change for every test:
SCHook.dll alone
VNCHook.dll alone
SCHook.dll + VNCHook.dll both

all result are same. local server send mouse movement choopy to viewer
viewer send mice movement to server always OK

lan inhouse wired = 100Mbit
vncviewer 1.0.6.4 win7rc
winvnc 1.0.6.4 service win7rc
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: Way to improve performance on 1.0.6.4

Postby rsutton » 2009-08-02 15:42

Redge and/or Rudi,

I am very confused about the video drivers for uvnc. In your most recent posts (and Rudi's post), you mention SCHook.dll, VNCHook.dll hook.dll and mirror driver.

What are each of these?

When should I consider using one or all of these?

I see in the options list there is an EnableHook, but I don't see how to enable SCHook.dll or VNCHook.dll?

Maybe I am the only one confused, but searching these forums has not provided any answers.

Dick
rsutton
8
8
 
Posts: 31
Joined: 2008-02-15 16:51

Re: Way to improve performance on 1.0.6.4

Postby Rudi De Vos » 2009-08-02 17:07

hook dll: A hook dll try to capture window message, to get hints about the
screen changes. ( Like draw button, set text...)

vnchook.dll
schook.dll

Both does the same, but use a different method. schook.dll use the accesibility engine, vnchook is pure hooking. They behave differnt on
different OS's... just try what's the best for you.

mirror video driver ( hook driver)

mv2 mirror driver: A driver capture at driver level the screen changes,
more accurate then hooking and a lot faster. But a mirror driver switch the real video driver in a non acceleration mode...
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5739
Joined: 2004-04-23 10:21

Re: Way to improve performance on 1.0.6.4

Postby redge » 2009-08-02 19:12

directx viewer 1.0.5.6 have same issue of choppy mice movement
moving mice on local winvnc 1.0.6.4 sent to vncviewer_tab 1.0.5.6 choppy mice movement.
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: Way to improve performance on 1.0.6.4

Postby rsutton » 2009-08-02 19:16

Rudi,

Excellent explanation.

If I have SCHook.dll and VNCHook.dll present, how do I tell uvnc which to use?

Or do I just have one or the other present when running and uvnc automatically picks up the dll?

Dick
rsutton
8
8
 
Posts: 31
Joined: 2008-02-15 16:51

Re: Way to improve performance on 1.0.6.4

Postby Rudi De Vos » 2009-08-03 14:30

vnc check the existance of the hooks.
schook is used when both exist.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5739
Joined: 2004-04-23 10:21

Re: Way to improve performance on 1.0.6.4

Postby rsutton » 2009-08-03 18:08

Thanks, Rudi,

I guess it's time to experiment.

Dick
rsutton
8
8
 
Posts: 31
Joined: 2008-02-15 16:51


Return to 1.0.6.X

Who is online

Users browsing this forum: No registered users and 0 guests