Jump to content

How to set framebuffer 16bpp in 1080p DVI


perfstr

Recommended Posts

Hi,

 

I am developing application that will show graphics in console mode using frame buffer access in system with Orange Pi PC board. Several Debian images I tried until now from Orange Pi downloads always set up 32bpp frame buffer. Calling 'fbset -depth 16' causes screen corruption. Changing script.bin setting (fb0_format = 5) did no change.

 

Any suggestion?

Link to comment
Share on other sites

I found that the fb0_format option is described in http://linux-sunxi.org/Fex_Guide#.5Bdisp_init.5D incorrectly - it should be set to 10 in order to achieve 16bpp RGB565 screen (according to disp2 header file). Meanwhile this new option produces another problem - the startup text is colored in different colors, but not white. Hope to find better solution after some more tests.

Link to comment
Share on other sites

The problem with colors exists in startup console screen, but desktop colors are fine, including terminal windows. If somebody has an idea of how the startup colors can be changed (adapted to RGB565 mode), please let me know.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines