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

uvnc latest versions speed issues

Post Reply
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

uvnc latest versions speed issues

Post by Comrad »

Hi to uvnc developers and testers and great respect!
I use this great program for many years.
Latest release I use for now is 102.
I tried to jump to more recent releases but always the same - they ALL are much slower than 102!!! :(

I'll explain.
Server part of uvnc is on machine Intel Cel. 3Ghz, 1.5Gb Ram, Windows XP Home.
102 release works fine on LAN and no any pretensions to it about speed.
But all later releases after 102 have speed issues on LAN.
I've verified many working aspects as I found on this forum: video driver is installed, MaxCpu=0, in connection properties "Poll full screen", "System hook dll", "Video hook driver" checkboxes are checked (actually I've tried any and all combinations of them, but it can only to make speed worse).

Also I've tried different vnc viewers on different client OS's - the same.

I can't say that I can't work, but it's not so comfortable as earlier.
When I minimize/maximize window or launch new window it's visible delay 1-2secs

There is one good speed test that can show the difference.
Open my computer, disk c: or any disk where there are many folders.
Make mouse click on first folder to highlight it.
Then press and hold "down" button on keyboard.
On 102 release cursor is sliding good without any dropped folders.
But on any new build cursor freezes for a part of second and then jump over some folders.
You can move cursor up and down and see the difference.
Last edited by Comrad on 2009-08-17 09:21, edited 6 times in total.
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Anybody here?
Do you have the same speed issues as stated above?
Please, check that and tell what you think.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

did you already tested with the 106.5 server ?
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Rudi De Vos wrote:did you already tested with the 106.5 server ?
Just did.
Nothing changed. :(
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

Please verify.

MaxCpu=0 ????
This seems to be wrong mentioned on the forum...makes it even slower
then the default value.

MaxCpu=value
If winvnc.exe is using more then "value" cpu, a throttle is used to minimize cpu winvnc use.

MaxCpu=100, disable it.
Last edited by Rudi De Vos on 2009-08-17 14:51, edited 1 time in total.
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Rudi De Vos wrote:Please verify.
MaxCpu=value
If winvnc.exe is using more then "value" cpu, a throttle is used to minimize cpu winvnc use.
MaxCpu=100, disable it.
Hi Rudi!
Just did it, but don't see any difference.
Tried values 0, 80, 100.
Every time restarted vncservice after changing that value.

Moreover, this uvnc build 106.5 seems to have a bug with XP.
When XP just started or was blocked and you can see it's standard greeting screen with user choosing, when you click on username to enter a password - this password field doesn't appear. I see the real screen on my near-by computer's monitor and see *** signs when I'm typing password, but inside vnc client nothing happens. So I enter password blindly :(
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

ok, i need to verify the logon stuff.

The speed test i do are on an old P4 3ghz.
-Dragging a window around
-screensaver minimized ( moving lines)
This perfect show the maxcpu setting, updates are slower with lower value.
-selecting a desktop icon and moving around

But i don't have the jumping mouse stuff.

poll options
( no driver used)
-poll fullscreen
-low accurace
-hookdll
-poll foreground window ( this give sometimes better results, depending on the app.

102 and 106 use a different driver.
If video driver is checked, verify while connected if it is active. Else the measurements are results with and without driver.

I don't use the auto mode (viewer), but select the encoder manual.
The fastest setting for LAN
-Hextile
-cache disabled


I gonne reactivate my old celeron (512MB) portable for testing, if this doesn't show the speed issue's i'm lost. :)


You always have a pair ( viewer/server), can you do a fast check for me?

*106 server + 102 viewer ? Still slow
Then the cause is the server.
102 server + 106 viewer slow
Then the cause is the viewer

this already eliminate some debug work.
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Rudi De Vos wrote:
You always have a pair ( viewer/server), can you do a fast check for me?

*106 server + 102 viewer ? Still slow
Then the cause is the server.
102 server + 106 viewer slow
Then the cause is the viewer

this already eliminate some debug work.
106 server + any viewer = slow
102 server + any viewer = fast

You guys made so many work to make uvnc function properly on Vista, but do you test new builds on XP?

Maybe some guys who are new to uvnc doesn't notice that speed issues, because they didn't see old builds or other such programs from other vendors, but I use it so often to see the big difference :(

Rudi, have you made the test which I wrote in my first message about cursor sliding?
Just move your cursor upon folders by keyboard keys up and down, up and down and compare it's movements with 102 build.
Does it really slide smoothly and equally on any build?

To make sure that the problem is not in my machine, I've installed 106 on different machine with XP (professional) and have the same result - it is slow :(

Also I have 102 installed on 2 my servers and I surely know what is good performance!
Last edited by Comrad on 2009-08-18 09:57, edited 2 times in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

My developer machine is still XP, all is first tested and debugged on XP
before Vista/win7/Vista64/WIN7_64.

For testing and development i use a 5 and 3 years old PC, not the latest
and fastest cpu's.
For network i use a 100MB router.

I will try it with your test and compare. ( record the viewer to avi)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

Created a perf test version.
http://www.uvnc.eu/download/winvnc_32_perftest.zip

This looks faster... but hard to measure.

poll options (used for testing)
---------------
poll fullscreen
hookdll
low accuracy

To test, extract zip in ultravnc folder.
zip file differ, winvnc_32.exe, so you can extract it without overwriting anything.
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Rudi De Vos wrote:Created a perf test version.
http://www.uvnc.eu/download/winvnc_32_perftest.zip

This looks faster... but hard to measure.

poll options (used for testing)
---------------
poll fullscreen
hookdll
low accuracy

To test, extract zip in ultravnc folder.
zip file differ, winvnc_32.exe, so you can extract it without overwriting anything.
Hi Rudi!
I've tested suggested server build, but don't see any difference in performance. :(

I've made screen capture video so you could understand what I mean.
Here it is:
http://www.youtube.com/watch?v=lp-oCNsER9E

In this video I move cursor up and down inside vnc client first in 106 build and then in 102.
You can see big difference!!!
Last edited by Comrad on 2009-08-20 08:29, edited 1 time in total.
Davatar
8
8
Posts: 11
Joined: 2009-07-15 08:26

Re: uvnc latest versions speed issues

Post by Davatar »

Just wanted to say that I too have seen some performance problems. Will be testing 1.0.2. to see if it is better.

Just a question on my side: Could this be related to the monitor settings used e.g. 1920 x 1200?

Is a there a maximum monitor setting defined somewhere?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

Comrad,

The test i did was accelerating the mouse updates.
Open a folder, with a lot of files, select one and move it with the mouse
(when alpha capture is activated you now see it moving)

In your test, you are using the cursor keys to move the selected file.
This is another code part.

Added some code to accelerate that...
We only need feedback from not LAN connections, it could be that it become slower because more updates are send.

http://www.uvnc.eu/download/winvnc_32_perftes2.zip
californiajeff
40
40
Posts: 101
Joined: 2004-12-22 23:19
Location: Las Vegas, NV
Contact:

Re: uvnc latest versions speed issues

Post by californiajeff »

This I can say version 1.0.2 has been the best version so far for XP. I believe after that version they were trying to make things work on Vista. I can certainly say that I am impressed with version 1.0.6.5 and how it runs on Windows 7. I still need to do further testing but I can tell you that 1.0.6.5 isn't good for XP because of the login screen issue there.

I have over 100 machines running UltraVNC and this is what I use on my machines:

1.0.2 on Windows XP
1.0.6.5 on Windows 7/Vista [Still testing]
Last edited by californiajeff on 2009-08-19 22:17, edited 1 time in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

Test is only for XP, Vista broeken...
Davatar
8
8
Posts: 11
Joined: 2009-07-15 08:26

Re: uvnc latest versions speed issues

Post by Davatar »

I've have now compared 1.0.2 and 1.0.6.5.

1.0.2 is definitely quicker on XP machines. I have connected 4 clients to the same server and it's here that the difference is really noticeable.

The server images to be transferred basically need no user interaction to change their state, but display the state of some machinery
Comrad
8
8
Posts: 11
Joined: 2009-08-13 08:01

Re: uvnc latest versions speed issues

Post by Comrad »

Rudi De Vos wrote:Comrad,

The test i did was accelerating the mouse updates.
Open a folder, with a lot of files, select one and move it with the mouse
(when alpha capture is activated you now see it moving)

In your test, you are using the cursor keys to move the selected file.
This is another code part.

Added some code to accelerate that...
We only need feedback from not LAN connections, it could be that it become slower because more updates are send.

http://www.uvnc.eu/download/winvnc_32_perftes2.zip
Still no difference with this build. :(
I guess you are trying to improve it in wrong place.
My second (server part) machine is near me too and I can see it's screen events at the same time I manage it by uvnc.
On it's screen all things are fast as if I sit there and press buttons/move mouse.
All delays are inside uvnc client screen.
I don't know how it's made in sources, but I guess that your improvements about keyboard updates frequency is wrong way to fix it.
So keypressings and mouse movements are passed to vnc server good, but all events on the screen (cursor movements, iconifying windows, opening programs, ...) are passed from server to client at a noticeable slow speed.

Maybe the problem is in bad video hook driver?

By the way.
About uvnc performance in Vista.
Just verified it on Vista.
And...
have the same problem!!!

Build 102 still works fine on Vista, it has another problems with service starting and Windows Aero, but works with good performance and much better then 106!!!
Last edited by Comrad on 2009-08-20 10:31, edited 3 times in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

I guess we are running different tests or using different options.


We replaced the code part that "capture the screen" by the old 102 code
This code part is only used when poll fullscreen is check.
Then i added some code to tell the server to check for image changes if
you move the mouse or enter a key.
This was the reason you could not see the desktop icon when you moved it.

The same test as in your video was used to compare
v102 with v106 with the option
poll fullscreen+ low accuracy checked... all other unchecked.

One option has to be slower...
The best way is to select a single option and compare.
The server doesn't always take the options changes online, a server restart is needed.

I'm using the server in app mode, perhaps you are using it as service?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: uvnc latest versions speed issues

Post by Rudi De Vos »

Video's
Server XP SP3 old P4, viewer Vista
perftest2 version

1° Only fullscreen polling
http://www.uvnc.eu/download/poll.wmv
2° Polling +hookdll
http://www.uvnc.eu/download/hookdll.wmv
3° mirror driver
http://www.uvnc.eu/download/driver.wmv
4° Just playing around
http://www.uvnc.eu/download/playaround.wmv

Looks not that slow for me
Post Reply