cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

qtnext
Journeyman III

setup eyeinfinity using adl

I have tryed the code bellow.

but it always return result==-1... I don't know what can I do? I have search over forum and find no answer ... I try to setup a dual screen eye  infinity horizontal 1920x1200@50fps.

    int option=0;

            int mapindex=0;

            ADLSLSMap  slsmap;

            ADLSLSTarget  slsTarget;

            slsmap.iAdapterIndex=iAdapterIndex;

            slsmap.iSLSMapIndex=0;

            slsmap.grid.iAdapterIndex=iAdapterIndex;

            slsmap.grid.iSLSGridColumn=2;

            slsmap.grid.iSLSGridRow=1;

            slsmap.grid.iSLSGridMask=0;

            slsmap.grid.iSLSGridValue=0;

            slsmap.grid.iSLSGridIndex=0; // ?

            slsmap.iSurfaceMapIndex=0; // ?

            slsmap.iOrientation=0;

            slsmap.iNumSLSTarget=2;

            slsmap.iFirstSLSTargetArrayIndex=0;

            slsmap.iNumNativeMode=3;

            slsmap.iFirstNativeModeArrayIndex=0;

            slsmap.iNumBezelMode=0;

            slsmap.iFirstBezelModeArrayIndex=0;

            slsmap.iNumBezelOffset=0;

            slsmap.iFirstBezelOffsetArrayIndex=0;

            slsmap.iSLSMapMask=31;

            slsmap.iSLSMapValue=1;

            slsTarget.iAdapterIndex=iAdapterIndex;

            slsTarget.iSLSMapIndex=0;

            slsTarget.iSLSGridPositionX=0;

            slsTarget.iSLSGridPositionY=0;

            slsTarget.iSLSTargetMask=0;

            slsTarget.iSLSTargetValue=0;

 

            slsTarget.displayTarget.iDisplayMapIndex=0;

            slsTarget.displayTarget.iDisplayTargetMask=0;

            slsTarget.displayTarget.iDisplayTargetValue=0;

            slsTarget.displayTarget.displayID.iDisplayLogicalAdapterIndex=0;

            slsTarget.displayTarget.displayID.iDisplayPhysicalAdapterIndex=0;

            slsTarget.displayTarget.displayID.iDisplayLogicalIndex=5;

            slsTarget.displayTarget.displayID.iDisplayPhysicalIndex=5;

            slsTarget.viewSize.iAdapterIndex=iAdapterIndex;

            slsTarget.viewSize.fRefreshRate=50;

            slsTarget.viewSize.iXPos=0;

            slsTarget.viewSize.iYPos=0;

            slsTarget.viewSize.iXRes=1920;

            slsTarget.viewSize.iYRes=1200;

            slsTarget.viewSize.iColourDepth=0;

            slsTarget.viewSize.iOrientation=0;

            slsTarget.viewSize.iModeFlag=0;

            slsTarget.viewSize.iModeMask=0;

            slsTarget.viewSize.iModeValue=0;

            slsTarget.viewSize.displayID.iDisplayLogicalIndex=0;

            slsTarget.viewSize.displayID.iDisplayLogicalAdapterIndex=0;

            slsTarget.viewSize.displayID.iDisplayPhysicalIndex=0;

            slsTarget.viewSize.displayID.iDisplayPhysicalAdapterIndex=0;

            result=ADL_Display_SLSMapConfig_Create(iAdapterIndex,slsmap,2,&slsTarget,0,&mapindex,option);

            if(result==ADL_OK)

            {

 

            }

0 Likes
2 Replies
qtnext
Journeyman III

Is there any sample available to setup a basic 2x1 eye infinity with ADL_Display_SLSMapConfig_Create and ADL_Display_SLSMapConfig_SetState

I have search on internet ,amd forum .. there is no information and the sdk manual is not very good documented ...

0 Likes
qtnext
Journeyman III

I wants to check what eyeinfinity sample (in adl sdk) return ... and I have setup my card to double screen 2x1 infinity with the catalyst panel ( If I launch AMDGPUServices eyeinfinity info sample it returns that eyeinfinity is on!) ...

When I launch the adl eyeinfinity sample to look at ADLSLSTarget  and map ... the apps returns saying there is no eyeinfinity setup !!! I am sure that eyeinfinity works ... is this sample working ?

0 Likes