View previous topic :: View next topic |
Author |
Message |
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Jan 14, 2014 6:25 pm Post subject: Simple framebuffer support |
|
|
Hi there,
today I made a kernel update and found:
Quote: | Mark VGA/VBE/EFI FB as generic system framebuffer (X86_SYSFB)
CONFIG_X86_SYSFB:
Firmwares often provide initial graphics framebuffers so the BIOS,
bootloader or kernel can show basic video-output during boot for
user-guidance and debugging. Historically, x86 used the VESA BIOS
Extensions and EFI-framebuffers for this, which are mostly limited
to x86.
This option, if enabled, marks VGA/VBE/EFI framebuffers as generic
framebuffers so the new generic system-framebuffer drivers can be
used on x86. If the framebuffer is not compatible with the generic
modes, it is adverticed as fallback platform framebuffer so legacy
drivers like efifb, vesafb and uvesafb can pick it up.
If this option is not selected, all system framebuffers are always
marked as fallback platform framebuffers as usual.
Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will
not be able to pick up generic system framebuffers if this option
is selected. You are highly encouraged to enable simplefb as
replacement if you select this option. simplefb can correctly deal
with generic system framebuffers. But you should still keep vesafb
and others enabled as fallback if a system framebuffer is
incompatible with simplefb.
If unsure, say Y.
Simple framebuffer support (FB_SIMPLE)
CONFIG_FB_SIMPLE:
Say Y if you want support for a simple frame-buffer.
This driver assumes that the display hardware has been initialized
before the kernel boots, and the kernel will simply render to the
pre-allocated frame buffer surface.
Configuration re: surface address, size, and format must be provided
through device tree, or plain old platform data. |
Didn't find any documentation, how to use that thing. Does anybody know more about it? |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jan 14, 2014 7:04 pm Post subject: |
|
|
hi here is the documentation you request.
https://wiki.gentoo.org/wiki/Framebuffer
basically its a high resolution console for booting. makes it so you can actually see some stuff going on. looking at that wikipedia link of the subject gives a bunch of information on frame buffers.
if you want support i suggest posting information from 3.4 collection section of this page. https://wiki.gentoo.org/wiki/Troubleshooting |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Wed Jan 15, 2014 1:34 pm Post subject: |
|
|
Sorry, but maybe I was something misunderstood. I didn't ask for framebuffer generally. The above described options are new in the kernel and I didn't find a documentation how to use the simple fb driver, e.g. to specify the resolution via boot commandline. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu Apr 10, 2014 3:00 am Post subject: |
|
|
I am also upgrading the kernel and I am not sure what to do with this option. I set it as 'y', as it suggests. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts. |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Thu Apr 10, 2014 3:17 am Post subject: |
|
|
simplefb is dev side's code change, provide no adavantage over vesafb/efifb, and increase kernel size. Always disable it if possible. |
|
Back to top |
|
|
mimosinnet l33t
Joined: 10 Aug 2006 Posts: 713 Location: Barcelona, Spain
|
Posted: Thu Apr 10, 2014 3:28 am Post subject: |
|
|
Thanks! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Apr 10, 2014 6:31 pm Post subject: |
|
|
s4e8 wrote: | simplefb is dev side's code change, provide no adavantage over vesafb/efifb, and increase kernel size. Always disable it if possible. |
Well, I don't know. That "move console completely into userspace" goal, while wacky, does have a few potential benefits for average users. |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Fri Apr 11, 2014 8:27 pm Post subject: |
|
|
s4e8 wrote: | simplefb is dev side's code change, provide no adavantage over vesafb/efifb, and increase kernel size. Always disable it if possible. | You couldn't be more wrong. simplefb is a replacement for vesafb that retains the fb resolution set by grub2, hence, if you use proprietary AMD/NVIDIA GPU drivers enabling simplefb will give you a native-resolution console rather than the ugly 80x25 one (assuming you use grub2, have set it to use a native resolution framebuffer, and are booting with GFXPAYLOAD=keep). |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Fri Apr 11, 2014 11:30 pm Post subject: |
|
|
Thank you for sharing this; I'll try it soon as it seems promising, but I'm not getting my hopes up. |
|
Back to top |
|
|
|