Bug 11329 - screen.c : line 1676 : glXQueryExtensionsString ( ...
Summary: screen.c : line 1676 : glXQueryExtensionsString ( ...
Status: RESOLVED DUPLICATE of bug 11328
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:
Depends on:
Blocks:
 
Reported: 2007-06-21 18:29 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:29:39 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

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


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.