Hello lavusedu,
I looked into the combine or independent mode setting for vulkan, I got:
option->affinityMode = __VK_MGPU_AFFINITY_COMBINE;
option->affinityCoreID = 0
gcoOS_GetEnv(gcvNULL, "VIV_MGPU_AFFINITY", &affinity);
if (affinity)
{
gctSIZE_T length;
gcoOS_StrLen(affinity, &length);
if (length >= 1)
{
if (affinity[0] == '0')
{
option->affinityMode = __VK_MGPU_AFFINITY_COMBINE;
}
else if ((affinity[0] == '1') && (affinity[1] == ':'))
{
if ((affinity[2] != '0') || (affinity[2] != '1'))
{
option->affinityMode = __VK_MGPU_AFFINITY_INDEPENDENT;
option->affinityCoreID = affinity[2] - '0';
}
}
}
}
I feel the code has a bug, in line if ((affinity[2] != '0') || (affinity[2] != '1')), I think it should be
if ((affinity[2] == '0') || (affinity[2] == '1'))
It seems to me that the above code will always set gpu to be combined mode if following the variable setup in the graphics manual.
Can you try export
export VIV_MGPU_AFFINITY=1:2,
to see if you have the application running only on gpu 1?
In the mean time, The developers will work on this issue.
Regards