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

100% cpu on windows xp

Post Reply
kissson
20
20
Posts: 33
Joined: 2006-06-12 08:52

100% cpu on windows xp

Post by kissson »

windows xp sp3 32 bit (virtualbox 4.3 single core )
uvnc 1.2.11
installed as service
using reverse connect to viewer
it does connect and connected, only problem is 100% cpu

my UltraVNC.ini
[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\XXX\AppData\UvncX32
kickrdp=0
service_commandline=-autoreconnect -connect 1.2.3.4::59002
DebugLevel=10
DisableTrayIcon=1
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=1
AuthRequired=1
ConnectPriority=0
DSMPlugin=No Plugin Detected
AuthHosts=
AllowShutdown=0
AllowProperties=0
AllowEditClients=0
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=0
DefaultScale=1
SocketConnect=0
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=0
QuerySetting=1
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0
primary=1
secondary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=1
clearconsole=0
accept_reject_mesg=
KeepAliveInterval=5
rdpmode=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=40
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: 100% cpu on windows xp

Post by Rudi De Vos »

100% cpu while connected or always.
Does taskmgr give 100% cpu for winvnc.exe ???

MAxcpu is set to 40.
This mean that uvnc slowdown his update cycle if winvnc.exe use more then 40% of the cpu

If you are using the systemhook ( vnchook.dll) try to disable it, possible this interact with some other applications.
EnableHook=1 -> 0 or via the gui.

Via the viewer you select the encoder used by the server.
While running, press the info button to see the encoder that's actual used, the auto mode doesn't take the cpu in account.

high cpu ( zrle tight zlib xz xzyw) low bandwidth
low cpu (hextile) higher bandwidth
u2 ( jpeg compression) low cpu and bandwidth, but jpeg give artifacts lossy compression

start the veiwer, normal mode
options-> auto mode off and select manual an encoder.
[v]save connection settings as default
Once set, defaults are used for invers and normal connections.
kissson
20
20
Posts: 33
Joined: 2006-06-12 08:52

Re: 100% cpu on windows xp

Post by kissson »

EnableHook=1 -> 0 or via the gui helps , thanks

while EnableHook=1 , after connected, I can see both csrss.exe and taskmgr.exe sum up to 100% in task manager and cause taskmgr.exe memory leaking, until hundreds of MB of memory of taskmgr.exe I kill it, system still unresponsive then it conclude csrss is the source

is it winvnc with enablehook trying to write hugh amout of data to stdout or stderr cause csrss high cpu?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: 100% cpu on windows xp

Post by Rudi De Vos »

A hook inject himself in all running processes and capture window message that interact with the gui. ( like menu positions)
This data is used to give vnc hints about the changed screen positions.

In 99,9% of the cases this works...when it don't it's because another app is incompatible with the hook.
Unit_1000
Posts: 6
Joined: 2016-06-22 06:55

Re: 100% cpu on windows xp

Post by Unit_1000 »

I have 2 Win XP machines that are having this 100% CPU with UVNC SERVER when connected. Using `1.2.15

Tried everything suggested in this thread. Nothing changed it a bit. Changing color depth, scaling, compression. Nothing helped.

Anyone have a fix for this?
Thanks,
Rob
khaims
Posts: 2
Joined: 2017-12-12 02:44

Re: 100% cpu on windows xp

Post by khaims »

Hello All,

I have an issue to install the ultra VNC 1.2.1.2. The cpu usage hit 100% and there is an error
Image
few times install also stumble to the same problem

the PC spec is like below
CPU : Intel® Pentium® III CPU 1266MJz 1.27GHz
RAM: 512MB
OS: Windows XP SP3
HDD: 80GB

thank you
Post Reply