frazer84 Posted June 17, 2011 Report Posted June 17, 2011 Hi! I've just advanced from the old n' safe FS9 to FSX. The thing is that I'm using a software that I've made by myself in C#.Net that uses FSUIPC to get information out from FS and show to the pilot. This worked just fine i FS9, but in FSX it causes a performance hit about once per second (the picture "lags" every second). If I stop the program, this stuttering stops as well. Obviously there is a difference in how FS handles the FSUIPC data requests? Is there anything I can do to not make such a big performance hit on FSX, just like the old FS9? Thanks! Regards, Daniel
Pete Dowson Posted June 17, 2011 Report Posted June 17, 2011 This worked just fine i FS9, but in FSX it causes a performance hit about once per second (the picture "lags" every second). If I stop the program, this stuttering stops as well. Obviously there is a difference in how FS handles the FSUIPC data requests? Is there anything I can do to not make such a big performance hit on FSX, just like the old FS9? There's no difference that side of FSUIPC. All the differences are in the way FSUIPC gets data from FS, and that is happening for all data all the time -- SimConnect feeds it to FSUIPC when it changes, asynchronously, and whether any one asks for any data or not.. So, I really doubt that it is the reading of the data which is responsible, but whatever your program is doing with it. Run the test with your program only reading it and not displaying it. What is the most likely problem is that your PC is much more loaded running FSX than it was with FS9, and your extra activity is affecting FS's performance. Regards Pete
frazer84 Posted June 17, 2011 Author Report Posted June 17, 2011 There's no difference that side of FSUIPC. All the differences are in the way FSUIPC gets data from FS, and that is happening for all data all the time -- SimConnect feeds it to FSUIPC when it changes, asynchronously, and whether any one asks for any data or not.. So, I really doubt that it is the reading of the data which is responsible, but whatever your program is doing with it. Run the test with your program only reading it and not displaying it. What is the most likely problem is that your PC is much more loaded running FSX than it was with FS9, and your extra activity is affecting FS's performance. Thanks for a quick answer (as usual!). I forgot to mension that my application runs from a different computer via WideFS, so the application in itself doesn't steal any performance from FSX. I have done some tests, and it seems like the part of the application that writes to the green text-strip in FSX is the part that makes FS to stutter. I'm writing the aircrafts speed and altitide to this text-strip every second, which is the same "frequency" as the lagging.
Pete Dowson Posted June 17, 2011 Report Posted June 17, 2011 I have done some tests, and it seems like the part of the application that writes to the green text-strip in FSX is the part that makes FS to stutter Yes, I get that on my main flight PC, the one where I have the latest video drivers and nVidia Inspector set to give me the best display -- plus the external FPS limiter. Horrible, isn't it? It isn't FSUIPC which maintains or updates those displays, but FS or SimConnect by request from FSUIPC. And it doesn't happen on two other systems i run (including my test and development PC). I'm pretty sure it must be related to video settings somehow. So, sorry, I've no answer, except experiment with different screen settings, video driver options, etc. Luckily I only use screen overlays for testing (e.g. the Logging on-screen option in FSUIPC). If you do find out exactly what causes it, what actin can stop it, do let me know please. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now