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

[fixed] 1.0.9.5.1 beta] Initial black rectangle

Post Reply
User avatar
Dreamy
8
8
Posts: 23
Joined: 2010-10-01 18:02
Location: Slovakia - Bratislava

[fixed] 1.0.9.5.1 beta] Initial black rectangle

Post by Dreamy »

Hello,


please, why UltraVNC, unlike other VNC servers, sends initial black full screen size rectangle? For example I would like to get only 100x100 pixels from [0,0], in raw encoding. I send regular FramebufferUpdateRequest for 0 0 100 100, and what I get? Black fullscreen rectangle.

[mod=494,1291734673]added to title \"[fixed 1.0.9.5.1 beta]\"[/mod]
Last edited by Dreamy on 2011-01-25 22:29, edited 3 times in total.
User avatar
Dreamy
8
8
Posts: 23
Joined: 2010-10-01 18:02
Location: Slovakia - Bratislava

Re: Initial black rectangle

Post by Dreamy »

And it's the same thing when I try serverside scale.

Example for 800x600 screen:
-> 0F040000 (scale 1/4)
-> 03000000000000C80096 (get whole new screen)
<- 0F000320025800C80096D201 (reply about successfull scale change)
<- 00FD0001 (yeah, got one new rect)
<- 000000000320025800000000 (why? why 800x600??? i never even asked for 800x600!)
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Initial black rectangle

Post by redge »

if i'm not wrong and if related...

i remember is a flash screen for alert remote user there is someone connected to his computer.

advantig has made a patch to vncviewer but never been include in the public code
vncviewer /noflash

otherwise maybe priority and missing file like schook.dll and/or vnchooks.dll
look at ultravnc.ini aka GUI winvnc properties (not admin properties)
[poll]
TurboMode=0
PollUnderCursor=0
PollForeground=0 <-- check this line
PollFullScreen=1 <--- check this line
OnlyPollConsole=0
OnlyPollOnEvent=0
MaxCpu=100
EnableDriver=0
EnableHook=0
EnableVirtual=0
SingleWindow=0
SingleWindowName=
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
User avatar
Dreamy
8
8
Posts: 23
Joined: 2010-10-01 18:02
Location: Slovakia - Bratislava

Re: Initial black rectangle

Post by Dreamy »

Thanks much for reply.

b) didn't help at all, still sends fullscreen, raw, black, rect.

Code: Select all

-> Scale 1/8: 0F080000
-> FramebufferUpdateRequest: 03000000000000C80096
<- Scale reply: 0F00032002580064004BC101
<- FramebufferUpdate: 00FD0001
<- Head: 000000000320025800000000 <----- 800x600 black raw

a) can you give me some more info? what patch? viewer? not server?
Last edited by Dreamy on 2010-10-13 19:31, edited 1 time in total.
User avatar
Dreamy
8
8
Posts: 23
Joined: 2010-10-01 18:02
Location: Slovakia - Bratislava

Re: Initial black rectangle

Post by Dreamy »

Please, anyone who can tell why UltraVNC sends black rectangle at the beginning of connection?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Initial black rectangle

Post by redge »

did you try new uvnc 1.0.9.3.3 or higher for see same bug ?
[topic=26860][/topic]
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Initial black rectangle

Post by redge »

confirmed, initial full screen black rectangle still exist on uvnc 1.0.9.3.3 and 1.0.9.4 and 1.0.9.5 :-/
Last edited by redge on 2010-12-05 22:47, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Initial black rectangle

Post by redge »

antilopa

could you try, please, uvnc 1.0.9.6 beta
there a fix for initial black rectangle
Rudi De Vos wrote:* initial black screen
-First balck screen is normal, this is just the viewer that open and until
data is received this is a black screen...
-Second black screen, bug, server send a black screen.
waiting your feedback:
[topic=27038][/topic]
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
User avatar
Dreamy
8
8
Posts: 23
Joined: 2010-10-01 18:02
Location: Slovakia - Bratislava

Re: Initial black rectangle

Post by Dreamy »

It's working perfectly, thanks!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: [bug fixed 1.0.9.6beta] Initial black rectangle

Post by redge »

antilopa wrote:winvnc.exe sends black rectangle:
When I don't send SetScale before FramebufferUpdateRequest, initial black rectangle is not sent.
When I do (and I need to), it is sent
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: [fixed 1.0.9.5.1 beta] Initial black rectangle

Post by redge »

definitively fixed, confirmed by antilopa
fixed 1.0.9.5.1 beta
Last edited by redge on 2011-01-25 22:27, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply