View Full Version : glXMakeContextCurrent gives segmentation fault

12-12-2006, 10:07 PM
hi, i used glXMakeContextCurrent to create a window for rendering. while it works on one PC, it gives segmentation fault on another PC with similar configuration. both PCs are running FC4. in what cases does glXMakeContextCurrent causes segmentation fault?

12-13-2006, 12:42 AM
glXMakeContextCurrent is specific for glx 1.3 and upper releases. Check that both your configs support this version at least.

12-13-2006, 06:36 PM
how to check version?

12-14-2006, 12:26 AM
glXQueryVersion - return the version numbers of the GLX extension

12-14-2006, 09:25 PM
thanks! i solved the problem after upgrading the graphics driver to NVidia 9631.

now i have another problem. i am running a program on a PC with Geforce 4 GPU. it seems that i can't create framebuffer objects using glGenFramebuffersEXT. No framebuffer objects are returned after i call this function. is it because that Geforce 4 doesn't support framebuffer objects?

12-14-2006, 10:37 PM
glxinfo or best test the presence of that extension will help you (u can use glew or such).