Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver not initialized: ZE_RESULT_ERROR_UNINITIALIZED #196

Closed
Meldryt opened this issue Sep 9, 2024 · 1 comment · Fixed by #231
Closed

Driver not initialized: ZE_RESULT_ERROR_UNINITIALIZED #196

Meldryt opened this issue Sep 9, 2024 · 1 comment · Fixed by #231
Assignees
Labels
bug Something isn't working

Comments

@Meldryt
Copy link

Meldryt commented Sep 9, 2024

I'm trying to run the zello_world example on Windows 10 and it fails:

zello_world.exe
ZE_LOADER_DEBUG_TRACE:Using Loader Library Path:
ZE_LOADER_DEBUG_TRACE:Loading Driver C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_eb1c0bb4c867d89a\ze_intel_gpu64.dll
ZE_LOADER_DEBUG_TRACE:Tracing Layer Library Path: ze_tracing_layer.dll
Driver not initialized: ZE_RESULT_ERROR_UNINITIALIZED
Did NOT find matching ZE_DEVICE_TYPE_GPU device!

I have Intel HD Graphics 630 (Kaby-Lake-H-GT2, Gen. 9.5) with the newest intel drivers.
(31.0.101.2130). Its supported according to the list (https://github.com/intel/compute-runtime?tab=readme-ov-file#supported-platforms)

What is exactly missing or in wrong location?

edit:

Debugged and found out that during initialization
zeDdiTableInit() calls zeGetRTASBuilderExpProcAddrTable() and
it fails because GET_FUNCTION_PTR( drv.handle, "zeGetRTASBuilderExpProcAddrTable") ) is always null.

Any idea?

@lisanna-dettwyler
Copy link
Contributor

The latest GPU driver available for your hardware does not implement zeGetRTASBuilderExpProcAddrTable, which suggests you're using a new loader with an old driver. I think it would be alright to allow certain function pointer lookups to fail to maintain backwards compatibility with such drivers.

@lisanna-dettwyler lisanna-dettwyler added the bug Something isn't working label Sep 13, 2024
@lisanna-dettwyler lisanna-dettwyler self-assigned this Sep 13, 2024
lisanna-dettwyler added a commit to lisanna-dettwyler/level-zero that referenced this issue Nov 6, 2024
Make the results of certain Get*ProcAddrTable calls in ze_libddi.cpp
ignored as not all drivers will implement these functions. These
functions populate different sections of DDI tables in the lib
component.

Fixes oneapi-src#196
Relates to VLCLJ-2339

Signed-off-by: Lisanna Dettwyler <[email protected]>
lisanna-dettwyler added a commit to lisanna-dettwyler/level-zero that referenced this issue Nov 8, 2024
Make the results of certain Get*ProcAddrTable calls in ze_libddi.cpp
ignored as not all drivers will implement these functions. These
functions populate different sections of DDI tables in the lib
component.

Fixes oneapi-src#196
Relates to VLCLJ-2339

Signed-off-by: Lisanna Dettwyler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants