From owner-freebsd-x11@freebsd.org Mon Jan 8 10:58:16 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB11EE63E64 for ; Mon, 8 Jan 2018 10:58:16 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7B6C759A4 for ; Mon, 8 Jan 2018 10:58:16 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 37542960 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 8 Jan 2018 10:58:06 +0000 (UTC) Subject: Re: FreeBSD framebuffer To: blubee blubeeme , x11-list freebsd References: From: Greg V Message-ID: <7c019f75-c827-b1a3-5647-59e8bc808750@unrelenting.technology> Date: Mon, 8 Jan 2018 13:58:03 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 10:58:17 -0000 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