Hi
Am 22.10.25 um 20:37 schrieb Hans de Goede:
[...]
Yes, the GRUB patch is mostly useful for VESA. For EFI on x86,
I posted a patch series to fetch the EDID in the EFI stub and
forward it to the kernel. Have a look at [1].
This looks good, very nice!
I assume the stub + copying thing is because this all depends
on EFI boot services and this cannot be done after calling
exit-bootservices, right ?
Yes.
You might want to mention that in the commit-messages.
Good idea. I'll do so in the next update.
For non-x86 EFI systems, I also have a prototype, but wanted to get the x86
done first. I have to some research if systemd-boot requires anything extra.
Since the kernel now retrieves the EDID itself I don't expect
systemd-boot to need anything extra. Unlike grub which loads
the kernel itself even in EFI mode (a), I believe that systemd
always executes the kernel as an EFI binary and thus always
uses the efistub (which IMHO is the right thing to do).
Things are moving in the right direction.
Definitely, once more thank you for working on this.
Regards,
Hans
a) Grub upstream that is, Fedora at least has patches to
instead execute the kernel as an EFI binary using the stub
Same here on openSUSE Tumbleweed. But upstream GRUB's EDID support
should also work with UEFI; not just VESA.
Best regards
Thomas
[1] https://lore.kernel.org/lkml/[email protected]/
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)