Logging Out-of-Realtime Physics Freezes [public-test]

Discussion in 'Technical & Support' started by Christopher Elliott, Mar 19, 2019.

  1. Christopher Elliott

    Christopher Elliott Administrator Staff Member

    Joined:
    Jul 31, 2014
    Messages:
    4,009
    Likes Received:
    4,351
    For some time we are aware that a few people are having problems that cause the physics code to slow down or temporarily freeze. The consequence of this issue in online races is that your car will suddenly warp backwards, sometimes into the path of a following car. Because reproducing this was problematic, we have now enabled logging to help diagnose this.

    If you think you are experiencing the issue above in an online or offline session, after the session ends, go to your UserData\Log folder where we will record one or more physics report files (.csv) for your last 5 sessions. By default, we only log some basic data, but if you know you have these issues, please open our player.json file and set "RealTimeLogging" to 1 (default is 0). That will generate more logging that should help us pinpoint the issue.

    Here's a screenshot of the folder with these files:

    upload_2019-3-19_16-23-28.png

    Please upload your csv files, compressed (you will need to use Dropbox, WeTransfer or another upload service if the file size exceeds 30 MB). Additionally please upload the replay where you've had an issue, and if you can identify the approximate timestamp (ET) on the replay where it occurred that would help us a lot.

    Use this branch to test the latest build to correct the issues:
    branch name: public-test
    password : UpERYPhIblEHorTiO
    verify your files via Steam after joining the branch
    guide : https://steamcommunity.com/sharedfiles/filedetails/?id=380122528
     
    Last edited by a moderator: Apr 19, 2019 at 1:35 PM
    Corti, Churrinche, Neawoulf and 17 others like this.
  2. Ruben Correa Alves

    Ruben Correa Alves Registered

    Joined:
    Aug 26, 2015
    Messages:
    21
    Likes Received:
    48
    Good to see the investigation being done. I’ve forwarded this to our league. :)

    Some details on my side. It freezes once or twice each race here, and when it does multiple people on the server get a freeze between a few seconds from each other. Almost all freezes happen at either 20:35 or 21:05 or 21:35 and so on. So it looks like some sort of periodic thing that is causing it. Let’s hope these logs tell us more.
     
    Last edited: Mar 19, 2019
  3. lewismrl

    lewismrl Registered

    Joined:
    Jan 10, 2014
    Messages:
    4
    Likes Received:
    0
    Same here, we've had issues in BVTCC on and off for last few seasons so we'll submit anything we can to help.
     
  4. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    454
    Likes Received:
    307
    Now this is useful work being done... well done S397! ;)
     
  5. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    620
    Likes Received:
    290
    Can the logging be completely deactivated too?
    I would appreciate that, because i don't like unnecessary activities being done. :)
     
    David Kolody, The Iron Wolf and Jakal like this.
  6. The Iron Wolf

    The Iron Wolf Registered

    Joined:
    Feb 20, 2016
    Messages:
    813
    Likes Received:
    662
    hehe that's the first thing I checked while re-reading Chris' post, how to disable :) It should be neglegeable at 0 however :)
     
  7. Week

    Week Registered

    Joined:
    Mar 14, 2016
    Messages:
    25
    Likes Received:
    23
    I my case, some times the image freezes for a few seconds, generating a sound loop, and after that the game reminds lagged the rest of the session. The only way to stop it is rebooting the game.
     
  8. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    620
    Likes Received:
    290
    Just tested it:
    Setting 0, which means off, generates a file already.
    So i would like to have 3 options:
    0 = deactivated
    1 = generates a basic log
    2 = generates an accurate log
    @Christopher Elliott can we get that?
     
    ADSTA likes this.
  9. W Lukas

    W Lukas Registered

    Joined:
    Apr 14, 2014
    Messages:
    109
    Likes Received:
    11
    Wow u r so fast, over year having this issue
     
  10. Damian Baldi

    Damian Baldi Registered

    Joined:
    Jan 10, 2012
    Messages:
    551
    Likes Received:
    190
    Thanks, it's something very useful for a diagnosis.
     
  11. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    115
    Likes Received:
    48
    sf4JC and The Iron Wolf like this.
  12. Davvid

    Davvid Registered

    Joined:
    Feb 11, 2012
    Messages:
    119
    Likes Received:
    18
    It's necessary I guess. 2h online alone on the server means ~200 MB written at exit (at 0 setting, setting 1 generates literally GBytes of logs).
     
  13. Rui Santos

    Rui Santos Registered

    Joined:
    Jan 8, 2012
    Messages:
    454
    Likes Received:
    307
    Since they find the cause of the freezes/lag i don't mind, glad they're looking into this annoying old bug...
     
    mr.Sw1tchblade, Alex72 and knackko like this.
  14. Alex72

    Alex72 Registered

    Joined:
    Dec 27, 2016
    Messages:
    1,138
    Likes Received:
    827
    Thankful for bugs being looked into but would be nice to not have files being generated for those that dont want it. Im on tight space with my dedicated SSD so please if we could turn this logging off completely that would be super nice.
     
    gluon likes this.
  15. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    115
    Likes Received:
    48
    Only 5 logs files max generated, log rotating.
     
  16. W Lukas

    W Lukas Registered

    Joined:
    Apr 14, 2014
    Messages:
    109
    Likes Received:
    11
  17. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    620
    Likes Received:
    290
    But i and also others do mind. ;)
    No question, to have the possibility to log things is great!
    But it also is great, to be able to deactivate it, if it's not necessary.
     
  18. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    1,112
    Likes Received:
    726
    Try running the 4 files found here:
    \Steam\steamapps\common\rFactor 2\Support\Runtimes
     
  19. gluon

    gluon Registered

    Joined:
    Jan 27, 2019
    Messages:
    56
    Likes Received:
    114
    This is a great feature to have, but like others have said, it would be perfect if you could totally disable it when not needed. I've never had a freeze and I'm also running on an SSD with limited space, plus every performance hit counts to me.
     
    Alex72 likes this.
  20. NusPojava

    NusPojava Registered

    Joined:
    Sep 9, 2018
    Messages:
    7
    Likes Received:
    8
    Marcel Offermans likes this.

Share This Page