Patch Set 12:

Patch Set 12:

Patch Set 12:

Patch Set 12:

Hi, I was able to build with this patch (using nb51 mod, not Nitrocaster), and it generally works, with following caveats:

  • can't start Windows with libgfxinit - it loads, but as soon as Intel GPU driver is installed the screen goes dark, there's also no output on other connectors
  • display brightness doesn't work out-of-the-box, however there's a utility that takes care of that, so no biggie

I can start Windows if I compile with VGA option ROM, VESA framebuffer - which I can set to 1280x1024 (8:8:8) tops, this looks kinda ugly :( Windows will start booting with this resolution, and then switch to FullHD on login screen.

I've seen other people have compiled Coreboot with libgfxinit and can start Windows just fine, but all the reports I found were from plain X230, not X330. As far as I understand, libgfxinit uses only data.vbt to initialize GPU. On the other hand, (I might be wrong but) I believe data.vbt is where magic happens to disable LVDS? Or can I use "stock" data.vbt? This is where I'm starting to be lost.

Are you able to figure out how to have Windows and FullHD on boot (possibly with libgfxinit)?

libgfxinit does not use data.vbt at all. However, Windows does. Linux can boot without data.vbt as well.

That's good to know - so essentially the data.vbt here was modify for Windows to use, but Windows doesn't really boot up with provided data.vbt, so I can replace with stock one and not risk being unable to boot into Linux?

nb51 mod is different! The brightness of the nb51 is controlled via usb and not via the brightness on board as the nitrocaster does. Can you test if windows boots with the OEM vbt? It would really surprise me, but I don't know the windows IGD driver.

To be frank, I'm not concerned about brightness control at all :-)

I just flashed coreboot with OEM vbt, and surprise! Windows booted, but was thinking it has 2 screens; Linux (Ubuntu 20.04, fully updated) booted, but no output until I started with video=LVDS-0:d video=DP-2:e. Seems that all the secret sauce is indeed in data.vbt provided in this patch, but while Linux is cool with it, Windows isn't.
How to modify data.vbt? I might do some experiments with it.

View Change

To view, visit change 28950. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0355d39a61956792e69bccd5274cfc2749d72bf0
Gerrit-Change-Number: 28950
Gerrit-PatchSet: 12
Gerrit-Owner: Alexander Couzens <lynxis@fe80.eu>
Gerrit-Reviewer: Alexander Couzens <lynxis@fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Kilian Neuner <cb@9-r.net>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: Peter Lemenkov <lemenkov@gmail.com>
Gerrit-Reviewer: Richard Slindee
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Felix Singer <felixsinger@posteo.net>
Gerrit-CC: Aleksei Kharlamov <derlafff@ya.ru>
Gerrit-CC: Christian Herzog
Gerrit-CC: Holger Levsen <holger@layer-acht.org>
Gerrit-CC: Matthias Wiedhalm
Gerrit-CC: Pavel Kovalenko <su@nitrocaster.me>
Gerrit-CC: Sergey Alirzaev <zl29ah@gmail.com>
Gerrit-CC: Stanislaw Kaminski <stanislaw.kaminski@gmail.com>
Gerrit-CC: Tom Hiller <thrilleratplay@gmail.com>
Gerrit-CC: Tomasz Jan Góralczyk
Gerrit-CC: clayton craft
Gerrit-CC: slact
Gerrit-Comment-Date: Tue, 13 Oct 2020 12:17:10 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment