[Mesa-dev] [Mesa3d-dev] [PATCH] invalidate dri2 buffers more often/pageflip related screen flickering

Daniel Vetter daniel at ffwll.ch
Sun Jan 9 05:07:34 PST 2011


Hi Jesse,

On Sat, Jan 08, 2011 at 03:10:03PM -0800, Jesse Barnes wrote:
> On Sat,  8 Jan 2011 16:02:09 +0100
> Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > I've been tracking down an annoying flickering problem on intel hw
> > that completely disappears with vblank_mode=0. Some add-hoc tracing
> > all over the stack shows that the pageflip and the render stalling on
> > the new backbuffer all happen correctly. But rendering always happens
> > to the _same_ buffer, with the obvious effects of garbage (often just
> > black) on every second frame and flickering on the other frames due
> > to frontbuffer rendering.
> > 
> > Attached is the minimal (and likely incorrect) patch that fixes this
> > for me.
> > 
> > Software stack: Everything latest git, safe for the X server, that's
> > 1.9.3 as provided by Fedora 14. Problem also exists on 1.9.2 from
> > debian experimental.  Problem reproducible on all my intel hw,
> > irrespective of DE and composition manager.
> > 
> > Some enlightenment preferably in the form of a proper fix highly
> > appreciated ;)
> 
> I've seen this too, but last time it was due to me building with old
> dri2proto and/or glproto, so Mesa and the server weren't doing the
> right thing...

Indeed, excessive use of git clean -fx and recompiling everything seems to
have fixed this. Thanks alot for the hint.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the mesa-dev mailing list