I’m a newbie to OpenGL. I’m going to eventually be working with an MPC<SPAN =“highlight”>5121e board. Until I get that board set up, I thought I’d get started with OpenGL using the Linux emulation SDK (SDK_OGLES-1.1_LINUX.tar.gz). I compiled and ran training course programs 1-5 and all work fine. Training course program #6 (Introducing PVR Tools), however, gets a segmentation fault. Here’s the traceback from gdb:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb793c8d0 (LWP 23674)] 0xb7e3158b in glDrawElements () from /home/brenda/linux_em/SDKPackage/Builds/OGLES/LinuxPC/Lib/libGLES_CM.so (gdb) where #0 0xb7e3158b in glDrawElements () from /home/brenda/linux_em/SDKPackage/Builds/OGLES/LinuxPC/Lib/libGLES_CM.so #1 0x080514aa in CPVRTPrint3D::Flush () #2 0x0804a8ad in OGLESIntroducingPVRTools::RenderScene () #3 0x0804caea in PVRShellInit::Run () #4 0x0804dd8c in main () (gdb)
Any thoughts appreciated. Not sure if it matters but I tested by openGL/X window set up with glxgears and that looked good.
1.  Could You describe exactly the procedure that you have executed after unpacking the archive eg. command  you type to build this demo , shell variable you set (if any) before you compile and before you run demo and directory from which you are typing building command.
2. what is the full name of the archive of this SDK?.Â
3.  please  put training course nr 4 , following line:
glGetString(GL_RENDERER);
in console you should see identication of pc emulation which I would like to ask you to present here.
1. Could You describe exactly the procedure that you have executed after unpacking the archive eg. command you type to build this demo , shell variable you set (if any) before you compile and before you run demo and directory from which you are typing building command.
2. what is the full name of the archive of this SDK?.
3. please put training course nr 4 , following line:
glGetString(GL_RENDERER);
in console you should see identication of pc emulation which I would like to ask you to present here.
I changed the title to reflect that I discovered that the training program only faults when I'm using my Windows laptop as the display. Since the Linux box I'm using for developement isn't very accessible, I've been using Putty to ssh to the Linux box. To display openGL/X apps I have Xming running on my Windows laptop and I have Putty set up with X11 forwarding. And this seems to work fine for glxgears and for training programs 1-5. Training program 06_IntroducingPVRTools, however, gets a segmentation fault as described in my earlier post if I use this type of remote display. Training program 6 does not get a segmentation fault if I display directly on the monitor for the Linux box.
Any suggestions welcomed. Could it be some kind of xming configuration issue? I'm surprised that the application, itself, would segmentation fault though. I've been searching online for similar problems but so far no luck. It's not very feasible for me to use the Linux box monitor so hope to get this working.
I'm sorry for such a delay. Unfourtunetly we do not have any experience with Xming and Putty with X forwarding. If you could send us configuration details of your Xming , Putty enviroment then we would like to recreate that situation and introduce necessery fixes.