Hello, all,
I've had issues for close to two months, and I've slowly (between other life tasks) researched out what might be the problem. This is a lot of info, but I want to demonstrate what I've tried, what has worked, what has failed, etc. You'll see descriptions
of various run-ins with a third-party software suite, but you'll also eventually see how it comes back to Windows.
Background
When I first got this computer, it was almost inoperable due to being a low-end machine and having gobs and gobs of malware and other stuff loaded on it. I repaired, optimized, and tweaked such things as the software, the registry, etc. until for the most
part the computer ran just fine, yay. (I didn't mess with the hardware or BIOS or anything like that.)
From there, over time, I installed various tools I would use in my software business. For one, I got GameMaker: Studio (by YoYo Games, Ltd.) and had no problems; if you're unaware, GM:Studio is an IDE that facilitates creating video games for various platforms
using a single codebase -- pretty nifty in my opinion. Well, some while later, right about the time I got a different version of GM:Studio, things started going wrong; this might be directly connected, or it might be mere coincidence due to other things I
installed and tweaked at the time.
Things that went wrong:
- Running either version of the GM:Studio IDE would work in and of itself, but compiling a game to test-run failed. (In GameMaker, a test run is basically a compiled preview that can interact some with the IDE.)
- Running a standalone game compiled by other people using other machines failed: Task Manager showed a game starting to load in memory, then silently disappearing before any game window would ever show.
- Similarly, running a standalone game compiled on other machines by earlier versions of GameMaker ("Legacy" versions 8.1 and earlier) would start to load, then silently disappear.
Partially fixing the problem:
I tried running the standalone games (compiled on other machines by Legacy and Studio) using Windows 7's Program Compatibility Assistant. Using the quick "Try recommended settings" button, it chose Windows XP SP2; starting the program this way, it ran just
fine, maybe with the slightest hiccup, barely noticeable, good to go.
I then tried running GM:Studio the same way, in Windows XP SP2 compatibility mode. This time, test-running a game project from the IDE loaded the playable game pretty fine. However, a person can also test-run in a more detailed debug mode wherein the test
game connects to the IDE's special debug module to transfer a bunch of information every frame, many times per second; when test-running in debug mode (with Win XP SP2 compatibility), the game stuttered terribly, (turning a simple 7-second animation into a
30+ second lag-fest,) until the debug module finally disconnected, at which point the game started running as expected.
Problem Found
I eventually noticed that when test-running a game from the GM:S IDE as normal Windows 7 (no compatibility mode), the GM:S IDE hung upon this moment: Create D3D9Ex interface
Scouring the Web, I eventually came across the following Microsoft links -- with the following results:
- Diagnosing basic problems with DirectX -- This built-in program crashed, indeed indicating that something was wrong with DirectX.
(It's always a pretty bad sign when the diagnostic tool dies!) Following the other instructions on that page: I'd already manually updated my video card to the latest drivers, I don't have a gamepad or joystick for Windows, and all other checked drivers were
okay.
- Download DirectX End-User Runtime Web Installer from Official Microsoft Download Center -- If I recall correctly, this downloadable program would download
entirely just fine, but when attempting to load to run (to install the actual help), would stop running and completely vanish; I mean the whole file, poof, no longer in the directory, download-and-save again if you want to run it again!
- Download Platform Update for Windows 7 from Official Microsoft Download Center -- I don't recall what happened with this downloadable program;
it seems I couldn't get it before; I got it just now while typing this up, but the only info I see (in a quick research run right now) insinuates that this would've already come via Windows Update a long time ago, thus I'm not running it without good reason
first.
- DxDiag has detected that there might have been a problem accessing Direct3D -
Microsoft Community -- Ah, magic. Comparing to that poster's computer stats, this is a Compaq Presario CQ57 laptop with Windows 7 64-bit, quite similar. I ran the DirectX Diagnostics tool again, and surely enough, it asked to skip Direct3D, which I did,
and I was then able to access the rest of the tool. (By this time, I'd sanity-checked crashes so much, I'd given up on crashing multiple times before moving on; when even pressing Win+Break (.. well, I'm sure it's Win+Pause, but I love the mnemonic device
"when Windows breaks..." someone taught me!) and trying to access the System Properties window in other ways flat-out crashes repeatedly, you just get tired of checking absolutely everything multiple times before moving on. Sorry.) Anyway, long story slightly
shorter, the tool's Display tab's info:
- DirectDraw Acceleration: Disabled
- Direct3D Acceleration: Not Available
- AGP Texture Acceleration: Not Available
- Run DirectX Diagnostic Tool -- I currently don't see exactly how I got to this link, but I recall something being said about it working
for Windows 7, too. The problem here is that trying to access "Display Settings" -> "Advanced settings" doesn't result as expected. Previously, I'm pretty sure I could click Troubleshoot then Change Settings, but there was no Hardware Acceleration slider;
however, right this moment, in trying to reproduce, now I'm only seeing a Windows Explorer crash the moment I click "Advanced settings" (whether the system-wide"Launch folder windows in a separate process" is true or false).
YoYo Games has confirmed that GameMaker creates Windows programs that use DirectX 9 (for more widespread compatibility), but I also just learned it will switch to DirectX 11 if DX9 cannot be found (a move I deem clever). Meanwhile, other modern multimedia
programs work as expected, including Adobe's Flash browser plug-in, and even when using GM:Studio to create an HTML5/Javascript canvas game or WebGL game! I currently have no other software I can confirm as requiring the older version of DirectX to run.
Question Inbound
Both Direct X 11 and Direct X 9 should work without compatibility mode, yet it seems Direct X 9 only works with it. Can someone please help me fix this specific issue where all the standard online answers fail me?
I'd really, really prefer not to system-restore multiple months backward, but I'm prepared for that misfortune if there's no other way. (I'm sure I'll thank you for a solution later if I'm alive to see it, but I certainly thank you in advance now, too!)