Please re-patch 215_glx_drawable_refcounting.diff for precise (12.04)

Bug #1160903 reported by ojordan on 2013-03-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)

Bug Description


This bug affects oneiric and precise. Previous versions of Ubuntu used to carry a patch 215_glx_drawable_refcounting.diff . This came about because of this upstream bug report .

The patch was removed in oneiric (xorg-server-1.10.2-1ubuntu1 to be accurate), presumably because of the upstream inclusion of commit b5093063b5d76ff31519a2daf85ea32808f1afe6 .

However, as noted in the original bug report, that commit doesn't fix the problem when using radeon UMS. You need to add the patch in comment 40 of that bug report, or alternatively, remove the upstream commit and re-apply the 215 patch.

Without the patch(s) I get very frequent crashes of the Xorg server when using an OpenGL window manager. Just un-minimising a window in kwin will usually cause a crash. I'll include an Xorg log of a crash for you. It is basically unusable and I have to revert to non-opengl.

Radeon UMS was removed in quantal so I can't test any newer versions of the package. KMS doesn't have this particular problem, but has its own problems and UMS is still the best option in 12.04 for radeon PowerPC. I probably should add that to get UMS open-gl in precise I have to install an older 7.11 version of libgl1-mesa-dri.


Release: 12.04

  Installed: 2:1.11.4-0ubuntu10.12

ojordan (ojordan12345) wrote :
tags: added: precise
tags: added: oneiric
ojordan (ojordan12345) on 2013-03-27
tags: added: patch

The attachment "Remove upstream commit and re-apply 215_glx_drawable_refcounting.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

bugbot (bugbot) on 2013-03-28
tags: added: kubuntu
tags: added: ppc
ojordan (ojordan12345) wrote :

Apologies, reviewing those patches I seem to have sucked in a random nouveau line or two. I'll check them some more and re-submit.

Bryce Harrington (bryce) wrote :

ojordan, thanks for following up on these.
Yes when you get patches you feel are ready please assign this bug to 'canonical-x' and one of us will help get them in.

Changed in xorg-server (Ubuntu):
status: New → Incomplete
ojordan (ojordan12345) wrote :

Sorry about the delay, I've been trying to figure out if there is a difference between the performance of the two patches.

ojordan (ojordan12345) wrote :

This patch removes commit b5093063b5d76ff31519a2daf85ea32808f1afe6 and replaces it with the old 215_glx_drawable_refcounting.diff

ojordan (ojordan12345) wrote :

This should be basically the patch here

ojordan (ojordan12345) wrote :

 Right, the above patches should be correct now (he says hopefully). I don't know which is the best to use.

ojordan (ojordan12345) wrote :

Do I need to raise an explicit SRU request or is this bug report good enough?

Changed in xorg-server (Ubuntu):
status: Incomplete → Confirmed
ojordan (ojordan12345) wrote :

Okay, stupid question alert - how do I assign 'canonical-x' because it won't let me?

ojordan (ojordan12345) wrote :

Currentlty I'm favouring patch4. Possible random crashes maybe with patch3.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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