Red and Blue colors are inverted on Beaglebone Black Screen

I’m using an LCD Screen with my Beaglebone Black for which an overlay included in BalenaOS (namely, BB-BONE-4D7C-01-00A1.dtbo)

Though it took some time to make it work, I finally succeed. Since it’s using 16-bit parallel communication, not HDMI, and have some conflicting pins with HDMI, following uEnv.txt worked:

enable_uboot_overlays=1
disable_uboot_overlay_video=1

But now the issue is Red and Blue colors are inverted! Green stays as it’s but Red seems as Blue and Blue seems as Red. Cyan seems as Yellow etc.

I tried browser block, web sites looking like in this way. I also created a minimal dockerfile that just runs X server and Midori browser it also works like that. What might be the reason?

Answering my own question…

I included such a xorg.conf and it became normal: https://raw.githubusercontent.com/beagleboard/repos-arm64/e5e9f2b55abc394bd07a8ec7ce60f90d17e058e6/bbb.io-xfce4-desktop/suite/bullseye/debian/fbdev.xorg.conf

Just save this file as xorg.conf and include this line in your Dockerfile:
COPY xorg.conf /etc/X11/

Then it works!

1 Like