Bug 21164

Summary: Very bad Clutter performance with DRI2 & UXA
Product: DRI Reporter: Neil J. Patel <njpatel>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: jobi, krh
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg.conf of machine
none
glxinfo output of machine none

Description Neil J. Patel 2009-04-14 02:52:56 UTC
With UXA enabled on Jaunty which is running GNOME with Metacity (no compositing) mostly all GL application work perfectly well, apart from Clutter[1] based applications. The performance is degraded and animations are very jerky. Switching off motion events and tuning down animations seems to make only a small difference.

Without UXA, Clutter applications work perfectly. There appears to be a gl call that Clutter uses which is giving bad performance with UXA. However, I'm not a 'gl person', so I can't debug. 

While I understand that UXA is still work-in-progress, I thought it would be good to raise the issue, as it seems most of GNOME is going with Clutter as an accelerated canvas.

I filed the bug[2] upstream in Clutter, but they've marked it as NOTABUG, as it continues to work fine without UXA.

[1] www.clutter-project.org
[2] http://bugzilla.openedhand.com/show_bug.cgi?id=1544

Please find the output of glxinfo and the xorg.conf attached.
Comment 1 Neil J. Patel 2009-04-14 02:53:31 UTC
Created attachment 24783 [details]
xorg.conf of machine
Comment 2 Neil J. Patel 2009-04-14 02:54:12 UTC
Created attachment 24784 [details]
glxinfo output of machine
Comment 3 Kristian Høgsberg 2009-04-14 08:00:39 UTC
Clutter has some creative vblank syncing code that may clash with recent changes.  Try exporting CLUTTER_VBLANK=none and running the application in that environment.
Comment 4 Neil J. Patel 2009-04-22 02:46:12 UTC
Thanks for the tip Kristian, however it doesn't work for both Clutter 0.8 and Clutter 0.9. The bad performance continues with or without vblanking disabled. Is there anything else I could test to see where the performance is failing?
Comment 5 Neil J. Patel 2009-04-22 04:02:28 UTC
Doing some more tests, the test-cases for Clutter seem to work fine, so I think it may be worth making this bug a invalid unless/until I can prove it's a Clutter-bug and not something netbook-launcher is doing wrong. Sorry for not testing out the test-cases sooner.
Comment 6 Adam Jackson 2019-05-29 17:01:44 UTC
Closing per comment #5, and I don't imagine uxa performance is high on anyone's radar anymore.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.