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

SC 2013 source code

Single Click discussions / bugs
Post Reply
mathiax90
Posts: 1
Joined: 2013-06-17 05:02

SC 2013 source code

Post by mathiax90 »

sorry for my english. Could I get SC 2013 latest source code.
I have a lot of problems with SC, so I think it's better to read the source code.
there is a lot information about SC, but it's out of date, links a not available.
David4
8
8
Posts: 24
Joined: 2010-08-11 15:13

Re: SC 2013 source code

Post by David4 »

I tried to download the SC-Source but the link
http://www.uvnc.eu/download/Z_SC_2013.zip
isn't working. What's the right URL?

And another question: with SC, the mouse cursor on the host is flickering annoyingly. With normal Ultra-VNC the cursor keeps calm. I didn't find the location in the source (2011), where it can be fixed. Do you have an idea?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: SC 2013 source code

Post by Rudi De Vos »

Links is OK, when you click on it the download the zip ?

Cursor flicker when you capture alpha blending, the merging of the layers cause it.
You can disable that SC auto capture alpha blending, but without you don't see semi transparent
desktop parts.
You can also force the pixel capture instead of the bitblt ( used for polling), less flicker, but slow on many win7>= systems.
David4
8
8
Posts: 24
Joined: 2010-08-11 15:13

Re: SC 2013 source code

Post by David4 »

Rudi De Vos wrote:Links is OK, when you click on it the download the zip ?
Yes, thank you.
Cursor flicker when you capture alpha blending, the merging of the layers cause it.
You can disable that SC auto capture alpha blending, but without you don't see semi transparent
desktop parts.
It seems, there must be another reason, because: when I enable/disable the alpha blending options in the "normal" Ultra VNC/Admin Options, there's never any flickering.
(Testing with XP and also couldn't see any effect for transparent parts).

It will take a while until I can build the new .exe myself. I had to realize, that I have to reinstall Visual Studio (and complete/configure it :-( ) and to find the CD first...
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: SC 2013 source code

Post by Rudi De Vos »

There are 2 ways the screen image is scanned/captured
1) get some pixel value's and compare and if pixel differ bitblt the image for capture
2) bitblit the image and use it for compare and capture

On older systems 1) is faster on newer 2) is faster.
We benchmark it on startup and use the fastest method.

Drawback of 2) is the flasing of the curson on the server.
The newer OS's doesn't have the falshing issue ( Vista>=)
Using XP on a fast PC -> method2 -> flash
David4
8
8
Posts: 24
Joined: 2010-08-11 15:13

Re: SC 2013 source code

Post by David4 »

Sorry but I didn't understand, why only SC has this cursor-issue and not the normal version?!? The latter doesn't act slower, independent of any settings and the cursor is calm.
Already last year I searched through the code and compared the versions but without success. What is the critical section, that could be changed?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: SC 2013 source code

Post by Rudi De Vos »

I'm try again, perhaps someone else explained it better
http://social.msdn.microsoft.com/Forums ... r-to-blink
CAPTUREBLT=capture alpha blending
or
http://stackoverflow.com/questions/1229 ... -on-bitblt

This is exact the same for the full and SC version if you run it on the same hardware and OS
with the same capture method ( mirror driver/alpha blending on/off)

Search for benchmark in code and force it to use the pixel method.... then the cursor only blink on capture
but not 4/s while scanning.
David4
8
8
Posts: 24
Joined: 2010-08-11 15:13

Re: SC 2013 source code

Post by David4 »

Rudi De Vos wrote:This is exact the same for the full and SC version if you run it on the same hardware and OS
with the same capture method ( mirror driver/alpha blending on/off)
But it looks definitely different!
Even when there's no screen change(!), the mouse is flickering permanently - only in SC.

In full version: without Alpha-Blending nothing flickers at all. When it is enabled there's only a short(!) flicker, when the screen changes.

I've installed no driver, only copied and started winvnc.exe. I can't make out differences in the startup benchmark source in SC or full version. There must be a difference somewhere else in the source... Thanks for your explanations.
Post Reply