intel / intel/compute-runtime

[GSD-12709] Even more counters in Sysman are broken on Arc Alchemist

Open
#926 9 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 Arc A750

### DRI Devices Information

-

### GPU Detailed Information (lspci output)

-

### Driver Version

26.05.37020.3

### 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/440

Plugging in my trusty Intel Arc A750 for more testing, I found many more broken Sysman counters specifically for Arc Alchemist GPUs, additionally to the broken counters reported in https://github.com/oneapi-src/level-zero/issues/434:
| counter on Arc A750 | Windows | Linux |
| :-------- | :--------- | :------ |
| `zes_mem_bandwidth_t::maxBandwidth` | ❌ wrongly reports max bandwidth in bits/s, not bytes/s | ❌ returns 0 |
| `zes_mem_bandwidth_t::readCounter/writeCounter/timestamp` | ✅ works | ❌ always return 0 |
| `zesDeviceEnumTemperatureSensors()` | ✅ works | ❌ `zesDeviceEnumTemperatureSensors()` function returns `ZE_RESULT_SUCCESS` but returns 0 `zes_temp_handle_t`'s |
| `zesTemperatureGetState()` | ⚠ works, but suffers with frequent value dropouts to 0 | ❔ cannot test because no `zes_temp_handle_t`'s |
| `zes_fan_handle_t` | ✅ works | ❌ broken (no fans available) |
| `ZES_FREQ_DOMAIN_MEMORY` | ✅ available | ❌ unavailable |
| `zes_freq_state_t::actual` for `ZES_FREQ_DOMAIN_MEMORY` | ❌ returns frequency in MT/s, not MHz (a factor 8 too large for GDDR6) | ❌ unavailable |
| `zesDeviceGetCardPowerDomain()` | ❌ returns `ZE_RESULT_ERROR_UNSUPPORTED_FEATURE`, workaround with `zesDeviceEnumPowerDomains()` required | ❌ returns `ZE_RESULT_ERROR_UNSUPPORTED_FEATURE`, workaround with `zesDeviceEnumPowerDomains()` required|
| `zes_pci_stats_t::txCounter/rxCounter/timestamp` | ❌ return 0 | ❌ return 0 |

For Arc Alchemist on Windows, at least no administrator permissions are required.

### Expected Behavior

All Sysman counters should work and none of them should require sudo / administrator permissions.

### 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.