• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
  • entries
    46
  • comments
    91
  • views
    64096

Direct X 11 Problems on Windows 8 Laptop

Sign in to follow this  
Followers 0
Squared'D

1353 views

Direct X 11 Problems on Windows 8 Laptop


[size=2](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(R) Core(TM) i5-2410M
Display Adapters: (0) NVidia GeForce GT 540M
(1) Intel HD Graphics 3000



The Problem


[font=arial]

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
[color=#ff0000]FAILURE[/color]

[/font]

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:

https://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:

[font=arial]

[color=#000000]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[/color]

[/font]

[font=arial]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.[/font]

[font=arial]I'm adding this here because I'm sure someone else will have this problem and I want to help them find the answer.[/font]

4
Sign in to follow this  
Followers 0


2 Comments


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 

0

Share this comment


Link to comment
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.
0

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now