LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2015, 05:36 PM   #1
rmalkmus
LQ Newbie
 
Registered: Mar 2015
Location: Denver
Distribution: Ubuntu
Posts: 6

Rep: Reputation: Disabled
Should I use a framebuffer? (fbdev)


Hello, I was trying to understand what frambuffer is. I'll list a couple of questions I have right off the bat. I'm sure more will generate after reading some responses.

Is this something that I should use?(i'd like to learn about it so this is most likely a yes...)

Will this only work on kernels 2.0.x or below?

Is this essentially a light weight graphics driver that should only be used if your video card doesn't have a supported graphics driver?
 
Old 05-20-2015, 02:50 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,569

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
It is essentially a vga text console which predates the X windows system's widespread use.

If your box is very old, maybe you should; If you never run X you should; Otherwise, there is no need unless your video driver requires it.

Give us more details on the box - age, video card type, drivers in use & do you use X?
 
Old 05-21-2015, 06:14 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
It works for latest kernels as well (4.x).

A framebuffer is region of memory with each pixel denoted by double word unit 32 bit or less depending on colour i.e. 32 bits per pixel(32bpp) or 24bpp or 16bpp or 8bpp.
 
Old 05-21-2015, 05:45 PM   #4
rmalkmus
LQ Newbie
 
Registered: Mar 2015
Location: Denver
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
I am pretty sure I run X because I use a GUI. I don't have a specific machine i want to run it on. It just confuses me so I wanted to try and figure out what it is. i thought it was just a generic video driver but it doesn't quite seem that it is. it seems more complicated than that.

What does it meant by "double word" I'm not really sure how to understand 32bpp vs 24bpp or 16bpp...is the higher the bpp the more rich the color will be?
 
Old 05-21-2015, 06:04 PM   #5
mralk3
Member
 
Registered: May 2015
Posts: 760

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
The Linux framebuffer (fbdev) is a graphic hardware-independent abstraction layer to show graphics on a computer monitor, typically on the console. The word framebuffer means a part of video memory containing a current video frame, and the Linux framebuffer means “access method to the framebuffer under the Linux kernel”, without relying on system-specific libraries such as SVGALib or another user space software.
Source: https://en.wikipedia.org/wiki/Linux_framebuffer

Quote:
The framebuffer's original function is as a video RAM cache to allow more flexibility to (older) video cards. Many newer cards come with framebuffers on board, which are often already compatible with many operating systems. Enabling framebuffer support in the Linux kernel will often cause graphical artifacts or black screen displays. For most newer cards, this option should not be selected when using the LiveDVD.
Source: https://wiki.gentoo.org/wiki/Framebuffer

Try searching google if you need more of an explanation. Both of these links I gave you should be really informative on the topic.
 
Old 05-22-2015, 05:20 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,569

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
The main benefit I find in a framebuffer these days is that you can make your fonts too small to read :-/.

I would consign it to history, unless you fulfill one of the conditions in post #2
 
Old 05-22-2015, 05:37 AM   #7
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
8bpp - gray scale colours
16bpp - 65K colours
24bpp - 16 million colours
32bpp - 16 million colour plus gamma

Last edited by veerain; 05-22-2015 at 05:40 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffplay on framebuffer (fbdev)? Xeratul Linux - General 7 04-19-2015 06:53 AM
framebuffer confusion with Hauppauge PVR 350 framebuffer /dev/fb0 tofino_surfer Linux - General 4 09-19-2008 12:36 AM
What is fbdev? shamju Linux - Kernel 1 10-05-2006 05:18 AM
differences between linux framebuffer driver and X fbdev driver dogalmity Programming 6 09-14-2006 09:18 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 04:21 PM


All times are GMT -5. The time now is 01:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration