Archived

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

Please download this TINY 22Kb test program!

This topic is 5618 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

It's a very simple app which tests to see what 3d hardware you have and it's capabilities. If it runs correctly, you should get a message saying thankyou. A file named logfile.txt is produced, please email it to me or post results here. Either way, please post something to keep the thread alive. The demo requires DX8. As incentive, it'll tell you if your 3d card drivers are up to date. The maxstreams thing reported in the file will be >0 if you have D3D 8 drivers, 0 if you have D3D 6/7 drivers. The file is found here. Thanks very much, particularly interested in older cards. All systems you have, please test. It will detect multiple adapters, so anyone with a dual head card or 2 graphics cards, please check this works! EDIT Now have data on the GF256,GF2MX,GF2,3,4 & Radeon8500. Looking for those of you with other cards. Matrox? Other ATI? TNT/TNT2? Rage? etc etc... Cheers
Read about my game, project #1
John 3:16 [edited by - d000hg on July 26, 2002 11:32:38 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Well...it isn''t a virus. Interesting, I ddn''t know I had 2 texture units or that my card supported Dot3 operations.

Created a D3D object, with 1 adapters
Adapter #0: NVIDIA Vanta/Vanta LT
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

-James

Share this post


Link to post
Share on other sites
i got an "unhandled exception: access violation" error. "instruction at NULL referenced memory at NULL. the memory could no be read." is a more detailed description.

---
shurcool
wwdev

Share this post


Link to post
Share on other sites
Created a D3D object, with 1 adapters
Adapter #0: ELSA GLADIAC 920
Device has HW T&L support
Device is a pure device
Max texture dimensions: 4096x4096
DOT3 supported
4 Texture units
16 Streams supported
Max Point size=64.000000

Share this post


Link to post
Share on other sites
Created a D3D object, with 2 adapters
Adapter #0: ATI 3D Rage Pro (atir3)
Max texture dimensions: 0x0
0 Texture units
0 Streams supported
Max Point size=0.000000

Adapter #1: Mighty 3D II
Max texture dimensions: 256x256
DOT3 supported
1 Texture units
0 Streams supported
Max Point size=1.000000

Congratulations

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Created a D3D object, with 1 adapters
Adapter #0: ATI Rage 128 Xpert 128 (English)
Max texture dimensions: 1024x1024
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

Share this post


Link to post
Share on other sites
OK, may have found the problem - I have no message loop as none is needed, so thought I could get away with no WndProc function. I''ve added one now, and a window appears, so obviously messages were being sent to it at creation. Also added a bit more debug stuff - you also get a file log.txt which tells you what happened. The last line in this file should be
"Closing log file..."
Can you try again if possible, will be up in 5-10 minutes.
Yeah, to remind you - if the streams==0 or pointsize=0 or 0.000 or 1 or 1.00, you do NOT have a D3D 8 driver installed for your 3d card and some effects won''t work (pointsprites won''t be visible for example).
Same link, here it is.
Thanks everyone.



Read about my game, project #1



John 3:16

Share this post


Link to post
Share on other sites
It worked fine for me. Here''s the log:

D3D class constructor called
Registered a window class
Created a window
Called ShowWindow
Called UpdateWindow
Called SetFocus
Creating a D3D COM object...Succeeded
Got adapter details
Initialised D3D ok

But I''m sure some of this isn''t true the following:

Created a D3D object, with 1 adapters
Adapter #0: Intel(r) 82810E Graphics Controller
Max texture dimensions: 1024x1024
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

I don''t believe DOT3 is supported because I can''t run the DOT3 lighting sample in the sdk with hardware support, only in reference mode. The rest seems correct though.

---
My Site
Come join us on IRC in #directxdev @ irc.afternet.org

Share this post


Link to post
Share on other sites
Results for computer 1:

Created a D3D object, with 1 adapters
Adapter #0: NVIDIA GeForce2 GTS/GeForce2 Pro
Device has HW T&L support
Device is a pure device
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
16 Streams supported
Max Point size=64.000000

Results for computer 2:

Created a D3D object, with 1 adapters
Adapter #0: NVIDIA RIVA TNT2/TNT2 Pro
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

Both computers are running Windows 2000 with identical Detonator drivers (29.42). The fact that "0 streams supported" is reported for the TNT2 machine leads me to believe that you are checking the caps before actually creating a device. I do extensive debugging on that machine and I know that MaxStreams will be 16 when you do it the proper way...

[edited by - spock on July 25, 2002 10:12:24 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Created a D3D object, with 1 adapters
Adapter #0: NVIDIA Vanta/Vanta LT
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

I''m also running the latest detonator drivers. I downloaded them tonight and I reinstalled DirectX 8.0


-James

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Created a D3D object, with 1 adapters
Adapter #0: NVIDIA GeForce2 Ti
Device has HW T&L support
Device is a pure device
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
16 Streams supported
Max Point size=64.000000

Share this post


Link to post
Share on other sites
Created a D3D object, with 1 adapters
Adapter #0: NVIDIA GeForce2 MX/MX 400
Device has HW T&L support
Device is a pure device
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
16 Streams supported
Max Point size=64.000000


------------------------------
BASIC programmers don''t die, they just GOSUB and don''t return.

Share this post


Link to post
Share on other sites
log.txt:
*****************
Opened a log file
*****************

D3D class constructor called
Registered a window class
Created a window
Called ShowWindow
Called UpdateWindow
Called SetFocus
Creating a D3D COM object...Succeeded
Got adapter details
Initialised D3D ok
*******************
Closing log file...

logfile.txt:
Created a D3D object, with 1 adapters
Adapter #0: NVIDIA RIVA TNT2 Pro (HP)
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

Share this post


Link to post
Share on other sites
Created a D3D object, with 1 adapters
Adapter #0: RAGE PRO TURBO AGP 2X (English)
Max texture dimensions: 1024x1024
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=1.000000

The hell? My card supports DOT3?

You know you''re a programmer when your computer is like family. When it''s more like a lover, you need help.

Share this post


Link to post
Share on other sites
Hi,

Specs:
P4 2.0 Ghz, 256MB DDR
MSI GF4 Ti4200 (128 MB)
Win 98 SE, DX 8.1 (Debug)
the rest is nothing special.


Log:
*****************
Opened a log file
*****************

D3D class constructor called
Registered a window class
Created a window
Called ShowWindow
Called UpdateWindow
Called SetFocus
Creating a D3D COM object...Succeeded
Got adapter details
Initialised D3D ok
*******************
Closing log file...

Logfile:
Created a D3D object, with 1 adapters
Adapter #0: MSI MS-StarForce GeForce4 Ti 4200 (NVIDIA GeForce4 Ti 4200)
Device has HW T&L support
Device is a pure device
Max texture dimensions: 4096x4096
DOT3 supported
4 Texture units
16 Streams supported
Max Point size=8192.000000

Good Luck with your app,
- James

Share this post


Link to post
Share on other sites
Created a D3D object, with 1 adapters
Adapter #0: Radeon 8500 (Omega 2.4.39)
Device has HW T&L support
Device is a pure device
Max texture dimensions: 2048x2048
DOT3 supported
6 Texture units
8 Streams supported
Max Point size=256.000000

Share this post


Link to post
Share on other sites
System:
P4 1.9Ghz
1024MB
WinXP

Created a D3D object, with 1 adapters
Adapter #0: Radeon VE
Max texture dimensions: 2048x2048
DOT3 supported
3 Texture units
8 Streams supported
Max Point size=64.000000


Floru

Share this post


Link to post
Share on other sites
System:
AMD Athlon 900 MHz
256 MB RAM
Leadtek GeForce 256 SDR
Debian Linux :D

Logfile.txt:
Created a D3D object, with 1 adapters
Adapter #0: Direct3D HAL
Device has HW T&L support
Max texture dimensions: 2048x2048
DOT3 supported
2 Texture units
0 Streams supported
Max Point size=0.000000

It works great under Debian Linux for me, keep up the good work

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I seem to have run into some oddness..

Possible relevant system information:
AMD TBird 1.2GHz
128mb DDR RAM
Gigabyte GA-7DX motherboard
GeForce2 MX400; 64mb
Win98SE
DirectX v8.0
----

*****************
Opened a log file
*****************

D3D class constructor called
Registered a window class
Created a window
Called ShowWindow
Called UpdateWindow
Called SetFocus
Creating a D3D COM object...failed
Initialised D3D ok
*******************
Closing log file...


Created a D3D object, with 0 adapters

Share this post


Link to post
Share on other sites