Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple framebuffer support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3249
Location: de

PostPosted: Tue Jan 14, 2014 6:25 pm    Post subject: Simple framebuffer support Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Tue Jan 14, 2014 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3249
Location: de

PostPosted: Wed Jan 15, 2014 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Wed Jan 15, 2014 6:59 pm    Post subject: Reply with quote

https://www.kernel.org/doc/Documentation/devicetree/bindings/video/simple-framebuffer.txt

yeah that documentations pretty useless.
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 663
Location: Barcelona, Spain

PostPosted: Thu Apr 10, 2014 3:00 am    Post subject: Reply with quote

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
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Thu Apr 10, 2014 3:17 am    Post subject: Reply with quote

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
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 663
Location: Barcelona, Spain

PostPosted: Thu Apr 10, 2014 3:28 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Thu Apr 10, 2014 6:31 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Fri Apr 11, 2014 8:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Fri Apr 11, 2014 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum