Page 1 of 1

framebuffer size, overscan and native resolution

Posted: Fri Dec 14, 2018 11:50 am
by steinerlein
Hi all,

I am currently setting up a custom TFT display over DPI and have gotten the timings to work well so far. Now I am struggling to get the framebuffer size set correctly.
The display I am using displays a resolution of 800x320 but the display controller takes a resolution of 800x480 and cuts off the remaining lines.
Thus, my config.txt looks like this:

Code: Select all







dpi_timings=800 0 210 1 46 480 0 22 1 23 0 0 0 60 0 33000000 7

As you can see, I have the framebuffer height set to 480px as well. Everything is displayed at the native resolution in both axis, but the framebuffer goes "off screen". If I set it to the displayed height of 320px I can see everything, but the image is compressed vertically. In this case I also set overscan_bottom to 160.

What am really looking for would be a margin for the framebuffer, so that I can set the native resolution of 480px and tell it to ignore the bottom 160 lines.

Is there such a thing?

Re: framebuffer size, overscan and native resolution

Posted: Fri Dec 14, 2018 7:35 pm
by aBUGSworstnightmare
What do you expect to be the result of display_rotate in your config?

Are you sure your timimg is right? How does this 'lcd controller' deal with (I expect bottom) remaining lines? Why do you need to add overscan bottom at all?