Bug In DirectX GetDisplayModeList function
-
Friday, January 18, 2013 12:43 AM
I'm not sure if this is the right forum. I looked at several and this seemed the best fit. Currently I think I may have found a bug in DirectX 11.
When calling GetDisplayModeList, just like the example at http://msdn.microsoft.com/en-us/library/windows/desktop/bb174549%28v=vs.85%29.aspx, I get a crash. This does not normally happen except in a specific circumstance.
- Windows 7
- Visual Studio 2012
- Using remote log in to run code.
- Linking with Windows SDK (not DirectX SDK)
- The machine has no monitor
- Win32 or Win64GetDisplayModeList seems to not crash when connecting a monitor to the machine and manually running the code from it (no remote log in). It feels like there is logic in the function that expects a monitor to be attached which is not my case.
If anybody knows a better place to ask about bugs I am all ears.
All Replies
-
Monday, January 21, 2013 10:40 PM
Have you been able to repro this on multiple machines and/or with multiple video vendor drivers?
Are you using dxgi.h or dxgi1_2.h?
Do you have DirectX 11.1 installed? (via the IE10 preview)
- Edited by Chuck Walbourn - MSFT Monday, January 21, 2013 10:43 PM
-
Tuesday, January 22, 2013 6:56 PMIt's one machine with a 9800 GT. Also, we're using #include <DXGI.h>. When one of our engineers gets back tomorrow I'll try out a different computer and the IE10 preview.
-
Tuesday, January 22, 2013 8:04 PMIf you can put together a small standalone repro program, that would be great.
-
Tuesday, January 29, 2013 10:41 PM
We reproduced the crash on an AMD 4800 and after installing the IE10 preview. Also, there is a correction. The Nvidia machine used a 9800 GTX+.
We'll try putting together a standalone program for you.
-
Wednesday, January 30, 2013 1:19 AMI now have a repro program. How should I deliver it to you?


