[coreboot] Re: libgfxinit quick starter guide
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 ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org
[coreboot] Re: Extended IvyBridge CPU configuration
Hi, thanks for the pointer! I only fear that running my CPU at the maximum possible Turbo Ratio will overheat it. I can give it a try but I'm actually looking for an option to limit the maximum Turbo Ratio the CPU is allowed to reach (hence the disabling of TurboBoost altogether). On 21/06/2020 00:52, Evgeny Zinoviev via coreboot wrote: Hi again. There's another patch that fits to the topic that you will probably want to try out: https://review.coreboot.org/c/coreboot/+/42547/ On 12/15/19 3:57 PM, Lars Hochstetter wrote: Hi everyone, I'm looking for an option to configure my Intel IvyBridge CPU (enable / disable Hyperthreading, TurboBoost, set configurable TDP level etc.) using coreboot / nvramcui. My board is a Lenovo Thinkpad T430. So far, "only virtualization" is configurable and can not be enabled / disabled "in flight" but requires a rebuild of coreboot. Is anyone currently working on something similar? Is anything planned in that regard? Kind regards lhochstetter ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org
[coreboot] Re: libgfxinit quick starter guide
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. //Peter ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org
[coreboot] Re: libgfxinit quick starter guide
Hi Nico, On 6/23/20 7:55 PM, Nico Huber wrote: > On 23.06.20 16:51, Michal Zygowski wrote: Now the only thing that comes to my mind are the VGA interrupts, because SeaBIOS has more complete interrupt services than coreboot. Any comments or suggestions on that? I think my next step would be to trace all INT 10h and compare the differences and fix it possibly in SeaVGABIOS. >>> Not sure what you are up to. Libgfxinit sets a specific mode. After that >>> is set, SeaVGABIOS can't change it, only report the mode info. And if >>> SeaBIOS' JPEG parser ignores the info, it doesn't matter what SeaVGABIOS >>> reports. >> Okay, I see. How do I know which mode is set by libgfxinit? > The resolution will be picked according to the attached monitors > (either native resolution or lower if another monitor has lower > resolution). The color format is currently hardcoded: 32-bit BGRX, > or in terms of coreboot's `struct lb_framebuffer`: > > bits_per_pixel => 32, > reserved_mask_pos=> 24, > reserved_mask_size => 8, > red_mask_pos => 16, > red_mask_size=> 8, > green_mask_pos => 8, > green_mask_size => 8, > blue_mask_pos=> 0, > blue_mask_size => 8); > > Nico Thank you. It looks like I can't use JPG bootsplash with libgfxinit, because it requires 16bpp mode (according to SeaBIOS logs). A workaround I have found is to convert it to BMP, then it uses 32bpp and everything is allright. But for example, 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, while in libgfxinit it is centered leaving unused bars on the both sides of the screen. Any ideas how to improve that? Best regards, -- Michał Żygowski Firmware Engineer https://3mdeb.com | @3mdeb_com signature.asc Description: OpenPGP digital signature ___ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-le...@coreboot.org