Archived

This topic is now archived and is closed to further replies.

Mysterious flashes

This topic is 5648 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve made a (2d)gui in dx8 and all polygons make a strange flash now and then at entirely random times. Fírst I thought I had a slow drawing method but when I tested it on two other computers I don''t see a slightest thing of the flashes. Since it ran without problem on them with worse gfx cards it must have something to do with my computersetup. One of the computers had xp and gf2mx while mine has 98 and gf3. Could it be windows 98? All other dx8 games run nice so I can''t see the problem. The flashes change from just flashing the polygon to flashing the whole vertical screen with the width of the polygons when changing SOFTWARE_VERTEXPROCESSING to HARDWARE_VERTEXPROCESSING when calling CreateDevice. Maybe that could give a clue. This is really disturbing since no one else has this with the same executable.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
My GF3 needs the newest vendor drivers to run DDraw and D3D without weird flashes. Those drivers are not the newest NVIDIA detonators but rather 23.11 with some modifications. If I try any other drivers it looks ugly and has weird artifacts all over.

Share this post


Link to post
Share on other sites
I really don''t want to you REF device since its terribly slow.. I actually had to hold down the exit button to make it exit the app. =)

That may be it.. I use nvidia''s latest drivers. I''ll try the vendor drivers again.. thanx

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
http://www.palit.com.tw/

The site is bit slow but usually it''s not bad. Can''t guarantee anything, but their drivers worked for me.

Share this post


Link to post
Share on other sites
This is really irritating.. sure no one has a better idea? I get some kind of flashes when playing neverwinter nights.. but none in gta 3. There must be something in the code that I can change.

Thanx for your help.

Share this post


Link to post
Share on other sites
Coloured green/red flashes are the D3D debug runtime either complaining about something or simply filling in the surface so you can see any places where you present a surface which hasn''t been filled with data. It doesn''t happen in the retail version so if you want to play a game without that happening, simply switch to the retail in the control panel.


If however you''re getting occasional black flickers, I''ll guess at your hardware config:

VIA chipset in the motherboard, Creative sound chip/card, nVidia graphics hardware.

Another symptom you may get with the above is crackling sound under high graphics load.

Get the latest drivers for ALL of those components. Also get the latest service pack for your OS and the any CPU packs (such as the AMD miniport one).

If you''re lucky, new drivers for everything will help/solve it.

Allegedly the general reason for the problems with those 3 component vendors is the drivers written by each of them can be described as "agressive" in their use of PCI bus cycles. Each driver seems to expect it''ll be able to hog 100% of the bus cycles for its own hardware (PCILocks). Unfortunately 3 drivers all expecting 100% of the time causes problems - think of it as a tug-of-war whoever loses for a particular frame gets faulty output (black flashes, sound crackles, slowdowns etc).










--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
You kinda hit the bull''s eye =)

I thought I had the latest drivers. I know I have them for the geforce 3. Haven''t checked via or soundblaster in a while. There''s no sound in my current project yet so it shouldn''t happen because of the soundcard.

I recently installed the retail directx runtime because I had problems running games. So that can''t be it. Seems I have to check VIA then..

Thanx for your help! If anything else comes to mind I''d appreciate if you reply again.

Share this post


Link to post
Share on other sites
Forgot about the cpu.. I have intel p3 667mhz and windows 98. I don''t think there are any servicepacks for them are there? I''ve tried windows update and and intel.com drivers page.

The latest soundblaster driver for my sblive! player 1024 seems to be from 26-05-2000. They are really good at updating...

Share this post


Link to post
Share on other sites
Do you have a DirectX utility on your control panel? if so ensure that retail runtime is selected. if error still occurs then I''m stumped. If it goes away it means your code has errors in (like S1CA proposed) and you need to look at the debug output from the D3D Debug runtime libraries.

Neil

WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!

Share this post


Link to post
Share on other sites
Yes, I have the directx utility and now I have reinstalled pure retail directx (so debug output cannot be chosen) since I thought the debug runtime was causing the trouble. And since my program doesn''t crash in any way and it works fine on all computers except mine it can''t have to do with d3dcalls failing.

It seems like this is a hardware issue.. strangely I have never noticed the same this in any other game. Recently released neverwinter nights has some kind of artifacts sometimes but not the same kind of flashes I get.

Do you have an idea not related to directx version or hardware drivers since I now have the latest?

Share this post


Link to post
Share on other sites
I still haven''t got this working.. does anyone have another idea? I hate these flashes..

I had some strange artifacts in the role-playing game Neverwinter Nights in the beginning but after playing a while they came less and less often.. after a while they were gone.. maybe its the same in my project. Has anyone had similar problems?

Share this post


Link to post
Share on other sites
Hmmm... this is a strange problem. Just a shot in the dark but are you using some sort of overclocking utility with your graphics card? (Or even your CPU)? It is quite common to see flashes and other rendering artifacts when using overclocked hardware (if you up the speed too much).

EDIT: just remembered something else, too. When I added a new harddrive, DVD-ROM and GeForce3 to one of my PC's I started noticing strange rendering problems when playing commercial games and my own projects. The problem? My power supply wasn't pumping enough juice to handle the peripherals and components. I threw in a 400 watt supply and things worked perfectly thereafter. Anyway - just thought it might be of help...

Regards,
Sharky


[edited by - Sharky on June 28, 2002 11:13:50 AM]

Share this post


Link to post
Share on other sites
Thanx for your answer!

I DID use an overclocking program but from what I remember I set the speed back.. gotta check that though.. it''s a good idea.

Hmm nvmax was uninstalled and doesn''t seem to recognize my card anymore with the new drivers. This might be it!

It does work fine in other games so I don''t think its the power. But that was a good idea too! =)

Share this post


Link to post
Share on other sites