Thrilleratplay / coreboot-builder-scripts

Bash scripts and config files to simplify building of Coreboot using the official coreboot-sdk docker image
GNU General Public License v3.0
32 stars 9 forks source link

Test Lenovo T430 with Nvidia video #7

Open Thrilleratplay opened 6 years ago

Thrilleratplay commented 6 years ago

Added T430 but only have access to the Intel HD model. Could someone with a NVidia video T430 test this configuration?

jcholsap commented 5 years ago

Just a couple questions about what you have here:

Thrilleratplay commented 5 years ago

@jcholsap Currently it may support the iGPU through libgfxinit but I have no way of knowing. I do not have a T430, or any Thinkpad, with an onboard NVIDIA GPU. If you are feeling very adventurous as the T430 is a massive pain to externally flash in the event something goes wrong, build script could be modified to also extract the NVIDIA blob from the stock BIOS

jcholsap commented 5 years ago

I sleep on a bed of laptop screws. Getting to the EPROMs is easy. So you're just wanting to see what happens, right? But to be usable, you must be able to switch between GPUs. I think power management is handled by a certain management computer, not a programmable logic controller. So if it does work on the dGPU without a way to switch to iGPU, then I'm stuck with poor battery life and excessive exhaust heat.

jcholsap commented 5 years ago

I'll see what I can do. I have a T430 with dGPU on the shelf.

jcholsap commented 5 years ago

I did some reading: https://doc.coreboot.org/acpi/gpio.html https://doc.coreboot.org/gfx/libgfxinit.html And I'm wondering how/if the O/S is going to toggle between GPUs, if both are even supported. Also: https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/7-series-chipset-pch-datasheet.pdf p.40 The Power Management Logic is located within the QM77 PCH and supports ACPI 4.0a BTW, the IME is also conveniently housed within the PCH. Anyway I'm wondering if the IME, being conveniently on the same die, has been mucking with the Power Management Logic. (Who knows.) So if libgfxinit does work, how hard will it be to implement power management? Anyway, I've decided I'd also like to see if it works. I have a good friend who programs in Ada. Might need his help. lol.

Thrilleratplay commented 5 years ago

@jcholsap This may be relevant https://review.coreboot.org/c/coreboot/+/28380

jcholsap commented 5 years ago

Sweet!

jcholsap commented 5 years ago
An easy fix per the dmsg error for NVIDIA driver? https://forums.gentoo.org/viewtopic-t-1080206-start-0.html Posted: Sun Apr 22, 2018 9:02 pm    Post subject:  

Solved this issue by updating to sys-kernel/gentoo-sources-4.14.26 and to x11-drivers/nvidia-drivers-396.18-r1.