[Bug 318180] Re: gnubik fails to launch; prints "cannot get suitable visual" to terminal and exits
martin
mnemo at minimum.se
Sat Jan 17 15:29:00 UTC 2009
The error is printed by g_error from glarea-gtk.c line 165:
int attribs[]={GDK_GL_RGBA,
GDK_GL_RED_SIZE, 1,
GDK_GL_GREEN_SIZE, 1,
GDK_GL_BLUE_SIZE, 1,
GDK_GL_DOUBLEBUFFER,
GDK_GL_DEPTH_SIZE ,1,
GDK_GL_ACCUM_RED_SIZE, 1,
GDK_GL_ACCUM_GREEN_SIZE, 1,
GDK_GL_ACCUM_BLUE_SIZE, 1,
GDK_GL_ATTRIB_LIST_NONE
};
glconfig = gdk_gl_config_new(attribs);
if ( !glconfig )
g_error("Cannot get a suitable visual");
So it seems that gdk_gl_config_new() returns NULL. The documentation for this function doesn't clearly say what will cause it to return NULL though:
http://gtkglext.sourceforge.net/reference/gtkglext/gtkglext-gdkglconfig.html#gdk-gl-config-new
--
gnubik fails to launch; prints "cannot get suitable visual" to terminal and exits
https://bugs.launchpad.net/bugs/318180
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list