[Xf86-video-armsoc] n-buffering support causes too many flips on Mali-400

Paul Geary armsoc-bugs at arm.com
Mon Nov 17 01:58:38 PST 2014


Hi Daniel
As I replied to you two months ago, this issue has been fixed with mali400 release r5p0-01rel0.

Regards
Sunny
-----Original Message-----
From: Xf86-video-armsoc [mailto:xf86-video-armsoc-bounces at lists.freedesktop.org] On Behalf Of Daniel Drake
Sent: Saturday, November 15, 2014 1:34 AM
To: xf86-video-armsoc at lists.freedesktop.org
Cc: Eskil Sund
Subject: [Xf86-video-armsoc] n-buffering support causes too many flips on Mali-400

Hi,

I am experiencing an issue with the following commit:

commit 1d13da045ced12a123db184fff677b0de41d80e6
Author: Eskil Sund <eskil.sund at arm.com>
Date:   Tue Apr 8 13:11:06 2014 +0000

    Enabling n-buffering support when using page flip events.


For the test below I run armsoc with this commit as HEAD, on ODROID-X2, Mali-400 driver version r4p0:
VARIANT=mali400-r1p1-gles11-gles20-linux-monolithic-no_profiling-x11-dma_buf

My HDMI display is running at 60Hz vertical refresh.

I start X, then the simple metacity window manager (doesn't use OpenGL, no compositing) and then I run the following test app:
https://gist.github.com/dsd/6d17d596501a01c4aa0e

This app updates the screen using eglSwapBuffers, which should be synced to vblank interrupts.
However, on this driver version, the app reports 120 frames per second (i.e. twice too many), and there is a lot of tearing visible on screen.

If I go back to the previous commit, before n-buffering, the test case now runs fine, 60fps and no visual problems.

Is this a known issue, has it been investigated?

Thanks
Daniel
_______________________________________________
Xf86-video-armsoc mailing list
Xf86-video-armsoc at lists.freedesktop.org
http://lists.x.org/mailman/listinfo/xf86-video-armsoc





More information about the Xf86-video-armsoc mailing list