Silverfrost Forums

Welcome to our forums

OpenGL crashing examples

25 Jul 2008 11:37 #3560

I have been tempted by the recent posts on OpenGL to have another go. So, I tried the 'animate.for' example and all the others in the opengl demo directory, and they work, but crash if the graphics windows are minimised. Typical error message follows:

Runtime error from program:c:\apps\silverfrost\ftn95\demo\opengl\teapots.exe Floating point divide by zero Floating point co-processor fault at address 16b140a0

16b140a0 routine at address 16B140A0 [+0000]

0378cc5b opengl_procedure@16#70 [+13ea]

77e3a454 routine at address 77E3A454 [+0000]

77e16b41 routine at address 77E16B41 [+0000]

77e25049 routine at address 77E25049 [+0000]

695331b1 routine at address 695331B1 [+0000]

77e3a454 routine at address 77E3A454 [+0000]

77e14750 routine at address 77E14750 [+0000]

eax=00000000 ebx=10146d24 ecx=03673fc0 edx=00000004 esi=03673fc0 edi=10146d24 ebp=0360de9c esp=0360de8c IOPL=0 ds=0023 es=0023 fs=003b gs=0000 cs=001b ss=0023 flgs=00010246 [NC EP ZR SN DN NV]

16b140a0 fdivr [16b6c224] 16b140a6 mov [esp+0x8],eax 16b140aa pop esi

In the debugger, it shows that the crash happens in 'iglicd32.dll',

Any thoughts?

Regards

Ian

25 Jul 2008 11:58 (Edited: 25 Jul 2008 12:26) #3561

Works like doctors prescribed, minimized or maximized.

25 Jul 2008 12:09 #3562

Ian,

No problems either!

Where do you have 'iglicd32.dll' ?

I've never heard of it and its not on my system! I think your problem may not be FTN95 but something else in the set up of your OS.

Sorry I can't be of any real help.

cheers John

25 Jul 2008 1:52 #3564

Thanks Chaps,

Nothing is working here today. I'll have to try another machine.....pause...

You are right, works perfectly on the computer next to me. I'll have to investigate.

Regards

Ian

The dll is:

OpenGL(R) Driver for Intel(R) Graphics Accelerator version 6.14.10.4421

Probably a bad machine!

25 Jul 2008 7:38 #3570

Ian,

Unfortunately OpenGL graphics aren't as rock solid stable as GDI graphics (using %gr). I see that DLL is part of the graphics acceleration, as I said in the other thread, if you disabled graphics acceleration does the problem persist? I don't know how %og initiates OpenGL, but talking to C++ programmers they inform that it is possible to interrogate a machine to find available graphics modes and select a non-accelerated mode for OpenGL, which I think would solve these problems. After all isn't acceleration intended primarily for games?

25 Jul 2008 9:08 #3571

Interesting, what graphics card AMD, NVIDIA, VIA etc and driver is on machine which crash?

27 Jul 2008 9:50 #3587

This computer is locked by the IT dept, and I can't turn off acceleration. I have to say, that the speed of rotation of the block in the animate.for example was far faster on my machine than the chap's machine I tried it on, so I assume the acceleration was doing something.

The machine detais are:

Intel(R) Graphics Media Accelerator Driver Report

Report Date: 07/27/2008 Report Time[hr:mm:ss]: 10:41:41 Driver Version: 6.14.10.4421 Operating System: Windows 2000* Professional, Service Pack 4 (5.0.2195) Default Language: English DirectX* Version: 9.0 Physical Memory: 1015 MB Minimum Graphics Memory: 8 MB Maximum Graphics Memory: 128 MB Graphics Memory in Use: 8 MB Processor: x86 Processor Speed: 2992 MHZ Vendor ID: 8086 Device ID: 2772 Device Revision: 02

Integ 82945G Express Chipset family, Intel video BIOS

System Information report written at: 27/07/2008 10:48:49 [System Summary]

Item Value OS Name Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 4 Build 2195 OS Manufacturer Microsoft Corporation System Manufacturer Hewlett-Packard System Model HP Compaq dc7600 Small Form Factor System Type X86-based PC Processor x86 Family 15 Model 4 Stepping 10 GenuineIntel ~2992 Mhz BIOS Version 05/18/05 Windows Directory C:\WINNT System Directory C:\WINNT\system32 Boot Device Not Available Total Physical Memory 1,039,724 KB Available Physical Memory 419,104 KB Total Virtual Memory 3,540,176 KB Available Virtual Memory 2,423,544 KB Page File Space 2,500,452 KB Page File C:\pagefile.sys

27 Jul 2008 10:27 #3588

Built in Intel 950 graphics there? If yes, this is worst buggiest graphics

27 Jul 2008 12:14 #3592

Thanks Dan,

I'm glad I don't own this computer, it is a heap of scrap!

Regards

Ian

27 Jul 2008 3:44 #3594

I made the mistake of buying a compaq presario laptop some years ago, it will not run FTN95 OpenGL graphics at all ! I know the code is fine and runs perfectly okay on other machines. It doesn't handle GDI graphics too well either! The machine regularly shuts down when it gets too warm. It has a CD writer, which is useless, because before it can finish writing a CD it shuts down to protect the processor from frying itself.

27 Jul 2008 11:32 #3596

It all works fine on my home machine which does not seem to have much in the way of acceleration anyway.

Ian

Please login to reply.