Bug 11328

Summary: screen.c : line 1676 : glXQueryExtensionsString ( ...
Product: xorg Reporter: Derek Freeman-Jones <dpfj>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.2 (2007.02)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Derek Freeman-Jones 2007-06-21 18:01:52 UTC
Just downloaded the latest version of compiz from the fusion git clone and found the request to get the client extensions does not return the last extension - most importantly the GLX_EXT_texture_from_pixmap extension.

If I run glxinfo - GLX_EXT_texture_from_pixmap is in both the server and client list.

I made a quick fix to check if GLX_EXT_texture_from_pixmap is the server extensions which works, but I don't think thats the right thing to do as this problem has only a appeared recently. Probably when I upgraded to 7.2.

Quick fix: 

    glxExtensions = glXQueryExtensionsString (dpy, screenNum);
    
    if (!strstr (glxExtensions, "GLX_EXT_texture_from_pixmap"))
    {
+       glxExtensions = glXQueryServerString ( dpy, screenNum, GLX_EXTENSIONS );
+
+       if ( !strstr ( glxExtensions, "GLX_EXT_texture_from_pixmap"))
+       {
        compLogMessage (display, "core", CompLogLevelFatal,
                        "GLX_EXT_texture_from_pixmap is missing");
        XFree (visinfo);

        return FALSE;
+       }
    }

without ths patch compiz fails to start and hard locks my machine - but thats probably due to my conifg?

Driver: Radeon 9700 - open source radeon driver
Comment 1 Michel Dänzer 2007-06-22 03:51:15 UTC
*** Bug 11329 has been marked as a duplicate of this bug. ***
Comment 2 Michel Dänzer 2007-06-22 03:51:46 UTC
If bug 8160 leaves anything unclear, please follow up there.

*** This bug has been marked as a duplicate of bug 8160 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.