FreeBSD framebuffer

Greg V greg at unrelenting.technology
Mon Jan 8 10:58:17 UTC 2018


On 01/08/2018 12:49, blubee blubeeme wrote:
> Two questions:
>
> I'm curious why the new console driver vt doesn't have a vesa driver when
> the traditional syscons driver did.
>
> https://wiki.freebsd.org/Newcons
>
> Is there any specific reason why vesa driver wasn't implemented?
Do not read the wiki :)

I'm not sure what "VGA vesa" even means in that table.
Of course vt supports legacy BIOS VGA output, IIRC including resolutions 
higher than 640x480.

> Second:
> Linux has Linux fbdev that act as a simple dumb framebuffer, where's
> FreeBSD basic framebuffer?
The framebuffer API doesn't seem very well documented. But it's usually 
called 'scfb'.
It's available as /dev/fb0, ioctls are listed in /usr/include/sys/fbio.h.

It is used by the "scfb" driver in Xorg.

Also there's a patch for the Weston compositor that adds support for it:
https://reviews.freebsd.org/D10599#change-JPzq3MOnXvje


More information about the freebsd-x11 mailing list