Direct3d stops working after some games and system requires reboot

By Karmashock ยท 7 replies
Jul 7, 2008
  1. This has happened to me on many systems in the past with many different configurations.

    Current configuration:
    Windows XP SP2 (updated to current but SP3 has not been applied)
    Current Directx
    Current Catalyst Drivers
    AMD 4200 X2
    ATI 3750
    2GB Ram

    Effectively the problem is that every so often on termination some programs will screw up Directx. Typically Direct3d functionality is all that is effected though sometimes even directdraw stops working.

    A simple reboot will in all cases fix this problem until the next time, however that is both sloppy and annoying. What I want to know how to do is fix this without a reboot.

    I'm assuming that Directx needs to get reloaded or that some other system service needs to be restarted. This is NOT a driver issue or if it is... it is one that has been around on many systems for about a 6 years... and effects both ATI and nVidia chipsets throughout multiple generations of said cards. This problem has been around for a long long time.

    I've asked about it from time to time to see if someone knew and most people knew nothing about it.

    Anyone have an idea here?
  2. Tmagic650

    Tmagic650 TS Ambassador Posts: 17,244   +234

    Apply XP SP3... Check your hard drive for corrupted files
  3. Karmashock

    Karmashock TS Rookie Topic Starter Posts: 223

    what would SP3 do that updating everything else wouldn't? I've heard horror stories about bad things SP3 can do...

    As to corrupted files. it only does every so often. Typically after a certain game as exited improperly or something.

    What I think is happening is that Direct3d thinks the old program is still running and so refuses to grant access to Direct3d to other programs.

    What I think I need is a means to force Direct3d to unlock or disengage... or restart the whole directx subsystem.

    I can't even find a directx system service. How do I find it in memory? It has no process, no system service... where is it? How do I force it out of memory if only just for a minute.
  4. Tmagic650

    Tmagic650 TS Ambassador Posts: 17,244   +234

    "what would SP3 do that updating everything else wouldn't? I've heard horror stories about bad things SP3 can do"...

    You came here for help... Those "horror stories" come from people just like you. People who have no real understanding of computers. Good luck
  5. Karmashock

    Karmashock TS Rookie Topic Starter Posts: 223

    First, I appreciate your help.

    Second, it is very common on most forums to be given a generic responses before actual investigation occurs. While that is typically prudent it is also often a waste of time as it assumes whatever the problem is can be addressed by generic fixes.

    Third, I have a pretty good grasp of computers.

    What aspect of SP3 leads you to believe that it would have any effect on this situation beyond it just being something on the list of things you tell everyone to do?

    I think you're trying to fix a different problem. My problem is how do you reset directx/direct3d or how do you get it to unlock.

    In windows XP only one program can use Direct3d at a time... or so I've been lead to believe. What I think is happening is that some programs exit improperly and thus directx/direct3d remains locked to a program that is no longer running or just remains locked period.

    This problem is fixed in all cases by simply rebooting in which case all handles are obviously reset. It is not a file corruption issue.

    Again, do you know where it can be found in memory? Why is directx so elusive? Practically everything the computer does can be reset without rebooting the computer.
  6. nickc

    nickc TechSpot Paladin Posts: 923   +11

    if u are so smart then why are u here?
  7. Ruthe

    Ruthe TS Booster Posts: 70

    Whoa, yall! I think there's a misunderstanding here. :-o

    Karmashock has a valid point. Besides the fact I have never seen any advantage to SP3, he brings up valid questions. And it's very frustrating to have a computer problem - maybe worse than your car breaking down. :)

    Often the problem can be fixed by a troubleshooting "knowledgebase", if you will. But sometimes it can't.

    On the other hand, it does seem that the question was not clearly stated.

    I would suggest to him/her to go to M$ and do more research on DirectX. Also, if you have XP Pro, try TaskList.exe. I don't know if this will help since I don't have that OS.
  8. Try this: copy everything between the dashed lines into notepad, save it and rename the file with a .reg extension instead of .txt and double click the file to add the info into your registry (What this does is add "register" and "unregister" as options when you right click certain files)





    @="c:\\winnt\\system32\\regsvr32.exe \"%1\""


    @="c:\\winnt\\system32\\regsvr32.exe /u \"%1\""




    @="c:\\winnt\\system32\\regsvr32.exe \"%1\""


    @="c:\\winnt\\system32\\regsvr32.exe /u \"%1\""

    @="Dynamic Link Libraries"

    @="SCC Quick Viewer"


    @="SCC Quick Viewer"

    Then, while showing hidden files and folders, Navigate to your System32 folder and find "d3d9.dll". Right click the file and unregister, and then right click again and re-register the file.

    I am not sure that the above solution will work but if it does, open notepad and type or copy the following:

    Regsvr32 [/u] d3d9.dll
    Regsvr32 d3d9.dll

    save the text file and rename the extension .bat instead of .txt and keep the file on your desktop or create a shortcut to it on the quick-launch bar, this way whenever you have to reset directx, you can just double click the batch file and the steps we just walked through will be done instantly and automatically.

    You should also download the directx control panel from microsoft, it has a ton more options than directx diagnostics (directx diagnostics is what you use when you type "dxdiag" into the run box) and its free - you will have to google directx control panel add-in since I cannot post a url.

    copy the downloaded .cpl file into the system32 folder or just double click the cpl file itself and bypass using control Panel.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...