Framebuffer config for 24bpp on TK1

I’m trying to get a new LVDS TFT display working with a TK1 on the Ixora carrier. It a AUO G104XVN01.0, 10" LCD with 1024x768 resolution and 24bpp.

I tried using the vidargs mode as: video=tegrafb0:1024x768-24@60

The sizing looks correct, but the colors are off. When I check ‘fbset’ in Linux it reports that the buffer is using 16bpp.

How can I get this to use the correct color depth? Do I need to increase the framebuffer memory? I tried playing with ‘fbmem’ settings, but no luck there either.

And… the display keeps going blank after 3 seconds. How do I keep it on?

Thanks

which bsp and hardware version are you using for the module?

The Ixora is rev 1.1. Same for the TK1 SoM, if I’m not mistaken. I’m using the Tegra Ubuntu from JetPack 3.0 with the drivers from Apalis-iMX6_LXDE-Image_2.7b3-20170630.tar.bz2

What differences are there in the variations of the BSP?

I also tried it with a stock distribution on a new board and got the same result:

Angstrom v2016.12 - Kernel 3.10.40-2.7.2+g0fd5295
Apalis-TK1_LXDE-Image 2.7.2 20170410

Never mind. Sorry. It appears to have been a problem with a bad batch of cables.

The display looks good now. Yet it doesn’t explain why ‘fbset’ is still reporting to be in 16bpp mode when the display is 24bpp. Hmmm.

What differences are there in the variations of the BSP?

That information could be found here.

I also tried it with a stock distribution on a new board and got the same result

There is no such thing as a stock distribution. Especially sample modules will ship with whatever version available for production testing at that time. More recently this will actually be the Toradex Easy Installer. It is the customers full responsibility to install/upgrade to a suitable/supported image.

Yes it does. You are just mixing the frame buffer bit depth with how the display data pins are hooked up which are two completely unrelated things.