C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-14-2002, 03:54 PM   #1
Programming is fun, mkay?
 
Join Date: Oct 2001
Posts: 490
Unhappy ATI 3D Rage Pro And D3D?

I just can't figure this out. I have a computer with 128MB RAM. Also, it has a Pentium II 350MHz, along with a 16MB ATI 3D Rage Pro II+. I ran dxdiag.exe, and it all went okay. When I try to create a simple Direct3D window, it can't create the device. Can anyone give me an answer. I copied the code directly from the MS DX8 Docs. I order a book, too, from Amazon.com, that should be here in a few days. If you can help, please do!
__________________
Website(s): http://www16.brinkster.com/trifaze/

E-mail: trifaze_mattu@lycos.com

---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
SyntaxBubble is offline   Reply With Quote
Old 06-14-2002, 04:10 PM   #2
Rambling Man
 
Join Date: Jan 2002
Posts: 1,050
I'm not sure if this will help you or not but...

Back in October I bought Civilization 3, and it uses DirectX. When I tried playing it I could see the opening intro, but after that I couldn't see anything...it was all black. I could still hear the sound that was playing, though. So after about a week of trying a ton of different things I traded monitors with somebody (my brother) to see if it would work. Lone behold it worked.

Since I have the same video card as you it could be your monitor, but I'm not sure.
TechWins is offline   Reply With Quote
Old 06-14-2002, 04:15 PM   #3
Programming is fun, mkay?
 
Join Date: Oct 2001
Posts: 490
Arrow I have already done that(sort of)...

I have even tried it on another computer. It has:

nVidia GeForce 4
512MB RAM

And I get the exact same error.
__________________
Website(s): http://www16.brinkster.com/trifaze/

E-mail: trifaze_mattu@lycos.com

---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
SyntaxBubble is offline   Reply With Quote
Old 06-14-2002, 08:21 PM   #4
Unregistered
Guest
 
Posts: n/a
Be entirely sure that you are using the proper drivers for your monitor, and not just the general ones that windows comes with.

That's the most I can think of
  Reply With Quote
Old 06-15-2002, 09:05 AM   #5
Programming is fun, mkay?
 
Join Date: Oct 2001
Posts: 490
Lightbulb Could be, but...

I will try that, but I don't think that's it. My error message for when CreateDevice() fails pops up. I am not sure it's the monitor. Like I said, though, I will see if I have the general drivers or the real ones.
__________________
Website(s): http://www16.brinkster.com/trifaze/

E-mail: trifaze_mattu@lycos.com

---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
SyntaxBubble is offline   Reply With Quote
Old 06-16-2002, 12:59 AM   #6
Unregistered
Guest
 
Posts: n/a
Only reason I thought of that is because (going with the civilization thing) if you have general monitor drivers installed, the game won't run right.
  Reply With Quote
Old 06-16-2002, 11:56 AM   #7
Programming is fun, mkay?
 
Join Date: Oct 2001
Posts: 490
Unhappy Trouble With Drivers...

My monitor is a 15" color monitor. It's an IBM G74, and I can't find any drivers for it, except the ones which came with Windows. Where can I find them. I tried the IBM website, but they only have them for G76, G78, and G79.
__________________
Website(s): http://www16.brinkster.com/trifaze/

E-mail: trifaze_mattu@lycos.com

---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
SyntaxBubble is offline   Reply With Quote
Old 06-16-2002, 01:32 PM   #8
Registered User
 
Coder's Avatar
 
Join Date: Aug 2001
Location: Cairo, Egypt
Posts: 128
All direct3D functions return HRESULTs
1 - Switch to the debug run-time, and max the warning level of Direct3D ( via the control panel applet )
2 - Run the sample in the debugger ( MSVC debugger ) : When an error occurs, it's going to tell you
3 - Check the result returned by IDirect3D8::CreateDevice() using GetErrorString & GetErrorDescription ( maybe these aren't the exact function names, but they're very close to the actual names )
__________________
Muhammad Haggag
Coder is offline   Reply With Quote
Old 06-16-2002, 01:59 PM   #9
Programming is fun, mkay?
 
Join Date: Oct 2001
Posts: 490
I don't use MSVC :(

I don't use MSVC . I use Bloodshed Dev-C++, and I don't know how to use he GDB Debugger. Also, I can't find anything about GetErrorDescription, just D3DXGetErrorString(). That function gives me D3DERR_INVALIDCALL, which the docs. say:

D3DERR_INVALIDCALL
The method call is invalid. For example, a method's parameter may have an invalid value.
__________________
Website(s): http://www16.brinkster.com/trifaze/

E-mail: trifaze_mattu@lycos.com

---------------------------------
C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
DirectX Version: 9.0b
DX SDK: DirectX 8.1 SDK
SyntaxBubble is offline   Reply With Quote
Old 06-17-2002, 02:09 PM   #10
Registered User
 
Coder's Avatar
 
Join Date: Aug 2001
Location: Cairo, Egypt
Posts: 128
I found the names, in the SDK docs :
DXGetErrorString8 & DXGetErrorDescription8, both prototyped in dxerr8.h & implemented in dxerr8.lib


About the crash, I suggest that you use the DirectX caps viewer and check the caps of your ATI with the presentation parameters, see if something's not supported.
__________________
Muhammad Haggag

Last edited by Coder; 06-19-2002 at 02:55 PM.
Coder is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 09:25 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22