9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Has anyone run 9front on Libreboot (libgfxinit) without a VGA BIOS?
Date: Sun, 23 Nov 2025 08:26:25 -0800	[thread overview]
Message-ID: <CAP6exYKffcCVpRArHxzUpsJBZ5BDGWuop9TF1xdJi=m9ahHMpw@mail.gmail.com> (raw)
In-Reply-To: <1763903896.dnuza6sy24.astroid@laptop.none>

[-- Attachment #1: Type: text/plain, Size: 2502 bytes --]

There is i915 support in coreboot, not sure how much of that libreboot got
when it forked.

ca 2002, David Hendriks and I got graphics working, which later led to this
fun video: https://youtu.be/DmK_SQI56fQ?si=cNhl1v-5ZR4f5VYM

I put the i915 support in coreboot while I was working on chromebooks. We
showed this can be fast: https://youtu.be/4qLDjHThCyE?si=KFAkWdZjG1ggsRlp
as compared to intel's incredibly slow graphics layer in UEFI. (that video
ignores Intel's VGA BIOS entirely; it is coreboot vs. linux graphics
startup).

Later, others greatly improved the coreboot graphics support. I have no
idea what libreboot has done, or if they've kept up. Libreboot did have a
desire not to use vendor graphics BIOS in startup (i.e. no blobs), and that
might be an issue.

as for coreboot, x220, and Plan 9: do you see anything at all on the screen
before linux starts?

I developed coreboot graphics support by watching all the ins/outs/memory
read/memory write that linux did.This was possible because,  at the time
(2012) Jesse Barnes, then at Intel, had worked hard to make LInux graphics
work without needing the Intel video BIOS: chromebooks in normal mode let
Linux do ALL graphics startup. IIUC, Intel did not keep that
BIOS-independence going, and I believe a BIOS-free graphics setup on Intel
display hardware no longer works.

If you really want to chase this down, you can do the same thing I did.
You'll be surprised at how little it takes to get that last step going.
Usually, it's something very simple. I think it would be nice to have
coreboot+plan 9+x220 working. We could then even consider using a 4 byte
address SPI part and put Plan 9 boot file system in firmware :-)

A handy way to test things out is to start up your x220, cpu in, and
experiment with poking the frame buffer. What has not been tried, but ought
to work, is cpu in, run linux in a vm, and let it bring the buffer up. That
would be really interesting.

On Sun, Nov 23, 2025 at 8:05 AM Emery <emery@slow.janky.email> wrote:

> With my x220 and coreboot the graphics are not initialized by 9front on
> coldboot.
> 
> if you boot into Linux, load the i915 module, then do a hot-reboot into
> 9front, then it works.
> 
> Cheers,
> Emery

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T82d344ab9bb6e428-M7d1444d9bf25f89b711616cd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 4111 bytes --]

  reply	other threads:[~2025-11-24 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-22 15:53 [9fans] Has anyone run 9front on Libreboot (libgfxinit) without a VGA BIOS? layup28
2025-11-22 16:49 ` Ron Minnich
2025-11-23 13:20   ` Emery
2025-11-23 16:26     ` ron minnich [this message]
2025-11-24 22:42       ` Jacob Moody
2025-11-25  1:17         ` layup28
2025-11-25 16:05           ` ron minnich
2026-02-03 11:13           ` red
2025-11-24 21:07 ` Жора
2025-11-25 19:05   ` Ron Minnich
2025-12-04 17:25     ` jon4coffey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP6exYKffcCVpRArHxzUpsJBZ5BDGWuop9TF1xdJi=m9ahHMpw@mail.gmail.com' \
    --to=rminnich@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).