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

UltraVNC 1.2.2.1 - Download links

Post Reply
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Code: Select all

m_desktop->m_bFirstInit = false;
		                    m_desktop->m_buffer.BlackBack();
m_buffer.BlackBack() ->>>
This function erase the viewer copy, forcing a full screen resend
On slower networks, a full resend depending on the encoder can take a few seconds
Is this needed to fix artifacts ?
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

I added it to get the initial screen correctly with:

Code: Select all

 m_server->SetBufferOffset(m_desktop->m_SWOffsetx,m_desktop->m_SWOffsety);
With latest code, the Initial screen Comes, but the wrong one, because the SetBufferOffset is not called after SetBitmapRectOffsetAndClipRect. Do you have an idea where I could do that, instead of handle_display_change?

I didn't know anywhere else to do it.

but, to answer the question, yes, otherwise it only Shows bits and pieces (updates/artifacts).

As for the mouse, yes, figured you would add the yy :D
Last edited by Chrispy on 2018-08-03 07:54, edited 3 times in total.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Ok, so all that is working, updates and mouse, all on the correct monitor.

My biggest problem now is updates to client. On the server, the updates come sparatic, just like one would expect, but the client only seems to get updates every second.

I added some times for debug logging. Here it takes 3140 seconds before sending updates.

Code: Select all

2018-08-03 11:48:49.671                           DesktopWndProc Message 32780
2018-08-03 11:48:49.671 vncDesktopThread::copy_bitmaps_to_buffer   15 REct1 2168 994 24 30
2018-08-03 11:48:49.672                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:49.687                           DesktopWndProc Message 32780
2018-08-03 11:48:49.705 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 90 185 784 541
2018-08-03 11:48:49.706                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:49.737                           DesktopWndProc Message 275
2018-08-03 11:48:50.672                           DesktopWndProc Message 32780
2018-08-03 11:48:50.672 vncDesktopThread::copy_bitmaps_to_buffer  968 REct1 291 280 40 16
2018-08-03 11:48:50.672                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:50.688                           DesktopWndProc Message 32780
2018-08-03 11:48:50.705                           DesktopWndProc Message 32780
2018-08-03 11:48:50.707 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 2510 628 19 283
2018-08-03 11:48:50.707 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2264 994 24 30
2018-08-03 11:48:50.707 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2168 994 24 30
2018-08-03 11:48:50.707                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:50.721                           DesktopWndProc Message 32780
2018-08-03 11:48:50.723 vncDesktopThread::copy_bitmaps_to_buffer   15 REct1 90 185 589 541
2018-08-03 11:48:50.723 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 696 185 62 22
2018-08-03 11:48:50.723 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 775 185 62 22
2018-08-03 11:48:50.723 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 854 185 20 22
2018-08-03 11:48:50.723                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:50.733                           DesktopWndProc Message 275
2018-08-03 11:48:50.741                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:50.838                           DesktopWndProc Message 32780
2018-08-03 11:48:50.838 vncDesktopThread::copy_bitmaps_to_buffer  110 REct1 2120 994 24 30
2018-08-03 11:48:50.839                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:51.723                           DesktopWndProc Message 32780
2018-08-03 11:48:51.723 vncDesktopThread::copy_bitmaps_to_buffer  890 REct1 291 248 40 16
2018-08-03 11:48:51.723 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 291 280 40 16
2018-08-03 11:48:51.724                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:51.735                           DesktopWndProc Message 275
2018-08-03 11:48:51.737                           DesktopWndProc Message 32780
2018-08-03 11:48:51.757 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 2510 628 19 283
2018-08-03 11:48:51.757                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:51.771                           DesktopWndProc Message 32780
2018-08-03 11:48:51.771 vncDesktopThread::copy_bitmaps_to_buffer   15 REct1 2168 994 24 30
2018-08-03 11:48:51.771                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:51.787                           DesktopWndProc Message 32780
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 291 208 200 2
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 90 210 465 516
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 380 185 62 22
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 459 185 62 22
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 538 185 62 22
2018-08-03 11:48:51.806 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 617 185 257 22
2018-08-03 11:48:51.806                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:52.737                           DesktopWndProc Message 275
2018-08-03 11:48:52.772                           DesktopWndProc Message 32780
2018-08-03 11:48:52.773 vncDesktopThread::copy_bitmaps_to_buffer  969 REct1 291 248 40 48
2018-08-03 11:48:52.773 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 291 328 40 16
2018-08-03 11:48:52.774                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:52.786                           DesktopWndProc Message 32780
2018-08-03 11:48:52.806 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 2510 628 19 283
2018-08-03 11:48:52.806                  vncClient::UpdateWanted UpdateWanted 1 1 1 1
2018-08-03 11:48:52.806    vncClientUpdateThread::run_undetached SendUpdate 3140
2018-08-03 11:48:52.808                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-03 11:48:52.808                  vncClient::NotifyUpdate 3156
Another problem, is the dirty rects from ddengine are way too big.

Do you know why it takes so long, and why they aren't sent out right away?
Last edited by Chrispy on 2018-08-03 12:04, edited 6 times in total.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

ok, found a better place to correct initial update wrong screen.

in vncdesktopthread.cpp run_undetached before while Loop.

Code: Select all

rgncache = m_desktop->m_Cliprect;
m_server->SetScreenOffset(m_desktop->m_ScreenOffsetx,m_desktop->m_ScreenOffsety,m_desktop->nr_monitors);
m_server->SetBufferOffset(m_desktop->m_SWOffsetx, m_desktop->m_SWOffsety); //added for Initial Offsets
so, the code added to handle_display_change are not needed.

Code: Select all

if( ... || m_desktop->m_bFirstInit)
{
...
m_desktop->m_bFirstInit = false;
m_desktop->m_buffer.BlackBack();
}
which means m_bFirstInit is not needed at all.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

r1141: Fixed bugs in three monitor display using ddengine, now working with 4 modes primary, secondary, third, all. Commented out FIRST_TWO and LAST_TWO because they caused exception in viewer (on todo list).

Rudi can you compile releases and make available for testing 2 and 3 monitor?

Can someone test 2 and 3 monitors on win 7 and win 10?
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Compiling...

Need to check some change i made. Possible it was only for testing because the update trigger is now disabled.
vncDesktop::TriggerUpdate()
is now empty.
//SetEvent(trigger_events[0]);

This call vncdekstopthread.cpp
vncDesktopThread::run_undetached(void *arg)
...
WaitForMultipleObjects(6,m_desktop->trigger_events,FALSE,waittime);
...
case WAIT_OBJECT_0: {
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Yes, I saw that.

Ok, will comment back in and test.

Seems to make it worse, now 6-15 seconds between sendupdates. (ok, this is my three monitor computer 3 x 1920x1080)

Code: Select all

2018-08-04 10:48:42.317                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.321                           DesktopWndProc Message 32780
2018-08-04 10:48:42.334                           DesktopWndProc Message 32780
2018-08-04 10:48:42.336                           DesktopWndProc Message 32779
2018-08-04 10:48:42.354                           DesktopWndProc Message 32780
2018-08-04 10:48:42.354                           DesktopWndProc Message 32779
2018-08-04 10:48:42.354                           DesktopWndProc Message 32780
2018-08-04 10:48:42.369                           DesktopWndProc Message 32779
2018-08-04 10:48:42.370                           DesktopWndProc Message 32780
2018-08-04 10:48:42.387                           DesktopWndProc Message 32780
2018-08-04 10:48:42.408                           DesktopWndProc Message 32780
2018-08-04 10:48:42.421                           DesktopWndProc Message 32780
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 960 1040
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2819 430 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2837 541 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2837 541 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2839 548 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1040
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2839 548 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2868 624 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2868 624 32 32
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.426 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2832 645 32 32
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 718 122 1139 31
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 543 182 1139 31
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 272 139 479
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1040 1920 40
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 960 1040
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 4800 0 960 1040
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2832 645 32 32
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3314 1022 41 39
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1040 1920 40
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 960 1040
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 726 153 1123 59
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 213 1123 59
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 1040 1920 40
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 272 1123 479
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3841 1 958 751
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3841 1017 958 22
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3841 752 699 222
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3841 975 230 42
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3030 56 18 18
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3156 56 18 18
2018-08-04 10:48:42.427 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3178 56 18 18
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 17
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 787 771 87
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2305 874 731 3
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 874 771 3
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 877 771 163
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 1040 1920 40
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3200 56 18 18
2018-08-04 10:48:42.428 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 174 15 859
2018-08-04 10:48:42.430                           DesktopWndProc Message 32775
2018-08-04 10:48:42.431                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.436                           DesktopWndProc Message 32780
2018-08-04 10:48:42.438 vncDesktopThread::copy_bitmaps_to_buffer   16 REct1 658 174 1262 577
2018-08-04 10:48:42.438 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 751 1369 23
2018-08-04 10:48:42.438 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 658 774 1262 259
2018-08-04 10:48:42.438 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 1040 1920 40
2018-08-04 10:48:42.451                           DesktopWndProc Message 32780
2018-08-04 10:48:42.470                           DesktopWndProc Message 32780
2018-08-04 10:48:42.487                           DesktopWndProc Message 32780
2018-08-04 10:48:42.505                           DesktopWndProc Message 32780
2018-08-04 10:48:42.517                           DesktopWndProc Message 32780
2018-08-04 10:48:42.536                           DesktopWndProc Message 32780
2018-08-04 10:48:42.548    vncClientUpdateThread::run_undetached ==================== SendUpdate    0 =======================
2018-08-04 10:48:42.548    vncClientUpdateThread::run_undetached ==================== SendUpdate    0 =======================
2018-08-04 10:48:42.549                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.549                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.554                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer  109 REct1 3840 0 960 1
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1 1 1038
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 4799 1 1 1038
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1039 960 1
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1040 1920 40
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 1040 1920 40
2018-08-04 10:48:42.555                           DesktopWndProc Message 32780
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1040
2018-08-04 10:48:42.555 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 658 122 1262 60
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 543 182 1377 592
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 658 774 1262 259
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 0 1920 1080
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3841 1 958 1038
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 1040 1920 40
2018-08-04 10:48:42.556 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.556    vncClientUpdateThread::run_undetached ==================== SendUpdate    0 =======================
2018-08-04 10:48:42.563                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.570                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.576    vncClientUpdateThread::run_undetached ==================== SendUpdate   16 =======================
2018-08-04 10:48:42.577                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.588                           DesktopWndProc Message 32780
2018-08-04 10:48:42.589 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 0 174 1920 906
2018-08-04 10:48:42.590                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.602                           DesktopWndProc Message 32780
2018-08-04 10:48:42.610 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3840 0 960 192
2018-08-04 10:48:42.610 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3840 192 1920 888
2018-08-04 10:48:42.611                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.617                           DesktopWndProc Message 32780
2018-08-04 10:48:42.633                           DesktopWndProc Message 32780
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer   16 REct1 4559 158 240 623
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 4089 781 426 227
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 4559 781 240 227
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 4559 1008 240 9
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 718 122 1139 31
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 543 182 1139 31
2018-08-04 10:48:42.637 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 243 1123 531
2018-08-04 10:48:42.638                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.654                           DesktopWndProc Message 32780
2018-08-04 10:48:42.667 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 1920 174 1920 906
2018-08-04 10:48:42.667 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 133
2018-08-04 10:48:42.667 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 133 1608 41
2018-08-04 10:48:42.667 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3833 133 7 41
2018-08-04 10:48:42.667 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 133 305 41
2018-08-04 10:48:42.667                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.671                           DesktopWndProc Message 32780
2018-08-04 10:48:42.674    vncClientUpdateThread::run_undetached ==================== SendUpdate  109 =======================
2018-08-04 10:48:42.677                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.686                           DesktopWndProc Message 32780
2018-08-04 10:48:42.699                           DesktopWndProc Message 32780
2018-08-04 10:48:42.704 vncDesktopThread::copy_bitmaps_to_buffer   47 REct1 3840 0 1920 1080
2018-08-04 10:48:42.704 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 0 0 1920 1080
2018-08-04 10:48:42.704 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 551 751 1123 23
2018-08-04 10:48:42.704                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.717                           DesktopWndProc Message 32780
2018-08-04 10:48:42.731                           DesktopWndProc Message 32780
2018-08-04 10:48:42.747 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3840 1 1920 1079
2018-08-04 10:48:42.747 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 0 1920 1080
2018-08-04 10:48:42.747                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.750    vncClientUpdateThread::run_undetached ==================== SendUpdate   63 =======================
2018-08-04 10:48:42.751                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:42.790                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:42.848                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:43.033                           DesktopWndProc Message 275
2018-08-04 10:48:43.431                           DesktopWndProc Message 32779
2018-08-04 10:48:43.448                           DesktopWndProc Message 32779
2018-08-04 10:48:43.449                           DesktopWndProc Message 32780
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer  703 REct1 3070 770 764 204
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2305 785 3 16
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 161 295 17
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 1040 1920 40
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 1025 15 8
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 937 1 37
2018-08-04 10:48:43.449 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2646 454 468 132
2018-08-04 10:48:43.449                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:43.465                           DesktopWndProc Message 32779
2018-08-04 10:48:43.465                           DesktopWndProc Message 32780
2018-08-04 10:48:43.466    vncClientUpdateThread::run_undetached ==================== SendUpdate  719 =======================
2018-08-04 10:48:43.469                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:43.523 vncDesktopThread::copy_bitmaps_to_buffer   78 REct1 666 259 1244 80
2018-08-04 10:48:43.523 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 658 174 8 851
2018-08-04 10:48:43.523 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 658 1025 1262 8
2018-08-04 10:48:43.523                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:43.528                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:43.725                           DesktopWndProc Message 32779
2018-08-04 10:48:43.726                           DesktopWndProc Message 32779
2018-08-04 10:48:44.032                           DesktopWndProc Message 275
2018-08-04 10:48:44.727                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:44.727    vncClientUpdateThread::run_undetached ==================== SendUpdate 1265 =======================
2018-08-04 10:48:44.728                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:44.771                  vncClient::UpdateWanted 1 1 1 1
FULL update request 
2018-08-04 10:48:44.997                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:45.032                           DesktopWndProc Message 275
2018-08-04 10:48:45.107    vncClientUpdateThread::run_undetached ==================== SendUpdate  375 =======================
2018-08-04 10:48:45.107                  vncClient::UpdateWanted 0 1 1 1
2018-08-04 10:48:45.110                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:45.110                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:46.033                           DesktopWndProc Message 275
2018-08-04 10:48:46.116                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:47.033                           DesktopWndProc Message 275
2018-08-04 10:48:47.117                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:48.033                           DesktopWndProc Message 275
2018-08-04 10:48:48.117                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:49.032                           DesktopWndProc Message 275
2018-08-04 10:48:49.112                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:50.034                           DesktopWndProc Message 275
2018-08-04 10:48:50.112                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:50.786                           DesktopWndProc Message 32779
2018-08-04 10:48:50.800                           DesktopWndProc Message 32779
2018-08-04 10:48:50.800                           DesktopWndProc Message 32780
2018-08-04 10:48:50.800 vncDesktopThread::copy_bitmaps_to_buffer 7281 REct1 2294 161 1539 609
2018-08-04 10:48:50.800 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2294 770 1540 204
2018-08-04 10:48:50.800 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2294 974 1539 17
2018-08-04 10:48:50.800 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1947 1022 35 16
2018-08-04 10:48:50.801                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:50.814    vncClientUpdateThread::run_undetached ==================== SendUpdate 5719 =======================
2018-08-04 10:48:50.816                           DesktopWndProc Message 32779
2018-08-04 10:48:50.816                           DesktopWndProc Message 32780
2018-08-04 10:48:50.818                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:50.833 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 666 259 1244 80
2018-08-04 10:48:50.833                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:50.849                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:51.032                           DesktopWndProc Message 275
2018-08-04 10:48:51.415                           DesktopWndProc Message 32780
2018-08-04 10:48:51.415 vncDesktopThread::copy_bitmaps_to_buffer  578 REct1 666 259 1244 80
2018-08-04 10:48:51.415                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:52.032                           DesktopWndProc Message 275
2018-08-04 10:48:52.415                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.025                           DesktopWndProc Message 32779
2018-08-04 10:48:53.032                           DesktopWndProc Message 275
2018-08-04 10:48:53.035                           DesktopWndProc Message 32779
2018-08-04 10:48:53.035                           DesktopWndProc Message 32780
2018-08-04 10:48:53.035 vncDesktopThread::copy_bitmaps_to_buffer 1625 REct1 666 259 1244 80
2018-08-04 10:48:53.035                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.036    vncClientUpdateThread::run_undetached ==================== SendUpdate 2219 =======================
2018-08-04 10:48:53.037                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:53.045                           DesktopWndProc Message 32779
2018-08-04 10:48:53.049                           DesktopWndProc Message 32779
2018-08-04 10:48:53.068                           DesktopWndProc Message 32779
2018-08-04 10:48:53.068                           DesktopWndProc Message 32780
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 2283 110 1239 51
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 161 1239 17
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 161 295 17
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 178 1239 90
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 268 1239 159
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 427 1239 319
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2377 746 214 1
2018-08-04 10:48:53.070 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2377 747 214 23
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 747 765 23
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2294 770 742 107
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 107
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 877 765 95
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2534 972 392 2
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 972 765 2
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2534 974 392 17
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1943 991 1353 31
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1943 1022 1359 13
2018-08-04 10:48:53.071 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1943 1035 1353 5
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3082 56 18 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3104 56 18 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3156 56 18 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3178 56 18 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2064 56 18 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2116 56 31 18
2018-08-04 10:48:53.072 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3200 56 18 18
2018-08-04 10:48:53.072                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.083                           DesktopWndProc Message 32779
2018-08-04 10:48:53.086                           DesktopWndProc Message 32779
2018-08-04 10:48:53.104    vncClientUpdateThread::run_undetached ==================== SendUpdate   62 =======================
2018-08-04 10:48:53.104                  vncClient::UpdateWanted 0 1 1 1
2018-08-04 10:48:53.107                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:53.107                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.116                           DesktopWndProc Message 32780
2018-08-04 10:48:53.141 vncDesktopThread::copy_bitmaps_to_buffer   63 REct1 2361 698 942 19
2018-08-04 10:48:53.141                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.939                           DesktopWndProc Message 32779
2018-08-04 10:48:53.950                           DesktopWndProc Message 32779
2018-08-04 10:48:53.950                           DesktopWndProc Message 32780
2018-08-04 10:48:53.950 vncDesktopThread::copy_bitmaps_to_buffer  812 REct1 666 259 1244 80
2018-08-04 10:48:53.950                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:53.950    vncClientUpdateThread::run_undetached ==================== SendUpdate  844 =======================
2018-08-04 10:48:53.951                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:53.953                           DesktopWndProc Message 32779
2018-08-04 10:48:53.967                           DesktopWndProc Message 32779
2018-08-04 10:48:53.967                           DesktopWndProc Message 32780
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer   47 REct1 3538 161 295 256
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2403 417 3 10
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 417 295 10
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2403 427 3 1
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2403 428 3 7
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 428 305 7
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 435 305 11
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 270
2018-08-04 10:48:53.994 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2361 698 942 19
2018-08-04 10:48:53.999                           DesktopWndProc Message 32779
2018-08-04 10:48:54.035                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.037                           DesktopWndProc Message 275
2018-08-04 10:48:54.048    vncClientUpdateThread::run_undetached ==================== SendUpdate  109 =======================
2018-08-04 10:48:54.052                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:54.101                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.104                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.110                           DesktopWndProc Message 32779
2018-08-04 10:48:54.116                           DesktopWndProc Message 32779
2018-08-04 10:48:54.116                           DesktopWndProc Message 32780
2018-08-04 10:48:54.137 vncDesktopThread::copy_bitmaps_to_buffer  141 REct1 2361 698 942 19
2018-08-04 10:48:54.137                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.137    vncClientUpdateThread::run_undetached ==================== SendUpdate   79 =======================
2018-08-04 10:48:54.138                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:54.150                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.416                           DesktopWndProc Message 32780
2018-08-04 10:48:54.416 vncDesktopThread::copy_bitmaps_to_buffer  281 REct1 666 259 1244 80
2018-08-04 10:48:54.417                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.434                           DesktopWndProc Message 32780
2018-08-04 10:48:54.440                           DesktopWndProc Message 32779
2018-08-04 10:48:54.450 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3538 161 295 266
2018-08-04 10:48:54.450 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3071 770 763 204
2018-08-04 10:48:54.450 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2403 417 3 18
2018-08-04 10:48:54.450                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:54.459    vncClientUpdateThread::run_undetached ==================== SendUpdate  328 =======================
2018-08-04 10:48:54.461                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:54.468                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.034                           DesktopWndProc Message 275
2018-08-04 10:48:55.469                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.720                           DesktopWndProc Message 32779
2018-08-04 10:48:55.735                           DesktopWndProc Message 32779
2018-08-04 10:48:55.735                           DesktopWndProc Message 32780
2018-08-04 10:48:55.735 vncDesktopThread::copy_bitmaps_to_buffer 1281 REct1 2283 110 1326 23
2018-08-04 10:48:55.735 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 133 1245 28
2018-08-04 10:48:55.735 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 161 1245 17
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer   16 REct1 3538 161 295 17
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 178 1245 83
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2283 261 1551 556
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2284 817 1550 60
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2303 877 1531 97
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2303 974 993 48
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1947 1022 227 13
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2303 1022 999 13
2018-08-04 10:48:55.736 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1947 1035 227 3
2018-08-04 10:48:55.738                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.787    vncClientUpdateThread::run_undetached ==================== SendUpdate 1328 =======================
2018-08-04 10:48:55.790                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:55.790                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.805                           DesktopWndProc Message 32779
2018-08-04 10:48:55.817                           DesktopWndProc Message 32779
2018-08-04 10:48:55.817                           DesktopWndProc Message 32780
2018-08-04 10:48:55.824 vncDesktopThread::copy_bitmaps_to_buffer   78 REct1 3070 771 746 16
2018-08-04 10:48:55.824 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3070 787 764 154
2018-08-04 10:48:55.824 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 941 765 33
2018-08-04 10:48:55.824 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2361 698 764 19
2018-08-04 10:48:55.824                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.834                           DesktopWndProc Message 32779
2018-08-04 10:48:55.834                           DesktopWndProc Message 32780
2018-08-04 10:48:55.835    vncClientUpdateThread::run_undetached ==================== SendUpdate   47 =======================
2018-08-04 10:48:55.835                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:55.851 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 666 259 1244 80
2018-08-04 10:48:55.851                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.868                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.896                           DesktopWndProc Message 32779
2018-08-04 10:48:55.900                           DesktopWndProc Message 32779
2018-08-04 10:48:55.900                           DesktopWndProc Message 32780
2018-08-04 10:48:55.900 vncDesktopThread::copy_bitmaps_to_buffer   47 REct1 2676 261 3 18
2018-08-04 10:48:55.900 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2361 698 764 19
2018-08-04 10:48:55.900 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 161 295 17
2018-08-04 10:48:55.900 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:48:55.900                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:55.901    vncClientUpdateThread::run_undetached ==================== SendUpdate   62 =======================
2018-08-04 10:48:55.901                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:48:55.904                           DesktopWndProc Message 32779
2018-08-04 10:48:55.908                           DesktopWndProc Message 32779
2018-08-04 10:48:55.934                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:56.032                           DesktopWndProc Message 275
2018-08-04 10:48:56.934                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:57.033                           DesktopWndProc Message 275
2018-08-04 10:48:57.935                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:58.032                           DesktopWndProc Message 275
2018-08-04 10:48:58.936                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:48:59.033                           DesktopWndProc Message 275
2018-08-04 10:48:59.902                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:00.032                           DesktopWndProc Message 275
2018-08-04 10:49:00.688                           DesktopWndProc Message 32780
2018-08-04 10:49:00.688 vncDesktopThread::copy_bitmaps_to_buffer 4797 REct1 3984 1040 1776 40
2018-08-04 10:49:00.688                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:00.702                           DesktopWndProc Message 32779
2018-08-04 10:49:00.702                           DesktopWndProc Message 32780
2018-08-04 10:49:00.722 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 666 259 1244 80
2018-08-04 10:49:00.722 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1854 1040 66 40
2018-08-04 10:49:00.722                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:01.033                           DesktopWndProc Message 275
2018-08-04 10:49:01.184                           DesktopWndProc Message 32780
2018-08-04 10:49:01.184 vncDesktopThread::copy_bitmaps_to_buffer  453 REct1 666 259 1244 80
2018-08-04 10:49:01.184                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:02.033                           DesktopWndProc Message 275
2018-08-04 10:49:02.187                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:03.032                           DesktopWndProc Message 275
2018-08-04 10:49:03.188                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:03.904                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:04.032                           DesktopWndProc Message 275
2018-08-04 10:49:04.905                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:05.032                           DesktopWndProc Message 275
2018-08-04 10:49:05.939                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:06.034                           DesktopWndProc Message 275
2018-08-04 10:49:06.940                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:07.034                           DesktopWndProc Message 275
2018-08-04 10:49:07.912                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:08.046                           DesktopWndProc Message 275
2018-08-04 10:49:08.912                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:09.033                           DesktopWndProc Message 275
2018-08-04 10:49:09.912                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:10.032                           DesktopWndProc Message 275
2018-08-04 10:49:10.912                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:11.032                           DesktopWndProc Message 275
2018-08-04 10:49:11.912                  vncClient::UpdateWanted 1 1 1 1
'winvnc.exe' (Win32): Unloaded 'C:\Windows\System32\imagehlp.dll'
'winvnc.exe' (Win32): Unloaded 'C:\Windows\System32\wintrust.dll'
The thread 0x397a0 has exited with code 0 (0x0).
2018-08-04 10:49:12.033                           DesktopWndProc Message 275
2018-08-04 10:49:12.913                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:13.033                           DesktopWndProc Message 275
2018-08-04 10:49:13.913                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:14.033                           DesktopWndProc Message 275
2018-08-04 10:49:14.914                  vncClient::UpdateWanted 1 1 1 1
FULL update request 
2018-08-04 10:49:15.011                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:15.032                           DesktopWndProc Message 275
2018-08-04 10:49:15.150    vncClientUpdateThread::run_undetached ==================== SendUpdate 19250 =======================
2018-08-04 10:49:15.150                  vncClient::UpdateWanted 0 1 1 1
2018-08-04 10:49:15.152                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:15.152                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:16.032                           DesktopWndProc Message 275
2018-08-04 10:49:16.159                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:17.032                           DesktopWndProc Message 275
2018-08-04 10:49:17.159                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:17.850                           DesktopWndProc Message 32780
2018-08-04 10:49:17.850 vncDesktopThread::copy_bitmaps_to_buffer 16672 REct1 666 259 1244 80
2018-08-04 10:49:17.851                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:18.033                           DesktopWndProc Message 275
2018-08-04 10:49:18.417                           DesktopWndProc Message 32780
2018-08-04 10:49:18.417 vncDesktopThread::copy_bitmaps_to_buffer  563 REct1 666 259 1244 80
2018-08-04 10:49:18.418                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:19.032                           DesktopWndProc Message 275
2018-08-04 10:49:19.155                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:19.168                           DesktopWndProc Message 32780
2018-08-04 10:49:19.189 vncDesktopThread::copy_bitmaps_to_buffer  781 REct1 666 259 1244 80
2018-08-04 10:49:19.189                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:20.033                           DesktopWndProc Message 275
2018-08-04 10:49:20.189                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:21.032                           DesktopWndProc Message 275
2018-08-04 10:49:21.191                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:21.200                           DesktopWndProc Message 32780
2018-08-04 10:49:21.224 vncDesktopThread::copy_bitmaps_to_buffer 2031 REct1 666 259 1244 80
2018-08-04 10:49:21.224                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:21.417                           DesktopWndProc Message 32780
2018-08-04 10:49:21.417 vncDesktopThread::copy_bitmaps_to_buffer  188 REct1 666 259 1244 80
2018-08-04 10:49:21.417                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:21.435                           DesktopWndProc Message 32780
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 2285 153 1219 8
2018-08-04 10:49:21.451                           DesktopWndProc Message 32780
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2285 161 1236 227
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 161 295 227
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2361 388 755 17
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 388 295 17
2018-08-04 10:49:21.451 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 405 295 22
2018-08-04 10:49:21.452 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 428 305 18
2018-08-04 10:49:21.452 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 212
2018-08-04 10:49:21.452 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1920 1040 1920 40
2018-08-04 10:49:21.452 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 1943 1016 1120 24
2018-08-04 10:49:21.452 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:49:21.452                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:21.478    vncClientUpdateThread::run_undetached ==================== SendUpdate 6328 =======================
2018-08-04 10:49:21.478                  vncClient::UpdateWanted 0 1 1 1
2018-08-04 10:49:21.479                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:21.480                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:22.054                           DesktopWndProc Message 275
2018-08-04 10:49:22.116                           DesktopWndProc Message 32780
2018-08-04 10:49:22.117 vncDesktopThread::copy_bitmaps_to_buffer  672 REct1 3538 161 295 17
2018-08-04 10:49:22.117 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2676 213 3 18
2018-08-04 10:49:22.117 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:49:22.117 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 270
2018-08-04 10:49:22.117                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:22.131    vncClientUpdateThread::run_undetached ==================== SendUpdate  657 =======================
2018-08-04 10:49:22.132                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:22.133                           DesktopWndProc Message 32780
2018-08-04 10:49:22.151 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3538 161 295 17
2018-08-04 10:49:22.151 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2676 213 3 18
2018-08-04 10:49:22.151                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:22.151    vncClientUpdateThread::run_undetached ==================== SendUpdate   15 =======================
2018-08-04 10:49:22.152                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:22.165                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:22.185                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:23.032                           DesktopWndProc Message 275
2018-08-04 10:49:23.185                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:24.032                           DesktopWndProc Message 275
2018-08-04 10:49:24.231                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:25.032                           DesktopWndProc Message 275
2018-08-04 10:49:25.283                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:26.033                           DesktopWndProc Message 275
2018-08-04 10:49:26.154                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:27.033                           DesktopWndProc Message 275
2018-08-04 10:49:27.155                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:28.033                           DesktopWndProc Message 275
2018-08-04 10:49:28.156                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:29.033                           DesktopWndProc Message 275
2018-08-04 10:49:29.157                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:30.033                           DesktopWndProc Message 275
2018-08-04 10:49:30.156                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:31.033                           DesktopWndProc Message 275
2018-08-04 10:49:31.156                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:32.032                           DesktopWndProc Message 275
2018-08-04 10:49:32.156                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:33.033                           DesktopWndProc Message 275
2018-08-04 10:49:33.157                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:34.032                           DesktopWndProc Message 275
2018-08-04 10:49:34.157                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:35.032                           DesktopWndProc Message 275
2018-08-04 10:49:35.157                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:36.038                           DesktopWndProc Message 275
2018-08-04 10:49:36.158                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:37.033                           DesktopWndProc Message 275
2018-08-04 10:49:37.159                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:38.057                           DesktopWndProc Message 275
2018-08-04 10:49:38.171                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:38.418                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:38.451                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:38.453                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:39.033                           DesktopWndProc Message 275
2018-08-04 10:49:39.454                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:40.033                           DesktopWndProc Message 275
2018-08-04 10:49:40.456                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:40.700                           DesktopWndProc Message 32779
2018-08-04 10:49:40.717                           DesktopWndProc Message 32779
2018-08-04 10:49:40.717                           DesktopWndProc Message 32780
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer 18563 REct1 3538 161 295 52
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2676 213 3 18
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 213 295 18
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 231 295 196
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 428 305 18
2018-08-04 10:49:40.718 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 204
2018-08-04 10:49:40.718                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:40.731    vncClientUpdateThread::run_undetached ==================== SendUpdate 18578 =======================
2018-08-04 10:49:40.732                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 10:49:40.734                           DesktopWndProc Message 32779
2018-08-04 10:49:40.734                           DesktopWndProc Message 32780
2018-08-04 10:49:40.752 vncDesktopThread::copy_bitmaps_to_buffer   47 REct1 666 259 1244 80
2018-08-04 10:49:40.752                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:40.765                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:40.918                           DesktopWndProc Message 32780
2018-08-04 10:49:40.918 vncDesktopThread::copy_bitmaps_to_buffer  156 REct1 666 259 1244 80
2018-08-04 10:49:40.918                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:41.032                           DesktopWndProc Message 275
2018-08-04 10:49:41.301                           DesktopWndProc Message 32780
2018-08-04 10:49:41.301 vncDesktopThread::copy_bitmaps_to_buffer  390 REct1 2464 31 47 20
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2284 110 412 44
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3538 161 295 17
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2676 213 3 18
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 231 159
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3069 770 765 270
2018-08-04 10:49:41.302 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2677 52 24 26
2018-08-04 10:49:41.302                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 10:49:41.314    vncClientUpdateThread::run_undetached ==================== SendUpdate  594 =======================
2018-08-04 10:49:41.317                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

The ddengine notify vnc of mouse and update changes...in that case i'm sure that the trigger is not needed.

Code: Select all

	case WM_APP + 11:
		SetEvent(_this->trigger_events[3]);
		break;
	case WM_APP + 12:
		SetEvent(_this->trigger_events[0]);
		break;
Possible the trigger is still needed for the mirrordriver and blit
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Ok, commented back out, looks better, but it still don't understand why the rects are not sent out as they come in. Is there some kind of smoothing function?

FYI: Went back down to 2 x 1920x1080.

Code: Select all

2018-08-04 11:20:55.731                  vncClient::NotifyUpdate ++++++ rfbFramebufferUpdateRequestMsg
2018-08-04 11:20:55.748                           DesktopWndProc Message 32780
2018-08-04 11:20:55.749         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta   47 ms
2018-08-04 11:20:55.749 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3538 161 295 17
2018-08-04 11:20:55.749                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 11:20:56.096                           DesktopWndProc Message 275
2018-08-04 11:20:56.432                           DesktopWndProc Message 32780
2018-08-04 11:20:56.432         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta  687 ms
2018-08-04 11:20:56.432 vncDesktopThread::copy_bitmaps_to_buffer  687 REct1 658 259 1244 455
2018-08-04 11:20:56.433                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 11:20:56.448                           DesktopWndProc Message 32780
2018-08-04 11:20:56.448         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta   16 ms
2018-08-04 11:20:56.465 vncDesktopThread::copy_bitmaps_to_buffer   32 REct1 3538 161 295 266
2018-08-04 11:20:56.465 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 428 305 18
2018-08-04 11:20:56.465 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2864 778 970 1
2018-08-04 11:20:56.465 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2863 779 971 162
2018-08-04 11:20:56.465 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2862 941 972 33
2018-08-04 11:20:56.465                  vncClient::UpdateWanted 1 1 1 1
2018-08-04 11:20:56.475    vncClientUpdateThread::run_undetached ==================== SendUpdate  750 =======================
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Vnc is viewer pulled, you don't need to handle updates faster then the viewer can process it.
UpdateWanted() block until the viewer want an update..

Rectangles arriving during the wait period are added to a region.
Using a region smaller rects are combined and overlapping eliminated.

Vnv keeps a copy of the viewer, each update send to the viewer is also copied to the backbuffer.
Each new update is compared with the backbuffer and when no data change is detected the rect is eliminated.

The encoders can also split a big rect in smaller... this allow the viewer to decode part1 while part 2 is still being compressed.

New builds are in the 1.2.2.2 current it's using svn 1141
https://forum.ultravnc.net/viewtopic.php?f=72&t=34021
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

ok, but then win 7 with mirror should be so slow too, which it isn't. Or, are you saying that it is the ddengine that is too slow? Or, does ddengine use a different mechanism for updates to client, didn't think so?
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Rudi De Vos wrote:...
New builds are in the 1.2.2.2 current it's using svn 1141
https://forum.ultravnc.net/viewtopic.php?f=72&t=34021
Are you sure this is the right code, it doesn't work at all?

Edit: Nevermind, it was because I had desktop duplication turned off. (TODO get to work when off)
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

r1142: Ok, win 10 without desktop duplication working
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Hi Rudi, the updates for win 10 are quicker when no desktop duplication is used.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Correct, something is wrong.
ddegine and video HD on server u2 encoder
svn1130 25 FPS
lastest 8 FPS and stall.

Never compare release with a debug version... The cpu throttle need to be disabled
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

What does that mean?
Ok, just updated, works better, still slower than without ddengine, it has nothing to do with debug/release from what I see!

Could it be changes to ddengine?
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

ddengine:
-bitmap of the screen is provided
-recatangle list of changes
You know when and what is changed ( all is provided via the wdm driver functions via directx)
You need win8>= and wdm 1.2>=

blit:
-capture th full screen every 33 ms
-compare fullscreen with backbuffer to find changes
-in combination with the hooks you get hints about possible changes and give them priority
Works on all OS's

The biggest difference is when there are almost no changes. The ddengine idle vnc, while the Blit need to keep polling
for changes.
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

But, I think that is the problem. On screen things are changing, but nothing from ddengine.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Please clarify.. don't understand what you want to say
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

The ddengine is not saying any rects (dirty) are present when actually there is a lot going on on the screen, it must have all kinds of dirty rects to report.

Code: Select all

DesktopWndProc Message 32780
2018-08-05 12:22:51.744         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta   63 ms
2018-08-05 12:22:51.744 vncDesktopThread::copy_bitmaps_to_buffer   47 REct1 3538 161 278 17
2018-08-05 12:22:51.745                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:22:52.412                           DesktopWndProc Message 32780
2018-08-05 12:22:52.412         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta  672 ms
2018-08-05 12:22:52.412 vncDesktopThread::copy_bitmaps_to_buffer  672 REct1 532 250 1244 227
2018-08-05 12:22:52.412                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:22:52.428                           DesktopWndProc Message 32780
2018-08-05 12:22:52.428         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta   15 ms
2018-08-05 12:22:52.446 vncDesktopThread::copy_bitmaps_to_buffer   31 REct1 3538 161 278 17
2018-08-05 12:22:52.446 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3565 268 214 69
2018-08-05 12:22:52.446 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2863 540 953 16
2018-08-05 12:22:52.446 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2863 556 971 130
2018-08-05 12:22:52.446 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2862 686 972 288
2018-08-05 12:22:52.446                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:22:52.472    vncClientUpdateThread::run_undetached ==================== SendUpdate  750 =======================
but, UpdateWanted has all UpdateWanted 1 1 1 1

And, other times their no updates reports.

Currently, all the sudden the ddengine is reporting correct, so it seems to be sparatic, and then it does:

Code: Select all

vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:05.485                           DesktopWndProc Message 275
2018-08-05 12:28:05.701         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1016 ms
2018-08-05 12:28:05.701                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:06.492                           DesktopWndProc Message 275
2018-08-05 12:28:06.701         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:06.701                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:07.486                           DesktopWndProc Message 275
2018-08-05 12:28:07.702         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:07.702                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:08.485                           DesktopWndProc Message 275
2018-08-05 12:28:08.703         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:08.703                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:09.486                           DesktopWndProc Message 275
2018-08-05 12:28:09.703         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:09.703                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:10.486                           DesktopWndProc Message 275
2018-08-05 12:28:10.705         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1016 ms
2018-08-05 12:28:10.705                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:11.485                           DesktopWndProc Message 275
2018-08-05 12:28:11.705         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:11.705                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:12.485                           DesktopWndProc Message 275
2018-08-05 12:28:12.706         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:12.729                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:13.486                           DesktopWndProc Message 275
2018-08-05 12:28:13.729         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1015 ms
2018-08-05 12:28:13.729                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:14.485                           DesktopWndProc Message 275
2018-08-05 12:28:14.730         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:14.730                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:15.485                           DesktopWndProc Message 275
2018-08-05 12:28:15.730         vncDesktopThread::run_undetached WaitForMultipleObjects result . 258 last call delta 1000 ms
2018-08-05 12:28:15.732                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:16.114                           DesktopWndProc Message 32780
2018-08-05 12:28:16.114         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta  391 ms
2018-08-05 12:28:16.114 vncDesktopThread::copy_bitmaps_to_buffer 11422 REct1 3538 161 278 162
2018-08-05 12:28:16.114 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 3528 323 288 18
2018-08-05 12:28:16.114 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2863 540 953 16
2018-08-05 12:28:16.114 vncDesktopThread::copy_bitmaps_to_buffer    0 REct1 2862 556 972 418
2018-08-05 12:28:16.114                  vncClient::UpdateWanted 1 1 1 1
2018-08-05 12:28:16.131                           DesktopWndProc Message 32780
2018-08-05 12:28:16.131         vncDesktopThread::run_undetached WaitForMultipleObjects result . 0 last call delta   15 ms
2018-08-05 12:28:16.146    vncClientUpdateThread::run_undetached ==================== SendUpdate 11453 =======================
so, for 7 seconds it reports no changes, which is totally wrong.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

vnc lock and unlock the ddengine, no need to capture 50 FPS while you can only send 20.

It works perfect on a dual monitor system with 2 cards, but "just tested" connecting the monitors to the same card
i get some "hick" ddegine doesn't show any messages...locked. Moving mouse seems to kick it back in action for some time.

Could this be what you are describing..
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Yes, but the mouse could also be the flags for polling window under mouse, right?

but, yes, it seems to lock for awhile.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

Found error in ddengine...updating

We need to find another way to communicate...i don't think that all other people are interested in this posts :)
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Cool!!!

I agree, I have sent a PM.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
SkyBeam
80
80
Posts: 143
Joined: 2012-12-31 11:01

Re: Release 1.2.2.1

Post by SkyBeam »

Rudi De Vos wrote:We need to find another way to communicate...i don't think that all other people are interested in this posts :)
Indeed I am!
In fact I started to have some look at RFB but unfortunately I am not very C++ skilled. But I am following this discussion very closely and I am delighted to see you both working together spotting and cleaning some long-lasting issues. If only I would have more time to spend on such projects. I would love to. I guess it's the same for Rudi who is spending lots of his spare-time to keep this project running. It's very much appreciated.

I am really looking forward for the upcoming 1.2.2.2 release which promises to be great step into the right direction.

Many thanks to all contributors and Rudi to keep the good work up!
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Release 1.2.2.1

Post by Rudi De Vos »

SkyBeam ,

Latest build is online
https://forum.ultravnc.net/viewtopic.php?f=72&t=34021

You always can help with testing some OS, before release the below matrix need to be tested.
If a few people test different OS's, list could be done in a few days.

xxxxxxx XP WIN7 WIN8 WIN10
blit v v v v
mirror v v x x
ddengine x x v v

-single
-multiple monitors on single video card
-multiple monitors on multiple video cards
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

The new changes to ddengine are Fantastic!!!! That is exactly the performance I had expected, even on 3 monitors, same graphic card!!!

Great job Rudi.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Next week I can test:

Win 7 (with/without Mirror) and win 10 (with/without Desk. Dup.), 1, 2 and 3 monitors on same graphic card.

2 mon:
[prim][sec]
[sec][prim]

3 mon:
[sec][prim][third]
[prim][sec][third]
[third][sec][prim]
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
SkyBeam
80
80
Posts: 143
Joined: 2012-12-31 11:01

Re: Release 1.2.2.1

Post by SkyBeam »

Rudi De Vos wrote: Latest build is online
https://forum.ultravnc.net/viewtopic.php?f=72&t=34021

You always can help with testing some OS, before release the below matrix need to be tested.
If a few people test different OS's, list could be done in a few days.

xxxxxxx XP WIN7 WIN8 WIN10
blit v v v v
mirror v v x x
ddengine x x v v

-single
-multiple monitors on single video card
-multiple monitors on multiple video cards
Sure I will do some tests. First results here...

Windows 10 VM (VirtualBox 5.2.15, Direct3D driver enabled):
DDEngine:
  • Somehow does not work in VirtualBox, I get black screen only. Perhaps desktop duplication does not work with the VirtualBox graphics drivers. But perhaps this also happens on some real hardware, maybe this situation could be detected and fallback to schook implemented. In my case I just got a black screen on UVNC but I could perfectly position and control the mouse and keyboard, I just can't see anything. So it's also impossible to switch to schook remotely. Perhaps ddengine could check if it actually get any real screen data or just dummy values.
Schook:
  • Conenction is esablished quickly, no connection delay
  • Some items need a mouse-over to get change-detected like the start manu (I am using polling of foreground and window under cursor only)
  • Single and dual-monitor configurations (with same and different resolution) seem to work fine
Windows 10 physical machine on outdated AMD M3A3200 chipset graphics:

DDEngine:
  • Conenction is esablished quickly, no connection delay
  • Change detection works fine, also for start menu
  • I did restart the uvnc server service while I was connected; after the service restarted the viewer auto-reconnected but showed only some artifacts. Somehow the encoding seems to be broken then. I can still see screen updates changing some blue pixels on black background and my mouse and keyboard input still alows me to remote-control the remote system. But the screen is essentially black. Also refreshing on client does not help. Switching from Ultra to Tight encoding (and back) solves the issue. It looks to me like the encoder gets irritated when re-connecting. Looks like it's probably not properly initialized after re-connect with a full screen refresh.
  • Adding a second screen to the right of the primary screen (connected via VGA on same card/driver) does not detect it in VNC.
  • Moving the screen location of second screen to "top": Viewer crash, re-connect works fine, still no second screen
  • Re-applying screen position (moving it slightly offset on top of main screen): Viewer shows blue rectangle _below_ main screen with no content, just solid blue
  • Moving second screen to bottom of primary screen: Not detected/shown by viewer at all
  • Moving second screen to the left of primary screen: Viewer shows blue rectangle to the right of the main screen, no contents
  • Trying slight offsets of secondary screen positions: Viewer sometimes shows garbage (I believe it's again a re-connect issue along with not properly initialized encoder, I am using Ultra encoding with 256 colors by default)
  • Then I noticed I can switch between screens using the switch monitors button in the viewer. This allows me to jump to the second screen, no matter where it is placed. The weird thing is: Even when switching back to the "desktop view" with all screens, now the blue rectangle is gone and I can hover with my mouse among all screens and they are all updated properly. So I believe there is some initialization issue which gets fixed if I toggle through the screens.
Schook:
  • Conenction is esablished quickly, no connection delay
  • Some items need a mouse-over to get change-detected like the start manu (I am using polling of foreground and window under cursor only)
  • Also here I cannot get the secondary screen detected at all unless I switch between screens once.
I believe the multi-screen setup and initialization requires a bit more testing. Though if toggling is considered a work-around the capturing works pretty fine! Good job!

I didn't find any possibility to see any extended screen on VNC viewer

I need to monitor this a bit closer but I feel the screen updates are slower using ddengine, perhaps bigger chunks of updates are transferred compared to schook. So schook might be more network-efficient at the moment... not sure about this yet.



General observation:
  • When disconnecting I can't immediately re-connect, it takes a few seconds for UVNC Server to re-accept connections.
  • Switching between different monitor configurations seems to work on the fly. The viewer window does not adjust its size. This is quite "common" behavior if you extend screens. But if you remove screens the viewer Window will remain as large as it was in multi-screen configuration and just shows a black space. When trying to re-size the window it immediately "snaps" to the real screen size. Even though this is expected behavior it feels a bit odd. Perhaps the viewer could auto-shrink to the new screen size. Well, this is not a new issue and seems not to cause any crashes or problems. So regard this as low priority usability enhancement.

I don't have any physical hardware available for Win7/Win8 testing currently. As of my understanding this was mainly to test the keyboard helper which is only used on Win8. I might provide some test results in the future here.
User avatar
Chrispy
40
40
Posts: 103
Joined: 2018-07-11 09:06
Contact:

Re: Release 1.2.2.1

Post by Chrispy »

Hey, nice test results report!

What version (rxxxx) are you working with?

Not sure if everything has been updated already.
Opc Servers: http://www.wowbms.com/index.php/opc-servers
Wow Building & Energy Management System: http://www.wowbms.com/index.php
Post Reply