Crash in D3D8 DLL only in retail and SW VP

Started by
4 comments, last by Laurent 22 years, 2 months ago
Hello all, I am facing a very weird problem. My little game is crashing in D3D8, but only in the retail debug runtime and only in SW vertex processing. All other combinations of HW VP vs debug/retail vs debug/release build work fine. I get a lot of ugly visual artefacts then the program crashes in D3D8 DLL. The stack dump is useless: D3D8! 6dae6f90() 3d4ccccd() My debug output looks just fine. No ref counts or Alloc ID problems, just a few VB locked more than needed. Break on error, break on memory leak never trigger. I have removed step by step all render methods and finally found out that point sprites were causing problems. I have something like 1200 particles maximum. It should not be a problem. Is this a known issue? A common mistake? Is there a work-around? Driver problem? All suggestions welcome. Help greatly appreciated. Thanks. Laurent PS: I am using WinXP Pro, a recent DX8.1 SDK with VC++6.0 SP5 with a GF2MX (drivers 21.83) Laurent - http://www.lafaqmfc.com/ My little game: http://www.lafaqmfc.com/starshooter.htm
Advertisement
Does it happen with the reference driver? If not, you may be looking at a driver bug.

If it also happens with the reference driver, you''re doing something the DX runtime doesn''t expect. I''d try to get rid of whatever other warnings the debug runtime is giving you (like the VBs being locked too many times), and see if that clears up the problem.


--
Eric
-- Eric
Thank you for your response.

I tried to use the REF driver but I only have 0.08 fps with it. ( Yes, one frame every 12 or 13 seconds )

I cant reproduce the problem this way.

Any other idea ?

Laurent


Laurent - http://www.lafaqmfc.com/
My little game: http://www.lafaqmfc.com/starshooter.htm
You can try reducing your scene complexity so that the program still crashes but gives you manageable fps in ref.
---visit #directxdev on afternet <- not just for directx, despite the name
Eh, no. The REF driver is not for performance; seconds per frame is typical, as you mentioned. The point is that if the REF driver handles it without crashing, then in theory a video driver should also handle it without a crash.

You should check with whoever made your video card to see if there are any updated drivers, and possibly file a driver bug report with them.


--
Eric
-- Eric
I''ve got the same Graphics card, but I''m running Win98, I can get SoftWare Vertex processing to work fine on my machine.
I''m using the latest drivers from nvida.

Is''nt there a few known problems with GeForce2''s and WinXP ?

,Jay

This topic is closed to new replies.

Advertisement