> I think the videocore
> firmware must have changed from BGR to RGB some time since I last
> looked.  I will look into this.

Yes, someone on the netbsd mailing list noticed (Jan 2015):

> Newer Raspberry Pi firmware has changed the framebuffer from BGR to RGB.
> The method we use to set the pixel order (vcprop set pixel order) does not
> seem to work, nor does querying the pixel order (vcprop get pixel order).
> 
> The firmware passes this information to the kernel by adding a
> "bcm2708_fb.fbswap" kernel cmdline arg. 0=BGR, 1=RGB. ...

It turns out that the interface 9pi used for querying framebuffer depth
is also now broken.  Setting framebuffer_depth=N in config.txt used to
work for changing the pixel format, now it doesn't.

Sadly there's been a history of the pi firmware interface quietly changing
behind the scenes.  Making a corresponding quiet change to their linux
kernel seems to be considered sufficient documentation.  Sigh.


Reply via email to