linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Frans Pop <elendil@planet.nl>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	Martin Michlmayr <tbm@cyrius.com>,
	Keith Packard <keith.packard@intel.com>
Subject: Re: vga16fb: blank screen with Intel GM965/GL960 on HP 2510p notebook
Date: Sun, 23 Mar 2008 10:05:19 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0803231005101.25605@anakin> (raw)
In-Reply-To: <200803230226.38587.elendil@planet.nl>

On Sun, 23 Mar 2008, Frans Pop wrote:
> The problem here is that /proc/fb doesn't show VESA when the regular 
> installer is booted, AFAICT because we boot with vga=normal. vesafb seems 
> to only be actually activated by the kernel during boot if you boot with a 
> vga mode that requires it.

That's true. Vesafb uses the linear graphics mode as programmed by the
BIOS _before_ starting the kernel, and doesn't contain code to switch graphics
mode itselfs.

> The installer then runs its init scripts, specifically
> /lib/debian-installer-startup.d/S40framebuffer-module-linux-x86, and that 
> ends up loading vga16fb because loading vesafb fails (as it's compiled in).
> And thus you end up with vga16fb, basically because it's the only 
> framebuffer available _despite_ the fact that vesafb is compiled in...
> 
> Is there is a way to activate vesafb post-boot even when the system was 
> booted with vga=normal? If there is this could probably be avoided.

No, as it relies on the BIOS.

Uvesafb can, but it relies on a userspace helper daemon.

> Also, does anyone know a way to test whether fbcon is compiled in or not?
> We can of course test if fbcon is available as a module and assume it's 
> compiled in if not, but that's not a proper test that it _is_ present.

If /sys/class/graphics/fbcon exists but lsmod doesn't show fbcon?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

  reply	other threads:[~2008-03-23  9:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-21 16:39 vga16fb: blank screen with Intel GM965/GL960 on HP 2510p notebook Martin Michlmayr
2008-03-21 17:03 ` Keith Packard
2008-03-22 11:25   ` Martin Michlmayr
2008-03-22 16:40     ` Keith Packard
2008-03-22 16:58       ` Martin Michlmayr
2008-03-22 19:35         ` Frans Pop
2008-03-22 23:27           ` Martin Michlmayr
2008-03-23  1:26             ` Frans Pop
2008-03-23  9:05               ` Geert Uytterhoeven [this message]
2008-03-24 12:51                 ` Frans Pop

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=Pine.LNX.4.64.0803231005101.25605@anakin \
    --to=geert@linux-m68k.org \
    --cc=elendil@planet.nl \
    --cc=keith.packard@intel.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=tbm@cyrius.com \
    /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).