1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible Stuttering Bug Fix (v0.8)

Discussion in 'DiRT Rally' started by Ole Marius Myrvold, Oct 15, 2015.

  1. Ole Marius Myrvold

    Ole Marius Myrvold
    JWB 96-13 Staff

    Apologies to all, it would appear we broke some stuff in v0.80! Mostly in the CPU detection and worker map code - and it probably is the cause of a lot of the stuttering problems people have reported in v0.80.

    We have a fix for v0.90, but if you're experiencing stuttering in v0.80, and you weren't in v0.70 or earlier, there is a potential fix you can attempt right now.

    First of all, only proceed if you:

    A - Are confident editing XML files.
    B - Know how many physical cores your machine has, (not logical, physical).

    If not, just wait for v0.90.

    Open Steam.
    Go to Library.
    Right Click DiRT Rally, click Properties.
    Open the LOCAL FILES tab.
    Click the BROWSE LOCAL FILES... button — this takes you to a DiRT Rally folder.
    Open the system folder.
    Make a copy of hardware_settings_restrictions.xml — if anything goes wrong, you can just revert to the copy.
    Open hardware_settings_restrictions.xml in notepad.

    Select all the text and delete it!

    Paste this in:

    <?xml version="1.0" encoding="UTF-8"?>
              <!-- <threadStrategy workerMapFile="system/workerMap2Core.xml"  forceFeedbackProcessor="1" dvdStorageProcessor="1" dataSetMonitorProcessor="0" renderProcessor="0" updateProcessor="1" fileStreamProcessor="1" /> -->
              <!-- <threadStrategy workerMapFile="system/workerMap3Core.xml"  forceFeedbackProcessor="2" dvdStorageProcessor="2" dataSetMonitorProcessor="0" renderProcessor="0" updateProcessor="1" fileStreamProcessor="1" /> -->
              <threadStrategyworkerMapFile="system/workerMap4Core.xml"  forceFeedbackProcessor="3"dvdStorageProcessor="3"dataSetMonitorProcessor="1"renderProcessor="0"updateProcessor="2"fileStreamProcessor="3"/>
              <!-- <threadStrategy workerMapFile="system/workerMap6Core.xml"  forceFeedbackProcessor="4" dvdStorageProcessor="5" dataSetMonitorProcessor="1" renderProcessor="0" updateProcessor="2" fileStreamProcessor="3" /> -->
              <!-- <threadStrategy workerMapFile="system/workerMap8Core.xml"  forceFeedbackProcessor="6" dvdStorageProcessor="7" dataSetMonitorProcessor="4" renderProcessor="0" updateProcessor="2" fileStreamProcessor="5" /> -->
    This file controls the threading map for the game, based on the number of physical cores you have, and is horribly broken right now.

    You need to choose the strategy that matches your physical core count. This example has the 4 core map commented in. If you have 4 physical cores, just save the file. If not, comment in the strategy that makes the most sense for your number of physical cores, and comment the 4 core map out.

    Save the file and run DiRT Rally.
    When you get to the main menu, and the autosave spinner is gone, close the game.

    To test whether this has worked, open the following file:
    C:\Users\<YOUR_USER_NAME>\Documents\My Games\DiRT Rally\hardwaresettings\hardware_settings_config.xml

    It should have the threadstrategy workerMapFile that you specified in hardware_settings_restrictions.xml somewhere near the top.

    Run the game again and check whether it stutters, especially if it began stuttering in v0.80.

    If anything goes wrong, revert to your back up file.

    I hope that fixes the stuttering for the people who have been affected since v0.80.

    From Codemasters, I hope it'll help some :)
    • Like Like x 1