Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

UltraVNC 1.2.0.5 test - Download links

User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

UltraVNC 1.2.0.5 test - Download links

Post by Rudi De Vos »

Changes
+request: add ID:code to password dialogbox (viewer). This allow to differentiate when multiple passwd boxes are open.
Done

+request: Idle input timer to let the server set a viewer timeout.
[admin]
IdleInterval= seconds <<<<<<<<<NEW option
When mouse/input is idle for X seconds
Value < 60 : update throttle
Sample IdleInterval=5 -> Update screen every 5 second
Value > 60
Viewer disconnect
Sample IdleInterval=300 -> Viewer disconnect after 5 min of inactivity
(Changes are on server and viewer, both need to be updated to work)
Done
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

download ( w2k 32bit bins, works on all OS's)

http://www.uvnc.eu/download/1205/ultrav ... _test1.zip
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

I checked on windows XP 32bit SP3
test 1.2.0.5 vncviewer.exe and winvnc.exe
+request: add ID:code to password dialogbox (viewer). This allow to differentiate when multiple passwd boxes are open.
work OK
+request: Idle input timer to let the server set a viewer timeout.
Value > 60
Viewer disconnect
Sample IdleInterval=300 -> Viewer disconnect after 5 min of inactivity
work OK
When mouse/input is idle for X seconds
Value < 60 : update throttle
Sample IdleInterval=5 -> Update screen every 5 second
work OK

What do I need if I want to make these options work at the same time?
Viewer disconnect after 300 seconds and Update screen every 5 second

found some problems:
1) when winvnc.exe work as service
when tray select (close VNC connections) the icon is missing and not restored again.
in task manager this process is freezing (need kill process that would have to restart it)

2) when i start winvnc.exe and then tray select (start service)
service started application mode not close
in task manager 2 procces winvnc.exe (service not work correct "service_commandline=" not work)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

Thanks for the fast testing....

I think the 2 problems also exist in 1.2.0.4 because nothing was changed in 1205 that can cause it.
Looks like some lock is needed to avoid a crash but cause winvnc to hang on exit.

300 seconds and Update screen every 5 second, not possible because i only have one value.
Perhaps a better implementation is
idle<60
wait idletime*50, update speed= idletime
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

2) fixed
installservice + start service proper close winvnc that initiate the command
http://www.uvnc.eu/download/1205/ultrav ... _test2.zip

1) How to repeat
while viewer connected ?
Slow connection ?
This is a timing lock issue and only manifest himself in certain conditions..
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

testing
2) fixed
installservice + start service proper close winvnc that initiate the command
OK work "problem #2" fixed
1) How to repeat
while viewer connected ?
Slow connection ?
This is a timing lock issue and only manifest himself in certain conditions..
How to repeat "problem #1"
1. you need start winvnc.exe as service
2. when in system tray on icon winvnc right mouse button select (close VNC connections).
The icon winvnc in system tray is missing and not restored again.
In previous versions it was restored automatically after clicking (close VNC connections).
If you look in Task Manager, the process does not restart after you click (close VNC connections).

new problem #3
1. you need start winvnc.exe as service
2. when in system tray on icon winvnc right mouse button select (stop service)
icon winvnc in system tray is missing but in Task Manager procces "winvnc" still stay
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

1) 3) I can not repeat

Possible it depend on the parameters of the ini file.
I'm using the default, auto created when you first started winvnc , with password set.
Can you pm your ini ( remove passwd) for testing.
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

yes confirmed in normal mode all works fine.
But if you use "repeater" and use "service_commandline=-autoreconnect ID:****** -connect domain.com::***"
Server connect to repeater and then repeat my problem (1.3) you see my result.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

added
service_commandline=-autoreconnect ID:123456 -connect localhost:5500"
start service
repeater show
Slot Time ID nummer Connection from comment
0 2014/11/17 22:53:53 123456 127.0.0.1

close vnc connection
Slot Time ID nummer Connection from comment
<<<<<<ID gone
Slot Time ID nummer Connection from comment
0 2014/11/17 22:54:34 123456 127.0.0.1 <<<<<<<<<<<ID back
Icon is also back

Stop service
stop all, no winvnc running
It have to be another settings then
service_commandline=-autoreconnect ID:123456 -connect localhost:5500

Sorry, can't repeat it.
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

you can write a link for download "repeater"
you used for the test
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Calling "winvnc -uninstall" disables and removes an installed service as expected, but a winvnc executable remains (as a window-less and tray-iconless process)
Windows XP SP3 x86 using 1205t2 over clean install of 1204
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Using 1205t2 installed as service
Connected service uses 20-40% CPU and explorer.exe 20%?!
Screen update very slow even with PCs on same network
Server settings: poll full-screen only, MaxCPU=20
Not using mirror driver/ repeaters / etc
Viewer settings Auto (Hextile, ZIP:6, JPG:6) and Fixed (u2, zip:off, JPG:2) similar CPU

Viewer process receives lots of data when minimised, chunks arrive every 5 seconds, with corresponding CPU spike of 20%. This is much more data and CPU than watching an inactive screen
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

sorry plants but can not repeat both reported issue's
1096 was faster ? and winvnc -uninstall was different
Is this specific for 1205 ?

Tested 1205
XP SP3 1CPU 2GB (vmware) 1024x768 16bit

Screen activity (display propertoes with mystify screebsaver in preview) ->CPU 10-15%
minimize ->CPU 2% every 5sec
If your cpu/video is 10x slower ( minimize give 20% spikes) then full speed would be 100-150%, but you tell
to slowdown updates till cpu is <20%
If viewer is minimized then the only cpu you see is the cpu used to read video mem and write it in system memory

Possible this also would explain why in minimized mode you use more cpu then in idle screen mode.
normal mode
grab + compress +send +recv +decompress +show viewer+request next update
minimized
grab , check if viewer want data, grab , check if viewer wants data
If your screengrab use huge cpu, then minimized mode use more cpu the a almost idle screen.
If you enable logging, you should see something like this ( on XP)
.\benchmark.cpp : Blit time 68 Getpixeltime 69800 Use getpixel= 0
on XP with a slow video, getpixel should be 1 Getpixeltime<Blit time





winvnc -install -> try icon
winvnc -uninstall
winvnc is removed no ghost process, "service" +"desktop part" + "winvnc -uninstall" are all gone

MaxCPU=20, slowdown updates until cpu used is less then 20
If you say it's realy slow, then your cpu can't follow
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

I checked on another computer
problem №1.№3. repeated
I use "SecureVNCPlugin.dsm" + key (***.pubkey and ***.pkey)

I do not know why you can not repeat this problem....
may be This is because same time are connected to the Repeater (approximately 100 of computers different versions uvnc servers) :-?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

local user/domain user ?
I don't have a domain so it could be that domain user on desktop trigger it

secureplugin isn't is only used after viewer logon.
The issue is before viewer logon

The repeater and it's usage doesn't have influence on it.
The only thing the server does is closing the socket, this is indpended of the repeater load

Else try to activate the vnclog on a server that has the issue, perhaps the last message give a clue about the position it stop,
or i can give a special debug version that nummer all locks.

Is the remaining winvnc.exe running in session0 or session1... ( 0=service, 1=desktop part)
(taskmgr has the colon option to show session number)
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

installed AD and made testpc part of AD
logged on as domain admin ( domain admin == local admin group, the default settings)

This doesn't make a difference...
why it's that hard to repeat...daam
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

plants mentioned he had more or less the same with a slow pc...
Now i added some special code to make it extreem slow with a lot of cpu, simulation a slow
video transfer.

I added for each screen capture a little calculation ( for 10.000.0000 time execute a= a*a)
lag= 250ms and cpu core use 100%

I have 3x winvnc after trying to uninstall the service and icon is gone... looks simular.
Normal it should be fixed tomorrow, no more time today.
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

1) when winvnc.exe work as service
when tray select (close VNC connections) the icon is missing and not restored again.
in task manager this process is freezing (need kill process that would have to restart it)
log in VNCserver (unknown words in Russian)

Code: Select all

.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Thu Nov 20 10:44:44 2014
.\vncmenu.cpp : KillAuthClients() ID_CLOSE 
.\vncserver.cpp : KillAuthClients() done
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Thu Nov 20 10:44:46 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
2) when in system tray on icon winvnc right mouse button select (stop service)
icon winvnc in system tray is missing but in Task Manager (i use Process Explorer) procces "winvnc" still stay (in tree of processes of "explorer.exe")
log in VNCserver (unknown words in Russian)
--Протекает наложенное событие ввода/вывода.

Code: Select all

.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Thu Nov 20 10:57:42 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Thu Nov 20 10:57:44 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
These problems occur only when the server is connected to "Repeater"
When the server is not connected to "Repeater" there is no problem
:|

when everything is working fine (not connected to "Repeater")
1)when tray select (close VNC connections)

Code: Select all

.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Thu Nov 20 11:13:41 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Thu Nov 20 11:13:46 2014
.\vncmenu.cpp : KillAuthClients() ID_CLOSE 
.\vncserver.cpp : KillAuthClients() done
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Thu Nov 20 11:13:48 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : KillUnauthClients() done
.\vncserver.cpp : ~server m_pDSMPlugin = NULL 
2) when in system tray on icon winvnc right mouse button select (stop service)

Code: Select all

.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncserver.cpp : AutoConnectRetry(): started
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
.\vncserver.cpp : Attempting AutoReconnect....
.\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : **.**.**.** (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK
.\vncserver.cpp : removing unauthorised client
 --Удаленный хост принудительно разорвал существующее подключение.
.\vncserver.cpp : RemoveClient() done
Thu Nov 20 11:14:45 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Thu Nov 20 11:14:47 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : KillUnauthClients() done
.\vncserver.cpp : ~server m_pDSMPlugin = NULL 
edit (**.**.**.** = IP repeater)

You can add detailed log to Repeater ?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

http://www.uvnc.eu/download/1205/ultrav ... _test3.zip

Only could repeat a
*while connected with the viewer, stop service -> deadlock*

POssible your issue has the same cause, please check if this behave better.

Also, this test force XP to use the getpixel method for capturing screendata, without using the benchmark.
brands..... can you check if this is faster on XP
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

test: ultravnc_1205_test3
1) when winvnc.exe work as service (connect to Repeater)
when tray select (close VNC connections) the icon is missing and not restored again.

Code: Select all

Fri Nov 21 09:26:57 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:27:02 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:27:07 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
Fri Nov 21 09:27:08 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:27:10 2014
.\vncmenu.cpp : KillAuthClients() ID_CLOSE 
.\vncserver.cpp : KillAuthClients() done
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Fri Nov 21 09:27:12 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
2) when in system tray on icon winvnc right mouse button select (stop service)
icon winvnc in system tray is missing but in Task Manager (i use Process Explorer) procces "winvnc" still stay (in tree of processes of "explorer.exe")

Code: Select all

Fri Nov 21 09:31:13 2014
.\vncserver.cpp : authhosts set to ""
.\vncproperties.cpp : ***** DBG - Load User Preferences
.\vncproperties.cpp : clearing user settings
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
.\vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --Не удается найти указанный файл.
.\vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
.\vncserver.cpp : DSMPlugin Params OK
l:\ultravnc_installer_win2000\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
.\vncmenu.cpp : ########### Shell_TrayWnd found 0
 --Не удается найти указанный файл.
.\vncmenu.cpp : IsIconSet 
.\winvnc.cpp : PostAddNewClient IIIII
.\vncserver.cpp : AutoConnectRetry(): started
.\vncserver.cpp : Attempting AutoReconnect....
.\vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
.\vncserver.cpp : AddClient() started
.\vncclient.cpp : vncClient() executing...
.\vncclient.cpp : TEST 4
.\vncserver.cpp : AddClient() done
.\vncclient.cpp : client connected : **.**.**.** (1)
.\vncclient.cpp : DSMPlugin Pointer to socket OK
Fri Nov 21 09:31:18 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:23 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:28 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:33 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:38 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:43 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:48 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 09:31:53 2014
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ########### Shell_TrayWnd found 1
.\winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
.\vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
.\vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
.\vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
.\vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Fri Nov 21 09:31:55 2014
.\vncmenu.cpp : quitting from WM_DESTROY
.\vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
.\vncmenu.cpp : vncmenu killed
.\winvnc.cpp : ################## Closing Imp Thread
.\winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
.\vncserver.cpp : shutting down server object1
.\vncserver.cpp : KillAuthClients() done
.\vncserver.cpp : killing unauth client
.\vncclient.cpp : client Kill() called.\vsocket.cpp : closing socket
.\vncserver.cpp : KillUnauthClients() done
.\vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
edit (**.**.**.**) my repeater
Last edited by Nick_od on 2014-11-21 09:21, edited 1 time in total.
Nick_od
40
40
Posts: 80
Joined: 2013-09-04 06:42

Re: 1.2.0.5 (update December )

Post by Nick_od »

test 1.2.0.1 (old version)
1) when winvnc.exe work as service (connect to Repeater)
when tray select (close VNC connections) all work OK

Code: Select all

Fri Nov 21 11:06:06 2014
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --Не удается найти указанный файл.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : ########### Shell_TrayWnd found 0
 --Не удается найти указанный файл.
vncmenu.cpp : IsIconSet 
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : AddClient() started
vncclient.cpp : vncClient() executing...
vncclient.cpp : TEST 4
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : **.**.**.** (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
Fri Nov 21 11:06:11 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 11:06:16 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 11:06:20 2014
vncmenu.cpp : KillAuthClients() ID_CLOSE 
vncserver.cpp : KillAuthClients() done
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Fri Nov 21 11:06:22 2014
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ****************** Kill SDTimer
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
vncserver.cpp : shutting down server object1
vncserver.cpp : KillAuthClients() done
vncserver.cpp : killing unauth client
vncclient.cpp : client Kill() calledvsocket.cpp : closing socket
vncserver.cpp : KillUnauthClients() done
vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
vncserver.cpp : removing unauthorised client
vncserver.cpp : RemoveClient() done
vncclient.cpp : PostAddNewClient I
vncservice.cpp : PostAddNewClient failed
vncclient.cpp : ~vncClient() executing...
vncserver.cpp : ~server m_pDSMPlugin = NULL 
vncclient.cpp : deleting socket
2) when in system tray on icon winvnc right mouse button select (stop service) all work OK

Code: Select all

Fri Nov 21 11:12:30 2014
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin Enabled - Call SetDSMPlugin() 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Entry 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Enabled 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin NOT loaded - Try to load it 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Plugin successfully loaded 
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - Init plugin call 
 --Не удается найти указанный файл.
vncserver.cpp : $$$$$$$$$$ SetDSMPlugin - SetPluginParams call 
vncserver.cpp : DSMPlugin Params OK
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncmenu.cpp : ########### Shell_TrayWnd found 0
 --Не удается найти указанный файл.
vncmenu.cpp : IsIconSet 
winvnc.cpp : PostAddNewClient IIIII
vncserver.cpp : AutoConnectRetry(): started
vncserver.cpp : Attempting AutoReconnect....
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : AddClient() started
vncclient.cpp : vncClient() executing...
vncclient.cpp : TEST 4
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : **.**.**.** (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
Fri Nov 21 11:12:35 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 11:12:40 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 11:12:45 2014
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ############### Usernames change: old="Администратор", new="Администратор"
Fri Nov 21 11:12:50 2014
winvnc.cpp : ****************** WaitForSingleObject - Shutdown server
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - UserNAme found: Администратор 
 --Протекает наложенное событие ввода/вывода.
vncmenu.cpp : ########### Shell_TrayWnd found 1
vncmenu.cpp : vncMenu::Shutdown: Close menu - Disconnect all - Shutdown server
vncmenu.cpp : vncMenu WM_CLOSE call - All cleanup done
Fri Nov 21 11:12:52 2014
vncmenu.cpp : quitting from WM_DESTROY
vncserver.cpp : KillAuthClients() done
 --Недопустимый дескриптор окна.
vncmenu.cpp : vncmenu killed
winvnc.cpp : ################## Closing Imp Thread
winvnc.cpp : ****************** Kill SDTimer
winvnc.cpp : ################## SHUTING DOWN SERVER ####################
 --Попытка освободить не принадлежащий процессу объект синхронизации.
vncserver.cpp : shutting down server object1
vncserver.cpp : KillAuthClients() done
vncserver.cpp : killing unauth client
vncclient.cpp : client Kill() calledvsocket.cpp : closing socket
vncserver.cpp : KillUnauthClients() done
vsocket.cpp : socket error 1: 10004
 --Операция блокирования прервана вызовом WSACancelBlockingCall.
vncserver.cpp : removing unauthorised client
vncserver.cpp : RemoveClient() done
vncclient.cpp : PostAddNewClient I
vncservice.cpp : PostAddNewClient failed
vncclient.cpp : ~vncClient() executing...
vncserver.cpp : ~server m_pDSMPlugin = NULL 
vncclient.cpp : deleting socket
on version 1.2.0.1 (all work normal)
problem start on version 1.2.0.2

edit (**.**.**.**) my repeater
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

Please retest.
It's hard to fix if i can't repeat it... possible it wasn't a deadlock but a crash.
Effeft the same winvnc.exe locked and need to be killed to clear.

Found and removed 4sec High cpu on lower cpu systems when in minimzed mode

download ( w2k 32bit bins, works on all OS's)

http://www.uvnc.eu/download/1205/ultrav ... _test4.zip
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Hi Rudi,
Thanks for the update, I'm running a series of tests now

The thing I don't understand is why the explorer process becomes so busy when the server is active?!?!

I'm testing on WinXPSP3 on 1152x864x32 (no monitor attached). Line speed is 20Mbits, the connection type auto and all parameters are default (excepting encryption and MaxCPU)

The situation I'm witnessing is WinVNC at approx 20% (the MaxCPU value) and the Explorer process consuming the rest of the CPU. The screen updates were quite snappy to start with but a few minutes in it lags like crazy. Also, I note that there's no 'frame-skip'; I'm seeing every window draw in slow-motion, to the point where I'm noticing dialog drawing I've never seen before (because ordinarily it renders in milliseconds)

I'm taking grabs of process CPU/Mem/IO for WinVNC and Explorer (on server) and VncViewer (on client) under various combinations of conditions. Each pic is labelled appropriately

Shall I post these pics by email or should I try squeezing them in here (I ordinarily object to overly-long posts!)?
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

The viewer no longer spikes with CPU or IO anymore which is great. Nice work
Unfortunately I have another entirely replicable scenario which produces unexpected behaviour

1) Set the server to timeout on an idle connection
2) Ensure your viewer is set to x3 reconnection attempts and 3 (seconds?) timeout
3) Connect to server and minimise the viewer window

When the server times out, a reconnect window appears (requesting password). Enter the password if you like or wait a while, as i did (I was busy saving screen-shots). As soon as I enter the password, I'm asked for it again (did the server timeout twice?!?!)

Now the server consumes 60+% and explorer the remaining 20+. However, this situation does not persist for very long, Eventually, things settle back down to 20% server and 20% explorer. WTF?

Would everyone agree that if the server kicks you for inactivity, the reconnect preference of the viewer should NOT be respected because the implication of "reconnect" is for line-drops and other network failures, not legitimate server behaviour?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

One trick i used in the past on XP was to set hardware acceleration slider to none, this has no use with a remote vnc display.
To adjust hardware acceleration settings (Windows XP)
1.Right-click an empty space on the desktop, and then click Properties.
2.On the Settings tab, click Advanced.
3.Click the Troubleshoot tab.
4.Under Hardware Acceleration, change the acceleration setting to Basic accelerator functions. In Windows XP, this is the second marker from the left. Do not set the acceleration to None.
5.Click Apply, and then click OK.
6.Click OK in the Display Properties window.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

high explorer.exe

poll properties
The vnchook hook into other processes, if used disable

possible other solution
1) Open C:Windows/Temp
2) Delete all the data
3) Open task manager
4) Terminate explorer.exe
5) Start a new explorer.exe

another one
mapped drive and vnc is using all network

virus checker
If one running temp disable to see if this change cpu

You can also check... reboot in save mode
This is a ultravnc option
In save mode only the OS and vnc is started, possible some other software interact with vnc

What happen when you kill explorer.exe and start a new one via the run option of the taskmgr
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: 1.2.0.5 (update December )

Post by Rudi De Vos »

What network are you using ? Wifi

Use a fix encoder for testing, if measured bandwidth switch, the encoder also swicth.
This cause full screen updates and resend. Some Wifi routers behave bad and network speed swicth between 3-56MB
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Hi Rudi,
Thanks for all your testing advice. I must say that the Explorer CPU usage was never present in previous versions (I will test with a previous build to be sure, 1196 was the most recent and relatively stable version). I've also been experimenting with TightVNC, which does not produce any additional usage from Explorer under identical conditions

I'm not sure I understand your advice about the vnchooks.dll. Are you suggesting the module is being loaded by Explorer? I can confirm it is not in the list. Thus do you want me to run a test without vnchooks present?

As for network reliability, I'm a veteran of UVNC wifi vs LAN testing both direct and reverse; I would be able to tell if the encoding was dynamically changing, unless you've modified the selection logic recently? In this instance the client is wireless, the server is wired. I will use a fixed encoder from now on (u2, copyrect, no zip, jpg q 2)

----

%TEMP% cleared, terminated and restarted explorer, as instructed. No change (initial spike on restart expected, but soon settles to previous values). The thread using all the CPU time is shlwapi.dll!Ordinal505+0x37a (Priority:Above Normal)

Not using mapped drives or anti-virus (I use Peerblock). More testing on the way!
plants
20
20
Posts: 36
Joined: 2013-03-28 21:50

Re: 1.2.0.5 (update December )

Post by plants »

Good news of a sort...
I was able to eliminate explorer CPU usage by disabling the "use system hook" setting (EnableHook=0)

The high CPU that I've seen throughout these tests is caused by the presence of the task manager window (I use Process Hacker 2). It shows a typical combination of text and graphical displays that update every second. Minimising it drops CPU usage to 0-2% (from 60-80%). Perhaps the way it draws its contents is particularly expensive to render? Normal Windows Task Manager produces a 30%-50% CPU use

Switching back to 1196, winvnc.exe has similarly high CPU usage when looking at the same process listing, but this time with hook on or off, explorer doesn't get hot under the collar. Perhaps 1196 didn't make use of the vnchooks.dll or schook.dll?

BTW: I'm using MaxCPU=100 for now
Locked