From owner-freebsd-current@freebsd.org Sat Jan 21 23:14:55 2017 Return-Path: Delivered-To: freebsd-current@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 6DAEACBB1B8 for ; Sat, 21 Jan 2017 23:14:55 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from BAY004-OMC1S1.hotmail.com (bay004-omc1s1.hotmail.com [65.54.190.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FDE6877 for ; Sat, 21 Jan 2017 23:14:54 +0000 (UTC) (envelope-from anindya49@hotmail.com) Received: from NAM04-BN3-obe.outbound.protection.outlook.com ([65.54.190.60]) by BAY004-OMC1S1.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 21 Jan 2017 15:13:47 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=quI2bGd8G1F7QrkFZVD8BqzXOCmMBtoDFCvvvK23xIs=; b=k4ohJo4P0UbGsL0kauPsmn47veVA39xGDTW0hv8Mp53nRNpNyBEMX9ISH9ugNNC2DTfpc9j+1o7ooIzoLJ0juqyv7FDOBp4JvZmoQXuRx1r4pPXoau0punMFFEz3RaZIV58Q4AJXhS4UDosl7/4GSpNIpGx2QiPHtxmGuXDlWXdV1z6J3Wi3u9gdl6e31J16kqUKLYGWXayNRhL7Mtt8DjfSrIeQ/EsV4xNiBdwMTOEnJAETRDfbBuE4d2D6X7BwPJiWH24wXyrXFcC5o7OamTaPdm/OmSnGNPzmoakGJx+gX5Tw4HTjEoQXeodmNi9+cAqfTnWr9ZMJAkAM8MzWGQ== Received: from BN3NAM04FT054.eop-NAM04.prod.protection.outlook.com (10.152.92.53) by BN3NAM04HT235.eop-NAM04.prod.protection.outlook.com (10.152.92.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8; Sat, 21 Jan 2017 23:13:46 +0000 Received: from BN6PR22MB0802.namprd22.prod.outlook.com (10.152.92.58) by BN3NAM04FT054.mail.protection.outlook.com (10.152.93.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Sat, 21 Jan 2017 23:13:46 +0000 Received: from BN6PR22MB0802.namprd22.prod.outlook.com ([10.171.180.21]) by BN6PR22MB0802.namprd22.prod.outlook.com ([10.171.180.21]) with mapi id 15.01.0860.018; Sat, 21 Jan 2017 23:13:46 +0000 From: Anindya Mukherjee To: Adrian Chadd CC: "freebsd-current@freebsd.org" Subject: RE: vt(4) chops off the leftmost three columns Thread-Topic: vt(4) chops off the leftmost three columns Thread-Index: AQHScpOc+dBATW1RlESizy/O7gA13qFB//UAgAGSMOs= Date: Sat, 21 Jan 2017 23:13:46 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:D54722F742E88A04967CAEBC2D30F96A27C97B369A9B4A543C97FE17991E1BD8; UpperCasedChecksum:ACA52B054F0B959010C680D109457BDBCF21AFF84C005384B50DD4E7C9574944; SizeAsReceived:7819; Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [NvArV6yTjKnI/XaruiGqWgh5hFynEYGH] x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1; BN3NAM04HT235; 7:4FjZwelJxGtDret1K2uhpa7dV8UjizXtoIYUvADYwLNILPy/C6h6vjSl8x9kGQqlx6QBd6smlZHp+CPxDkfXnL8m1+XU1vWJbNHs306qyIRUGYSugHb1/AqklsLwqVOd2IsMKUIEqqJBlEUb5TKhoUcrLuUJI72JeSUP15YMX//uts7LiGvpADmpwe1qVlQ3/YMt+BonXwn26WGVp0k97r6S5MIIyW/NvFr+PuqvGxZjtgucXE5bpqtHFbjmI5/2Rq+ewwNcpRG34N7jf3iCmBP12waYUkyOY2CrH2fV4xgp6gopPrG2rZTuVF6F0t96/CW7VCgiGsF1Kn8nYtp2AUg8wGBplUSvJiIEfxa9TOxGh5ONersSnWtYTqP9G54cFXPMtaRNy5gpsGbeDPPT9HPJO2EAuKy5UVnxtjVsfQ1J3T6D9P0AWpYAYJclueAADprp1RkeZv5kDJZkCzQENg== x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900005); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3NAM04HT235; H:BN6PR22MB0802.namprd22.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 240a7438-efca-434a-adc2-08d4425326d8 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(1601124038)(5061506344)(5061507293)(1603103113)(1603101340)(1601125047)(1701031023); SRVR:BN3NAM04HT235; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444111334)(444112120)(432015012)(82015046); SRVR:BN3NAM04HT235; BCL:0; PCL:0; RULEID:; SRVR:BN3NAM04HT235; x-forefront-prvs: 01949FE337 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2017 23:13:46.6915 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT235 X-OriginalArrivalTime: 21 Jan 2017 23:13:48.0014 (UTC) FILETIME=[052200E0:01D2743C] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 23:14:55 -0000 Thanks! I needed a breakdown like this. I'll need to study the code a bit m= ore. Anindya ________________________________________ From: Adrian Chadd [adrian.chadd@gmail.com] Sent: January 20, 2017 3:11 PM To: Anindya Mukherjee Cc: freebsd-current@freebsd.org Subject: Re: vt(4) chops off the leftmost three columns hiya, Mechanically it doesn't look /that/ hard: * vesa.ko pulls in the vesa.c bits and the syscons vesa control bits. Ideally we'd have them as two separate modules, so you could load "vesa" without needing the syscons bits. * Maybe then write a vt 'fb' interface to talk to the old-school framebuffer interface * Then (if we're lucky) we can have vt use the same VGA, VESA, (mach, creator, etc!) through the fb interface, rather than reimplementing its own. I looked at it and it doesn't look /that/ hard. If you only cared about vesa, then you could do something like what 'creator' and 'creator_vt' did in sys/dev/fb/ . It's just sad that the vt interface to the screen buffer isn't as complete as the older school framebuffer interface is. -adrian On 19 January 2017 at 12:35, Anindya Mukherjee wrot= e: > Hi Adrian, > > I was looking at the source for the vt driver. Wondering how much work it= is to add VESA support to the VGA backend? As you say ATM it's hardcoded t= o use 640x480. Pardon my ignorance, but can we reuse any VESA code from sys= cons? > > Also, how dependent is splash/screensaver support on the VESA implementat= ion? > > Thanks, > Anindya