Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enumerate physical available outputs #91

Open
yannickModulo opened this issue Jul 19, 2024 · 3 comments
Open

Enumerate physical available outputs #91

yannickModulo opened this issue Jul 19, 2024 · 3 comments

Comments

@yannickModulo
Copy link

yannickModulo commented Jul 19, 2024

Hi,

I need to be able to list the available outputs of the graphics card in the physical order. When I use CltEnumerateDisplayOutput, i have 25 outputs listed. It's easy to find the connected output with CTL.....DISPLAY_ACTIVE and CTL....DISPLAY_ATTACHED. but I don't find a way to know which of the 25 outputs is physically available and more over it seems that active display are listed first. I need to have a list in physical order of the display to allow forcing EDID on specific connected or unconnected output.

@saumyajyoti-mukherjee
Copy link

Hi @yannickModulo, currently there is no direct correspondence between OS Display list vs IGCL list. The Target ID will be same. The physical port also cannot be guaranteed to be in same numbered order across different designs. So, even though the IGCL lists item in order of Physical port numbers, it may not be in same physical order in board.
Some display properties like output type/Connector types can be used to get some idea on the display type.

@saumyajyoti-mukherjee
Copy link

The OS aware Target ID (QueryDisplayConfig returned value) will match the Intel Control API display properties returned handle Os_display_encoder_handle, as mentioned in previous comment also.
Additionally, you may use OS API to query desktop relative coordinates to get an idea on the target id and the corresponding monitor.

@ashutosh-d-shukla
Copy link
Contributor

@yannickModulo let us know if the suggestions have helped to resolve your query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants