intel / intel/compute-runtime

[GSD-12710] Missing zes_pwr_handle_t for iGPUs on Linux

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

Description

### Pre-submission Checklist

- [x] I am using the latest GPU driver version ([releases](https://github.com/intel/compute-runtime/releases))
- [x] I have searched for similar issues and found none

### GPU Hardware

Intel iGPUs (UHD 770, Alder Lake, Meteor Lake, Lunar Lake)

### DRI Devices Information

-

### GPU Detailed Information (lspci output)

-

### Driver Version

26.14.37833.4

### Installed GPU Driver Packages

_No response_

### Driver Installation Details

Followed installation instructions from here: https://github.com/intel/compute-runtime/releases/tag/26.14.37833.4

### Linux Distribution

Ubuntu 24.04 LTS

### Other Linux Distribution

_No response_

### Kernel Version & Boot Parameters

kernel 6.17.0-22-generic

### Actual Behavior

Issue moved from https://github.com/oneapi-src/level-zero/issues/441

Sysman power reporting on iGPUs (Alder Lake, Meteor Lake, Lunar Lake) works on Windows but is broken on Linux:
| counter on Intel iGPUs | Windows | Linux |
| :-------- | :--------- | :------ |
| `zesDeviceGetCardPowerDomain()` | ❌ returns `ZE_RESULT_ERROR_UNSUPPORTED_FEATURE` | ❌ returns `ZE_RESULT_ERROR_UNSUPPORTED_FEATURE` |
| `zesDeviceEnumPowerDomains()` | ✅ returns `ZE_RESULT_SUCCESS` and returns one valid `zes_pwr_handle_t` | ❌ returns `ZE_RESULT_SUCCESS` but no `zes_pwr_handle_t` |

### Expected Behavior

iGPU power counters should also be available on Linux.

### Reproduction Rate

Always reproduces - 100%

### Steps to Reproduce

For debugging you may use https://github.com/ProjectPhysX/hw-smi

### Is this a regression?

- [ ] Yes, this is a regression - functionality that previously worked is now broken

### Last Known Working Driver Version

_No response_

### First Known Failing Driver Version

_No response_

### API Call Logs

_No response_

### strace Logs

_No response_

### System Logs / dmesg Output

_No response_

### Backtrace (if crash or hang occurred)

_No response_

### Source Code / Reproducer

_No response_

### Command Line / Application Details

_No response_

### oneAPI Version (if applicable)

_No response_

### Screenshots / Video

_No response_

### Additional Notes

_No response_

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.