On 24.06.20 15:25, Peter Stuge wrote:
Michal Zygowski wrote:
when VGA option rom is used, SeaBIOS finds the mode it fits the bootsplash resolution and bpp. Additionaly the display area is adjusted to cover whole screen, i.e. when using 1024x768 bootsplash on 1920x1080 screen the bootsplash covers whole screen,
Stretching the graphic e.g. from 4:3 to 16:9 as in your example makes it appear distorted - stretched wide, right? Is that really desirable?
If yes, you would have to implement a bitmap scaler in coreboot/libgfxinit.
libgfxinit can have the hardware scale the image, but it won't stretch it. You can use
config LINEAR_FRAMEBUFFER_MAX_WIDTH and config LINEAR_FRAMEBUFFER_MAX_HEIGHT
to reduce the framebuffer resolution, then the image would be scaled to fit in height, but with a pillarbox.
Nico