From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qdqpq-00062A-JA for garchives@archives.gentoo.org; Mon, 04 Jul 2011 21:37:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A75F21C0DA; Mon, 4 Jul 2011 21:35:42 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3ACD921C0DA for ; Mon, 4 Jul 2011 21:35:41 +0000 (UTC) Received: by wwf26 with SMTP id 26so4759403wwf.10 for ; Mon, 04 Jul 2011 14:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=eBqyUbNdMgLLJT4TpNwMmbKo74sjwlfxQ0vC1qQzGt0=; b=HVSqCPXcHUUtsLDlwMzHzVCk5oamD3sZc00QTWPoh7NRJb7iYXlgmD5njrD/zC5K/Y XtgZS2RnNikcAkXLoLpKcg+AUH332ekyTipBS/LpyF5rv9UYgXhIVZJuQ0tOx7t4yB4o 5v5DO+EMAIvvzMP3LuzOJIMcfzlM6k3e3yIT4= Received: by 10.227.3.4 with SMTP id 4mr3719178wbl.35.1309815341364; Mon, 04 Jul 2011 14:35:41 -0700 (PDT) Received: from nazgul.localnet (196-215-19-196.dynamic.isadsl.co.za [196.215.19.196]) by mx.google.com with ESMTPS id fp5sm3566936wbb.15.2011.07.04.14.35.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 14:35:40 -0700 (PDT) From: Alan McKinnon To: Mark Knecht Cc: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: about boot with framebuffer Date: Mon, 04 Jul 2011 23:34:41 +0200 Message-ID: <1687519.c4FbnAJ9Ol@nazgul> User-Agent: KMail/4.6.0 (Linux/2.6.39-ck; KDE/4.6.4; x86_64; ; ) In-Reply-To: References: <87wrfzm4bv.fsf@newsguy.com> <1556833.9VQajMqomY@nazgul> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: X-Archives-Hash: d4afe9028279446d2bed69cd7b04fc80 On Monday 04 July 2011 14:15:12 Mark Knecht did opine thusly: > On Mon, Jul 4, 2011 at 1:57 PM, Alan McKinnon wrote: > > On Monday 04 July 2011 13:47:28 Mark Knecht did opine thusly: > >> On Mon, Jul 4, 2011 at 1:40 PM, Alan McKinnon > >> so does bootsplash run using framebuffer or is it completely > >> different? > > > > I have no idea actually. I could say it must run in a > > framebuffer-like abstraction but that is obvious and doesn't > > tell you anything you don't already know. > > > > Spock is the dev that knows most about these things, a good > > first > > research point would be to search his name and find related > > docs. > > > > Sorry I can't be more help - I have the concepts in my head but > > not the facts > > I appreciate the info. No worries about that. > > I think the other point I'm missing here is whether KMS is actually > implementing anything graphical, like a framebuffer, or whether it's > just moving _choices_ about graphics into the kernel and out of X? By definition a framebuffer is a chunk of memory, and my understanding is that KMS does implement one (nouveau definitely provides a framebuffer, and it conflicts with all other framebuffers - you can't have more than one in the kernel at all). The clue is in the name: Kernel Mode Switching. It deals with all the low-level commands to set modes in the graphics card so that X doesn't have to do it itself. > > I have an Intel i5-661/Intel MB based machine which is the only one > I use KMS for at this time. On that machine I was instructed to use > KMS by the Intel-Gfx devs to get their driver working at all. A > nice side benefit was that it resulted in better text in the > console during boot. However I don't see anything 'graphics like' > on that box just using KMS so I suspect that while I've enabled > technology that allows the kernel to manage graphics that I haven't > told the kernel to actually do so. I don't know though. When you speak of graphics in the context of framebuffers and consoles, it's better to think in terms of "able to do what graphics does" i.e. address a gigantic number of pixels individually. The fact that you are not running any software capable of rendering graphics doesn't reduce the fact that the means to do is there. > All of my other machines are NVidia based and use the closed source > driver so my understanding on those is that KMS doesn't apply. Yes, that's true. nVidia does it's own bizarre weird stuff that will forever more be incompatible with the entire free software world > I'm curious, however, about my Gentoo VMs. Can KMS run on a VM's > kernel and do anything useful there? This is more for learning and > not about any practical need at this time. >From my understanding, this topic gets yucky. There's a whole bunch of ways this could be done, from software emulation to para- virtualization to full virtualization. Emulation is easy - KMS in the guest sees what looks for all the world like hardware so everything works if KMS supports the emulated card (albeit slowly). For everything else, you'd need kernel drivers intercepting efforts to talk to the hardware and be traffic cop. My brain is already spinning on this so please excuse me while I go dunk my head in a bucket and not think about it anymore :-) > > Cheers, > Mark -- alan dot mckinnon at gmail dot com