Jump to content

  • Log In with Google      Sign In   
  • Create Account





Direct X 11 Problems on Windows 8 Laptop

Posted by Squared'D, 22 June 2013 · 804 views

DX11 D3D Intel HD Graphics 4000 FAILED CREATING DEVICE
Direct X 11 Problems on Windows 8 Laptop
(Edit: Took out the major from the title. I think it was too bold)
Other's may disagree with this, but I think one of the worst feeling in the world for a programmer is to work hard on something, debug it and test it out thoroughly just for it to fail on someone else's computer. This is what happened to me a few days ago. I'd been working on my new game framework which I hope will give me multi-platform capabilities in the future. My new post-processing framework was working well with some nice new effects and I had been testing out some new GUI elements. So it all works well on my computer, or so I thought actually.

Laptop
OS: Windows 7
CPU: Intel® Core™ i5-2410M
Display Adapters: (0) NVidia GeForce GT 540M
(1) Intel HD Graphics 3000


The Problem
So my friend and gamedev partner tried it out on his two computers:

System 1 Desktop (Windows 7)
CPU: Intel Core i5-2500K 3.3ghz 16GB ram
Display Adapter: GPU AMD Radeon HD 6800 series
SUCCESS

System 2 Laptop( Windows 8)
CPU: Intel i7-3632 2.2GHZ
Display Adapters: (0) GPU AMD Radeon HD 7730M
(1) Intel HD Graphics 4000
FAILURE


And it was strange because everything started up well, but then I stopped. When spent about 2 days on this with me sending out various builds and slowly disabling more and more things before I realized that it was crashing way at the beginning when the Direct X device was being created. I didn't expect this because a message was supposed to have popped up in this case, but I guess now it doesn't matter.

The Solution
After searching around on the internet, I came to believe his configuration was the problem. I got a lot of information from this old Gamedev post: http://www.gamedev.net/topic/617965-directx-11-cant-find-all-of-my-graphics-adapters/

From that post, I realized that on laptops, it's common for the system to default the integrated graphics card and not use the high performance one. This was happening on my computer as well. By why was the program crashing on his computer. Look at all of these references:

http://forums.heroesofnewerth.com/showthread.php?346005-D3D-CreateDevice-fail
http://www.bleepingcomputer.com/forums/t/490819/games-fail-to-launch-directx-11-error-direct3d-failure/
https://community.playhawken.com/topic/17979-failed-to-create-d3d9-device-error-on-surface-pro/
http://www.tomshardware.com/forum/115848-13-failed-creating-device-version-adapter-intel-graphi
http://www.bleepingcomputer.com/forums/t/490819/games-fail-to-launch-directx-11-error-direct3d-failure/
http://battlelog.battlefield.com/bf3/forum/threadview/2832654347765284506/
http://en.community.dell.com/support-forums/laptop/f/3519/p/19470967/20205166.aspx
http://support.futuremark.com/futuremark/topics/directx_fail
http://forums.autodesk.com/t5/Autodesk-Inventor/Windows-8-Graphics-Issue-Inventor-2013/td-p/3757109


There seems to have been a bug in the HD Graphics 4000 drivers. Intel says that it's fixed it now so if you have any users having problems on Windows 8 laptops with HD Graphics 4000, have them update their drivers. Also, if they have another graphics card, tell them to look into their display adapters configuration settings and make sure it uses the high performance card for your game. The configurations change can be made in a utility that's installed with the drivers and not via device manager. I'm not sure how it works on Windows 8.

I'm adding this here because I'm sure someone else will have this problem and I want to help them find the answer.




Other's may disagree with this, but I think one of the worst feeling in the world for a programmer is to work hard on something, debug it and test it out thoroughly just for it to fail on someone else's computer.

 

 

+1 and it's even worse when the only information you get back is "it doesn't work" or "it crashes". Helpful blink.png 

Yeah, I'm glad that my guy was willing to work with me to help track down the problem. Working with different computers and configurations is a pain.

Recent Comments

October 2014 »

S M T W T F S
   1234
567891011
12131415161718
192021222324 25
262728293031 
PARTNERS