Stuttering issue at SODE airports

Home Forums Support Stuttering issue at SODE airports

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2035
    WebMaximus
    Participant

    I’m using P3Dv4.1 and SODE 1.5.3 and I often experience stuttering issues at airports using SODE. When getting close to the airport still in the air the sim pauses for about a second or so.

    On the ground I see the same issue but in that case the stuttering/pause is even shorter than a second but instead the stutters are more frequent.

    The FPS is fine so it’s not a low FPS issue.

    I heard lots of other people are experiencing the same thing so I was wondering if this has been reported in here and if there’s a fix planned in the near future?

    #2042
    12bPilot
    Keymaster

    Hello

    While SODE itself won’t introduce any stutters directly when it is running, it is however possible that the sim is not able to find a SimObject that is requested by SODE and this is usually the cause for stutters, because the sim reacts this way when it can’t find a SimObject.

    The mechanism is like this: SODE wants to have a SimObject displayed -> SODE asks SimConnect to load the SimObject (using the SimTitle of it) -> FS tries to look up that SimTitle internally -> If it does not find it, it will probably do a deeper search of it internally (delay, stutter) -> FS stops the search and notifies SODE through SimConnect about this with an exception -> SODE will log that exception.

    Usually, you should see lots of SimConnect Exceptions in the SODE.log.
    Root cause could be that sceneries that use SODE either haven’t completely installed the SimObject files in the proper directory, or when you uninstall a scenery, the installer forgets to uninstall the control xml file.
    When the control xml is still in place but the corresponding SimObjects deleted, SODE will still try to load the SimObjects which are not existing anymore on your harddisk.

    Please post your SODE.log of a sim session where you encounter those stutters related to SODE to confirm my assumption.

    #2043
    WebMaximus
    Participant

    Thanks for your very thorough and informative answer!

    I checked sode.log but couldn’t spot any issues finding files when I quickly scrolled through it but will attach it and maybe you’ll be able to spot something relevant I missed.

    Another thing I came to think of after reading your reply was if this could in fact be a SimConnect issue where SimConnect is saturated due to too many add-ons using it simultaneously?

    Reason for me thinking this is I noticed another issue last night as well. The Navigraph Simlink connecting disconnected multiple times with a message Simlink was not able to communicate with the simulator. Simlink if you don’t know of it is the small application used by Navigraph to have your current aircraft position marked on some of the charts in real time (aka a “moving map” feature). I’m not sure but I guess that one uses SimConnect as well. If SimConnect was already saturated due to lots of traffic caused by SODE maybe that would explain why the Simlink connection dropped every now and then while I was taxiing at LFPG which was my destination?

    I also use ASP4 and I guess that one communicates over SimConnect as well adding even more to the SimConnect stream of data.

    Just speculating here. Anyway, please find attached my SODE.log file.

    Attachments:
    You must be logged in to view attached files.
    #2045
    WebMaximus
    Participant

    Just wanted to let you know that after I uninstalled SODE all stuttering issues at T2G LFPG were gone and the Simlink connection didn’t drop one single time on my way out of LFPG yesterday. So a huge improvement over the day I arrived into LFPG with SODE installed and active.

    This doesn’t necessarily mean there’s something wrong with SODE. Rather that SODE generates a huge amount of SimConnect traffic which could give you issues when you’re using other add-ons heavily relying on SimConnect as well.

    Happy New Year 2018 !!

    • This reply was modified 6 years, 4 months ago by WebMaximus.
    #2050
    12bPilot
    Keymaster

    Thanks for your update.

    T2G LFPG being the airport with the most SODE jetways included, it is possible that an already packed SimConnect pipeline will shortly congest when SODE instructs the FS engine to inject 200+ jetways at once.
    Think of injecting 200+ AI objects into your scene…
    SODE is otherwise pretty quiet on the SimConnect channel.

    I am thinking of injecting objects in chunks, so the load is a little more distributed for FS. Drawback would be a possible “popping-in” of objects, but a couple of NM out of the airfield, this should bother nobody.

    I’ll be playing with this idea in the new year and hopefully include that into the next SODE version.

    Happy new year!
    -Jeffrey

    #2052
    WebMaximus
    Participant

    Sounds like a good idea.

    Happy New Year 2018 Jeffrey!

    #2059
    12bPilot
    Keymaster

    Quick update:

    I think I have found a workable solution by loading the objects in batches. I don’t get any noticeable stutters anymore when the objects are being injected by the sim.

    As an additional benefit, I have added checking of the existance of the MDL files associated with the SimObject. If the MDL file does not exist, SODE will replace it with a default object which is a red ‘X’ marking the missing object. This way, the stutter induced by missing MDL object is gone and the user gets feedback of missing objects visually and in the SODE.log.

    Let me know if you want to try a beta.

    #2060
    WebMaximus
    Participant

    That’s great news and sounds like a smart way you’ve come up with!

    Thanks for asking but don’t have time testing anything right now but I’m sure you can find someone else who would love to give it a try.

    Enjoy the weekend!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.