From owner-freebsd-x11@FreeBSD.ORG Mon Mar 3 20:36:48 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC92FBDD for ; Mon, 3 Mar 2014 20:36:48 +0000 (UTC) Received: from nm1-vm1.bullet.mail.bf1.yahoo.com (nm1-vm1.bullet.mail.bf1.yahoo.com [98.139.213.163]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4901AA7C for ; Mon, 3 Mar 2014 20:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1393879001; bh=R9MUKIgsaZSeXj5Ar2PjaQGjnhx+CVIz/hI9cOA5gBs=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:Organization:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=MS/2L0C/6hvnqstSbGh7qEGKnA6cTQWsrMd6ZZJg+Lh1HoZ+xUXIQ4soOc740kkFCpOIrEhS+NXMt8ZRkuDd+2vR61fWKm4wk6+LfVvn45OJZukyUm7ior9GJgfjsrm7lwg48pDp3QjBh6ubJcI2s5iJYy2cU6Uz6TGMgrylv6U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=IL08zF84BoCQ0jMneyhEZvk2M6O7VOUGJgdE/Vl8USIO3doa+It3V/l+vxZV3pHtmNyHZs+/aqE2TrRvY3JewZuirb0jpVtbAy9rmH27fevQOWfBtXR4panrGSlUIHCW1sD/4WrXYvzznr83Jd9HiCRJo1AgaeaW+pxR9WGm+/U=; Received: from [98.139.215.143] by nm1.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2014 20:36:41 -0000 Received: from [98.139.211.160] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2014 20:36:41 -0000 Received: from [127.0.0.1] by smtp217.mail.bf1.yahoo.com with NNFMP; 03 Mar 2014 20:36:41 -0000 X-Yahoo-Newman-Id: 264891.14384.bm@smtp217.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 4ZStKLoVM1mMXr5ggL9V998qj.Z_cLbklbO6YtsILyqxlVi ElT6oRY4yN.ryeH1z4Q5g_pWkERsms7IsvF6VAJJ1aa8gpZWaFIpPoU9618y C9ozR.7XXhw1_mXW4KubxFCpPDLkQvvD0HXAo5XqWfJO7uANysD29CYTPHkQ TbqFJeFzIclTZbSC3.9lHA6OcK9GRb5GwMxEl1owloiGVGmbb.Kou19t7lxu 55vgfwKgxBDPvXdtOpk.k1ni_iW_8NsoSDAsG.BH306lJOPLU6Y0z_rxQG4G G20prEjebs5q4e8_edSydCk2YPQtZFcgXrRIz7VT6xxtPFqQPwdSd1MntVjM lcZIOhqHHoR0byVk9yPLd1LV7cXpg1acnUfJbj1lB9hRi7m2wWrQmtrWCJ7. cEgb2om_._j4MM9jkrX_ME3oNbmTv8OWAbMMe2GKIGo09uKu7lrqU3M1OGT. 66a45m7G1Jc56xsbzfnGrmK1cYHzKRZCX5JO5OsMoj7rqMCBxaVSiSsGi1GJ PGkdbU_lfbmKewoiVbJmsTHkjaMv6M_.rhBh6Cu2cnunzQTJZDN2GTICsmA4 w1D9EQ0xhc6gvLyr.CT_BH8MdtDyW7bMjv2qxmPhyrl.R8xfyeoGjZKzOHdZ 6FM5V5ufqjx5mqvz07.nqs93cZQ9SfbwFSm.3Dul9Omx9mKGhP_hC5Zi1PX. aOvA.yBonKYWWKIDAujFmPsaF7A-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [98.138.105.21]) by smtp217.mail.bf1.yahoo.com with SMTP; 03 Mar 2014 12:36:41 -0800 PST Message-ID: <5314E7E7.2020004@FreeBSD.org> Date: Mon, 03 Mar 2014 15:36:55 -0500 From: Pedro Giffuni Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Anything to rescue from KGI4BSD ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 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, 03 Mar 2014 20:36:49 -0000 Hello; Once upon a time, long ago, when the idea of kernel graphics drivers was looked upon like something crazy, one brave developer called Nicholas Souchu ported the then linux-specific Kernel Graphics Interface to FreeBSD: https://wiki.freebsd.org/KGI The system was very well abstracted and used FreeBSD's kobj(9). Back then, the graphics infrastructure and device interface required designing a device pager and some other details that I have mostly forgotten about (a kernel input interface comes vaguely to mind) but for which there is still code in some dark repository: http://kgi.cvs.sourceforge.net/viewvc/kgi/ Now that the graphics drivers seem to have been reinvented, and things are basically working, I was wondering if perhaps there is something to savage in the old code implementation ... Not sure how much though: I think the drivers, although nicely abstracted, are pretty much useless nowadays (we were actually using VESA anyway) but one nice thing was that there was a nice console abstraction and we were able to run non-X (libggi) graphics environments. Anyways, I just thought I'd share the old links as a source of, always useful, re-baked ideas to our graphics developers. :) Enjoy, Pedro.