14.04 corrupted graphics on cirrus (in qemu) [PATCH available]

Bug #1318119 reported by Dax kelson on 2014-05-10
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Undecided
Maarten Lankhorst
Trusty
Undecided
Maarten Lankhorst
Utopic
Undecided
Maarten Lankhorst

Bug Description

Running 14.04 LTS inside of qemu-kvm with its emulated cirrus gpu that uses 24bpp frontbuffers causes broken rendering. 12.04 LTS worked fine with no corruption on the same qemu-kvm host.

RHEL7 public beta had the same problem (https://bugzilla.redhat.com/show_bug.cgi?id=1074106).

RHEL7 Release Candidate applied this patch:

http://patchwork.freedesktop.org/patch/18244/

From the patch:

"So we have 2 places where gpus with 24bpp frontbuffers are still
in use, cirrus (in qemu) and some early variants of the mgag200
server chips.

Currently we seem to get a lot of broken rendering in qt, mesa, gnome
if we expose the frontbuffer as 24bpp, nobody seems to test this
anymore upstream so client side apps are constantly broken, so lets
just make -modesetting expose a 24/32 shadow frontbuffer, and use
the shadow update hook to convert down to the actual 24bpp front,
this might be slower, but its correct and really anyone that wants
this already has enough problems."

Ubuntu version: 14.04 LTS
Effected version: xserver-xorg-video-modesetting-0.8.1-1build1

Dax kelson (dkelson) wrote :
Dax kelson (dkelson) on 2014-05-10
summary: - corrupted graphics on cirrus (in qemu)
+ corrupted graphics on cirrus (in qemu) [PATCH available]

I tested 14.04.1 LTS and the bug remains unfixed. There is a patch available. :(

tags: added: regression-proposed
tags: added: regression-release
removed: regression-proposed
summary: - corrupted graphics on cirrus (in qemu) [PATCH available]
+ 14.04 corrupted graphics on cirrus (in qemu) [PATCH available]
Changed in xserver-xorg-video-modesetting (Ubuntu):
assignee: nobody → Maarten Lankhorst (mlankhorst)
status: New → Incomplete
importance: Undecided → Medium
no longer affects: xserver-xorg-video-modesetting (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Fix Released
no longer affects: xserver-xorg-video-modesetting (Ubuntu Trusty)
no longer affects: xserver-xorg-video-modesetting (Ubuntu Utopic)
Changed in xorg-server (Ubuntu):
assignee: nobody → Maarten Lankhorst (mlankhorst)
Changed in xorg-server (Ubuntu Trusty):
assignee: nobody → Maarten Lankhorst (mlankhorst)
Changed in xorg-server (Ubuntu Utopic):
assignee: nobody → Maarten Lankhorst (mlankhorst)

Hello Dax, or anyone else affected,

Accepted xorg-server into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/xorg-server/2:1.15.1-0ubuntu2.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in xorg-server (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Mathew Hodson (mathew-hodson) wrote :

The xorg-server SRU for trusty has been shadowed by a security update and needs to be re-merged.

Changed in xorg-server (Ubuntu Trusty):
status: Fix Committed → In Progress
tags: added: trusty
removed: verification-needed
Brian Murray (brian-murray) wrote :

Hello Dax, or anyone else affected,

Accepted xorg-server into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xorg-server/2:1.15.1-0ubuntu2.6 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in xorg-server (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Dax kelson (dkelson) wrote :

I just updated the xserver-xorg-core package to xserver-xorg-core_1.15.1-0ubuntu2_amd64.deb and I can confirm that the corrupted graphics problem is now fixed.

Dax kelson (dkelson) wrote :

Actually, I hadn't really tested it as I forgot I was using "nomodeset" as a workaround. I've now tested it for real. I was able to just update xserver-xorg-core and xserver-common. Fix confirmed.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.15.1-0ubuntu2.6

---------------
xorg-server (2:1.15.1-0ubuntu2.6) trusty-proposed; urgency=medium

  [ Laércio de Sousa ]
  * Backport support for logind-based multiseat back to trusty. (LP: #1209008)

  [ Maarten Lankhorst ]
  * Re-enable support for rotation and transforms on gpu-screens with support.
    - Allows re-enabling intel SNA rotation after fixing it. (LP: #1386620)
  * Fix black screen when using qemu with cirrus vga.
    - fb-24-depth.patch (LP: #1318119)
 -- Maarten Lankhorst <email address hidden> Mon, 03 Nov 2014 12:36:32 +0100

Changed in xorg-server (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for xorg-server has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in xorg-server (Ubuntu Utopic):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers