public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Gerd Hoffmann <kraxel@redhat.com>, "Tian, Kevin" <kevin.tian@intel.com>
Cc: "igvt-g@lists.01.org" <igvt-g@ml01.01.org>,
	"daniel.vetter@ffwll.ch" <daniel.vetter@ffwll.ch>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"Cowperthwaite, David J" <david.j.cowperthwaite@intel.com>,
	"Lv, Zhiyuan" <zhiyuan.lv@intel.com>
Subject: Re: [iGVT-g] Ask for comments of getting guest framebuffer in igvt-g
Date: Thu, 10 Mar 2016 12:00:17 +0200	[thread overview]
Message-ID: <1457604017.7635.15.camel@linux.intel.com> (raw)
In-Reply-To: <1457426202.22567.40.camel@redhat.com>

On ti, 2016-03-08 at 09:36 +0100, Gerd Hoffmann wrote:
>   Hi,
> 
> > 
> > btw I don't think this vblank issue would be very significant. The main
> > targeted usage of GVT-g is for server virtualization/cloud, where 
> > a remoting protocol is required for customer to see the content through
> > network.

There is also the use scenario of locally scanning out the buffers with
real hardware, the DOM0 working as a kind of KVM switch.

> The plan for that is to let the gpu video encoder process the guest
> framebuffer.  So the video encoder still being busy processing the
> buffer while the guest already started updating it can certainly lead to
> visible tearing.
> 
> I think using vblank to signal the guest when the host is done
> processing the framebuffer makes sense.  It'll simply throttle the guest
> in case the host is too busy to keep up.
> 

This was my initial suggestion, but I could see this exposing plenty of
behavior on the guest system that is not covered by regular testing.

> Storing the guest framebuffer via blit somewhere else, just to allow the
> guest render at full frame rate even if the host isn't able to process
> the frames fast enough looks pointless to me.  We are simply wasting gpu
> cycles then.

This just happens to be the most non-invasive way of doing it, where
guest will behave much like on real hardware.

I'm not taking a stance for triple buffering, but I think it's
important that we do not consider just a single use-case and rule other
options out. Especially if the timer system is already been tested some
 and could serve both scenarios.

Regards, Joonas

> 
> cheers,
>   Gerd
> 
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2016-03-10 10:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03  9:50 Ask for comments of getting guest framebuffer in igvt-g Zhiyuan Lv
2016-03-04 14:00 ` Joonas Lahtinen
2016-03-04 15:38   ` Zhiyuan Lv
2016-03-07 10:20     ` Joonas Lahtinen
2016-03-08  1:25       ` Zhiyuan Lv
2016-03-08  1:44         ` [iGVT-g] " Tian, Kevin
2016-03-08  8:36           ` Gerd Hoffmann
2016-03-10  5:59             ` Tian, Kevin
2016-03-10 10:00             ` Joonas Lahtinen [this message]
2016-03-08  2:44 ` Tian, Kevin
2016-03-08  3:09   ` Zhiyuan Lv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457604017.7635.15.camel@linux.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=david.j.cowperthwaite@intel.com \
    --cc=igvt-g@ml01.01.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kevin.tian@intel.com \
    --cc=kraxel@redhat.com \
    --cc=zhiyuan.lv@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox