Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find how to render everything with software in XNA, but I can't find what option I need to set.

I'd like to know which method/properties I have to call/set to make my app run in software mode as opposed to hardware accelerated mode.

share|improve this question
up vote 5 down vote accepted

It looks like you can use the reference device in XNA 4.0 using this code:

GraphicsAdapter.UseReferenceDevice = true

Not sure if this works but that is what the MSDN says.

share|improve this answer
There's more on how to use this here:… – Cypher Sep 12 '12 at 19:11

Except for maybe debugging shaders why would you want to use software rendering?

You can use the Reference Device but it is extremely slow. I don't normally work in XNA but a quick google found me this: How to: Use the Reference Device

share|improve this answer
that code does not compile. GraphicsDeviceInformation does not have CreationOptions, DeviceType & PresentationParameters properties – ProgrammerAtWork Sep 12 '12 at 18:58
btw, I want it to check if some problems are caused by my graphic card or my program. – ProgrammerAtWork Sep 12 '12 at 19:02
@ProgrammerAtWork ah ok, sorry it looks like the link was to XNA 1.0 but SomeWritesReserved found the correct one. – NtscCobalt Sep 12 '12 at 20:29
"I want it to check if some problems are caused by my graphic card or my program" - you should have probably added this to your question otherwise you had a high risk of getting many more similar answers. – Le Comte du Merde-fou Sep 12 '12 at 21:53

There is this Windows Advanced Rasterization Platform on the most recent Windows platforms which i think it's what you are looking for or there are commercial solutions like Pixomatic.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.