Request: RealVNC no display mode
Feico de Boer (ML)
fdboer-ml "at" gmx.net
Thu Sep 30 14:54:00 2004
James Weatherall wrote:
> Which version of VNC Server are you using?
I'm using version 4.00.0000.0026 as it reports itself. It is the version
that was send by you with the Win2VNC logon fix if you remember.
In idle mode procexp (Sysinternals.com utility) reports a memory
consumption of 1 MB, connecting to the instance memory jumps up to 10
MB. Of that an approximate 7 MB can be accounted for by looking at the
desktop size (2304x1024x24 = 7 MB).
> VNC 4 already includes some code
> to reduce resource consumption in the case where no updates are ever
> requested, but further optimisation is possible.
True, if I connect to the server with the vncviewer, memory usage jumps
up to 20 MB. Still, 10 MB seems to me a pretty big overhead for a few
new class instances.
It looks to me (from the outside, don't know about the code) that there
is a global buffer allocated to bitblit the screen into. Then if updates
are requested, a second buffer is allocated to determine the differences.
What (IMHO) should happend is that the first buffer should only be
allocated after the first update request saving the memory in case no
requests are made. However, if you had multiple connections, it gets a
bit harder to determine the release of that first buffer. Keeping a
update request counter/flag per connection can help you there to
determine the neccessity of the buffer. (Just my 2 cents, might be
completely wrong here. ;-)
> We have plans to release a hooking driver as an optional add-on for VNC
> Server.
That would be great.
Regards,
Feico.
>>-----Original Message-----
>>From: vnc-list-admin "at" realvnc.com
>>[mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Feico de Boer (ML)
>>Sent: 30 September 2004 13:34
>>To: VNC-list
>>Subject: Request: RealVNC no display mode
>>
>>Hello folks,
>>
>>I'm exploring the possibility of a 'no display mode'
>>connection option and would like to ask input from the
>>developers on this.
>>
>>The reason for all of this. I use Win2VNC extensively to
>>control my laptop, Win2VNC acts as a remote keyboard/mouse
>>using the VNC server as an extension cord. Occasionally I
>>want also to use the remote display functionality. I don't
>>want to have different services running for this as it only
>>takes up resources.
>>
>>However, due to my 2304x1024x24 desktop the VNC server eats
>>10 MB that I think is used as screenbuffer. As I'm short on
>>memory in general I really could use that extra ten meg.
>>
>>Apart from this, any plans to implement mirror display
>>drivers (or just usage of it) for Windows in the (near) future?
>>
>>Regards,
>>Feico.
>>_______________________________________________
>>VNC-List mailing list
>>VNC-List "at" realvnc.com
>>To remove yourself from the list visit:
>>http://www.realvnc.com/mailman/listinfo/vnc-list