24-bit color support to Xvnc
paresh masani
masaniparesh "at" gmail.com
Wed Jun 18 13:43:01 2008
Could you please give the answer to following question then i think i will
be all set for colors/depth.
What is the "Server default" and "Pixel Format" and why "PixelFormate" is
stays at depth 24(rgb888) eventhough I have created session using "vncserver
-depth 32"? Please refer the attached images for reference.
Thanks,
Paresh
On 6/18/08, paresh masani <masaniparesh "at" gmail.com> wrote:
>
> Hey James,
>
> Thaks you were right my vncviewer was running at 16-bpp. now i set it to 32
> bits. And ""vncserver -depth 24" showing the correct info but "vncserver
> -depth 32" not. I think it should work for 32 bit also right?
>
> Please refer the attached images.
>
> Thanks,
> Paresh
>
> On 6/18/08, paresh masani <masaniparesh "at" gmail.com> wrote:
>>
>> Ok James,
>>
>> I have removed pixelformat at all and using "vncserver -depth 8",
>> "vncserver -depth 16" and "vncserver -depth 24" created three sessions. For
>> depth 8 and 16, Xvnc info dialog box showing correct info but for depth 24
>> it is showing default 24 depth but pixel format 16. :-(
>>
>> Please refer the attached xwininfo dialog box for all three sessions.
>>
>> Is it related to RGB565. because i could see that when i specified depth
>> 16, it uses RGB565 and same it is uses for depth 24 even though default
>> server depth is 24 BGR888.
>>
>> Thanks,
>> Paresh
>>
>>
>> On 6/18/08, James Weatherall <jnw "at" realvnc.com> wrote:
>>>
>>> Hi Paresh,
>>>
>>> Tow points:
>>>
>>> 1. You're specifying "-depth 24" but then overriding that with
>>> "-pixeformat
>>> rgb888". You only need one or the other.
>>>
>>> 2. The VNC Viewer's Connection Info dialog provides the Server format
>>> and
>>> the format currently in-use. The format currently in-use can never be
>>> higher colour-depth than the format of the viewer computer's
>>> display. From
>>> what you've described it sounds like your viewer is running on 16bpp
>>> display
>>> hardware.
>>>
>>> Cheers,
>>>
>>> --
>>> Wez @ RealVNC Ltd
>>>
>>>
>>> > -----Original Message-----
>>> > From: paresh masani [mailto:masaniparesh "at" gmail.com]
>>> > Sent: 18 June 2008 12:35
>>> > To: James Weatherall
>>> > Cc: vnc-list "at" realvnc.com
>>> > Subject: Re: 24-bit color support to Xvnc
>>> >
>>> > That what i am doing. Please refer below command in
>>> >
>>> > Xvnc :10 -desktop 'UNIX" -httpd /usr/local/vnc/classes -auth
>>> > /.Xauthority -geometry 1268x896 -depth 24 -pixelformat RGB888
>>> > -rfbwait 30000 -rfbauth /passwd -pn -fp
>>> >
>>> > Here specified depth is 24 then also i am getting pixel
>>> > formate depth is 16. Please refer attached file.
>>> >
>>> > Thanks,
>>> > Paresh
>>> >
>>> >
>>> > On 6/18/08, James Weatherall <jnw "at" realvnc.com> wrote:
>>> >
>>> > Paresh,
>>> >
>>> > Please refer to the documentation for details on
>>> > configuring the Xvnc VNC
>>> > Server for Unix, in particular the "-depth" option,
>>> > which controls the
>>> > colour depth of the root window of the X desktop. E.g:
>>> >
>>> > vncserver -depth 24
>>> >
>>> > Will create a true-colour 32 bits-per-pixel, depth 24
>>> > desktop, with 8 bits
>>> > for each of the red, green and blue colour components.
>>> >
>>> > Regards,
>>> >
>>> > --
>>> > Wez @ RealVNC Ltd
>>> >
>>> >
>>> > > -----Original Message-----
>>> > > From: vnc-list-admin "at" realvnc.com
>>> > > [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of paresh masani
>>> > > Sent: 16 June 2008 11:39
>>> > > To: vnc-list "at" realvnc.com
>>> > > Subject: 24-bit color support to Xvnc
>>> > >
>>> > > Hi,
>>> > >
>>> > > I read documentation of Xvnc and found that it uses cfb(color
>>> > > frame buffer).
>>> > > It supports only 8, 16 and 32 bit colore and dont have
>>> > > support for 24-bit color and 64-bit color. Could any one
>>> > > please tell me why it is like this. 24 and 64-bit color
>>> > > support does not required?
>>> > >
>>> > > Thanks,
>>> > > Paresh
>>> > > _______________________________________________
>>> > > VNC-List mailing list
>>> > > VNC-List "at" realvnc.com
>>> > > To remove yourself from the list visit:
>>> > > http://www.realvnc.com/mailman/listinfo/vnc-list
>>> > >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>
>>
>
>
[demime 1.01d removed an attachment of type image/jpeg which had a name of 32bits.JPG]