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

not working with 6.5 kernel series #40

Closed
noskoski opened this issue Sep 21, 2023 · 10 comments
Closed

not working with 6.5 kernel series #40

noskoski opened this issue Sep 21, 2023 · 10 comments

Comments

@noskoski
Copy link

Reset branch 'makepkg'
==> Iniciando pkgver()...
==> Removendo diretório $pkgdir/ existente...
==> Iniciando build()...
CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- install prefix: /usr
INFOadd definition -DIPU_SYSVER_ipu6v5 for ipu6ep
Install camera configure files foripu6ep
-- Configuring done (0.1s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
IA_BCOMP_LIB
linked by target "camhal_static" in directory /home/lan/dev/arch/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal
linked by target "camhal" in directory /home/lan/dev/arch/archlinux-ipu6-webcam/intel-ipu6ep-camera-hal-git/src/ipu6-camera-hal

-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
==> ERRO: Uma falha ocorreu em build().
Abortando...
ERROR: Failed to build/install: intel-ipu6ep-camera-hal-git

@jjeziorny
Copy link

not sure why the error, I had the same and after deleting intel-ipu6ep-camera-hal-git/src/build/CMakeCache.txt and trying the install again it worked.

Mine contained -notfound for the IA_BCOMP_LIB
Probably from the previous build where this lib wasn't there and/or required.

You can also try and cloning the repo again and running the install.

Nevertheless, it will compile and install after this (at least for me it did) but unfortunately camera did not work on 6.5 for me

@stefanpartheym
Copy link
Owner

I can confirm this won't work with kernels v6.5.4 and v6.5.3. I downgraded to kernel 6.4.12-arch1-1 to make it work again.

@mkobel
Copy link

mkobel commented Sep 27, 2023

As written in #39 (comment) I could solve the issue by uninstalling, doing a fresh clone and installing again. (I'm using kernel 6.5.5-arch1-1)

@stefanpartheym
Copy link
Owner

@mkobel Whoops, thanks for the hint. I think this is how I fixed the build for an earlier 6.5.X kernel a few weeks ago. I'll try this later and report back ;)

@stefanpartheym
Copy link
Owner

I reinstalled from a fresh clone of the repo, but unfortunately doesn't work either. Also after downgrading to kernel 6.4.12-arch1-1 now also doesn't work anymore with installing from a fresh clone.
I keep getting the following error: WARNING: erroneous pipeline: no element "icamerasrc"
Need some time to figure this out I guess...

@stefanpartheym
Copy link
Owner

Ok, never mind. It was icamerasrc-git and intel-ipu6-dkms-git that I had to reinstall from AUR – sorry.
Everything now works fine for me on kernel 6.5.5-arch1-1.

@noskoski Please try as described by @mkobel in #40 (comment) and also make a fresh reinstall of icamerasrc-git and intel-ipu6-dkms-git from AUR. Thanks.

@alvinpeters
Copy link
Contributor

Ye prolly my oversight on icamerasrc-git-fix not being removed in the uninstaller script.

I will work on fixes today or so. Plus still trying to get that permanently installation-breaking bug sorted out (narrowed it down to maybe kernel-install/dracut)

@noskoski
Copy link
Author

noskoski commented Oct 2, 2023

It worked, thanks guys! but I had to do a git clone and install from scratch, a simple uninstall/git pull/install wasn't enough! (6.5.5-arch1-1) 🖖🏼

@jjeziorny
Copy link

jjeziorny commented Oct 2, 2023

There's a typo on the install.sh

./install.sh: line 206: echp: command not found

@stefanpartheym
Copy link
Owner

I'll close this issue now, as we have found a "workaround" for the 6.5.x kernel versions and @noskoski gave positive feedback on this.

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

Successfully merging a pull request may close this issue.

5 participants