Rotation while composite enabled results in garbage on smaller of 2 displays

Bug #772111 reported by Jeremy Nickurak
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Bryce Harrington
Natty
Fix Released
Medium
Unassigned

Bug Description

[Impact]
Garbage appears on screen when rotating the display.

We've had a number of reports of screen corruption with -ati esp. relating to compiz/unity that is degrading experiences or making ubuntu unusable. This patch may fix many of these issues, where the user has a rotated display.

[Fix]
A patch cherrypicked from upstream's tree resolves this bug, as confirmed by testing the package in a PPA.

The patch has already been uploaded to oneiric. No bug reports have been filed since that time (about a week ago).

[Test Case]
On affected hardware, with compiz or gnome-shell running, rotate one of the displays.
It should display properly; due to the bug it will display static garbage.

[Regression Potential]
Pageflipping is an optimization. Thus, with this disabled, users with rotated screens might see some small performance loss such as tearing or flickering, depending on their hardware and usage patterns. However, this is preferable to displaying garbage.

[Original Report]
On natty, Running xserver-xorg-video-radeon 1:6.14.0-0ubuntu4

I have a 1680x1050 display and a 1440x900 display. I'm trying to get the
smaller one into portrait mode.

It works fine normally, but with compiz or gnome-shell (and xcompmgr iirc), the
smaller display (whether it's primary or secondary) just looks like static,
that varies a bit based on what's getting displayed on either.

Screenshot looks normal.

2.6.38-8 (from ubuntu natty), "ATI Technologies Inc RV620 LE [Radeon HD 3450]"

Photo of display: https://bugs.freedesktop.org/attachment.cgi?id=46129 (rotated with xrandr, but not physically rotated (yet) )
X log: https://bugs.freedesktop.org/attachment.cgi?id=46130

Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
status: Unknown → Confirmed
bugbot (bugbot)
tags: added: corruption
Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :
Changed in xserver-xorg-video-ati (Ubuntu):
assignee: nobody → Bryce Harrington (bryce)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-ati - 1:6.14.0-0ubuntu5

---------------
xserver-xorg-video-ati (1:6.14.0-0ubuntu5) oneiric; urgency=low

  * 102_disable_pageflipping_for_transformed_displays.patch:
    Add cherrypick patch to not enable pageflipping if display has been
    rotated. Fixes issue where garbage appears on rotated screens
    while rotated.
    (LP: #772111)
 -- Bryce Harrington <email address hidden> Tue, 21 Jun 2011 12:41:28 -0700

Changed in xserver-xorg-video-ati (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :

I've uploaded the above fix to oneiric.

If you'd like to see this fix backported to natty, I'll need you to test the patch to ensure it does indeed solve the issue for you. I've prepared a PPA with this fix staged, for your testing convenience:

  https://launchpad.net/~bryce/+archive/ita-palm

It may take a couple hours for the build to go through. Once the .deb is available, install, restart your X session (or just reboot) and try to reproduce the bug. It should not reproduce. if it does please set the Status back to Confirmed. If it doesn't, let me know if you think the fix should be included in natty.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Fix Released → Fix Committed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu Natty):
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Confirmed, ppa version corrects the issue. It'd definitely be nice to see this in natty.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Jeremy, thanks for testing that.

I will go ahead and file an SRU for this bug to natty. If this is accepted by the archive admin team, they will copy it to natty-proposed, and ask that you update to -proposed and re-test to verify that the fix got copied there correctly and the issue is solved. Once you've done this, and once the archive team is satisfied there are no other regressions caused by it, they'll release it to natty-updates.

Revision history for this message
Bryce Harrington (bryce) wrote :

Since the SRU has been filed now, I will close out the oneiric task as the patch has already been uploaded there.

description: updated
Changed in xserver-xorg-video-ati (Ubuntu Natty):
status: In Progress → Fix Committed
Changed in xserver-xorg-video-ati (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jeremy, or anyone else affected,
Accepted xserver-xorg-video-ati into natty-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!

tags: added: verification-needed
Revision history for this message
Jeremy Nickurak (nickurak) wrote :

Confirming 1:6.14.0-0ubuntu4.1 in natty-proposed/main is working like a charm for me.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-ati - 1:6.14.0-0ubuntu4.1

---------------
xserver-xorg-video-ati (1:6.14.0-0ubuntu4.1) natty-proposed; urgency=low

  * 102_disable_pageflipping_for_transformed_displays.patch:
    Add cherrypick patch to not enable pageflipping if display has been
    rotated. Fixes issue where garbage appears on rotated screens
    while rotated.
    (LP: #772111)
 -- Bryce Harrington <email address hidden> Thu, 30 Jun 2011 17:25:30 -0700

Changed in xserver-xorg-video-ati (Ubuntu Natty):
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.