Menu

#5 VNC color depth change issue?

v1.0_(example)
closed
nobody
None
5
2014-03-30
2011-06-02
No

I have written a patch against Mac-on-Linux that reimplements its VNC video output driver against libvncserver, which works great, except for one issue. I'm not sure if this is to be expected or not. If the desktop is currently in an indexed-color mode and the client supports FB resize, flipping back to a truecolor mode (16/24/32 bpp) ends up stuck in 8bpp mode; if I then disconnect and reconnect, the palette is as it should be. Changing from truecolor to indexed-color modes, however, seems to work fine. Is there something I need to be doing to notify the client that it should switch from an 8bpp to a truecolor mode, or is this an inherent flaw in the RFB protocol?

If you need to see the code to know for sure, I can send/link you to the patch, so you can see what I'm doing.

Discussion

  • Johannes Schindelin

    • status: open --> closed
    • Group: --> v1.0_(example)
     
  • Johannes Schindelin

    Feel free to open a pull request or send your patches to the mailing list!

    I am closing this ticket because this issue tracker is actually not monitored actively (hence the suggestion to move the discussion to the mailing list).