Jump to content


Photo

Direct3d Exception


11 replies to this topic

#1 inbredhill

inbredhill

    Squaddie

  • Forum Members
  • PipPip
  • 4 posts

Posted 25 October 2007 - 11:42 PM

When I start xenocide i get the following exception error:

Exception: Could not find a direct3d device that has a direct3d9-level driver and supports pixel shader 1.1 or greater.
StackTrace:
at microsoft.xna.framework.graphicasdvicemanager.checkforavilablesupportedhardware(

at microsoft.xna.framework.graphicasdvicemanager.changedevice(boolean forcecreate)
at microsoft.xna.framework.graphicasdvicemanager.microsoft.xna.framkework.igraphics
vicemanager.createdevice()
atmicrosoft.xna.framkework.game.run()
at projectxenocide.program.main() in c:\users\jason\documents\xenocide svn\xenoxna\xenocide\source\program.cs:line:44

Laptop is a toshiba satellite a65-s1069 with xp pro and a radeon mobility 7000 igp with the latest drivers.

#2 kafros

kafros

    Creative Text Department

  • Xenocide Creative-Text Departmen
  • 1,800 posts

Posted 26 October 2007 - 03:55 AM

[quote name='Error']Exception: Could not find a direct3d device that has a direct3d9-level driver and supports pixel shader 1.1 or greater.[/quote]

http://en.wikipedia....s_pixel_shaders

[quote name='Answer']R100-based GPUs have programmable shading capability in their pipelines; however, the chips are not flexible enough to support the Microsoft Direct3D specification for Pixel Shader 1.1.[/quote]

Your graphics card doesn't meet the requirements, sorry :(

[quote name='http://www.motherboardpoint.com/t88012-pixel-amp-vertex-shader-emulator.html']DX8 vertex shaders can be emulated. The existing nVidia drivers should do it
already - the fact HL2 runs is indicative of that.

As far as I know, pixel shaders cannot be emulated without incurring massive
penalties in performance or quality.

Upgradability has historically been a weak point for laptops (and to a
lesser extent, SFF chassis). Just something you'll have to live with.[/quote]

You could try using 3dAnalyze (tricks the game into thinking your hardware supports such features) and see if the game loads for you, but I guess you won't be able to see anything on the globe...
http://www.3dfxzone....alyze/download/

#3 marbolge

marbolge

    Squaddie

  • Forum Members
  • PipPip
  • 4 posts

Posted 16 November 2007 - 09:33 PM

I get a similar exception but a little different

Exception: The type initializer for 'Microsoft.Xna.Framework.Graphics.GraphicsAdapter' Threw an exception.
StackTrace:
at Microsoft.Xna.Framework.Graphics.GraphicsAdapter.getAdapters()
at Microsoft.Xna.Framework.GraphicsDeviceManager.CheckForAvailableSupportedHardware
)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsD
viceManager.CreateDevice()
at Microsoft.Xna.Framework.Game.Run()
at ProjectXenocide.Program.Main() in C:\Users\Jasin\Documents\Xenocide SVN\XenoXNA\Xenocide\Source\Program.cs:line 44

My card is a NVIDIA GeForce Go 6200 TE 64M / 6600 TE 128M so I thought it would work ok.

Is there anything I can do to help this problem?

Edited by marbolge, 16 November 2007 - 09:37 PM.


#4 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 17 November 2007 - 10:48 AM

Are you using the standard Windows video driver or do you installed the latest version of the NVidia Drivers?

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#5 marbolge

marbolge

    Squaddie

  • Forum Members
  • PipPip
  • 4 posts

Posted 17 November 2007 - 09:59 PM

Thanks for the reply Red Knight:

My driver version is 7.1.4.1 and hasn't been updated since 2005.

Any recomendations on the version I need and where I can find it?

Edited by marbolge, 17 November 2007 - 10:02 PM.


#6 Guest_Azrael Strife_*

Guest_Azrael Strife_*
  • Guests

Posted 18 November 2007 - 09:46 AM

Thanks for the reply Red Knight:

My driver version is 7.1.4.1 and hasn't been updated since 2005.

Any recomendations on the version I need and where I can find it?

The nVidia website might be a good place to start :P
And the latest version is probably the best choice.

#7 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 18 November 2007 - 10:10 AM

yup, and it should be able to autodetect it for you as well if you dont feel like doing the drop down menus :)

#8 marbolge

marbolge

    Squaddie

  • Forum Members
  • PipPip
  • 4 posts

Posted 21 November 2007 - 09:17 PM

Ok, I updated my driver which NVIDIA told me I had to do through Toshiba, who made the laptop, but I still have the same problem. Anything more I can do?

#9 dteviot

dteviot

    Programming Department

  • [Xenocide Senior Members]
  • 1,479 posts

Posted 21 November 2007 - 10:42 PM

Ok, I updated my driver which NVIDIA told me I had to do through Toshiba, who made the laptop, but I still have the same problem. Anything more I can do?

OK, Googling for "The type initializer for 'Microsoft.Xna.Framework.Graphics.GraphicsAdapter' Threw an exception" gives a number of threads, with solutions that are essentially:
1. Install/Reinstall the latest version of the XNA 1.0 Refresh Redistributables.
2. Install/Reinstall the latest version of DirectX 9.0c. It needs to be the December 2006 release or newer. (Note, there are several versions of DirectX 9.0c, the December 2006 added some components that XNA needs.) Do NOT trust any version of DirectX 9.0c that was installed as part of any game, as the games usually don't install all the pieces.
Saving the world from the scum of the universe is hard work. Especially when you have to create the scum to begin with.

#10 marbolge

marbolge

    Squaddie

  • Forum Members
  • PipPip
  • 4 posts

Posted 22 November 2007 - 01:53 AM

Ok, that was the problem, I had installed Direct X 9.0c off of a game. With the newest version I'm running. Now I just have to get the audio pack playing. I have it in the xenocide directory (xna.Xenocide.0.2.0.1740) which is located in program files, and the sound options are on in the game, but no sound.

Edited by marbolge, 22 November 2007 - 01:54 AM.


#11 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 22 November 2007 - 05:42 AM

CTD, please document this error in the docs site and in the prerequisites in the download page ;)

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#12 Darkhomb

Darkhomb

    Captain

  • Xenocide Artwork Department
  • 628 posts

Posted 22 November 2007 - 09:39 AM

The audio files, should be under xenocide/content/audio/ then they have their directories, music and sound etc



Reply to this topic