On 09/30/2018 02:33 PM, kinky_nekoboi wrote:
thanks i will try to buile a rom from master tree
is there any tutorial to insert the right vgabioses into the rom
1. Extract VGA ROM
from your UEFI dump as explained here:
2. Run `lspci -nn` on your machine with dGPU enabled, you can do that
under Lenovo BIOS or under latest coreboot with CMOS option
"hybrid_graphics_mode" set to "Dual Graphics" (the PCI device is not
hidden in this case).
3. Add VGA ROM to coreboot image: `cbfstool build/coreboot.rom add -t
optionrom -n pci10de,0ffc.rom -f vgabios.rom`, where 10de is the vendor
id and 0ffc is the device id of your GPU.
AFAIK the nvidia driver doesn't work at the moment but you can use
nouveau. Optimus is not supported officially yet but is sort of