Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20498 Discussions

Intel HD Graphics, set Dual clone monitors via c++

idata
Employee
1,665 Views

I am trying to programmatically set a dual-clone configuration via SetDisplayConfig(), ChangeDisplaySettingsEx() or some other method and am unable to. I know this config can be achieved via the Intel HD Graphics Control Panel. How can I do this via C/C++ code? Or some other programmatic way?

We are running the following config in for an embedded product:

- WES7 (though eventually Win10 and this behavior is also the same for standard Win7)

- Intel Graphics driver v10.18.14.4414

- Intel Celeron 2980u

- Intel HD Graphics

I can easily enable/disable one of our external monitors via SetDisplayConfig() or ChangeDisplaySettingsEx(). However, I am unable to "activate" the second monitor via my application. I can, however, activate both external monitors via the Intel HD Graphics Control Panel. Is there an interface that can be leveraged to enable dual external cloned monitors (cloning the internal primary display)? All have the same resolution.

I can see all the monitors enumerated via EnumDisplayMonitors(), but one of the two external devices' StateFlags does not have the "DISPLAY_DEVICE_ACTIVE" bit set. Also, from QueryDisplayConfigDBCurrent(), I don't see the 2nd external monitor listed as a target in the VidPN. But I can't find a way to select it and activate it.

I need to activate the 2nd monitor to essentially have 3 cloned screens w/out the user going in through the intel graphics control panel.

We are not using the IEGD as it isn't supported any more.

Any insight is appreciated.

0 Kudos
4 Replies
idata
Employee
694 Views

Thank you for joining the Graphics Community.

If you would like to get more feedback in regard to your C++ programming inquiry try posting here https://software.intel.com/en-us/forums/intel-c-compiler Intel® C++ Compiler and for your embedded inquiry you might be able to get more answers here https://embedded.communities.intel.com/community/en Forum: Embedded Community |Embedded Community.The support provided by this channel focuses in troubleshooting for desktop and mobile solutions; therefore, I believe these two places can be more helpful.

Regards,

Amy.

0 Kudos
idata
Employee
694 Views

Thanks. I'll try the embedded community, though this isn't a true "embedded" question and it's completely unrelated to compilers.

0 Kudos
idata
Employee
694 Views

I wouldn't mark this as "correct". It's not. It's a redirect to another forum in hopes they have insight.

As mentioned in the question: This behavior is present on standard Windows 7 OS installations. That it happens to be WES7 also is actually immaterial. You can take a standard Win7 installation with the mentioned CPU/Graphics combo. Add the latest Intel graphics driver and you can clone 1 monitor through the OS but 2 through the Intel graphics control panel. Clearly there is an interface to do this. What is that interface? Is it public? I can't find docs anywhere.

Thank.

-Eric

0 Kudos
idata
Employee
694 Views

This "interaction", as you called it is related to different aspects that can include the processor, motherboard, graphics controller and operating system. We will need to look into what you are asking in order to provide you with more information. From our end there are several documents and sites that might help you in regard to your inquiry, see the links below;

https://software.intel.com/en-us/articles/intel-graphics-developers-guides Intel® Processor Graphics | Intel® Software

https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel Developing Games & Graphics on Intel

http://www.intel.com/content/www/us/en/processors/architectures-software-developer-manuals.html Intel® 64 and IA-32 Architectures Software Developer Manuals

https://software.intel.com/sites/default/files/m/d/4/1/d/8/Intel_Integrated_Graphics_Performance_Developer_s_Guide_v2_7_1..pdf https://software.intel.com/sites/default/files/m/d/4/1/d/8/Intel_Integrated_Graphics_Performance_Developer_s_Guide_v2_7_

Bear in mind that the links mentioned above are supported by Intel® Developer Zone, so if you require further assistance you will have to contact them. See here for the main site https://software.intel.com/en-us Intel® Software.

Regards,

Amy.

0 Kudos
Reply