cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nareshsankapelly
Journeyman III

AMD Display Library : Switching from EXTENDED desktop mode to duplicate mode

Hi there,

I am trying to enable eyefinity. For that first I want to switch from extended to Duplicate Display Group Status. For switching from EXTENDED mode to DUPLICATE mode first I am using ADL_Display_DisplayMapConfig_Get to get the display targets and display maps and then I am setting iDisplayMapValue of display map to ADL_DISPLAY_DISPLAYMAP_MANNER_CLONE but there is no change in the display Mode. Following is the code snippet.

          if (ADL_OK != ADL_Display_DisplayMapConfig_Get( lpAdapterInfo[iCurrentAdapter].iAdapterIndex,

&iNumDisplayMap, &lpDisplayMap,

                                                                     &iNumDisplayTarget, &lpDisplayTarget,

                                                                     ADL_DISPLAY_DISPLAYMAP_OPTION_GPUINFO ) )

         {

PRINTF("ADL_Display_DisplayMapConfig_Get() failed\n");

iReturnValue = FALSE;

break;

         }

lpDisplayMap->iDisplayMapValue = ADL_DISPLAY_DISPLAYMAP_MANNER_CLONE;

         if(ADL_OK !=  ADL_Display_DisplayMapConfig_Set( lpAdapterInfo[iCurrentAdapter].iAdapterIndex,

iNumDisplayMap,

lpDisplayMap,

iNumDisplayTarget,

lpDisplayTarget    ))

        {

PRINTF("ADL_Display_DisplayMapConfig_Set Cloning Desktops failed\n");

        }

I am not getting what I am doing wrong here. Any help, suggestions are appreciated.

0 Likes
1 Reply
thesunnycrow
Journeyman III

the api also says:

Call ADL_Flush_Driver_Data() after to persist settings on reboot.

0 Likes