# Re: Generic framebuffer driver

- From: Geert Uytterhoeven \<geert@linux-m68k.org\>
- Date: 2004-08-20 16:09:43 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2004/08/13453575
- Thread: https://ratatoskr.run/linux-fbdev/2004/08/13453573/t.md

```text
On Fri, 20 Aug 2004, Otto Wyss wrote:
> Since I never could acceptable align my monitor screen between Windows,
> Linux console and Linux X-server I bought a DVI cable and switch to
> digital mode. Immediately I discovered a fantastic feature of the radeon
> framebuffer driver, it's able to discover the correct resolution of my
> LCD monitor.
>
> I guess this is a common feature of the digital interface and might be
> available for any graphic card/monitor with DVI. Does anyone know for
> sure? If yes this feature would allow to create a generic framebuffer

It can work for normal monitors as well, using DDC.

> driver which could be built into the kernel and used right from the
> start. How nice would it be to have a shiny startup screen right from
> the start of Linux! All the startup messages could be shown in a decent
> font (maybe even configurable) and might be surrounded by a nice window.
> What a difference would it make against the current DOS-like look.

Like what e.g. SUSE does?

> The main task of this generic driver is to detect and switch to the
> correct resolution and may only handle simple 2D drawing. It should only
> support common features. It needs only be useful during startup and in
> cases no specific framebuffer driver exists. And of course it has to
> stop working and yield any resources when a card specific driver is loaded.
>
> Do you also think such a generic driver should exist? Is anyone able to
> create it, maybe simply extract it from the radeonfb?

This generic driver does not exist. And it's not simple to write, since it's
hardware dependent.

The closest thing to such a generic driver is the existing vesafb. Perhaps on
some cards the BIOS uses DDC as well to find a nice video mode?

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
```
