Bug 10406

Summary: Beaglebone black: Buggy SGX driver version, swapped red and blue channels
Product: buildroot Reporter: Nikola Rajovic <nikola.rajovic>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: critical CC: buildroot
Priority: P5    
Version: 2017.08   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Nikola Rajovic 2017-10-13 13:23:39 UTC
Hi,

I have built a buildroot image for BeagleBone Black using beaglebone_qt5_defconfig config. The problem is with eglfs backend and SGX GPU driver in turn swapping red and blue channels when rendering on 16-bit 7'' LCD cape. Not tested with HDMI. It seems that SGX driver uses BGR instead of RGB color mode (or vice versa).

fb-test application displays correct colors, everything matches. 

Any clue if it is possible to get an updated version of SGX driver which resolves this issue. 


Thanks,
Nikola
Comment 1 Peter Korsgaard 2017-10-21 19:41:21 UTC
The am335x has a known hw bug regarding red/blue swap when configuring the RGB output for 16 bit mode, so it is probably related to that.

Why things are working for SW rendering and not for GPU rendering I don't know, but you will probably have more luck asking on the beaglebone list:

https://groups.google.com/forum/#!categories/beaglebone/beagleboardorg-beaglebone-black
Comment 2 Thomas Petazzoni 2017-10-31 21:00:17 UTC
Issue is specific to the HW platform and is not related to Buildroot per-se, therefore I'm closing.