Use one framebuffer object per screen

Bug #868120 reported by Sam Spilsbury
122
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Sam Spilsbury
unity (Ubuntu)
Fix Released
Medium
Sam Spilsbury
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

We should use one framebuffer object per screen rather than one per monitor. Using one per monitor leads to all kinds of interesting rendering glitches because the plugins expect that paint is clipped to the entire backbuffer rather than paint being contained in one buffer.

This should also fix crashes on changing resolutions, as we don't have the race condition where a monitor paints and an fbo hasn't been created for it yet.

Related branches

Changed in unity:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Sam Spilsbury (smspillaz)
milestone: none → 4.24.0
Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Sam Spilsbury (smspillaz)
Changed in unity:
milestone: 4.24.0 → 4.26.0
Revision history for this message
Pascal Hartig (passy) wrote :

Works great for me. Fixes expo graphic glitch, resume after standby/hibernate freezes and the issues after changing the resolution.

Revision history for this message
psypher (psypher246) wrote :

Hello,

How do I upgrade to 4.26 so I may test as well as this issue has been the one thing holding me back from upgrading to Oneiric. My install is fully up to date, is there a PPA for the latest Unity?

Thanks

David Barth (dbarth)
Changed in unity:
milestone: 4.26.0 → 4.28.0
Revision history for this message
psypher (psypher246) wrote :

Please tell me how I can upgrade? I am running precise and still on unity 4.24

Thanks

Revision history for this message
Owais Lone (loneowais) wrote :

psypher,
you can manually download unity from https://launchpad.net/~unity-team/+archive/staging to test.
This does not contain packages for Precise so add-apt-repository won't work.

Omer Akram (om26er)
Changed in unity:
status: In Progress → Fix Released
Revision history for this message
Omer Akram (om26er) wrote :

This bug does not require a test case for SRU. its like a master bug.

Changed in unity:
status: Fix Released → Fix Committed
David Barth (dbarth)
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Sam, or anyone else affected,

Accepted unity into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in unity (Ubuntu Oneiric):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

I can second Omer that no testing is needed here (see his comment #5). The use cases have their own bugs, i.e. the expo rendering glitch (#864037) and the multi-monitor crash (#864784) .

Omer Akram (om26er)
Changed in unity (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 4.28.0-0ubuntu2

---------------
unity (4.28.0-0ubuntu2) oneiric-proposed; urgency=low

  * Cherry-pick some additional fixes:
    - fix a regression where transparency is setup on the panel (LP: #830949)
    - the wrong commit causing a crash was revert. Revert the revert and
      revert the right guilty commit.

unity (4.28.0-0ubuntu1) oneiric-proposed; urgency=low

  * New upstream release.
    - don't segfault in geis_configuration_get_value() (lp: #850623)
    - get focus on dash by pressing the super key first time after login
      (lp: #860805)
    - clicking on panel when dash is open no longer causes maximized window
      to raise (lp: #873100)
    - window management, alt-tab - After using 'show desktop' to minimise all
      windows, opening any new window also incorrectly restores all
      the minimised windows (lp: #871801)
    - compiz crashed with SIGSEGV in
      unity::switcher::SwitcherModel::DetailSelectionWindow() (lp: #834630)
    - compiz crashed with SIGSEGV in g_strcmp0() (lp: #832151)
    - compiz crashed with SIGSEGV in nux::BaseWindow::GetInputWindowId()
      (when onboard is used) (lp: #865890)
    - fix multi-monitor crashers (lp: #838128, #864037, #864784, #868120)
    - Fix SIGSEGV after SwitcherController desctruction (lp: #887465)
    - Fix for "right-clicking launcher when choosing a workspace causes
      quicklists to freeze" (lp: #791810)
  * debian/patches/add_postrelease_buildfix.patch:
    - add post-release fix to build in a clean env
  * backport some additional reverts or regression fixes
 -- Didier Roche <email address hidden> Thu, 19 Jan 2012 09:54:44 +0100

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.