Bug 802718

Summary: several GLX requests return invalid data when using LIBGL_ALWAYS_INDIRECT
Product: [openSUSE] openSUSE 12.2 Reporter: Stefan Brüns <stefan.bruens>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 12.2   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=59876
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Brüns 2013-02-08 01:04:04 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.9.5 Safari/534.34

upstream BR: https://bugs.freedesktop.org/show_bug.cgi?id=59876

Mesa using libxcb parses replies to GLX requests incorrectly. Affected are most glGet* calls but glGet{Integer,Float,Boolean}iv, which use a different code path.

Patch is submitted upstream.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Bernhard Wiedemann 2013-02-08 07:00:09 UTC
This is an autogenerated message for OBS integration:
This bug (802718) was mentioned in
https://build.opensuse.org/request/show/154866 Maintenance / Mesa
https://build.opensuse.org/request/show/154867 Maintenance /
Comment 2 Stefan Dirsch 2013-02-08 10:37:10 UTC
I can't find this patch upstream.
Comment 3 Stefan Brüns 2013-02-08 15:27:19 UTC
Submitted, not yet accepted (see upstream BR)

The upstream patch is smaller, as it only patches the python code generator, whereas the downstream patch also modifies the generated indirect.c
Comment 4 Stefan Dirsch 2013-02-11 09:35:05 UTC
(In reply to comment #3)
> Submitted, not yet accepted (see upstream BR)

Ok. I see.
Comment 5 Stefan Dirsch 2013-02-11 09:37:29 UTC
> http://lists.freedesktop.org/archives/mesa-dev/2013-February/034138.html

Successfully ignored by the developers up to now. :-(
Comment 6 Benjamin Brunner 2013-02-18 10:40:35 UTC
Hi Stefan, is your patch already accepted upstream that we can release the update or should we wait a few days?
Comment 7 Stefan Dirsch 2013-02-18 10:49:16 UTC
(In reply to comment #6)
> Hi Stefan, is your patch already accepted upstream that we can release the
> update or should we wait a few days?

No, still ignored by developers.
Comment 8 Stefan Brüns 2013-02-18 11:24:35 UTC
As indirect GLX is currently broken anyway ...

Client side works as of Mesa 9.0.2, server side is broken (https://bugs.freedesktop.org/show_bug.cgi?id=61022)
Comment 9 Benjamin Brunner 2013-02-20 10:23:12 UTC
Then, i guess, we should wait a little bit till we release the update.
Comment 10 Benjamin Brunner 2013-02-25 09:02:57 UTC
Ah, I saw that the fix is finally accepted upstream. I'll release the update now for openSUSE 12.2.
I'll close the bug as resolved fixed. Feel free to reopen it if it needs more work.
Comment 11 Swamp Workflow Management 2013-02-25 13:04:36 UTC
openSUSE-RU-2013:0340-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 802718
CVE References: 
Sources used:
openSUSE 12.2 (src):    Mesa-8.0.4-20.11.1