After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 674208 - [PATCH] disable sub-buffer copies on software Mesa
[PATCH] disable sub-buffer copies on software Mesa
Status: RESOLVED FIXED
Product: cogl
Classification: Platform
Component: GLX
1.10.x
Other Linux
: Normal normal
: ---
Assigned To: Cogl maintainer(s)
Cogl maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-04-16 15:36 UTC by Adam Jackson
Modified: 2014-03-11 17:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Describe the attachment briefly. (1.04 KB, patch)
2012-04-16 15:36 UTC, Adam Jackson
none Details | Review

Description Adam Jackson 2012-04-16 15:36:27 UTC
The "drisw" binding in Mesa for loading sofware renderers is broken, and neither glBlitFramebuffer nor glXCopySubBuffer work correctly.  Effectively they always upload the entire image rather than just the desired region.  This might get fixed someday, but in the meantime we should pretend those extensions don't exist.
Comment 1 Adam Jackson 2012-04-16 15:36:58 UTC
Created attachment 212153 [details] [review]
Describe the attachment briefly.
Comment 2 Emmanuele Bassi (:ebassi) 2012-05-17 21:02:40 UTC
just as a data point, this has been fixed with the following commit in master:

http://git.gnome.org/browse/cogl/commit/?id=11f2f6ebb42398978ec8dd92b3c332ae8140a728

but not in the cogl-1.10 branch.
Comment 3 Neil Roberts 2012-05-25 12:18:50 UTC
I've backported that commit that Emmanuele mentioned to the cogl-1.10 branch.

The hope is that if we use the cogl-gpu-info system then eventually if it gets fixed in Mesa we'll be able to add a maximum version number to the workaround. We're also trying to start a process so that whenever we make a release we grep for 'ongoing workarounds' to remind us to recheck whether the situation has changed.

Thanks for the patch.
Comment 4 Federico Mena Quintero 2014-02-26 21:15:59 UTC
This bug is upstream in Mesa now: https://bugs.freedesktop.org/show_bug.cgi?id=75545

For a piglit test that exposes the bug, see http://lists.freedesktop.org/archives/piglit/2014-February/009701.html
Comment 5 Federico Mena Quintero 2014-03-11 17:15:45 UTC
For reference, the workaround was changed to only happen for certain versions of Mesa in bug #721450.