Bug 10406 - Beaglebone black: Buggy SGX driver version, swapped red and blue channels
Summary: Beaglebone black: Buggy SGX driver version, swapped red and blue channels
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.08
Hardware: Other Linux
: P5 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 13:23 UTC by Nikola Rajovic
Modified: 2017-10-31 21:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.