Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Video's crashing the display driver (ATI HD5870)

02 Jul 2010   #1

Windows 7 x64
Video's crashing the display driver (ATI HD5870)

Hi! I'm having some trouble with my display driver crashing when video files are played. Sometimes the driver recovers, but other times it ends with a BSOD.

I am running Windows 7 x64, 4gb RAM and a ATI Radeon HD5870 with up-to-date drivers

The driver crashes when
- an embedded video, such as on youtube, attempts to play
- during the Windows Experience Index tests (fails during video processing)
- playback of some video files in Windows Media Player (error message states not enough memory)

The video files in the Windows/Performance/WinSAT folder for example don't all crash.

These all crash in WMP:

This doesn't:

They ALL play in PowerDVD 8 and Quicktime.

The BSOD log's also point to one particular driver, dxgkrnl.sys

The ATI driver is up-to-date and I've tried updating DirectX as well. Even tried reinstalling the OS over the top of the existing installation.

Any ideas would be great because I'm all out!

My System SpecsSystem Spec
02 Jul 2010   #2

Windows 7 Home Premium x64

Welcome to the Seven Forums!

Are you overclocking your video card?
My System SpecsSystem Spec
02 Jul 2010   #3

Windows 7 x64

No overclocking! Anyway, the computer is often used most hours of the day for the family to play The Lord of the Rings Online at it's highest setting and that isn't crashing it!
My System SpecsSystem Spec

02 Jul 2010   #4

Windows 7 Home Premium x64

Do you have another video card that you can test in the computer, to see if the problem persists?
My System SpecsSystem Spec
02 Jul 2010   #5

Vista 64 Ultimate, Windows 7 64 Ultimate, Ubuntu 9.10

Roll back to driver 10.3 I find it was the most stable on my XFX HD5870 xxx Edition and mine is OC'd by the software that comes with it and not one issue.
My System SpecsSystem Spec
02 Jul 2010   #6

Windows 7 x64

Unfortunately I don't have another graphics card available to swap it with, but because the computer is pretty fresh from the shop I could take the card back if I can't find problems with anything else.

Fishnbanjo, I tried your suggestion but sadly it didn'r help. I've tried 10.3, 10.4 and 10.6 all with similar results now.

I've attached the minidump from the latest BSOD, which was triggered by attempting to play a file in WMP.
My System SpecsSystem Spec
02 Jul 2010   #7

Windows 7 Ultimate 32 bit

I took a look at your dump file. It shows what I expected from reading this thread.



Usual causes: Video driver, overheating, bad video card, ?BIOS, ?Power to card
Here is the dmp analysis; it points to atikmpag.sys.

Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Users\Owner\AppData\Local\Temp\\070310-26644-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available

Symbol search path is: SRV*c:\symbols*
Executable search path is: 
Windows 7 Kernel Version 7600 MP (8 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 7600.16539.amd64fre.win7_gdr.100226-1909
Machine Name:
Kernel base = 0xfffff800`03015000 PsLoadedModuleList = 0xfffff800`03252e50
Debug session time: Fri Jul  2 21:06:09.649 2010 (GMT-4)
System Uptime: 0 days 0:02:21.648
Loading Kernel Symbols
Loading User Symbols
Loading unloaded module list
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *

Use !analyze -v to get detailed debugging information.

BugCheck 116, {fffffa80058864e0, fffff880042f302c, 0, d}

Unable to load image \SystemRoot\system32\DRIVERS\atikmpag.sys, Win32 error 0n2
*** WARNING: Unable to verify timestamp for atikmpag.sys
*** ERROR: Module load completed but symbols could not be loaded for atikmpag.sys
Probably caused by : atikmpag.sys ( atikmpag+602c )

Followup: MachineOwner

2: kd> !analyze -v
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *

Attempt to reset the display driver and recover from timeout failed.
Arg1: fffffa80058864e0, Optional pointer to internal TDR recovery context (TDR_RECOVERY_CONTEXT).
Arg2: fffff880042f302c, The pointer into responsible device driver module (e.g. owner tag).
Arg3: 0000000000000000, Optional error code (NTSTATUS) of the last failed operation.
Arg4: 000000000000000d, Optional internal context dependent data.

Debugging Details:

fffff880`042f302c 4883ec28        sub     rsp,28h






fffff880`065ec308 fffff880`04f64ef8 : 00000000`00000116 fffffa80`058864e0 fffff880`042f302c 00000000`00000000 : nt!KeBugCheckEx
fffff880`065ec310 fffff880`04f64c7f : fffff880`042f302c fffffa80`058864e0 fffffa80`04681d50 fffffa80`049be410 : dxgkrnl!TdrBugcheckOnTimeout+0xec
fffff880`065ec350 fffff880`0480ff07 : fffffa80`058864e0 00000000`00000000 fffffa80`04681d50 fffffa80`049be410 : dxgkrnl!TdrIsRecoveryRequired+0x21f
fffff880`065ec380 fffff880`0483dd7e : fffffa80`ffffffff 00000000`000022d9 fffff880`065ec4d0 00000000`00000002 : dxgmms1!VidSchiReportHwHang+0x40b
fffff880`065ec460 fffff880`04823bb1 : fffffa80`05dc3000 ffffffff`feced300 00000000`00000002 fffff880`065ec7d8 : dxgmms1!VidSchWaitForCompletionEvent+0x196
fffff880`065ec4a0 fffff880`04826aaf : 00000000`0000017d 00000000`00000000 fffffa80`06904b20 fffff8a0`042b4e50 : dxgmms1!VIDMM_GLOBAL::xWaitForAllEngines+0x1e9
fffff880`065ec5a0 fffff880`048251a0 : fffff8a0`042b4e50 00000000`00000000 fffffa80`05dc3000 fffff880`0475a800 : dxgmms1!VIDMM_GLOBAL::SetupForBuildPagingBuffer+0xd7
fffff880`065ec5e0 fffff880`048250f6 : 00000000`00000000 00000000`00000001 fffffa80`05dc3000 fffff880`04823a1e : dxgmms1!VIDMM_GLOBAL::UnmapVideoApertureSegmentInternal+0x34
fffff880`065ec770 fffff880`0482e642 : fffffa80`05a48a80 00000000`00000001 00000000`00000001 00000000`00000000 : dxgmms1!VIDMM_GLOBAL::UnmapVideoApertureSegment+0x13e
fffff880`065ec7e0 fffff880`0482e3eb : fffff8a0`042b4e50 00000000`00001000 fffffa80`05a48a80 fffff8a0`042b4e50 : dxgmms1!VIDMM_APERTURE_SEGMENT::UnmapApertureRange+0x7a
fffff880`065ec830 fffff880`0482dd8f : fffff8a0`042b4e50 fffffa80`05dc3c80 00000000`00000000 fffffa80`05dc3c80 : dxgmms1!VIDMM_APERTURE_SEGMENT::UnmapTemporaryResource+0x9b
fffff880`065ec890 fffff880`0482176c : fffffa80`05dc3000 fffffa80`05dc3000 fffffa80`05dc3c80 fffffa80`05dc3000 : dxgmms1!VIDMM_APERTURE_SEGMENT::ReleaseTemporaryResource+0xcf
fffff880`065ec8d0 fffff880`0481e133 : 00000000`00000000 00000000`00000000 00000000`00000008 fffffa80`05dc3000 : dxgmms1!VIDMM_GLOBAL::EvictTemporaryAllocations+0xbc
fffff880`065ec910 fffff880`0483865d : 00000000`00000000 fffff8a0`0418e340 fffffa80`00000002 fffffa80`04504d40 : dxgmms1!VIDMM_GLOBAL::PrepareDmaBuffer+0x69f
fffff880`065ecae0 fffff880`04838398 : fffff880`009ed040 fffff880`04837d00 fffffa80`00000000 fffffa80`00000000 : dxgmms1!VidSchiSubmitRenderCommand+0x241
fffff880`065eccd0 fffff880`04837e96 : 00000000`00000000 fffffa80`04681d50 00000000`00000080 fffffa80`049be410 : dxgmms1!VidSchiSubmitQueueCommand+0x50
fffff880`065ecd00 fffff800`0332aa86 : 00000000`fffffc32 fffffa80`05a47b60 fffffa80`036cd040 fffffa80`05a47b60 : dxgmms1!VidSchiWorkerThread+0xd6
fffff880`065ecd40 fffff800`03063b06 : fffff880`009e8180 fffffa80`05a47b60 fffff880`009f30c0 00000000`00000000 : nt!PspSystemThreadStartup+0x5a
fffff880`065ecd80 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KxStartSystemThread+0x16

STACK_COMMAND:  .bugcheck ; kb

fffff880`042f302c 4883ec28        sub     rsp,28h

SYMBOL_NAME:  atikmpag+602c

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: atikmpag

IMAGE_NAME:  atikmpag.sys


FAILURE_BUCKET_ID:  X64_0x116_IMAGE_atikmpag.sys

BUCKET_ID:  X64_0x116_IMAGE_atikmpag.sys

Followup: MachineOwner
It is a graphics card problem. It could be the drivers. Is the card overheating? Is anything on your system overclocked?
My System SpecsSystem Spec
03 Jul 2010   #8

Microsoft Community Contributor Award Recipient

Windows 7 64 Bit Home Premium SP1

What you are dealing with is a Windows Timeout Detection and Recovery (TDR) event. Many times if it is not a problem with the drivers, it is a hardware issue. Yours may well be a defective video card, but it is a good idea to check the other causes before you go through the effort of the RMA process.

Take a read of my checklist below and see if you can diagnose your particular problem.

I hope it helps

"Display driver xxxxx stopped responding and was recovered"

Timeout Detection & Recovery (TDR) = "Display Driver Stopped Responding and was Recovered" is a useful feature that started in Vista and is also in W7 that allows the OS to try and recover from a video timeout so that the system does not crash to a bluescreen. Symptoms included a screen flash with the TDR message appearing one or more times or the screen blinking out to black. If the system cannot recover it will crash (Stop Error 116 typical). The issue is that the video card is not responding as expected. The solution is in the: why?

There is no one-size-fits-all solution to TDR errors. But the problem is usually found in the local environment (your computer). Finding the cause is a matter of checking every possible cause and uncovering the culprit through a simple process of elimination. By methodically running down a checklist of diagnostic procedures you should be able to find the cause and can correct it.

There are numerous reports of hardware solutions to TDR's. The most common are:
  • Poor Cooling
  • Problems with the power supply
  • Overclocking Issues
  • Bad System memory or incorrect memory timings
  • Defective PC Components

The order you do the diagnostics is not all that important. My personal strategy is to do the cheap & easy stuff first, the cheap & harder stuff next, and then the stuff that costs last. But whatever order you do it in you need to check or confirm the following:

Poorly written software and games will cause TDRs. But if this were the case it would affect lots of people, not just a few. Check the game's website & forums for patches and tips.
See if other people in the forums are having the same problem and if they were able to solve it and how.
You could also be asking too much of your video card. Check to see if your video card is tested and recommended for the game/program. Test the game at reduced settings.

It helps if you can isolate the actions that trigger the TDR. Most often it will be an application using 3D graphics. But if the incidents occur constantly it would point more towards defective hardware. If it happens more specifically (just when running Game X) it points towards overheating, settings, software, or driver issues.

You need to eliminate the possibility that your computer has a global problem. You can use a program like Prime95 to stress test your system.
You can run the "Stress Test" for a few hours or overnight. This will not tell you what the problem is, but it is helpful to uncover any issues your system has with instability and cooling.

Running a video intensive game for hours can generate some serious heat and overheating will cause video errors. You can check your temps by looking at your BIOS readings or use a free program like Speedfan SpeedFan - Access temperature sensor in your computer .
A real easy test is to just pull the side panel(s) off your case (You can also blow a house fan directly into the open case) and see if the problem goes away or gets better. If it does then the issue is definitely overheating. If you are overheating you need to look at installing some cooling upgrades. You want to look at ventilating the case (more or bigger fans), Upgrade your case to a larger gaming case (lots of fans, water-cooling), etc.
There are free utilities like BurninTest PassMark BurnInTest software - PC Reliability and Load Testing that you can use to test your system's cooling capability. Caution is recommended using these types of programs.

Bad drivers happen and they can get corrupted. Before installing or reinstalling any video drivers first completely uninstall all video software and the drivers. (Some people say to run a cleaner program from safe mode, some say this is unnecessary). Never rely on the driver package to overwrite the old drivers. Also: Delete the video driver folder (ex: C:\NVIDIA) in Windows Explorer (or windows may install the same drivers again!).
After uninstalling the old drivers and rebooting Windows 7 will install it's own WDDM 1.1 driver. Check for the video problem while using the generic Windows driver.
You can then install the latest drivers for your card (or try older drivers).
See This Tutorial: Installing and updating drivers in 7

Look in Device Manager and make sure there are no problem devices (yellow ! icon). Correct these by loading the correct drivers or disable the problem device and see if the video problem goes away.

Reseat video card and memory modules. Make sure the contacts are clean. Check all the electrical connections.

In BIOS, check the listed voltages against the manufacturer recommended specs. Reset the voltages to factory defaults and see if the video problems disappear.

Memory errors can cause video problems. Run a program like Memtest86+ for at least 3 passes to see if there are any memory errors. Memtest86+ - Advanced Memory Diagnostic Tool .
You can also test for a bad memory module by installing one stick and testing, and then switch it out for the next stick, etc.

Overclocking can be a trial and error process. The clocks and/or multipliers you set or change for CPU, Memory, or GPU could be unstable. Eliminate this as a possibility by resetting these to their defaults to see if that clears the video problems. The simplest way to do this is to "Restore Bios Defaults", or Clear CMOS.

Some people have reported that by going into the video cards control panel and "down-clocking" the cards performance settings they were able to clear up the TDRs. Since W7 does not seem to tolerate any hiccups in the GPU, this would allow you to run a poor perforning card in the W7 enviroment.
So for instance, you could set the GPU clock from a 777 MHz factory setting to 750MHz, and the ram clock from a 1126MHz factory setting to 1050Mhz, or similar small change for your particular card.

Check for and install an updated BIOS, particularly if it says the newer BIOS corrects memory errors or bug fixes. You could also try loading the BIOS defaults.
While you are there, check the motherboard manufacturers forums to see if others are having issues with the same board.

Eliminate Power Management settings as a possible cause, especially if you are working with a laptop. These settings could be particularly important if the issue is in playing games.
Go to Control Panel > Hardware & Sound > Power Options. Under "Select a Power Plan" you will find that "Balanced" is the default setting.
At the bottom you will see a Down arrow next to "Show Additional Plans". Click that and select "High Performance". See if the TDR issue is affected.
Alternately, you can click "Change Plan Settings" next to the "Balanced" plan and change the setting to "Never" put the computer to sleep (This is the default on a desktop) and/or change when the display is turned off as a test.

You need to know that your power supply is delivering sufficient power. Power supply problems are the most common cause of video problems, especially using high end cards.
Check the power supply's amperage ratings. Be sure it has the ample amperage for your video card and the rest of the system.
Test the supply with multimeter to measure for a steady 12v to the card's power connectors. (The only true way to test a power supply would be to use the very expensive diagnostic equipment used in labs). But for us regular folks: I tested my power supply by hooking up my multimeter to the PCI-E connectors that I was using to power my video card (I used a spare pair from the power supply to run the card while I was testing). I then observed the meter while I used the computer, first watching the voltage, then the amps, to see if there was any drop-off or erratic behavior while booting or using the computer. My readings were rock solid. So I declared my power supply good.
Otherwise you need to replace the supply to eliminate this possibility. Or borrow one from another computer.

I suspect that a video card must perform flawlessly to operate in a Windows 7 environment and run the most recent games. If you tried all the above diagnostics and no problems were found then that leaves you with only one possibility: a defective video card. Some brands have the problem more consistently than others. You could check their forums for clues.
You could try your card in another computer running W7 to see if the problem goes along with the card.
You could try a different card in your computer. I bought an inexpensive card to use. My TDR's disappeared using a "lesser" card. Or borrow a card from another computer.
Otherwise RMA or replace the card.

TDR complaints have come from PC owners running virtually every PC configuration. They occur regardless of which video engine, manufacturer, driver, or system used. They are too numerous to write off as a random problem, but at the same time if people are getting their systems to run correctly using the same hardware and software that you are then it follows that your problem must be solvable.

More Info Here:
Timeout Detection and Recovery of GPUs through WDDM
NVIDIA Statement on TDR Errors - NVIDIA Forums
27116: ATIKMDAG has stopped responding error message
My System SpecsSystem Spec
03 Jul 2010   #9

Vista 64 Ultimate, Windows 7 64 Ultimate, Ubuntu 9.10

Quote   Quote: Originally Posted by Ratmuffin View Post
Unfortunately I don't have another graphics card available to swap it with, but because the computer is pretty fresh from the shop I could take the card back if I can't find problems with anything else.

Fishnbanjo, I tried your suggestion but sadly it didn'r help. I've tried 10.3, 10.4 and 10.6 all with similar results now.

I've attached the minidump from the latest BSOD, which was triggered by attempting to play a file in WMP.
Sorry no joy rolling back, good move on your part posting the mini.dmp carl and tv got the problem nailed for you now!
My System SpecsSystem Spec
08 Sep 2010   #10
De Swaffelaar

Windows 7 Home Premium 64bit
Same problem

I got exactly the same problem. The whole system works fine but when I want to play a youtube movie I get the BSOD with the atikmdag.sys error.
Everything used to work fine. I've removed the ati drivers en did driver sweep, after rebooting I can watch the youtube movies without a problem. After installing the Ati drivers (with or without the CCC) it crashes again.
The only thing that changed in my setup is that I bought the Xbox360 Slim en configured MCE on my pc (I did Install Shark007 a half year ago). Could the MCE have anything to do with it?
I've got a Intel 2 Core Quad Q9450 and a HD 5870 on W7 Home Premium 64bit.
My System SpecsSystem Spec

 Video's crashing the display driver (ATI HD5870)

Thread Tools

Similar help and support threads
Thread Forum
BSOD and Display Driver Crashing
My desktop has recently been crashing while playing various games. Usually it freezes and then the display driver recovers. However, today while playing Rust, I got a Blue Screen page "fault in non-paged area" error. Any help will be greatly appreciated.
BSOD Help and Support
Display driver keeps crashing
Hi, Most time when I go onto a game for some reason half way through the playing time the display driver stops working the screen just goes all fuzzy and the sound just glitches... EventLogError: Display driver nvlddmkm stopped responding and has successfully recovered. I am on the latest...
BSOD Help and Support
Display Driver keeps crashing
Hi, Periodically my screen will freeze and I will get a message that says display driver stopped working and recovered. However, sometimes my computer will resume being normal...and other times my screen will be totally disconfigured, jumbled...and messed up and I have to force shut down. Also...
BSOD and display driver crashing
Alright, so I used to randomly get the whole 'Display driver has stopped working but has successfully recovered' message, but not too often. It always 'seemed' like it happened during a youtube video. Now, I have since upgraded to a 2 monitor setup, and the display driver crashing seems more...
BSOD Help and Support
Display Driver Crashing?...
So, for about 2 months now my display driver is constantly crashing. I have to boot up in safe mode to stop the worries of the crashing. What'll happen is, I'll be doing something simple, possibly even playing a low graphic game such a Minecraft or opening a .txt file, and the screen will freeze...
Graphic Cards

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:38.
Twitter Facebook Google+