【发布时间】:2012-02-03 22:08:58
【问题描述】:
我有一台带有 Intel GMA 3150 显卡的 Asus Eee PC,操作系统是 Windows 7 Starter,安装了 DirectX 11。
当我运行使用 XNA 4.0 的项目时,我在 graphics.ApplyChanges() 处收到以下异常:
Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException was unhandled
Message=Could not find a Direct3D device that supports the XNA Framework HiDef profile.
Verify that a suitable graphics device is installed.
Make sure the desktop is not locked, and that no other application is running in full screen mode.
Avoid running under Remote Desktop or as a Windows service.
Check the display properties to make sure hardware acceleration is set to Full.
Source=Microsoft.Xna.Framework.Game
StackTrace:
at Microsoft.Xna.Framework.GraphicsDeviceManager.FindBestPlatformDevice(Boolean anySuitableDevice)
at Microsoft.Xna.Framework.GraphicsDeviceManager.FindBestDevice(Boolean anySuitableDevice)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ApplyChanges()
at XY.Game..ctor(IntPtr drawSurface, Int32 Width, Int32 Height) in XY.cs:line 55
at XY.Program.Main(String[] args) in XY\Program.cs:line 11
InnerException:
据我所知,我的显卡支持 XNA Framework 的所有要求。那有什么问题呢?
【问题讨论】: