Subject: ofb vs. genfb
To: port-macppc mailing-list <port-macppc@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 08/04/2007 23:01:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

a while ago I wrote a generic framebuffer driver - genfb - which makes 
very few assumptions about the underlying hardware and is completely 
firmware-agnostic. The intention was to have a machine-independent 
driver for firmware-provided framebuffer consoles to replace ofb and 
which we can use on other ports that don't have such a driver, namely 
sparc64. The differences are:
- - genfb can work on any bus, so far there are frontends for PCI and SBus
- - genfb supports more than one instance
- - genfb does not support the PowerPC-specific cache hack, it does 
however support a shadow framebuffer which provides a similar speedup 
and works on all machines, even those where the cache hack doesn't 
work, like the PowerBook 3400c.
Both drivers support virtual consoles, colours, X etc.

The only problem is that genfb didn't get much testing.
Therefore - please give it a shot and report success or failure. Just 
take those lines out of your kernel config:
ofb0 at pci?
wsdisplay0 at ofb0
and add something like this:
genfb* at pci?
wsdisplay0 at wsemuldisplaydev? console 1
wsdisplay* at wsemuldisplaydev?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRrU9gcpnzkX8Yg2nAQK6VAf/dPnNj/riEWjuqM/qd/aLxbMixHXb8P6S
VdpRwOONg++R6sbL/OcAOZjEqBiptxKOlGtCxg8h30AVw1nHK1FoH8ksupEVFaKD
5/UkUydJvgW9+RomydpOYG0DlNYFf8cTzR41xJJk/aJLSSrnN8o8o1zXjqywbm0f
9ICRmNkDw/1Ef1qxolqTPjrIri4wdSUiSJOycu04ozLYHwD018Tge8ZqdIP0F3V9
iXQ1xNGUPU2FOtOCLO426DHPdNw537p6GOvnqO3rOn+jIkskwNwKUffd5rXyjHcD
EoaOTa1qwqvEPjciMM2UB98IrRZkP2bjTPWVH9Qk4+JmQ4tdJ9cMcA==
=I3+S
-----END PGP SIGNATURE-----