Graphics Card and XNA 4.0

对着背影说爱祢 提交于 2020-06-22 08:28:18

问题


I create a new project in xna 4.0 for windows. I put it on both Reach and HiDef profile settings in properties. When debugging I get the following error:

No suitable graphics card found. Could not find a Direct3D device that supports the XNA Framework HiDef profile.

I made sure to select the 'Reach' profile, I still get this error.

  1. Graphics card is an intel GM45. It states support of DX10 on their website.
  2. Intel Core 2 Duo 2.2Ghz
  3. Windows 7 Professional
  4. Visual Studio 2010 Ultimate
  5. 3GB RAM

So whats wrong with what I'm doing? Thanks.

PS. If I cant run XNA 4.0 games, Can I create a 3.0 project with xna 4.0?


回答1:


Edit: My mistake - I see you're having trouble actually making your game even use Reach profile. You should take a look at this article that describes how to select the Reach profile.

Also - there were some profile limitations in older versions of XNA 4.0 - I cannot remember the details now, but are you using the latest version of XNA 4.0?

I'll leave my old answer here because there's some other useful info in it:


This is probably a better question for the XNA fourm (and I see you've asked it there anyway).

I don't know what the specs of the Intel GM45 are, but I can link you to the precice requirements of the Reach and HiDef profiles, so you can try and compare them.

And to answer your final question: You cannot create an XNA 3.1 project with XNA 4.0. XNA is not upwards or downwards compatable. What you can do is install versions side-by-side (both the runtime and Game Studio). So simply grab Visual C# 2008 Express and XNA 3.1 and use those.




回答2:


change the property for Game profile in your project.

Right Click over the project > Properties > XNA Game Studio > Game Profile:

Change the radio buttons from "Use HiDef..." to "Use Reach..."




回答3:


I ran into a similar problem and it ended up being because my video card didn't have enough embedded RAM for Windows 7 and an XNA 4.0 project to run. Things ran fine in Windows XP, but failed in Windows 7.



来源:https://stackoverflow.com/questions/3485805/graphics-card-and-xna-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!