perfstr Posted May 26, 2016 Posted May 26, 2016 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?
perfstr Posted August 13, 2016 Author Posted August 13, 2016 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.
perfstr Posted August 16, 2016 Author Posted August 16, 2016 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.
Larry Bank Posted May 1, 2018 Posted May 1, 2018 Does anyone know how to do this with the "modern" kernel in the armbianEnv.txt file?
zador.blood.stained Posted May 1, 2018 Posted May 1, 2018 10 minutes ago, Larry Bank said: Does anyone know how to do this with the "modern" kernel in the armbianEnv.txt file? By adding a custom video mode to extraargs? https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/fb/modedb.txt https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes
Recommended Posts