Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 20:18:00 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Greg V <greg@unrelenting.technology>
Cc:        x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: FreeBSD framebuffer
Message-ID:  <CALM2mEntLSyyobNAyEWmwkYzqYxEo-=nYBu0kBLrNw2-C8exUQ@mail.gmail.com>
In-Reply-To: <7c019f75-c827-b1a3-5647-59e8bc808750@unrelenting.technology>
References:  <CALM2mEmDY73rCPu5P%2BGnwK8ni876XFPAWhJfDNZx1-zaPLR1bQ@mail.gmail.com> <7c019f75-c827-b1a3-5647-59e8bc808750@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 8, 2018 at 6:58 PM, Greg V <greg@unrelenting.technology> wrote:

> 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 :)
>
ouch!

>
> 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.

That's good to know, I asked elsewhere why would vt drop support for VGA
but this explains it.

>
>
> 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
>
Thank you for these, fbio.h looks like what I was looking for!

Thank you



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEntLSyyobNAyEWmwkYzqYxEo-=nYBu0kBLrNw2-C8exUQ>