Jump to content

Sign in to follow this  
Emerson67

Anti CTD vaccine

Recommended Posts

This post is for all desesperados,

This is a nice tweak (actually not new) that should prevent a pretty common MSFS crash to desktop cause, by adjusting some Windows 10 GPU scheduler timeouts.

It does not prevent some CTDs caused by MSFS internal bugs, because this tweak acts on Windows 10 itself.

Procedure:

1. Open a plain text editor, like Microsoft Notepad (Windows accessories->Notepad) or Notepad++.

2. Copy and paste the following text into the editor:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrDelay"=dword:0000000a
"TdrDdiDelay"=dword:00000019

3. Save as "vaccine.reg" file, and close the editor.

4. Double click on "vaccine.reg" file, and then choose "Yes".

5. Restart the computer.

6. Run MSFS.

7. Give feedback.

 

What this tweak does? It increases (5 times) the values of two Windows 10 GPU scheduler timeout parameters.

You may tweak yourself those values as you wish. Here is the technical info.

 

  • Like 6
  • Upvote 1

Share this post


Link to post
Share on other sites

Interesting - thanks! 

I am investigating this.  I am hoping it might help the 0x05 error, which is difficult to trace.

It might also explain why people with very powerful GPU's (3080 / 3090 etc.) don't get the error as much.

I just need to look up the default values in case I want to put it back.


I like to fool airline passengers into thinking I have my own swimming pool by painting a large blue rectangle on my patio!

Intel Core I7 8086 @ 5.1 GHz with water cooling, GTX1080Ti, 32 GB RAM @ 3600 MHz, 2 x Samsung 1 TB NVME M.2.

Share this post


Link to post
Share on other sites
9 hours ago, Emerson67 said:

This post is for all desesperados,

This is a nice tweak (actually not new) that should prevent a pretty common MSFS crash to desktop cause, by adjusting some Windows 10 GPU scheduler timeouts.

It does not prevent some CTDs caused by MSFS internal bugs, because this tweak acts on Windows 10 itself.

Procedure:

1. Open a plain text editor, like Microsoft Notepad (Windows accessories->Notepad) or Notepad++.

2. Copy and paste the following text into the editor:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrDelay"=dword:0000000a
"TdrDdiDelay"=dword:00000019

3. Save as "vaccine.reg" file, and close the editor.

4. Double click on "vaccine.reg" file, and then choose "Yes".

5. Restart the computer.

6. Run MSFS.

7. Give feedback.

 

What this tweak does? It increases (5 times) the values of two Windows 10 GPU scheduler timeout parameters.

You may tweak yourself those values as you wish. Here is the technical info.

 

I've had this mod running since last Thursday and have now completed four, two hour+ flights in the A320Neo with the FBW mod without a CTD. 

I can't say 100% that this has fixed the CTDs as I also reduced the AI% down to 40% and deleted the rolling cache at the same time. And four flights is not conclusive evidence. I could of course, reverse the above and restest and see if the CTDs return, but that's not going to happen !

However, so far, so good...

Share this post


Link to post
Share on other sites

Before I had plenty of CDT on almost every flight and this tdrDelay and TdrDdidelay tweak solved everything! I put the 2 to 60 ...

  • Like 1

I7 10700K 5.1 GHz / GTX 1080 8 Go / 32 Go RAM 3200MHz / MSI MPG490 Gaming Plus / Samsung 970Evo M.2 500Go.

Share this post


Link to post
Share on other sites
8 minutes ago, Axis3600 said:

Before I had plenty of CDT on almost every flight and this tdrDelay and TdrDdidelay tweak solved everything! I put the 2 to 60 ...

It was your posting in another thread I that put me onto it - many thanks! 

Share this post


Link to post
Share on other sites
Posted (edited)

Using this fix since months - initially to avoid crashes in P3DV5.1 (Nvidia RTX 2080). And I never had a CTD in MSFS either. Highly recommend! 

Edited by LarsA
  • Like 1

Share this post


Link to post
Share on other sites
10 hours ago, Emerson67 said:

This post is for all desesperados,

This is a nice tweak (actually not new) that should prevent a pretty common MSFS crash to desktop cause, by adjusting some Windows 10 GPU scheduler timeouts.

It does not prevent some CTDs caused by MSFS internal bugs, because this tweak acts on Windows 10 itself.

Procedure:

1. Open a plain text editor, like Microsoft Notepad (Windows accessories->Notepad) or Notepad++.

2. Copy and paste the following text into the editor:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrDelay"=dword:0000000a
"TdrDdiDelay"=dword:00000019

3. Save as "vaccine.reg" file, and close the editor.

4. Double click on "vaccine.reg" file, and then choose "Yes".

5. Restart the computer.

6. Run MSFS.

7. Give feedback.

 

What this tweak does? It increases (5 times) the values of two Windows 10 GPU scheduler timeout parameters.

You may tweak yourself those values as you wish. Here is the technical info.

 

So by just clicking on this file after you create it, this entry is then added to the registry in the proper place, without having to edit the registry? 


Bob Cardone         MSFS 2020   FlyVirtual.net    PMDG DC6  Piper Seminole

Avliasoft EFB2    ATC  by PF3    Mooney JF Arrow 3 TrackIR

 

 

 

Share this post


Link to post
Share on other sites

Thanks for this - I'm hoping this will mean I can start using a AMD driver newer than last Octobers.

Share this post


Link to post
Share on other sites
Posted (edited)
33 minutes ago, Bobsk8 said:

So by just clicking on this file after you create it, this entry is then added to the registry in the proper place, without having to edit the registry? 

yes, as long as you name the file with .reg on the end, it will automatically enter it into the Windows Registry when you double click on it - there will be a confirmation warning of what it is about to do. 

Then, for it to take effect, restart the computer (not shut down and start up - as on some PC's it will fast load a previous state and not change anything).

I have now done this and I look forward to testing it.  I have a few hours planned in MSFS this evening. :biggrin:

Edited by bobcat999

I like to fool airline passengers into thinking I have my own swimming pool by painting a large blue rectangle on my patio!

Intel Core I7 8086 @ 5.1 GHz with water cooling, GTX1080Ti, 32 GB RAM @ 3600 MHz, 2 x Samsung 1 TB NVME M.2.

Share this post


Link to post
Share on other sites
11 hours ago, Emerson67 said:

7. Give feedback.

Thanks.  Will apply this.  However. With each registry patch like this should there also be an "antidote.reg" file to put Windows back to the previous state?

  • Like 2
  • Upvote 1

Frank Patton
MSI Z490 WiFi MOB;  i7 10700k Comet Lake 3.8 Ghz CPU; Ripjaws 32 gb DDR4 3600; ASUS GTX 1070 TI Turbo 8GB; MasterCase H500M; Corsair H100i Pro cooler; Corsair RMX850X PSU; ASUS VG289 4K 27"; Honeycomb Alpha Yoke A+.  Former USAF meteorologist & ground weather school instructor; AOPA Member #07379126 
                        There is no limit to what a man can do or where he can go if he doesn’t mind who gets the credit! - Benjamin Jowett

 

Share this post


Link to post
Share on other sites
4 minutes ago, fppilot said:

Thanks.  Will apply this.  However. With each registry patch like this should there also be an "antidote.reg" file to put Windows back to the previous state?

Just checking my registry the entries don't already exists so if I remember my registry hacking correctly in that case you'd want a file like

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]

"TdrDelay"=-

TdrDdiDelay"=-

 

  • Like 1

Share this post


Link to post
Share on other sites

@fppilot Would like to know how to reverse it?


Martin Parr

Retired professional yacht skipper for vessels up to 46m

 

System: Omen 30L GT13-0054na Gaming PC; Windows 10 Home  64-bit OS; Intel Core i9-10900K CPU @ 3.7GHz; RAM 32GB; Samsung S34J55x Monitor 3440x1440 @75 Hz Resolution; NVIDIA GeForce RTX 2080 Ti. MSFS P/D; TM Pendular Rudder Pedals, TM Warthog Hortas Throttle/Joystick Combo.

Share this post


Link to post
Share on other sites
15 minutes ago, Matchstick said:

Just checking my registry the entries don't already exists so if I remember my registry hacking correctly in that case you'd want a file like

 


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]

"TdrDelay"=-

TdrDdiDelay"=-

 

Doing a search of the Win10 registry tells me neither of these keys exist at this location (nor anywhere else.)

In other words you're ADDING these keys, not changing them.

YMMV


-Jay

9700K | RTX 2080Ti @ 4K | 48GB DDR4 | 2 x 1TB SSDs | RC Cola

Share this post


Link to post
Share on other sites
Just now, Twenty6 said:

Doing a search of the Win10 registry tells me neither of these keys exist at this location (nor anywhere else.)

In other words you're ADDING these keys, not changing them.

YMMV

That's my script for deleting them if you've added them with the original script.

Share this post


Link to post
Share on other sites
Posted (edited)
5 minutes ago, Twenty6 said:

Doing a search of the Win10 registry tells me neither of these keys exist at this location (nor anywhere else.)

In other words you're ADDING these keys, not changing them.

YMMV

I found the same thing. So to reverse it, I guess you would just have to remove the entry in the registry. ( Just a guess not sure) Or would that cause a problem if you just deleted the entry?

Edited by Bobsk8

Bob Cardone         MSFS 2020   FlyVirtual.net    PMDG DC6  Piper Seminole

Avliasoft EFB2    ATC  by PF3    Mooney JF Arrow 3 TrackIR

 

 

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    49%
    $12,400.00 of $25,000.00 Donate Now
×
×
  • Create New...