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