Direct VGA video adapter access ?

Direct VGA video adapter access ?

Post by Dan Ts » Fri, 27 Jul 2001 11:16:41



        Can someone point me to the simplest reasonable method or
package for getting direct access to the video adapter under FreeBSD
(preferably 2.2.8), either SVGA or VGA ?

        I want to at least be able to throw up lo-res images on
the screen fast. I'd rather not deal with all the overhead of X.
        Thanks.

 
 
 

Direct VGA video adapter access ?

Post by Martin Laab » Fri, 27 Jul 2001 18:18:25



>         Can someone point me to the simplest reasonable method or
> package for getting direct access to the video adapter under FreeBSD
> (preferably 2.2.8), either SVGA or VGA ?

Maybe you can use the framebuffer. But when I used it it wasn't
very fast .... but you can work with it.
I don't know how exactly to enable it in the kernel. But when I
used it the framebuffer was experimental and I had to made
a device with mknod.

Bye
        Martin

 
 
 

Direct VGA video adapter access ?

Post by Lee Ha » Sat, 28 Jul 2001 06:50:02



Quote:>    Can someone point me to the simplest reasonable method or
> package for getting direct access to the video adapter under FreeBSD
> (preferably 2.2.8), either SVGA or VGA ?

>    I want to at least be able to throw up lo-res images on
> the screen fast. I'd rather not deal with all the overhead of X.
>    Thanks.

Look at the sources for the screen savers:

/usr/src/sys/modules/syscons

or how about the splash screen sources:

/usr/src/sys/dev/fb

Good hacKinG!