main
main copied to clipboard
Add IPU6 camera support
https://hansdegoede.livejournal.com/27276.html
This is now in RPMFusion, we should investigate this.
What's required here? I glanced over the blog post... seems like it would be adding akmod-intel-ipu6 as another build in https://github.com/ublue-os/akmods
Is that all?
Does someone have this device to test?
@bsherman I do have a laptop with one of those cameras, if testing is needed.
+1 Also have one (XPS13 Plus) and willing to test.
i added the v4l2loopback akmods into a blue-build and also installed akmod-intel-ipu6 package, the webcam is detected but doesn't seems to work, i think i'm missing something else, not sure what tho
after installing akmod-intel-ipu6 i tried akmods --force --kernels "6.8.7-300.fc40.x86_64" --kmod intel-ipu6 and getting the following error
2024/04/30 20:18:22 akmodsbuild: + make -C /usr/src/kernels/6.8.7-300.fc40.x86_64 M=/tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64 modules
2024/04/30 20:18:22 akmodsbuild: make: Entering directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild: CC [M] /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/spi-vsc.o
2024/04/30 20:18:22 akmodsbuild: CC [M] /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/drivers/misc/mei/hw-vsc.o
2024/04/30 20:18:22 akmodsbuild: LD [M] /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o
2024/04/30 20:18:22 akmodsbuild: /bin/sh: line 1: ld: command not found
2024/04/30 20:18:22 akmodsbuild: make[2]: *** [scripts/Makefile.build:439: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64/mei-vsc.o] Error 127
2024/04/30 20:18:22 akmodsbuild: make[1]: *** [/usr/src/kernels/6.8.7-300.fc40.x86_64/Makefile:1939: /tmp/akmodsbuild.wswQ5n4z/BUILD/intel-ipu6-kmod-0.0/_kmod_build_6.8.7-300.fc40.x86_64] Error 2
2024/04/30 20:18:22 akmodsbuild: make: *** [Makefile:252: __sub-make] Error 2
2024/04/30 20:18:22 akmodsbuild: make: Leaving directory '/usr/src/kernels/6.8.7-300.fc40.x86_64'
2024/04/30 20:18:22 akmodsbuild: error: Bad exit status from /var/tmp/rpm-tmp.bufqXA (%build)
i tried installing binutils but still got the same error, not sure how to solve the missing ld command
Firmware instructions here, looks like we'll get everything else in the latest kernel:
https://github.com/ublue-os/bluefin/issues/1633#issuecomment-2335134725
I've tried the instructions in the comment above, and I hit 2 issues:
- the path changed in the ipu6-camera-bins repo, so I had to find the new path.
- there are now signed and unsigned bins, and the signed ones failed... so I used the unsigned one: https://github.com/intel/ipu6-camera-bins/raw/refs/heads/main/lib/firmware/intel/ipu/unsigned/ipu6ep_fw.bin
Now, my system can see the webcam, but I am still unable to use it. Google Meet says no webcam found, and webcamtests says the webcam is found, but is being blocked or used by another app... but nothing it using it. Could it be related to the camera access control in settings? Firefox itself is enabled to access the camera, but the system never asked me
Same problem on my HP Elite Dragonfly Chromebook running Aurora - camera apps say "No Camera Found".
I have the same problem on my Dell Latitude 7440 running bluefin-dX:stable. Webcam test on Firefox says "Apparently, your webcam is being used or blocked by another application." (not the case) Camera app shows a black screen.
The firmware instructions above with the updated path returns
rmmod: ERROR: Module intel_ipu6 is in use by: intel_ipu6_isys
Running uname -r returns kernel 6.11.8-300.fc41.x86_64.
Running cat /sys/class/video4linux/*/name from Ubuntu IntelMIPICamera wiki says that I have a ovti02c1 sensor, which is not included in the RPM Fusion package.
I had Ubuntu 24.04 LTS installed before and fixed the issue following this thread. I reinstalled to Ubuntu, but these same commands didn't work. Might be because the kernel version got updated in the meantime.
There is currently a proposed change in Fedora aiming to add support for more sensors, targeting the 42 release.
Seems like the solution is just to wait or help them out!