What I mean now is to install libcamera0 of arducam, and then install the apps of Raspberry Pi
@Edward, how do I install just libcamera0 from you? I reverted libcamera to the original I believe
$ dpkg -l | grep libcamera
ii libcamera-apps 0~git20230301+54a781d-1 armhf libcamera-apps
ii libcamera-dev:armhf 0~git20230302+923f5d70-1 armhf complex camera support library (development files)
ii libcamera0:armhf 0~git20230302+923f5d70-1 armhf complex camera support library
And now I can do:
$ libcamera-still --list-cameras
Available cameras
-----------------
0 : imx519 [4656x3496] (/base/soc/i2c0mux/i2c@1/imx519@1a)
Modes: 'SRGGB10_CSI2P' : 1280x720 [120.02 fps - (1048, 1042)/2560x1440 crop]
1920x1080 [60.00 fps - (408, 674)/3840x2160 crop]
2328x1748 [30.00 fps - (0, 0)/4656x3496 crop]
3840x2160 [21.01 fps - (408, 672)/3840x2160 crop]
4656x3496 [10.00 fps - (0, 0)/4656x3496 crop]
libcamera-hello still fails. Is it because of original libcamera0?
$ libcamera-hello
Preview window unavailable
[0:12:57.160444099] [739] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70
[0:12:57.342232538] [740] INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:12:57.347175496] [739] INFO Camera camera.cpp:1028 configuring streams: (0) 2328x1748-YUV420
[0:12:57.349988472] [740] INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
[0:12:57.387134153] [744] WARN IPARPI raspberrypi.cpp:801 Could not set AF_MODE - no AF algorithm
Segmentation fault
Running
./install_pivariety_pkgs.sh -p libcamera0
reinstalls libcamera-dev automatically to the arducam one as well breaking everything again. So now I have:
$ dpkg -l | grep libcamera
ii libcamera-apps 0~git20230301+54a781d-1 armhf libcamera-apps
ii libcamera-dev:armhf 0~git20230321+74d023d8-1 armhf complex camera support library (development files)
ii libcamera0:armhf 0~git20230321+74d023d8-1 armhf complex camera support library
ii python3-libcamera 0~git20230302+923f5d70-1 armhf complex camera support library (Python 3 bindings)
Now I believe I have libcamera-apps
original and libcamera-dev
and libcamera0
from arducam. Illegal operation
is back.
That is the raspberry pi official has the same problem. This is because the arm version is too low.
Iāll look at this question next week
There is another way to open the camera
qcam
There will be an interface, you can try to get the camera working first, next week I will try to compile a working version.
Cannot run qcam
right now, I have only Lite
OS installed, no UI.
This is because the arm version is too low.
Isnāt there a quick magic trick for this? boot/config.txt settings? Btw. it doesnāt happen with a different camera type.
@Edward I very appreciate your prompt replies!
Just tried qcam, same issue as running libcamera-hello
@LoKau Have you tried the original libcamera and do you get the same result as I do? Thinking the underlying cause is the same for both of us.
Hi,
I uninstalled arducam libcamera-apps, then I installed the raspberry one ā illegal instruction
Finally I installed again libcamera0 from the pivariety_pkgs ā same issue.
@Edward , keep us informed this week plz
I was dealing with some urgent issues the last two days.
Please donāt worry, I have arranged this test for today.
Thanks but unfortunately no change.
$ dpkg -l | grep libcamera
ii libcamera-apps 0~git20230309+4def288-1 armhf libcamera-apps
ii libcamera-dev:armhf 0~git20230321+74d023d8-1 armhf complex camera support library (development files)
ii libcamera0:armhf 0~git20230321+74d023d8-1 armhf complex camera support library
ii python3-libcamera 0~git20230302+923f5d70-1 armhf complex camera support library (Python 3 bindings)
$ sudo apt install ./libcamera-apps_0_git20230309+4def288-1_armhf.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libcamera-apps' instead of './libcamera-apps_0_git20230309+4def288-1_armhf.deb'
The following packages will be upgraded:
libcamera-apps
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/300 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /home/pi/libcamera-apps_0_git20230309+4def288-1_armhf.deb libcamera-apps armhf 0~git20230309+4def288-1 [300 kB]
Reading changelogs... Done
(Reading database ... 59271 files and directories currently installed.)
Preparing to unpack .../libcamera-apps_0_git20230309+4def288-1_armhf.deb ...
Unpacking libcamera-apps (0~git20230309+4def288-1) over (0~git20230309+4def288-1) ...
Setting up libcamera-apps (0~git20230309+4def288-1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
$ libcamera-hello
Preview window unavailable
[0:25:50.330955891] [1217] INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
Illegal instruction
Note I installed
libcamera-apps_0_git20230309+4def288-1_armhf.deb
instead of
libcamera-apps_0~git20230309+4def288-1_armhf.deb
that you linked but itās the same thing. ~
was replaced by -
when downloading through Windows.
Itās not easy for me to debug without hardware support.
So i am applying for a new Raspberry Pi Zero
If it goes well maybe Iāll get the hardware next week.
Thanks @Edward. Iām thinking if thereās something I can do to debug myself. I understand thereās no guarantee you get access to RPI Zero, right?
It hasnāt been mentioned but I assume from the context here that Arducam, as a company, doesnāt know if the camera is supposed to work with RPI Zero (1.3 in my case) or not, correct? The shop I bought it from claims itās compatible with ALL RPIs which may be wrong information. I find it hard to believe Iām the only one trying to do so for the first time. And so Iām also trying to rule out a possibility that I just have a faulty camera.
@Edward, same question for my 1B+ model.
I agree that it is quite old but I donāt think Iām the only one using this device.
First of all I would like to express my apologies.
This is indeed a known issue and we have addressed similar issues before. We thought that the official solved this problem permanently, so we didnāt treat these devices specially. Now it seems that the problem has appeared again, so I need to solve it again, and release a special version.
Now Iāve purchased the hardware, but it hasnāt arrived yet.
If you are willing to give me some patience, I will also be responsible to the end.
Thank you for the update. Iāll wait more and will ask the seller if theyāre ok me possibly returning the camera later. But hoping youāll make it to work.
Re the problem. I have no technical insight into it but as a different camera works fine, this must be specific somehow to your cam, correct?