Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Way to improve performance on 1.0.6.4

Post Reply
hardbrain
Posts: 1
Joined: 2009-07-28 23:23

Way to improve performance on 1.0.6.4

Post by hardbrain »

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?
bgm
Posts: 5
Joined: 2009-07-29 07:46

Re: Way to improve performance on 1.0.6.4

Post by bgm »

Window updates are very slow compared with previous versions.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Way to improve performance on 1.0.6.4

Post by redge »

known issue, reported here
[topic=15832][/topic]
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Way to improve performance on 1.0.6.4

Post by Rudi De Vos »

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
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Way to improve performance on 1.0.6.4

Post by redge »

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
rsutton
20
20
Posts: 35
Joined: 2008-02-15 16:51

Re: Way to improve performance on 1.0.6.4

Post by rsutton »

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
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Way to improve performance on 1.0.6.4

Post by Rudi De Vos »

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...
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Way to improve performance on 1.0.6.4

Post by redge »

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
rsutton
20
20
Posts: 35
Joined: 2008-02-15 16:51

Re: Way to improve performance on 1.0.6.4

Post by rsutton »

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
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Way to improve performance on 1.0.6.4

Post by Rudi De Vos »

vnc check the existance of the hooks.
schook is used when both exist.
rsutton
20
20
Posts: 35
Joined: 2008-02-15 16:51

Re: Way to improve performance on 1.0.6.4

Post by rsutton »

Thanks, Rudi,

I guess it's time to experiment.

Dick
Post Reply