-
Notifications
You must be signed in to change notification settings - Fork 75
fix: add missing Intel GPU, OpenCL, and Level Zero packages to base i… #992
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
Open
axion9
wants to merge
1
commit into
open-edge-platform:main
Choose a base branch
from
axion9:fix/add-intel-gpu-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wouldn't recommend to use any the github alien unstable packages that often lead to dpkg install package conflicts and dependencies deadlocks w/ the Canonical official Ubuntu packages.
i would instead suggest one of the following two alternatives :
kobuk-teamPPA the official 24.04, 25.10, ... libze1, libigc1, libigc2, intel-opencl-icd, ... dpkg ported maintained by Canonical community stable or testingAs this microservice is
ROS_DISTRO=humblebased, i suppose it expects 22.04 jammy compat.The Canonical Ubuntu official
kobuk-teamPPA provides from 24.04 onward only, where as Intel ECI does provide backport down-to 22.04.x. For more details, please see [Enable Intel® Level Zero and OpenCL™ Graphics Compute Runtime¶](https://eci.intel.com/docs/3.3/development/tutorials/enable-graphics.html ) and and following command :FYI, eci.intel.com APT repo will very soon redistribute the Canonical official and latest stable packages backports for Ubuntu 22.04.x and 24.04.x :
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@axion9 Considering this microservice is based on Ubuntu 22.04, the ECI APT repo would work:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jouillet I tried this, and though the installation succeeds, the functionality breaks within RVC. @dariorusso1972, can you take a look when you have some time? As committed, the libraries install and RVC works. If I use the suggested ECI APT, vision no longer works with the main (of many) complaints:
[component_container_mt-1] [INFO] [1763156278.763808080] [OD]: run_inference_pipeline FAILED [component_container_mt-1] onednn_verbose,v1,primitive,error,gpu,reusable_simple_concat: scalar kernel argument #1 (_long) is different from the type of the given scalar (_ulong) [component_container_mt-1] [INFO] [1763156278.798037246] [Yolox]: Exception Exception from src/inference/src/cpp/infer_request.cpp:245: [component_container_mt-1] Exception from src/plugins/intel_gpu/src/runtime/ocl/ocl_common.hpp:51: [component_container_mt-1] could not execute a primitive [component_container_mt-1]There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed last jouillet recommendation and rvc started for me with no errors. I also totally agree with him, i experience breakage when i install the deb file out of repositories, even now, i had to do a "dpkg -r intel-level-zero-gpu" before "apt full-upgrade" to use the eci drivers.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dariorusso1972, interesting. First, I 100% agree that this is a great suggestion, but if I use the below in place of what I committed (and then rebuild the container), the vision composition dies. Thus, the camera does not load. I took what @jouillet suggested and wrote this into the build and then ran the build script again:
Looking at the vision composition logs all looks normal, the device is found, etc. But then the process dies every time after "Sync Mode: On":
My guess is the change I am building off of what @jouillet suggested is wrong, but it looks like everything is installed properly:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, when i said "works for me", it was true on gen 12th... on Core Ultra 7 definitely not...