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 <gentoo-user+bounces-125175-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QdtuS-0003yj-Lc
	for garchives@archives.gentoo.org; Tue, 05 Jul 2011 00:54:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 57A9821C05D;
	Tue,  5 Jul 2011 00:52:33 +0000 (UTC)
Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 2282C21C05D
	for <gentoo-user@lists.gentoo.org>; Tue,  5 Jul 2011 00:52:32 +0000 (UTC)
Received: by vxa40 with SMTP id 40so5028971vxa.40
        for <gentoo-user@lists.gentoo.org>; Mon, 04 Jul 2011 17:52:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=EU3Viio/FADF04gHOuXfLGhUUI8poOIj/AaaMTYp5I4=;
        b=StFf0j1MIWhX+qj1mAOIKCKQlstBakKLS42UTXtU4DpgJgka9BPXLCnS5Z6gaQoiic
         T9GtcdHHPM3vX5uo/o7dB3jb5lTVrmhmx3sCMrPL2EdyQ5lKjvjdZa4z6TmsPFILXa05
         xOe0oEUXFnNt1F5CLdsUvSW304G+HWIo+2P1o=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.220.187.67 with SMTP id cv3mr2590995vcb.57.1309827152624; Mon,
 04 Jul 2011 17:52:32 -0700 (PDT)
Received: by 10.220.188.76 with HTTP; Mon, 4 Jul 2011 17:52:32 -0700 (PDT)
In-Reply-To: <CAK2H+edpRrRbi32abOyDqVVtsO+9Z2R79YzVEF5A8TmG86MSTg@mail.gmail.com>
References: <87wrfzm4bv.fsf@newsguy.com>
	<1556833.9VQajMqomY@nazgul>
	<CAK2H+efiLmPY6d-oUfhdRoj_2StUukaE5A-SrJSQeFHg2j-6jw@mail.gmail.com>
	<1687519.c4FbnAJ9Ol@nazgul>
	<CAK2H+edpRrRbi32abOyDqVVtsO+9Z2R79YzVEF5A8TmG86MSTg@mail.gmail.com>
Date: Mon, 4 Jul 2011 20:52:32 -0400
Message-ID: <CAOTuDKrasSBrtPkSP=KAi6FYjFqrWLZf2zn3d4UipR6rb6P1uQ@mail.gmail.com>
Subject: Re: [gentoo-user] Re: about boot with framebuffer
From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 
X-Archives-Hash: 0dc67a090bf51c4e3805671022fa297d

On Mon, Jul 4, 2011 at 7:45 PM, Mark Knecht <markknecht@gmail.com> wrote:
> On Mon, Jul 4, 2011 at 2:34 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>> On Monday 04 July 2011 14:15:12 Mark Knecht did opine thusly:
> <SNIP>
>>> 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 :-)
>>
>
> So I'm wondering if the Virtualbox graphics driver
> (xf86-video-virtualbox) is a framebuffer local to the VM or something
> else?
>
> My NVidia GFX465 running the NVidia driver does about 11,000 FPS in
> glxgears in Linux. glxgears running in the VM does about 130FPS, or
> around 1% of the performance outside. Yes, it's 'slow', depending on
> how we define slow. It's faster then machine I ran native in Linux 5
> years ago, and it's very usable for things like browsers, etc.
>
> I don't know what tool to use to measure graphics performance on
> Windows but my Windows XP VM is more than fast enough to watch Netflix
> full screen at 1920x1080 without any major amount of tearing, so
> Virtualbox graphics performance there is fine.
>
> Anyway, just data.
>
> Thanks,
> Mark
>
>

GLX is also doing OpenGL 3D rendering which, outside the VM is
hardware accelerated while inside of it the driver has no true,
direct, access to hardware, though if you're one of the very lucky,
there's a chance of halfway workable pass-through via the guest
additions and such, but even that's slow (and I'm not certain it's
available to a *nix guest).

-- 
Poison [BLX]
Joshua M. Murphy