Jump to content
Sign in to follow this  
Sesquashtoo

nVidia 471.96 and DXGI_DEVICE_HUNG resolved

Recommended Posts

Just to clarify things for everyone I now have TdrDelay = 60 and TdrDdiDelay=60 both set as DWORD.

  • Like 1

Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post

Thanks Stephen, good read. This bit caught my eye... "

However, it does not work like that. If a program, service, or application is programmed to read only a certain type of word, then only that WORD value could be registered. Using a different word would not only make it useless, but there is also a chance of corrupting the Operating System by introducing unexpected System Registries. Hence, it is only wise to use the same type of word recommended by Microsoft for the purpose you intend it for."

Given this TdrDelay is essentially an unofficial hack we don't have any recommendation from Microsoft. Or do we? Have they said anything about this DXGI_DEVICE_HUNG problem given it's not limited to P3D.

Anyway, I'm now enroute from EGCC to Kaastrup so hopefully it will be a problem-free flight.


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post

Hi Ray,

today i changed the QWord" TdrLevel=0 to "TdrDdiDelay=60 and TdrDelay=60".

Fired up P3Dv5 and got that "Device_Hung" almost immediately. I think i'll change it back to the "TdrLevel0", because everything runs fine with this option..

Regards

Share this post


Link to post

@Whenmaker, did you reboot before starting P3D? And you created DWORD entries, not QWORD?


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post
Just now, Whenmaker said:

Could it be that Qword was wrong and i should try Dword instead?

Have you not read the earlier posts? DWORD, not QWORD must be used.

My flight is 47mins in and it's fine so far.

  • Upvote 1

Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post

Honestly, trying to make heads and tails of this thread and the "potential" fix makes me very pleased I'm still on 4.5 with no issues 🙂  I can't imagine LM's commercial customers paying millions for this platform are dealing with these issues.  Is it strictly a consumer PC issue? You would think with their commercial audience this thing would be rock solid unless we are just Beta testing for them 😉  

Will be interested to see once this is resolved definitively and what the actual fix is but until then I'm still very apprehensive to make the jump.  

4.5 has become like FS9 to me.  Rock solid, just works and all my add-ons are available to me.  "Hoping" that's what 5.2 becomes in time but right now it still seems to be suffering some growing pains. 

 


Have a Wonderful Day

-Paul Solk

Boeing777_Banner_BetaTeam.jpg

Share this post


Link to post

@Ray Proudfoot

It is an officially documented MSFT registry. The link to the documentation is included in the post I've linked to page 3:

On 9/14/2021 at 8:42 AM, RXP said:

I just wanted to add my 2 cents about the registry tip posted on page 2.

I used to have this problem:

Quote

From time to time, my Win10 system would just halt with a black screen with no other recourse than powering off. It is very frustrating and you never know what damage to your files will result out of this [...] When you’re using a HDD and you enable sleep mode, it can take more than 2 sec. to wake up and during that time, at least on my test system...

More details here:

PSA: Solution to HDD and NVidia causing Win10 System Halt with Black Screen

Here is the MSFT doc:

https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
On 9/28/2021 at 4:04 PM, SteveW said:

I have a PC here with stock P3D v4 and DXGI_DEVICE_HUNG comes up when the Vehicle window is displayed in the Scenario screen, any aircraft, and the sim closes. That won't be worked around by the registry hack. Changing the Nvidia driver version cures it. There's many ways to get the problem so what might work for one might not work for another.

From my earlier post, no amount of trying Tdr settings in the registry fix this, also clearing out temp files and DX cache does not cure it. This happens every time the scenario window is shown. I can stop it by removing the "Sim" value in the default flight Prepar3D_Default.fxml:

        <Section Name="Sim.0">
            <Property Name="Sim" Value=" " />
            <Property Name="Descr" Value=" " />
        </Section>


P3D complains there is no default vehicle but the scenario screen completes without the hang. This is one of many possible problems that result in the hang. Not all hangs can be resolved with the Tdr entries in the registry.

The only way to stop the problem is to install an older Nvidia driver. I happened to have kept a few older versions, installing 451.67 stops this particular hang. In this instance it is on P3D v4.5 and 2080Ti.

Edited by SteveW

Steve Waite: Engineer at codelegend.com

Share this post


Link to post
10 minutes ago, RXP said:

@Ray Proudfoot

It is an officially documented MSFT registry. The link to the documentation is included in the post I've linked to page 3:

Here is the MSFT doc:

https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys

To be fair, in reading it is an officially documented developer testing mechanism, not an officially documented end user workaround.

In fact they specifically advise against manipulating these values. 

Quote

 Important

These registry keys should not be manipulated by end users, or by applications outside of targeted testing or debugging during driver development.

Sort of a use at your own risk your mileage may vary registry setting that wasn't intended to be implemented by end users for long term usage.  Certainly not the first time we've  had to use those in FS though but I repeat my question, are LM's multi million dollar commercial customers sitting there tweaking their registry?  

The only thing I can think of is commercial customers aren't on 5.2 "or" we have a different 5.2 build because I can't see military customers around the globe accepting this for what they pay LM.  

 


Have a Wonderful Day

-Paul Solk

Boeing777_Banner_BetaTeam.jpg

Share this post


Link to post
9 minutes ago, SteveW said:

From my earlier post, no amount of trying Tdr settings in the registry fix this, also clearing out temp files and DX cache does not cure it. This happens every time the scenario window is shown. I can stop it by removing the "Sim" value in the default flight Prepar3D_Default.fxml:

        <Section Name="Sim.0">
            <Property Name="Sim" Value=" " />
            <Property Name="Descr" Value=" " />
        </Section>


P3D complains there is no default vehicle but the scenario screen completes without the hang. This is one of many possible problems that result in the hang. Not all hangs can be resolved with the Tdr entries in the registry.

The only way to stop the problem is to install an older Nvidia driver. I happened to have kept a few older versions, installing 451.67 stops this particular hang. In this instance it is on P3D v4.5 and 2080Ti.

Interesting, I am on an older driver version, will check which one b/c I've never seen this on 4.5  

Perhaps that is the answer altogether?  Revert to an older driver without the issue?  Especially if you aren't on a new 3K card the older drivers were designed specifically for our cards (2080ti in my case) anyway.

Edit:  456.71 here with no issues... 

Edited by psolk

Have a Wonderful Day

-Paul Solk

Boeing777_Banner_BetaTeam.jpg

Share this post


Link to post

I've just landed at EKCH after a perfect flight. Drivers are 471.96.

@psolk, I can understand your reluctance to get v5 but when it behaves it is better than v4. More fps for a given situation and the dynamic lighting is better. More work assigned to the GPU too to ease the CPU. I'm guessing LM and their military customers just use the supplied simple aircraft - not anything like the PMDG or FSL aircraft so in fairness to them if they can't replicate it it's hard to fix.

@RXP, as has been said that workaround by Microsoft is just for debugging and testing. Maybe that's what we're doing! 😁

The discussion in that linked topic contains bad advice such as using QWORD instead of DWORD. And the parameters to use are different. Given it happened in a different sim in VR mode in DX11 it's very different to our situation and shows it was happening in DX11 although I never had it.

@SteveW, if you can reproduce that with a default aircraft in default scenery LM will appreciate it I'm sure.

So with one successful flight behind me I'm not changing a thing now and let's see how things go. Another shorter flight after lunch.


Ray (Cheshire, England).
System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke.
Cheadle Hulme Weather

Share this post


Link to post

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.
×
×
  • Create New...