WDDM DxgkDdiSetVidPnSourceVisibility not Called.

Hi Devs…

We are trying to write our first WDDM v1.0 driver and have it loading and staying enabled in Windows 7… Our adapter card has no VGA hardware so we bring up the system and desktop on an Nvidia or Intel board. Since our adapter card has two HD15 heads and we report two children back to the OS we see three monitors in the Control Panel Application. Like most every one else, we also see numerous calls to DxgkDdiIsSupportedVidPn() and DxgkDdiEnumVidPnCofuncModality()…

The biggest problem we have right now is that our DxgkDdiSetVidPnSourceVisibility() function is never called so we can’t even set the video mode.

NOTE: The resolutions for our two monitors are greyed out in the Control Panel App.

Our driver is based upon the ATI r200 Sample source as that was all we have to go with…

Do you know what we are doing wrong or have any suggestions?

Does Dxgkrnl log shows any interesting reason related to this failure?

you can print it via !dxglog -dump command in dxgkdx extension.

Thanks.

I have not heard of this dxgkdx extension before… Is it dxgkdx.dll? Can you tell me how to downolad or locate that file?

This is extension dll that comes as part of Windows OS build and not as part of Windbg. You would need to search the OS build you have or contact your Microsoft contacts to get it. This is extermely helpful extension dll meant only for debugging Graphics Subsystem issues.

Do you see your driver getting modeset call because DxgkDdiSetVidPnSourceVisibility would come only after DxgkDdiCommitVidpn call has successfullly passed by your driver.

I am not getting a DxgkDdiCommitVidpn() call either… Still can’t locate dxgkdx.dll and now I really want it all the more… :slight_smile: