shohom67


Help!

I'm working on my first XNA Project: Learning how to work with 2D images/sprites. I follow the directions completely and I get this in the Main() module when it tries to access the Game1 module:

Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater.

I tried downloading the Direct3D 9.0 SDK extras package, but it didn't help. I'm stumped.

Dan




Re: missing Direct3D device???

ProfEclipse


You have to have a video card that supports pixel shader 1.1 or greater, as the error message states.





Re: missing Direct3D device???

JeffTxxx123

The next obvious question: Is there a list of approved cards that support this functionality A list of cards that will NOT support this







Re: missing Direct3D device???

dczraptor

 JeffTxxx123 wrote:

The next obvious question:  Is there a list of approved cards that support this functionality   A list of cards that will NOT support this

Wikipedia knows everything.






Re: missing Direct3D device???

Aeraggo

Next question then...is it possible to make it not require a pixel shader




Re: missing Direct3D device???

Seraphino

No, Pixel Shaders are required because XNA uses them as a foundation. However, why are you so worried Graphic Cards that support Pixel Shaders (3.0) are only like $50.00. Here is one I found on amazon, but every card is around this price, and PCIe cards are even cheaper.

http://www.amazon.com/eVGA-GeForce-6200-256MB-256-A8-N341-L2/dp/B000EPYLII/sr=8-4/qid=1168604964/ref=pd_bbs_4/105-2099284-0242863 ie=UTF8&s=electronics

EDIT: Btw, Pixel Shaders 3.0 is the latest version of Pixel Shaders as far as I know.






Re: missing Direct3D device???

Aeraggo

Seraphino wrote:

No, Pixel Shaders are required because XNA uses them as a foundation. However, why are you so worried Graphic Cards that support Pixel Shaders (3.0) are only like $50.00. Here is one I found on amazon, but every card is around this price, and PCIe cards are even cheaper.

http://www.amazon.com/eVGA-GeForce-6200-256MB-256-A8-N341-L2/dp/B000EPYLII/sr=8-4/qid=1168604964/ref=pd_bbs_4/105-2099284-0242863 ie=UTF8&s=electronics

EDIT: Btw, Pixel Shaders 3.0 is the latest version of Pixel Shaders as far as I know.


Alright, thanks anyway...and the main issue in my case is I only have a laptop, so generally graphics cards are more expensive, as well as may be more of a pain to install.




Re: missing Direct3D device???

Tiptup300

This really irritates me that their is absolutely no workaround! I'm creating a strictly 2D game without any pixel shading, and I was working on them before beta 2 with no problems at all. Now that its required its ridiculous! I found workarounds after it gets to the actual Game class, but mine wont get that far.




Re: missing Direct3D device???

Jim Perry

It was required in beta 1, but the minimum was upped in beta 2. That might be why you're having problems. There is a workaround, but it's so problematic (read: you'll probably get frame rates in the single digits) as to be almost worthless. Check here.




Re: missing Direct3D device???

Tiptup300

Tried it, doesnt get far enough to work.




Re: missing Direct3D device???

Cygon4

You probably don't even have the reference rasterizer enabled. The link only leads to the second part of the article, a downloadable GraphicsDeviceManager replacement.

The full steps you need to take to get XNA working on a graphics card without shader support are detailed here: http://www.nuclex.org/articles/using-the-reference-rasterizer-in-xna

I've been using this myself on a Trident PCI graphics card with the Windows Standard VGA driver installed and it worked... at about ~0.5 fps with the window being at 320 x 240 :)

-Markus-