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

Turbomode

Post Reply
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Turbomode

Post by Prisma »

Hello Rudi,

I know you answered a similar question a few months ago, but your explanation wasn't enough for me to understand what's going on exactly. Sorry for that, my fault.

When setting turbomode=1, what happens then? What are the advantages and what are the disadvantages? Background is, since using 1.1.9.3 we have polling problems with cmd.exe windows and windows using Delphi7 data grids and we hope to fix that problem with setting turbomode=1 without having new disadvantages. Turbomode has nothing to with screen display quality, has it?

(And, do you already know a release date for 1.1.9.5?)

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

Re: Turbomode

Post by Rudi De Vos »

Turbomode:
Screen scanning create a grid of 8x8, each run you only scan 1 pixel of the 8x8 and move the toscan pixel one spot.
It's a little faster as you don't have to compare all pixels, but very small changes are no always detected in one run.
For Vista >= the advantage is less as the engine doesn't capture individual pixels but capture the whole screen in the compare run.

1.1.9.5:
There are problems reported that on some systems iexplorer crash and other nasty stuff happen with versions older the 1.1.0
I'm trying to find the cause first before moving to 1.1.9.5.
https://forum.ultravnc.net/viewtopic.php?f=68&t=30551
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Turbomode

Post by Prisma »

Rudi De Vos wrote:For Vista >= the advantage is less as the engine doesn't capture individual pixels but capture the whole screen in the compare run.
I'm getting grey hair...
Our problems only appear win7+and since winvnc.exe Win8 optimization. This means, setting turbomode=1 will achieve nothing. Particularly the cmd- and Datagrid problems were about big changes and not about small changes not being recognized.

See also:
https://forum.ultravnc.net/viewtopic.php?f=68&t=30339
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Turbomode

Post by Rudi De Vos »

win7 with or without aero ?
without win7 behave as XP and require the alpha blending
In the latest test version 1.1.9.5, this settings are now automated.
The turbo mode and datagrid exist already for a long time 1.0.x

What's the actual problem .
Updates missing
manual update required
Do you have fast moving data on the screen ( like text scrolling)

Bugs and other seems always to manifest themself in specific conditions,
but never plain on my pc. It's just a hell to repeat them.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Turbomode

Post by Prisma »

Rudi De Vos wrote:datagrid exist already for a long time 1.0.x
Attention, I think it's a misunderstanding. I'm talking about a table-like view of data, called data grid. It's a Delphi library component, like a excel sheet. Changes within this grid aren't painted. A horror. But anyway... I understand what you mean.

These are the settings regarding capture and screen settings:

Code: Select all

[admin]
..
CaptureAlphaBlending=1
RemoveWallpaper=1
...
[poll]
TurboMode=0
PollFullScreen=1
EnableHook=1
It seems that aero is never disabled by our settings. But capturing alphablending is always enabled. Maybe in this conjunction these problems appear?
The actual problem on win7 is exactly:

* cmd.exe windows have to be refreshed manually (pushing the button)
* while scrolling through our data grid: The grid is only partiality refreshed in the row the cursor blinks. All other cells or better rows have to be refreshed manually (by pushing the button)

These problems appear on some Win7 machines, but not always. So I do not expect you to be able to reproduce this problem. My only hope was the "magic switch" turbo mode. But it won't help, I guess...
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Turbomode

Post by Rudi De Vos »

datagrid... we also use a datagrid as part of the capture system :), that's confusing.

You mean scrolling text in a cmd window like a "ping -t" ... this is something i could repeat
and easy to add in the test we do.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Turbomode

Post by Prisma »

cmd: Exactly. Or typing a command and hitting ENTER doesn't show you the stdout and new prompt. Only after manually refreshing the screen. To add this in the tests would absolutely make sense, first and foremost because it's easy to implement. But as I said, I don't expect somebody to be able to reproduce this. Possibly your test machines are able to bring some light in our darkness.

Are there many different physical hardware setups among your test machines, or are these only virtual VMs?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: Turbomode

Post by Rudi De Vos »

Some clue could be

*A cmd window text change can only be detected via pure polling
( no system messages are generated to give the hookdll hints)
*Hookdll messages have priority to polling

Suppose you have many messages from the hookdll, then the polling is postponed
until a free message cycle...

If this is the case, disabling the hookdll would improve the polling speed.

First need to fix some other bug...then i will take a look at this
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Turbomode

Post by Prisma »

Possibly our data grid problem (meaning table-like view) is also explainable with your information. I don't know exactly, but possibly delphi7 library components (it's a very very old Borland Delphi) use a painting method that also isn't detectable by pure polling ??? What methods could that be?

No problem Rudi, always step-by-step. Thanx for having a look at it.
Prisma
100
100
Posts: 320
Joined: 2005-10-27 15:50

Re: Turbomode

Post by Prisma »

To give a short positive feedback: With 1.1.9.6 our refresh problems are better. The first time since win8 changes the things are getting better and not worse (for us, don't misunderstand it please. We really really appreciate your work). We have a reference server (at customers side) were we normally have to refresh the screen manually. Refresh problems are already there with 1.1.9.6, but much more better. Some changes are recognized after up to 6 seconds, but they are recognized.

Should the viewer also be updated?
Post Reply