Skip to content

driver discovery broken under 1.26 #405

@mikebonnet

Description

@mikebonnet

It looks like 1.26 broke driver discovery on Fedora 43 x86_64. Using 1.25.2 I would see:

ZE_LOADER_DEBUG_TRACE:Static Loader Using Loader Library Path: 
[2025-12-17 19:06:59.168] [ze_loader] [info] Loader Version 1.25.2  - No git SHA found, compiled outside git folder.
ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: 
[2025-12-17 19:06:59.168] [ze_loader] [trace] Using Loader Library Path: 
ZE_LOADER_DEBUG_TRACE:DDI Driver Extension Path is Enabled
[2025-12-17 19:06:59.168] [ze_loader] [trace] DDI Driver Extension Path is Enabled
ZE_LOADER_DEBUG_TRACE:Loading Driver libze_intel_gpu.so.1 succeeded from: /lib64/libze_intel_gpu.so.1
[2025-12-17 19:06:59.183] [ze_loader] [trace] Loading Driver libze_intel_gpu.so.1 succeeded from: /lib64/libze_intel_gpu.so.1

After updating to 1.26.1:

# dnf upgrade oneapi-level-zero
Updating and loading repositories:
 Intel® oneAPI repository                                                                                                                                                  100% |  10.6 KiB/s |   3.5 KiB |  00m00ss
 Fedora 43 - x86_64                                                                                                                                                         100% |  14.3 KiB/s |  32.0 KiB |  00m02s
 Fedora 43 - x86_64 - Updates                                                                                                                                               100% |  26.1 KiB/s |  30.0 KiB |  00m01s
Repositories loaded.
Package                                                                 Arch             Version                                                                  Repository                                    Size
Upgrading:
 oneapi-level-zero                                                      x86_64           1.26.1-1.fc43                                                            updates                                    2.6 MiB
   replacing oneapi-level-zero                                          x86_64           1.25.2-1.fc43                                                            updates                                    2.6 MiB

Transaction Summary:
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 632 KiB. Need to download 632 KiB.
After this operation, 25 KiB extra will be used (install 3 MiB, remove 3 MiB).
Is this ok [y/N]: y
[1/1] oneapi-level-zero-0:1.26.1-1.fc43.x86_64                                                                                                                              100% | 364.7 KiB/s | 631.9 KiB |  00m02s
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                                                                 100% | 364.0 KiB/s | 631.9 KiB |  00m02s
Running transaction
[1/4] Verify package files                                                                                                                                                  100% |   1.0 KiB/s |   1.0   B |  00m00s
[2/4] Prepare transaction                                                                                                                                                   100% |  80.0   B/s |   2.0   B |  00m00s
[3/4] Upgrading oneapi-level-zero-0:1.26.1-1.fc43.x86_64                                                                                                                    100% | 431.8 MiB/s |   2.6 MiB |  00m00s
[4/4] Removing oneapi-level-zero-0:1.25.2-1.fc43.x86_64                                                                                                                     100% |  99.0   B/s |  18.0   B |  00m00s
Complete!

I see:

ZE_LOADER_DEBUG_TRACE:Static Loader Using Loader Library Path: 
[2025-12-17 19:07:40.941] [ze_loader] [info] Loader Version 1.26.1  - No git SHA found, compiled outside git folder.
ZE_LOADER_DEBUG_TRACE:Using Loader Library Path: 
[2025-12-17 19:07:40.941] [ze_loader] [trace] Using Loader Library Path: 
ZE_LOADER_DEBUG_TRACE:DDI Driver Extension Path is Enabled
[2025-12-17 19:07:40.941] [ze_loader] [trace] DDI Driver Extension Path is Enabled
ZE_LOADER_DEBUG_TRACE:0 Drivers Discovered
[2025-12-17 19:07:40.941] [ze_loader] [trace] 0 Drivers Discovered
[2025-12-17 19:07:40.941] [ze_loader] [error] 0 Drivers Discovered
ZE_LOADER_DEBUG_TRACE:ze_lib Context Init() Loader Init Failed with ZE_RESULT_ERROR_UNINITIALIZED

It looks like the issue might be:

https://github.com/oneapi-src/level-zero/pull/379/changes#diff-a3de95d606b71703302d2e9c494d6c749c01a03006fa03b60e0590c229379fedR50

which searches for drivers in /lib. The intel-level-zero package installs /lib64/libze_intel_gpu.so.1.

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