I have installed coreboot on 2 different x4x boards. Both with intel G41 chipset and attached GPU to the PCIe slot (so probably not an issue with missing gpu-bios file because the gpu-bios of the PCIe card is been used).
Work-timeline: 1. I got a clean ssd and installed linux on it using the OEM bios. The typical graphical Grub output was visable and i was able to change configuration in it by pressing 'e' at boot. 2. I used this installed linux and git cloned coreboot (today), built everything and flashed with flashrom the coreboot image. 3. Turned the computer fully off. Turned it on and grub graphical output is gone.
I have this issue since i can think of it.
How i build coreboot: make menuconfig, choose mainboard-vendor, mainboard model, press esc and confirm saving. Then build.
Hello,
On Thu, Jan 17, 2019, 21:37 akjuxr3--- via coreboot <coreboot@coreboot.org wrote:
I have installed coreboot on 2 different x4x boards. Both with intel G41 chipset and attached GPU to the PCIe slot (so probably not an issue with missing gpu-bios file because the gpu-bios of the PCIe card is been used).
Which mainboards and GPUs are these? Have you tried using the integrated GPU with libgfxinit?
Work-timeline:
- I got a clean ssd and installed linux on it using the OEM bios. The
typical graphical Grub output was visable and i was able to change configuration in it by pressing 'e' at boot. 2. I used this installed linux and git cloned coreboot (today), built everything and flashed with flashrom the coreboot image. 3. Turned the computer fully off. Turned it on and grub graphical output is gone.
I have this issue since i can think of it.
How i build coreboot: make menuconfig, choose mainboard-vendor, mainboard model, press esc and confirm saving. Then build.
If nothing else is changed, this should definitely be bootable.
Best regards,
Angel Pons
Thanks for the fast answer. For example i have the issue with an Asrock G41 mainboard. I have tried 2 different AMD cards (3000 series and 7000 series) and 3 different Nvidia cards (old 6000 series, newer 9000 series and even newer gtx 500 series). All those PCIe cards had no issues before to display graphical output at boot time. All those can nott display graphical output at boot time any more since coreboot is been flashed to the SPI chip.
You wrote "this should definitely be bootable". The system is booting, but i dont have graphical grub output any more like i always had before. The screen is black at the time when the grub should be displayed. When the normal 3 seconds grub timeout is done, the system boots.
How can i get the graphical boot functionality on external PCIe GPUs back?
Hello,
On Fri, Jan 18, 2019, 23:51 akjuxr3--- via coreboot <coreboot@coreboot.org wrote:
Thanks for the fast answer. For example i have the issue with an Asrock G41 mainboard.
Right, I have the Asrock G41M-S3 here.
I have tried 2 different AMD cards (3000 series and 7000 series) and 3
different Nvidia cards (old 6000 series, newer 9000 series and even newer gtx 500 series). All those PCIe cards had no issues before to display graphical output at boot time. All those can nott display graphical output at boot time any more since coreboot is been flashed to the SPI chip.
You wrote "this should definitely be bootable". The system is booting, but i dont have graphical grub output any more like i always had before. The screen is black at the time when the grub should be displayed. When the normal 3 seconds grub timeout is done, the system boots.
Could you please send a coreboot log from cbmem? It can be extracted from a running system with util/cbmem.
How can i get the graphical boot functionality on external PCIe GPUs back?
coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
Hi akjuxr3,
On 19.01.19 13:33, akjuxr3--- via coreboot wrote:
Here a fresh build and the cbmem of it:
it looks like coreboot is doing it's job. The external GPU is made the primary gfx adapter:
Use plugin graphics over integrated. Setting up VGA for PCI: 01:00.0 Setting PCI_BRIDGE_CTL_VGA for bridge PCI: 00:01.0 Setting PCI_BRIDGE_CTL_VGA for bridge DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device
and coreboot skips the gfx init for the integrated one:
IGD is not decoding legacy VGA MEM and IO: skipping NATIVE graphic init
SeaBIOS is executing an option ROM:
Scan for VGA option rom Running option rom at c000:0003 Running option rom at ce00:0003 pmm call arg1=0 Turning on vga text mode console
but doesn't indicate where it got that from. And it's not unlikely that it runs the wrong one. In the default configuration of coreboot, SeaVGA- BIOS is added for compatibility with the coreboot framebuffer (that you don't have because the external GPU made the primary one).
In the "Devices" menu of coreboot, set "Graphics initialization" to "None". This should help in case SeaBIOS is using the wrong option ROM. However, if you remove the external GPU, not even the internal one will work during boot (it might be possible to add SeaVGABIOS in a way that doesn't confuse SeaBIOS, but I don't know enough about SeaBIOS to say how).
Hope that helps, Nico
Nico, thanks! This worked. I have now again graphical GRUB output with external GPU. I tested two external GPUs and both work fine. Is it possible to fix this bug so that you dont loose the internal Intel GPU init?