Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Simple framebuffer support

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
musv
Advocate
Advocate
User avatar
Posts: 3380
Joined: Sun Dec 01, 2002 4:13 pm
Location: de

Simple framebuffer support

  • Quote

Post by musv » Tue Jan 14, 2014 6:25 pm

Hi there,

today I made a kernel update and found:
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?
Top
666threesixes666
Veteran
Veteran
User avatar
Posts: 1248
Joined: Tue May 31, 2011 9:46 pm
Location: 42.68n 85.41w
Contact:
Contact 666threesixes666
Website

  • Quote

Post by 666threesixes666 » Tue Jan 14, 2014 7:04 pm

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
http://www.funtoo.org/
Top
musv
Advocate
Advocate
User avatar
Posts: 3380
Joined: Sun Dec 01, 2002 4:13 pm
Location: de

  • Quote

Post by musv » Wed Jan 15, 2014 1:34 pm

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.
Top
666threesixes666
Veteran
Veteran
User avatar
Posts: 1248
Joined: Tue May 31, 2011 9:46 pm
Location: 42.68n 85.41w
Contact:
Contact 666threesixes666
Website

  • Quote

Post by 666threesixes666 » Wed Jan 15, 2014 6:59 pm

https://www.kernel.org/doc/Documentatio ... buffer.txt

yeah that documentations pretty useless.
http://www.funtoo.org/
Top
mimosinnet
l33t
l33t
User avatar
Posts: 720
Joined: Thu Aug 10, 2006 4:20 pm
Location: Barcelona, Spain
Contact:
Contact mimosinnet
Website

  • Quote

Post by mimosinnet » Thu Apr 10, 2014 3:00 am

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.
Top
s4e8
Guru
Guru
Posts: 311
Joined: Sat Jul 29, 2006 11:09 am

  • Quote

Post by s4e8 » Thu Apr 10, 2014 3:17 am

simplefb is dev side's code change, provide no adavantage over vesafb/efifb, and increase kernel size. Always disable it if possible.
Top
mimosinnet
l33t
l33t
User avatar
Posts: 720
Joined: Thu Aug 10, 2006 4:20 pm
Location: Barcelona, Spain
Contact:
Contact mimosinnet
Website

  • Quote

Post by mimosinnet » Thu Apr 10, 2014 3:28 am

Thanks! :D :) :D
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.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Thu Apr 10, 2014 6:31 pm

s4e8 wrote:simplefb is dev side's code change, provide no adavantage over vesafb/efifb, and increase kernel size. Always disable it if possible.
:roll:
Well, I don't know. That "move console completely into userspace" goal, while wacky, does have a few potential benefits for average users.
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Fri Apr 11, 2014 8:27 pm

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).
Top
TomWij
Retired Dev
Retired Dev
User avatar
Posts: 1553
Joined: Wed Jul 04, 2012 6:52 pm

  • Quote

Post by TomWij » Fri Apr 11, 2014 11:30 pm

Thank you for sharing this; I'll try it soon as it seems promising, but I'm not getting my hopes up.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic