PDA

View Full Version : glXMakeContextCurrent gives segmentation fault



xdf103
12-12-2006, 11: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?

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

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

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

xdf103
12-14-2006, 10: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?

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