Project

General

Profile

Actions

Bug #665

open
WS

Does EDK2 MrChromeBox support integrated dGPU uga/gop VBIOS file from CBFS?

Bug #665: Does EDK2 MrChromeBox support integrated dGPU uga/gop VBIOS file from CBFS?

Added by Walter Sonius 1 day ago. Updated about 19 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
10/04/2026
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Apple MacBookPro10,1
Affected OS:

Description

Does EDK2 MrChromebox 26.09.2 load a VBIOS bin file from CBFS added with CONFIG_VGA_BIOS and runs it like SeaBIOS does for laptops with dGPU? Tried it with and without the CONFIG_EDK2_LOAD_OPTION_ROMS:y setting?

For a while EDK2 MrChromeBox payload caries support for loading VBIOS from real physical PCIe dGPU's using CONFIG_EDK2_LOAD_OPTION_ROMS:y if they have a matching 64-bit EFI GOP. This has worked fine for me on real desktop boards with PCIe dGPU's from sandybridge to coffeelake both with AMD and NVIDIA dGPU's even combined with libgfxinit intel iGPU's.

Currently on coreboot 26.09-14-ge0eec9336f54 for the macbookpro10,1 CB:32673 it works fine with SeaBIOS 1.17. Switching from only Intel to only NVIDIA keeps SeaBIOS bootscreen and makes built-in display, both miniDP and HDMI output work if using NVIDIA. While only using CONFIG_VGA_BIOS with 10de,0fd5 a uefiextract supplied VBIOS bin and not even using the Kconfig 2nd or discrete VGA options (since the Intel iGPU uses libgfxinit).

When using EDK2 MrChromebox 26.09.2 forced to only NVIDIA the built-in display remains off during post/boot (no bunny neither on both miniDP ports nor HDMI port). However the OS nouveau driver detects the VBIOS in its CBFS/ACPI table and all video outputs start working fine including sound output. Currently only Intel iGPU output works fine with EDK2 bootscreen.

Any thoughts how to debug or even research if my VBIOS file has a correct EFI GOP in it?

By default both EDK2 and SeaBIOS builds are build with libgfxinit support and not using the coreboot way of running the VBIOS from CBFS but let the payload do it which works for SeaBIOS.

WS Updated by Walter Sonius about 24 hours ago Actions #1

Recently saw this edk2 MrChromebox change UefiPayloadPkg/PlatformGopPolicy: Load GOP driver and VBT from CBFS still need to test and report back.

Also forgot to mention that switching from only Intel iGPU to NVIDIA dGPU happens at runtime both cmos (nvramtool) and cfr(not yet upstreamed) work and it is not a build time option.

MD Updated by Matt DeVillier about 19 hours ago Actions #2

Walter Sonius wrote in #note-1:

Recently saw this edk2 MrChromebox change UefiPayloadPkg/PlatformGopPolicy: Load GOP driver and VBT from CBFS still need to test and report back.

Also forgot to mention that switching from only Intel iGPU to NVIDIA dGPU happens at runtime both cmos (nvramtool) and cfr(not yet upstreamed) work and it is not a build time option.

I added that change yesterday so that the same edk2 payload could be used across an entire platform where only the VBT differed. It's only wired up for the Intel GOP+VBT combo, same as before.

Prior to that change, edk2 had no concept of, nor way to read the CBFS. It has no function to read the CBFS and try to locate EFI ROMs for dGPUs (or anything else)

Actions

Also available in: PDF Atom