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 core use on W8.1 when viewer is minimized

Post Reply
LRN
8
8
Posts: 21
Joined: 2014-04-16 23:54

100% CPU core use on W8.1 when viewer is minimized

Post by LRN »

Affects i686 and x86_64 servers.

Problem:
winvnc.exe consumes 100% of one CPU core.
  • Install UltraVNC 1.2.0.5 on a Windows 8.1 machine (i686 or x86_64)
  • Install w8hook.
  • Connect to the server with UltraVNC viewer 1.2.x.x (only tested with x86_64 viewer).
  • Observe minimal CPU usage by the server.
  • Minimize the viewer window.
  • Observe 100% CPU usage by the server.
Only affects a server that uses w8hook. Removing w8hook prevents this issue from happening, but increases load on the server (both winvnc.exe and dwm.exe) when viewer window is *not* minimized.
VNC settings don't seem to have any effect (the ones in "Properties").

Tightvnc viewer does not cause this behaviour. ssvnc viewer does not cause this behaviour either.

Log file on the server shows nothing unusual on the server side.
LRN
8
8
Posts: 21
Joined: 2014-04-16 23:54

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by LRN »

Anything else you need? I can produce stack traces, if you give me debug symbols (well, ProcessHacker's stack traces for VS debug symbols; gdb stack traces for MinGW debug symbols). Or maybe create a special version of winvnc.exe with profiling information, so that i can profile it and see where it spends most of its time. Or maybe there's a special loglevel to enable to see what's going on.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by Rudi De Vos »

issue found and corrected in source
LRN
8
8
Posts: 21
Joined: 2014-04-16 23:54

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by LRN »

When should i expect the next release that would have this fix in it?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by Rudi De Vos »

http://www.uvnc.eu/download/1206/winvnc_test.zip

min OS vista
32/64 exe winvnc.exe
changes
-fix 2xl initial screen send
-fix 100% cpu minimized w8hook on win8>=
-fix 5s timeout with multiple viewer connections

replace winvnc.exe to test
LRN
8
8
Posts: 21
Joined: 2014-04-16 23:54

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by LRN »

Tested it. I can confirm that the bug is fixed in this build.
Philip N
Posts: 1
Joined: 2015-05-04 13:16

Re: 100% CPU core use on W8.1 when viewer is minimized

Post by Philip N »

Tested here also on 3 machines running W2012R2 - this update has fixed the 100% CPU issue.
Post Reply