[GSD-13016] Sysman events are not supported with the release packages
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 58/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- cmake, cpp, linux
- Bereich
- build-system, operating-systems
Rechercherichtung
Beginne mit level_zero/tools/source/sysman/linux/udev/CMakeLists.txt und der Konfiguration für das Release-Paketieren, und baue dann zello_sysman unter Ubuntu 24.04 gegen die Release-Bibliotheken. Vergleiche die Release-Binärdateien mit den lokal gebauten Binärdateien auf libudev-Unterstützung und führe zello_sysman mit ZELLO_SYSMAN_USE_ZESINIT=1 aus; abgeschlossen ist die Aufgabe, wenn Release-Pakete sysman-Ereignisse unterstützen und das Warten auf Ereignisse sich wie beim lokalen Build verhält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Pre-submission Checklist
- I am using the latest GPU driver version (releases)
- I have searched for similar issues and found none
GPU Hardware
Intel Arc B580
DRI Devices Information
n/a
GPU Detailed Information (lspci output)
n/a
Driver Version
26.22.38646.4
Installed GPU Driver Packages
$ dpkg --list | grep -iE "libze"
ii libze-dev 1.31.0 amd64 oneAPI Level Zero
ii libze-intel-gpu1 26.22.38646.4-0 amd64 Intel(R) Graphics Compute Runtime for oneAPI Level Zero.
ii libze1 1.31.0 amd64 oneAPI Level Zero
Driver Installation Details
With dpkg/apt
Linux Distribution
Ubuntu 24.04 LTS
Other Linux Distribution
No response
Kernel Version & Boot Parameters
n/a
Actual Behavior
I installed the latest release packages to a 24.04 Ubuntu system (https://github.com/intel/compute-runtime/releases/tag/26.22.38646.4) and built the zello_sysman tool from the same sources.
When I run the tool against the release packages I get this behavior:
$ export PrintDebugMessages=1
$ export NEOReadDebugKeys=1
$ sudo -E ZELLO_SYSMAN_USE_ZESINIT=1 ./workspace/compute-runtime/build/bin/zello_sysman -E
ZES_ENABLE_SYSMAN environment variable Not Set
WARNING: Failed to request OCL Turbo Boost
WARNING: Failed to request OCL Turbo Boost
Sysman Initialization done via zesInit
libudev library instantiation failed
The key line being the last libudev library instantiation failed. The execution also takes only <1sec, while it should wait for events.
When I run the same tool against compute-runtime libraries that I built myself:
$ sudo -E LD_LIBRARY_PATH=./workspace/compute-runtime/build/bin ZELLO_SYSMAN_USE_ZESINIT=1 ./workspace/compute-runtime/build/bin/zello_sysman -E
ZES_ENABLE_SYSMAN environment variable Not Set
WARNING: Failed to request OCL Turbo Boost
WARNING: Failed to request OCL Turbo Boost
Sysman Initialization done via zesInit
No line about libudev and the execution takes 10 seconds.
When checking the binaries for udev strings:
$ strings /usr/lib/x86_64-linux-gnu/libze_intel_gpu.so.1 | grep -E udev
libudev library instantiation failed
:~/workspace/compute-runtime/build$ strings bin/libze_intel_gpu.so | grep -E "udev"
libudev.
libudev.
udev_monitor_new_from_netlink
udev_monitor_enable_receiving
udev_monitor_get_fd
udev_monitor_receive_device
udev_device_get_devnum
udev_device_get_action
udev_device_unref
libudev library instantiation failed
udev_monitor_filter_add_match_subsystem_devtype
udev_device_get_property_value
udev_new
udev_new
...
My binary has udev strings while the release binary does not. Looking at the level_zero/tools/source/sysman/linux/udev/CMakeLists.txt file, the compilation is conditional based on if libudev is found. Most likely the build env doesn't have libudev-dev thus the releases never support sysman events.
Expected Behavior
Release version of compute runtime should support sysman events.
Reproduction Rate
Always reproduces - 100%
Steps to Reproduce
- Install compute-runtime and its dependencies
- Build zello_sysman
- Run zello_sysman
$ export PrintDebugMessages=1
$ export NEOReadDebugKeys=1
$ sudo -E ZELLO_SYSMAN_USE_ZESINIT=1 ./zello_sysman -E
- The execution should wait for events (~10sec) or stop on an event.
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
- Vorherrschende Sprache
- C++
- Sterne
- 1.5k
- Forks
- 303
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus intel/compute-runtime
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
intel/compute-runtime#943 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 12/100
intel/compute-runtime#1026 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
intel/compute-runtime#1024 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 1/100
intel/compute-runtime#1022 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
intel/compute-runtime#1019 ·
Alle Issues in intel/compute-runtime
Ähnliche Issues
-
accessibility good first issue hacktoberfest help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
OpenChemistry/avogadrolibs#3184 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Tracktion/tracktion_engine#475 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
redis/memtier_benchmark#732 ·
Maintainer antworten meist innerhalb von 1 Tag
-
binding:web core docs p3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
RunanywhereAI/runanywhere-sdks#1123 ·
Maintainer antworten meist innerhalb von 1 Tag
-
ai_p3 comp-data-types
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
ClickHouse/ClickHouse#126316 ·
Maintainer antworten meist innerhalb von 1 Tag