Sync with -current.
Add support for 8bpp frame buffer.