Thread (2 messages) 2 messages, 2 authors, 2004-11-05

RE: Is framebufer driver a replacement for video driver?

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-11-05 08:53:28

On Fri, 5 Nov 2004, Mukund JB. wrote:
quoted
quoted
Is there a generic low level driver that will interact with the
hardware?
Yes and No. Yes, because there are platform drivers that may work with
many cards (VESA, VGA16, OF).  You can consider them as generic.
Are you talking about the vesafb driver? this being  a generic driver,
Will this driver work on any video card? 
Yep, `VESA' means the vesafb driver. It works on any video card with a VESA 2.0
compliant BIOS.
If a card is VESA 2.0 complaint, is there a generic framebuffer driver
that will work on it? 

I assume VESA 2.0 standards will define hardware registers.
No, it's a BIOS standard. It standardizes how to talk to the BIOS to set a
(linear) graphics mode.
quoted
However, the hardware specific specific driver will work only with a
particular chipset.
What chages from framebuffer driver to framebuffer driver?
I think its just hardware accessing.
Yep. But the way you program the graphics chip may differ a lot among different
graphics chips.
quoted
quoted
What happens when I say startx at command prompt with XF86Config-4
file
quoted
quoted
configured for framebuffer driver?

Is it like, When I say startx with XF86Config-4 file configured for
framebuffer driver, the video we get is a result of X server using
the
quoted
quoted
framebuffer driver directly? Right?
Yes.
quoted
In this case, Is there a video driver involved in getting the video
apart from the framebuffer driver?
The framebuffer driver itself touches the hardware, and usually it's
one
quoted
driver per chipset.  However, the interface that is used by the
application
is standard.
Let's make this clearer.
The video I get after startx is running just on framebuffer driver?
There is no other video driver involved in the running video.right?
For unaccelerated operation, yes.

If you want hardware accelerated drawing operations, the X server still has to
known how to program the graphics chip. The frame buffer device takes care
about setting the video mode and color palette, and mapping video RAM only.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help