All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Simon Farnsworth <simon.farnsworth@onelan.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: Page flipping not working as expected for compositing - engineering resource available to help fix it
Date: Mon, 10 May 2010 11:00:49 -0700	[thread overview]
Message-ID: <20100510110049.2eeff2f3@virtuousgeek.org> (raw)
In-Reply-To: <201005101759.16910.simon.farnsworth@onelan.com>

On Mon, 10 May 2010 17:59:16 +0100
Simon Farnsworth <simon.farnsworth@onelan.com> wrote:

> On Monday 10 May 2010, Simon Farnsworth <simon.farnsworth@onelan.com> wrote:
> > On Friday 7 May 2010, Simon Farnsworth <simon.farnsworth@onelan.com> wrote:
> > > I've attached my test program (it's based on our C++ OpenGL compositor,
> > > but cut down to just test OpenGL pageflipping) as performance.c, and my
> > > test X stack's Xorg.0.log after one run of "performance -indirect"
> > > (which ran for 573 frames). I'm using a 32-bit PAE kernel - I can add
> > > information as required, and I'm happy to run tests or experiments for
> > > people.
> > > 
> > > 2) How should I go about fixing compositing? Should I fix indirect
> > > rendering to use pageflipping (and if so, where do I start looking for
> > > the code that's getting it wrong), or should I make TFP work when direct
> > > rendering (and again, where should I start looking)?
> > 
> > Is this the expected behaviour when indirect rendering? If so, I'll dive
> > back into the stack and see if I can work out why TFP and direct rendering
> > don't interact nicely. If not, roughly where should I look to fix it?
> 
> I've found why direct rendering and TFP don't interact nicely, and it's a 
> client side error.
> 
> Briefly, my compositor was being started as our signage user, who does not have 
> access to /dev/dri/card0, so was falling back to swrast. When you're using 
> swrast, TFP only appears to work for pixmaps you create, not for compositing 
> pixmaps.
> 
> Sorry for the noise,

What about the indirect bug?  Did that also go away when you fixed the
perms issue?  If not, that sounds like a serious issue, in indirect
mode the swap interval should still be honored I think...

-- 
Jesse Barnes, Intel Open Source Technology Center

  parent reply	other threads:[~2010-05-10 18:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07 13:07 Page flipping not working as expected for compositing - engineering resource available to help fix it Simon Farnsworth
2010-05-10 11:04 ` Simon Farnsworth
2010-05-10 16:59   ` Simon Farnsworth
2010-05-10 17:57     ` Andrew Lutomirski
2010-05-10 18:00     ` Jesse Barnes [this message]
2010-05-11  8:40       ` Simon Farnsworth

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=20100510110049.2eeff2f3@virtuousgeek.org \
    --to=jbarnes@virtuousgeek.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=simon.farnsworth@onelan.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.