1 Reply Latest reply on May 16, 2013 5:23 AM by thesunnycrow

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

    nareshsankapelly

      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.