I Try to use python and c6++ to retrieve info of desktop screen.
But can not get the info of MOSAIC TOPOLOGY GPU DISPLAY POSITION. IS THERE ANY FUNCTION OR METHOD TO GET THAT INFO?
Hi carlosstarw,
Thanks for the question.
You can use NVAPI to get information about the MOSIAC topology.
The function:
NvAPI_Mosaic_EnumDisplayGrids
will return the topology information for the Display grid.
Is there anyway to use NVAPI from python or c++?
Is there anyway to use NVAPI from python or c++? in windows?
I test with python but still can not connect to NVAPI
Or can we use ConfigureMosaic to retrieve NvAPI_Mosaic_EnumDisplayGrids data?
configureMosaic.exe listconfigcmd
This will give you the current MOSAIC setup.
NVAPI should work with c++ - I don’t know of it working with python.
configureMosaic.exe set rows=1 cols=1 width=1920, height=1080, freq=60, rr=60.000000out=0,0 rotate=0 nextgrid rows=1 cols=1 width=1920, height=1200, freq=59, rr=60.000000out=0,1 rotate=0 nextgrid rows=1 cols=1 width=1920, height=1200, freq=59, rr=60.000000out=0,2 rotate=0
I can have the mosaic info. like this. but I can not know actually position of display. how can I get relation between mosaic info. and Display info
Display info example.
Display 1 out=0,1 Geometry Position = 0, 1200, Display 1 out=0,2 Geometry Position = 1920, 1200
How to have the mosaic info. and monitor ID.
Use listconfigcmd only can have mosaic setup but can not have monitor ID.
is that correct to get the correspondence relation between the configuremosaic.exe listconfigcmd and configuremosaic.exe query current?
configureMosaic.exe set rows=1 cols=1 width=1920, height=1080, freq=60, rr=60.000000out=0,0 rotate=0 nextgrid rows=1 cols=1 width=1920, height=1200, freq=59, rr=60.000000out=0,1 rotate=0 nextgrid rows=1 cols=1 width=1920, height=1200, freq=59, rr=60.000000out=0,2 rotate=0
Hi carlosstarw,
I am not sure I understand your question. Have you tried running
configuremosaic.exe listconfigcmd
Can you share the output from your machine and what is missing with respect to what you are looking for.
thanks
-D-
Can you please explain what have you written in the above code as I want to set 1x3 display but it doesnt spans in order like physically how my monitors are connected I can see that but when I run the configureMosaic.exe with row, col, resolution like parameters it doesnt spans in order.
Is there any way that I can set the position also like if the monitor IDs are 213 then it spans like that only using a utility.