intel / intel/compute-runtime

[GSD-11563] Error when retrieve ``zesDeviceGetProperties` on Windows MTL iGPU device

Open
#713 3 comments 0 reactions 0 assignees View on GitHub
Component: Level Zero Sysman Status: Backlog Type: Bug
Dominant language
C++
Stars
1.4k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

Hi all, I encountered an issue where I could not retrieve the device `modelName` using `zesDeviceGetProperties` on Windows MTL iGPU (but it works well on Linux Arc770).

**Platform**: Core Ultra5 iGPU (Arc Graphics)
**Os**: Windows 11
**iGPU Driver**: 31.0.101.5333

Normally, by initializing the gpu driver with **`zesInit`**, I can successfully discover all the driver instances and get the properties of the driver instance (**`props.modelName`**).

For example, this code can run correctly on Linux Arc770, where I can get the following output:

```makefile
discovered 1 Level-Zero drivers
discovered 1 Level-Zero devices
[0] oneAPI device name: Intel(R) Arc(TM) A770 Graphics
[0] oneAPI brand: unknown
[0] oneAPI vendor: Intel(R) Corporation
[0] oneAPI S/N: unknown
[0] oneAPI board number: unknown
discovered 1 Level-Zero memory modules
```

However, on Windows MTL iGPU, **`props.modelName`** is an empty value, and it could not find any Level-Zero memory modules.
```makefile
discovered 1 Level-Zero drivers
discovered 1 Level-Zero devices
[0] oneAPI device name:
[0] oneAPI brand:
[0] oneAPI vendor:
[0] oneAPI S/N: unknown
[0] oneAPI board number: unknown
discovered 0 Level-Zero memory modules
```

For more details about my implementation, you may see my below comment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.