From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Can we get video card information in EFI environment ?
Date: Sun, 08 Jun 2008 20:17:29 +0300 [thread overview]
Message-ID: <484C1429.4090803@nic.fi> (raw)
In-Reply-To: <ca0f59980806081008u2c30c544n62ef9d26b878504f@mail.gmail.com>
Bean wrote:
> BTW, you need to remove the udev start script from /etc/rcS.d,
> otherwise the screen would scramble again. I believe the cause is
> agppart. Fame buffer of EFI is a little strange, the line length is
> not equal to width * 4, for example, my macbook:
>
> width: 1280
> depth: 32
> line length: 8192
This is quite normal and can change from card to card. So thats the
reason you ask for line length from VBE/HW.
> So there is some invisible space after the screen boundary. But in
> bios emulation mode, the length is exactly width * 4. I think the
> driver should take this into account, or reconfigure the video
> hardware to use the new line length. (Anyone know how to do it ?)
GRUB 2 VBE driver already should work nicely with this (assuming VBE is
available). If you are planning to do EFI driver then you just use its
API to do blitting. Writing driver for EFI should be rather easy if I
remember correctly its interface. Can't write that driver myself unless
someone wants to provide me environment to do the coding.
next prev parent reply other threads:[~2008-06-08 17:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-07 18:38 Can we get video card information in EFI environment ? Bean
2008-06-08 17:08 ` Bean
2008-06-08 17:17 ` Vesa Jääskeläinen [this message]
2008-06-08 17:35 ` Bean
2008-06-08 17:51 ` Vesa Jääskeläinen
2008-06-08 18:00 ` Bean
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=484C1429.4090803@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.