Go Back   Tech Support Forum > Microsoft Support > BSOD, App Crashes And Hangs


[SOLVED] BSOD,dxgkrnl.sys

This is a discussion on [SOLVED] BSOD,dxgkrnl.sys within the BSOD, App Crashes And Hangs forums, part of the Tech Support Forum category. Since quit some time getting BSOD. These are included in minidump. Events: Almost directly after starting gaming (CoD4). Also occurs


Reply
 
Thread Tools Search this Thread
Old 06-29-2013, 11:45 AM   #1
Registered Member
 
Join Date: Jun 2013
Posts: 3
OS: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)



Since quit some time getting BSOD. These are included in minidump.

Events: Almost directly after starting gaming (CoD4). Also occurs after some time of watching You Tube movies.

Actions taken:
-Searching WEB for help/instructions
-Updated NVIDA drivers
-Updated Microsoft
-Device Verifier
-Multiple restarts/reboots

I tried finding a solution all day, but it seems I am not that technical. Please help me. Thank you very much.

I followed BSOD posting instructions. ZIP file is included

My PC specs:
OS: Windows 7
OS came pre-installed on system from retailer
OS Age 3 years
Age of OS installation: 3 years
CPU: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz (8 CPUs)
Video Card: NVIDIA GeForce GT 220
System Manufacturer: Packard Bell
Attached Files
File Type: zip Windows7_Vista_jcgriff2.zip (2.78 MB, 127 views)
ronaldpc is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old 06-29-2013, 03:46 PM   #2
TSF Enthusiast
 
Patrick's Avatar

Microsoft Most Valuable Professional
 
Join Date: Apr 2012
Location: Ring 0
Posts: 4,349
OS: W8.1 x64



Hi,

Tons of VIDEO_TDR_FAILURE (116) bugchecks attached.


The basic definition of a 0x116 bugcheck is:

There may be a bug in the video driver or video hardware.
So, let me now explain what VIDEO_TDR_ERROR means. First off, TDR is an acronym for Timeout Detection and Recovery. Timeout Detection and Recovery was introduced in Vista and carried over to Windows 7. Rather than putting exactly what Timeout Detection and Recovery does exactly, I'll just directly quote the MSDN article!
Timeout detection:
The GPU scheduler, which is part of the DirectX graphics kernel subsystem (Dxgkrnl.sys), detects that the GPU is taking more than the permitted amount of time to execute a particular task. The GPU scheduler then tries to preempt this particular task. The preempt operation has a "wait" timeout, which is the actual TDR timeout. This step is thus the timeout detection phase of the process. The default timeout period in Windows Vista and later operating systems is 2 seconds. If the GPU cannot complete or preempt the current task within the TDR timeout period, the operating system diagnoses that the GPU is frozen.
To prevent timeout detection from occurring, hardware vendors should ensure that graphics operations (that is, DMA buffer completion) take no more than 2 seconds in end-user scenarios such as productivity and game play.
Preparation for recovery:
The operating system's GPU scheduler calls the display miniport driver's DxgkDdiResetFromTimeout function to inform the driver that the operating system detected a timeout. The driver must then reinitialize itself and reset the GPU. In addition, the driver must stop accessing memory and should not access hardware. The operating system and the driver collect hardware and other state information that could be useful for post-mortem diagnosis.
Desktop recovery:
The operating system resets the appropriate state of the graphics stack. The video memory manager, which is also part of Dxgkrnl.sys, purges all allocations from video memory. The display miniport driver resets the GPU hardware state. The graphics stack takes the final actions and restores the desktop to the responsive state. As previously mentioned, some legacy DirectX applications might render just black at the end of this recovery, which requires the end user to restart these applications. Well-written DirectX 9Ex and DirectX 10 and later applications that handle Device Remove technology continue to work correctly. An application must release and then recreate its Direct3D device and all of the device's objects. For more information about how DirectX applications recover, see the Windows SDK.
Article here.
With this being said, if Timeout Detection and Recovery fails to recover the display driver, it will then shoot the 0x116 bugcheck. There are many different things that can cause a 0x116, which I will explain below:

The following hardware issues can cause a TDR event:

Quote:
1. Unstable overclock (CPU, GPU, etc). Revert all and any overclocks to stock settings.

2. Bad sector in memory resulting in corrupt data being communicated between the GPU and the system (video memory otherwise known as VRAM or physical memory otherwise known as RAM).

GPU testing: Furmark

RAM testing: Memtest86+

3. Corrupt hard drive or Windows install / OS install resulting in corruption to the registry or page file.

HDD diagnostics: Hard Drive Diagnostic Procedure

To reset your page file, follow the instructions below:

a ) Go to Start...Run...and type in "sysdm.cpl" (without the quotes) and press Enter.

-Then click on the Advanced tab,
-then on the Performance Settings Button,
-then on the next Advanced tab,
-then on the Virtual Memory Change button.

b ) In this window, note down the current settings for your pagefile (so you can restore them later on).

-Then click on the "No paging file" radio button, and
- then on the "Set" button. Be sure, if you have multiple hard drives, that you ensure that the paging file is set to 0 on all of them.
-Click OK to exit the dialogs.

c ) Reboot (this will remove the pagefile from your system)

d ) Then go back in following the directions in step a ) and re-enter the settings that you wrote down in step

b ). Follow the steps all the way through (and including) the reboot.

e ) Once you've rebooted this second time, go back in and check to make sure that the settings are as they're supposed to be.

Run System File Checker:

SFC.EXE /SCANNOW

Go to Start and type in "cmd.exe" (without the quotes)

At the top of the search box, right click on the cmd.exe and select "Run as adminstrator"

In the black window that opens, type "SFC.EXE /SCANNOW" (without the quotes) and press Enter.

Let the program run and post back what it says when it's done.

- Overheating of the CPU or GPU and or other components can cause 0x116 bugchecks. Monitor your temperatures and ensure the system is cooled adequately.

- GPU failure. Whether it's heat, power issue (PSU issue), failing VRAM, etc.
The following software issues can cause a TDR event:

Quote:
-Incompatible drivers of any sort (either GPU, sound, etc)

-Messy / corrupt registry

-Bad direct x files (uninstall, then reinstall DirectX)

-bad system files (System File Checker - was run above)

-Bad driver (some drivers will cause an event due to internal bugs, however these are not nearly as common as many think due to all of the previous things causing the same symptom) - (remove all 3rd party programs and check to be sure drivers aren't loading. Then install only the necessary 3rd party stuff, and ensure it's the latest version).
Regards,

Patrick
Patrick is offline   Reply With Quote
Old 07-03-2013, 02:09 PM   #3
Registered Member
 
Join Date: Jun 2013
Posts: 3
OS: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)



Hi PJB, thank you very much for your help. To be honest I feel not confident enough to proceed with all of the information you provided me. Yesterday I decided to restore to fabric config. After this I tested the performance by starting up CoA4 and again the same issue occured. At least I know now that probably the hardware is causing the issue. I wll ask someone from a local pc shop to investigate the issue further. I hope to post the result shortly after. Again thank you again for help. It is much appreciated.
ronaldpc is offline   Reply With Quote
Old 07-03-2013, 02:26 PM   #4
TSF Enthusiast
 
Patrick's Avatar

Microsoft Most Valuable Professional
 
Join Date: Apr 2012
Location: Ring 0
Posts: 4,349
OS: W8.1 x64



Hi,

Completely understandable! Hardware diagnostics can be a daunting and tedious process. Good luck!

Regards,

Patrick
Patrick is offline   Reply With Quote
Old 07-10-2013, 07:03 AM   #5
Registered Member
 
Join Date: Jun 2013
Posts: 3
OS: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)



As promised my last and final response. Roor cause was my NVIDIA graphics card which needed to be replaced. Now that this his done I have no problems anymore (so far :-)
ronaldpc is offline   Reply With Quote
Old 07-10-2013, 11:50 AM   #6
TSF Enthusiast
 
Patrick's Avatar

Microsoft Most Valuable Professional
 
Join Date: Apr 2012
Location: Ring 0
Posts: 4,349
OS: W8.1 x64



Hi,

Thanks for the update! Glad to hear your issues are solved. If you feel or are confident enough that your problem is solved, please navigate to 'Thread Tools' at the top of the thread and select 'Mark this thread as solved'.

Regards,

Patrick
Patrick is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 10:35 AM.


vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright 2001 - 2015, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts

 

Partially Powered By Products Found At Lampwrights.com