Direct3D 11 Swap-Chain Madness

Started by
21 comments, last by Jason Z 9 years, 9 months ago
I have checked permissions and all are fine.
When I change settings in DirectX Control Panel it updates in the registry.

I also changed registry items manually to 1, such as LoadDebugRuntime. Even doing that, nothing happens when I start my test program.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Advertisement

I usually avoid all the craziness of the control panel by just creating the device with the debug flag - then you have no question whether it is enabled or not.

I can’t use D3D11_CREATE_DEVICE_DEBUG without the Windows SDK 8 installed, something I fear doing considering apparently some things have to be done through Visual Studio 2012 (which I do not have).


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

I can’t use D3D11_CREATE_DEVICE_DEBUG without the Windows SDK 8 installed, something I fear doing considering apparently some things have to be done through Visual Studio 2012 (which I do not have).


L. Spiro

VS 2012 makes it easier to launch these applications, you can still just manually go into the SDK directory and launch the tool you need from there.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max, Watch Dogs: Legion

I can’t use D3D11_CREATE_DEVICE_DEBUG without the Windows SDK 8 installed, something I fear doing considering apparently some things have to be done through Visual Studio 2012 (which I do not have).


L. Spiro

I guess I'm going off topic here, but I exclusively use VS2012 Express for Windows Desktop at work for my visualization tools. Is there a substantive reason you don't want to upgrade? My applications are targeting Windows 7+, so if you are using D3D11 then that should be ok for you too.

When I made the switch off of the DXSDK, it was essentially to remove my D3DX dependencies and find an alternative way to load textures. If you are working in a cross platform engine, I would assume you have both of these topics covered already, so why not upgrade? Each version of 2012 provides performance and bug fixes for the toolset and libraries, so there is a reason to upgrade. Plus newer C++11/14 features are being added in each release which is also a nice bonus...

I had assumed without checking that it would not be free.
Apparently I was wrong: http://www.microsoft.com/en-us/download/details.aspx?id=30682
I downloaded it last night but have yet to install or convert my projects.

But why do you use the express version? It appears the professional version is free.


L. Spiro


[EDIT]
Just tried it on another computer.

DXGI ERROR: IDXGISwapChain::Release: Swapchain Released while fullscreen. Switch it to the windowed state first. [ MISCELLANEOUS ERROR #66: ]
LSTest.exe ? 0x000007fefd4b940d ?????????????: 0x0000087A: 0x87a

I guess that explains the error then.
[/EDIT]

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

I wasn't aware that the Pro version was free - do you have a link showing where that is stated? We have been using the express editions because of the licensing cost, but of course if the Pro SKU is available then I would upgrade to that. I would be really surprised if that isn't a time limited demo for free, otherwise why would they even have the Express SKU???

So now you have the root cause of the issue, right? So no further need for debugging there?

I looked all over to see if it isn’t free. It doesn’t seem to specify either way there.
I just downloaded without installing, but now I see people on http://stackoverflow.com/ saying it is a 90-day trial.

The reason I never get express editions is because the first Visual Studio I had was express and on every start-up it would show a pop-up saying so. It basically scarred me for life with a majorly mega-bad impression imprinted on me for all eternity. When I die and my atoms fall into a sun in a billion years that sun will have a distaste for express editions of Visual Studio.


As for the problem at hand, it seems solved. I am just not at home and can’t work on it, but 99.9% I know what to do when I get home.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

We have been using the express editions because of the licensing cost, but of course if the Pro SKU is available then I would upgrade to that.

Off topic - but apply to BizSpark and they'll give you free keys for every version of Visual Studio.

I downloaded it last night but have yet to install or convert my projects.

IIRC, VS2012 is the first version that gives you the option of not converting your projects (assuming you're using an older Visual Studio at the moment).
e.g. you can use a VS2010 project file, and then work on it in both VS2010 and VS2012 without having to convert it.

Do you really have to use VS2012 to use that debug flag though? Or can you use whatever IDE you want just as long as the platform SDK has been installed on your PC some time?


Off topic - but apply to BizSpark and they'll give you free keys for every version of Visual Studio.

I work at a company that has roughly 300,000 employees, so I'm pretty sure BizSpark is out of the question :) Thanks for the suggestion though!

Regarding the debug flag, I was not aware that there were any restrictions about which version of the SDK had to be installed. I added the debug flag in debug builds in one of the earliest versions of Hieroglyph 3, which was created when D3D11 was still a CTP...

This topic is closed to new replies.

Advertisement