EGL/GLES compiz builds do a eglWaitGL (synchronous wait) on every frame, likely to slow things down

Bug #1086779 reported by Daniel van Vugt on 2012-12-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Daniel van Vugt
0.9.8
Medium
Unassigned
ubuntu-nexus7
High
Daniel van Vugt
compiz (Ubuntu)
Medium
Daniel van Vugt

Bug Description

I just noticed that compiz' EGL code calls eglWaitGL on every frame which appears to be pointless. We don't need and certainly don't want to synchronize on every frame. That prevents the CPU and GPU from operating in parallel, which could have a significant performance impact on some systems.

Related branches

Changed in compiz (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Daniel van Vugt (vanvugt)
milestone: none → ubuntu-13.04-alpha-1
summary: - EGL/GLES builds do a eglWaitGL (synchronous wait) on every frame, likely
- to slow things down
+ EGL/GLES compiz builds do a eglWaitGL (synchronous wait) on every frame,
+ likely to slow things down
tags: added: nexus7
Changed in ubuntu-nexus7:
status: New → In Progress
assignee: nobody → Daniel van Vugt (vanvugt)
Sean Feole (sfeole) on 2012-12-05
tags: added: mobile
Changed in compiz:
status: In Progress → Fix Committed
Changed in compiz (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-nexus7:
status: In Progress → Fix Committed
Changed in compiz (Ubuntu):
milestone: ubuntu-13.04-alpha-1 → ubuntu-13.04-month-2
Changed in ubuntu-nexus7:
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.9~daily13.01.14-0ubuntu1

---------------
compiz (1:0.9.9~daily13.01.14-0ubuntu1) raring; urgency=low

  [ sampo555 ]
  * compiz crashed with SIGSEGV in DodgeAnim::applyDodgeTransform() (LP:
    #1048840)
  * compiz crashing if window un-/minimize animation is "Random" (LP:
    #1098185)

  [ Daniel van Vugt ]
  * Several leaks in new GLProgram from compileProgram() from
    GLScreen::getProgram() from GLWindowAutoProgram::getProgram() (LP:
    #1097644)

  [ Sam Spilsbury ]
  * Several leaks in ccsIntegratedSettingListAppend() ... from
    ccsGNOMEIntegrationBackendGetIntegratedSetting() from readSetting
    (gsettings.c:375) (LP: #1097661)

  [ MC Return ]
  * Thumbnail Window Previews: Flickering of background/glow and window
    title text (LP: #1098758)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 3561
 -- Automatic PS uploader <email address hidden> Mon, 14 Jan 2013 04:03:09 +0000

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers