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

Submodule hw_module missing? #6

Open
rschoene opened this issue Nov 9, 2022 · 3 comments
Open

Submodule hw_module missing? #6

rschoene opened this issue Nov 9, 2022 · 3 comments

Comments

@rschoene
Copy link

rschoene commented Nov 9, 2022

When enabling gnahw for cmake (via GNA_BUILD_WITH_HW_MODULE_ENABLED), i get the following error:

   HW submodule was not initialized properly.

   File <.../gna/gna/build/hw_module/CMakeLists.txt> not found.

   Try using 'git submodule update --init --recursive' to load all submodules.

I checked and cannot find any submodules.
I use Ubuntu 22.04, Linux 5.19.1, an Intel i9-12900K and a version of the module discussed at https://lore.kernel.org/lkml/[email protected]/T/#u.

@krzysztofjozwiak
Copy link
Contributor

Hi, currently hw_module is Intel proprietary and not available in public as open-source. But you can still use GNA in HW mode with limited functionality.
Regards,
Krzysztof

@rschoene
Copy link
Author

I'll leave this issue open (as long as hw_module is n/a). The answer will help whenever someone stumbles over this problem and can reduce incoming issues ;) .

@ctrlaltca
Copy link

ctrlaltca commented Jun 16, 2023

i just stumbled on this issue.
After fixing a few mistakes in the cmake files (eg. hardcoded drm/drm.h include path, hardcoded wrong libgna path in samples), i run the sample just to get this message:

➜  b git:(main) ✗ ./bin/sample01/sample01 
GNA Hardware Device not available, using Gna2DeviceVersionSoftwareEmulation.

EDIT: turns out the kernel module i was using from https://storage.openvinotoolkit.org/drivers/gna/ is old, and this repo needs a more recent version of the kernel module ported to the DRM subsystem. I've found the submission in dri-devel, but i guess i'll wait for it to be merged upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants