Skip to content

Multi-GPU readouts not working #124

@Solaris17

Description

@Solaris17

Hello!

I compiled version v247 as I was using an older version of Sample_ControlAPP.cpp.

However I noticed what appears to be an issue in which it will not enumerate all GPUs detected.

This is the output of the "new" v247:

PS C:\Users\Test-Server\Downloads> .\Intel-API.exe
IGCL Version in platform: 1.1
ctlEnumerateDevices returned 2 adapters
ctlEnumerateDevices returned 2 adapters


*** Testing adapter #0 ***
Adapter ID 99672
Intel Graphics Driver Version : 32.0.101.7028
GOP Version : 20.0.1068
Intel Adapter Name: Intel(R) Arc(TM) A310 LP Graphics
Vendor ID: 0x8086
Device ID: 0x56A6
SubSys id 0x4019
SubSys Vendor id 0x172F
Rev ID: 0x5
Graphics Frequency: 1000MHz
num_eus_per_sub_slice: 16
num_slices: 2
num_sub_slices_per_slice: 3
num_xe_cores: 6
Graphics HW type: External GFX
adapter_bdf.bus:201
adapter_bdf.device:0
adapter_bdf.function:0
Couldn't get P0 from L0. Freq domains = 0, Error = 0x40000019
ctlEnumerateDisplayOutputs returned 0 encoders
Overrall test result is 0x0
PS C:\Users\Test-Server\Downloads>

This correctly detects an A310 in the system. However; there are multiple GPUs in this system.

The following is the older build (what I believe to be v207 or v210)

PS C:\Users\Test-Server\Downloads> .\Intel-API-Orig.exe
IGCL Version in platform: 1.1
ctlEnumerateDevices returned 2 adapters
ctlEnumerateDevices returned 2 adapters


*** Testing adapter #0 ***
Adapter ID 99672
Intel Graphics Driver Version : 32.0.101.7028
GOP Version : 20.0.1068
Intel Adapter Name: Intel(R) Arc(TM) A310 LP Graphics
Vendor ID: 0x8086
Device ID: 0x56A6
SubSys id 0x4019
SubSys Vendor id 0x172F
Rev ID: 0x5
Graphics Frequency: 1000MHz
num_eus_per_sub_slice: 16
num_slices: 2
num_sub_slices_per_slice: 3
Graphics HW type: External GFX
adapter_bdf.bus:201
adapter_bdf.device:0
adapter_bdf.function:0
Couldn't get P0 from L0. Freq domains = 0, Error = 0x40000019
ctlEnumerateDisplayOutputs returned 0 encoders
ctlGetSupported3DCapabilities returned success. No of gaming features = 8
3D Feature supported: Frame limit (2)
  Feature conflict mask flag: 0x3
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX11
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  Min possible value: 30
  Max possible value: 300
  Step size: 1
  Default value: 60
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 2
3D Feature supported: CMAA (4)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 4
3D Feature supported: Gaming flip modes (9)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 1
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_APPLICATION_DEFAULT
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_VSYNC_OFF
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_VSYNC_ON
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_SMOOTH_SYNC
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_CAPPED_FPS
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 9
3D Feature supported: Application profile (11)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: Yes
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_LIVE_CHANGE
  pCaps->SupportedTierTypes = Compatibility and Performance
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x0 for FeatureType = 11
3D Feature supported: Emulated typed 64 bit atomics (13)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 13
3D Feature supported: global or per app settings (15)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: Yes
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_LIVE_CHANGE
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 15
3D Feature supported: No Name (16)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX11
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 16
3D Feature supported: No Name (17)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 17


*** Testing adapter #1 ***
Adapter ID 98381
Intel Graphics Driver Version : 32.0.101.7028
GOP Version : 20.0.1068
Intel Adapter Name: Intel(R) Arc(TM) A380 Graphics
Vendor ID: 0x8086
Device ID: 0x56A5
SubSys id 0x6004
SubSys Vendor id 0x1849
Rev ID: 0x5
Graphics Frequency: 0MHz
num_eus_per_sub_slice: 16
num_slices: 2
num_sub_slices_per_slice: 4
Graphics HW type: External GFX
adapter_bdf.bus:25
adapter_bdf.device:0
adapter_bdf.function:0
Couldn't get P0 from L0. Freq domains = 0, Error = 0x40000019
ctlEnumerateDisplayOutputs returned 0 encoders
ctlGetSupported3DCapabilities returned success. No of gaming features = 8
3D Feature supported: Frame limit (2)
  Feature conflict mask flag: 0x3
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX11
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  Min possible value: 30
  Max possible value: 300
  Step size: 1
  Default value: 60
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 2
3D Feature supported: CMAA (4)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 4
3D Feature supported: Gaming flip modes (9)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 1
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_APPLICATION_DEFAULT
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_VSYNC_OFF
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_VSYNC_ON
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_SMOOTH_SYNC
  pFeatureDetails->Value.EnumType.SupportedTypes = CTL_GAMING_FLIP_MODE_FLAG_CAPPED_FPS
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 9
3D Feature supported: Application profile (11)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: Yes
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_LIVE_CHANGE
  pCaps->SupportedTierTypes = Compatibility and Performance
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x0 for FeatureType = 11
3D Feature supported: Emulated typed 64 bit atomics (13)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 13
3D Feature supported: global or per app settings (15)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: Yes
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_VULKAN
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_LIVE_CHANGE
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 15
3D Feature supported: No Name (16)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX11
  pFeatureDetails->FeatureMiscSupport = CTL_3D_FEATURE_MISC_FLAG_DX12
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 16
3D Feature supported: No Name (17)
  Feature conflict mask flag: 0x0
  Supported per application: 1
  Supports live change: No
  Default value: 0
Calling ctlGetSet3DFeature()
ctlGetSet3DFeature returned 0x40000014 for FeatureType = 17
Overrall test result is 0x0
PS C:\Users\Test-Server\Downloads>

The older build seems to contain more feature information, but ultimately what is more important is that it is properly enumerating all of the detected devices.

Are there -flags required now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions