Bug 11328 - screen.c : line 1676 : glXQueryExtensionsString ( ...
Summary: screen.c : line 1676 : glXQueryExtensionsString ( ...
Status: RESOLVED DUPLICATE of bug 8160
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: David Reveman
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 11329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-21 18:01 UTC by Derek Freeman-Jones
Modified: 2007-06-22 03:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.