Re: efifb swapping Red/Blue color
From: Peter Jones <pjones@redhat.com>
Date: 2012-11-21 14:38:05
On Wed, Nov 21, 2012 at 12:14:57AM +0100, Bruno Prémont wrote:
On a MacBookAir2,1 with 9400M C79 nVidia GPU fbcon on efifb has red and blue colors swapped. Extract from kernel log: efifb: probing for efifb efifb: framebuffer at 0x80010000, mapped to 0xffffc90004580000, using 6400k, total 6400k efifb: mode is 1280x800x32, linelength�92, pages=1 efifb: scrolling: redraw efifb: Truecolor: size=8:8:8:8, shift$:0:8:16 On another system with radeon GPU and externally connected DVI monitor colors are set properly. Probably efifb should be looking at something to determine if display is RGB or BGR...
Right - normally we get it from the firmware graphics driver, but on a
few generations of Intel Macs they gracefully omitted an implementation
of that part of the spec, which is why we have a DMI table that just has
best-effort entries.
So that on that hardware, it doesn't really give us anything to look
at. Though if the same machine comes with two different video cards
that are, by default, configured opposite ways, there may be something
we can do. Could show me the "lspci -v" for each of those devices (the
nvidia and the radeon)?
--
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html