How not to display debug FPS in videos
Hi to everyone. After installing the DirectX 8.1 SDK (debug version) I had noticed that some of my videos (.wmf and other, but not the .mpeg) display the FPS in the middle of the screen. Although this is useful when I am writing some code for testing, it is very disturbing when I want to see any movie or clip. I had entered to the DirectX Control Panel but I do not have an option to select between Debug and Retail (which I believe is the solution of this). However I have several debug sliders in some DirectX components. I have had moved those sliders to Debug minimum but the FPS numbers display on screen, even after a reboot. Any ideas? Thank you very much for any help.
P.S. : I am using Win98SE and the DirectX 8.1 and corresponding SDK for legacy reasons. I do not plan to upgrade to DirectX 9.
Thats odd. I've never seen an fps counter come from a DirectX SDK. (though maybe it used to in DX8?)
Debugging tools like PIX will add it as will screen capture tools like Fraps - makes sure you don't have either of those running. (though PIX is DX9 so thats unlikely).
If it's not selectable in the control panel, you'll have to install the retail DirectX 8.1 runtime. You can use the dxdevrtm commands in the SDKDev/debug and SDKDev/retail directories to switch between having the retail or debug runtimes installed.
One of the advantages of upgrading to DirectX 9 would be that the DirectX 9 SDK now has a limitted version of the debug runtime that only includes the control panel switchable components. It doesn't have any of the non-switchable components like the debug DirectShow codecs that display FPS numbers.
Thank you for your replys.
I went to Start>Programs>Microsoft DirectX 8.1 SDK>Runtime Installs> and there are two options: Install Debug and Install Retail.
So I used Install Retail and after a reboot my problem solved. In fact, now in the dxdiag page almost all libs are in thier Retail version.
Now my doubt is if I then want to write and debugging some code I should go and execute the Install Debug, and then reboot. ?how about a faster way to switch between Debug and Retail without reinstalling and rebooting?
Thank you very much for any help.