Skip to content

No GLX context on nvidia cards #1

Description

@joh

Hi, first of all, great project!

I'm having some issues running the screensavers on my nVidia GeForce GTS 250 (Ubuntu 10.04) using the proprietary drivers. For some reason, a GLX context isn't available in the foreign window, causing glGetString (GL_VERSION) to fail (clutter/cogl/cogl/driver/gl/cogl-gl.c:69). The resulting output is an infinite stream of the following errors:

(flip-clock:20812): Clutter-CRITICAL **: The GL driver is not supported: The OpenGL version could not be determined

(flip-clock:20812): ClutterGLX-CRITICAL **: Unable to make the stage window 0x6200008 the current GLX drawable

What's strange is that clutter-gtk works fine on the same system, which employs the same method of stage foreign drawing. However it seems to jump through some more hoops in order to get there. I'm not sure how to fix this, but I wrote a simple test case reproducing the error: http://paste2.org/p/1021025

Emanuelle provided some insight on IRC and suggested that the window doesn't have the correct visual. I don't know exactly what that means though :P

Let me know if there's anything I can do to help, as I'm writing a screensaver myself and struck the same problem. Note that all the screensavers (and test program) work on another computer with an intel card.

Best regards,
Johannes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions