Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I can't get Pix to debug shaders. I've used it before totally fine, but today I keep receiving this error when trying to debug either a vertex or pixel shader:

A call that previously succeeded failed furing playback:

EID: 8 Call: IDirect3D9::CreateDevice() HRESULT:D3DERR_NOTAVAILABLE

For more information click 'Help'.

Help brings up this:

"Playback failure is the error state that occurs following a successful timing capture.

There are many reasons why a call that succeeded at capture time can fail during PIX playback. Here are some common causes:

If the run file was captured on a system with different capabilities or more video memory. Also, PIX Win will use up more video memory than the original title did when it allowed debugging.

It can also occur if your Direct3D control panel settings are different from when the run file was captured. Some Direct3D 9 calls only fail when the debug runtime is active.

In the case of Direct3D 9 playback, the mesh viewer and shader debugging potentially use different device settings than the original application that can cause playback failures. For example, the shader debugging has to use a reference device. In this situation, there is a possibility that the HW device supports settings that are not supported under the reference device like StretchRect() filters. "

I don't really understand why it would work one day but not the next, I'm going to investigate my graphic card's drivers but I've no real understanding regarding how to check the errors above.

I should also add I'm using Pix with a DirecX 9 XNA application. I've tried testing both a debug build and a release build. I've disabled D3D analysis and am using frame captures.

If anybody has any ideas what it could be please help!

Cheers

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.