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

error after recent raspi-libcamera updates #161

Open
bb5d0 opened this issue Dec 5, 2024 · 3 comments · May be fixed by #160
Open

error after recent raspi-libcamera updates #161

bb5d0 opened this issue Dec 5, 2024 · 3 comments · May be fixed by #160

Comments

@bb5d0
Copy link

bb5d0 commented Dec 5, 2024

error msg:

/usr/bin/camera-streamer Version: 0.2.8 (bc23191)
util/http/http.c: ?: HTTP listening on 0.0.0.0:8080.
[36:40:49.799225057] [8727] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e
[36:40:49.886218331] [8746] ERROR RPI pipeline_base.cpp:802 Failed to load a suitable IPA library
[36:40:49.886374059] [8746] ERROR RPI vc4.cpp:216 Failed to register camera imx219 10-0010: -22
device/libcamera/device.cc: CAMERA: No available cameras
device/libcamera/device.cc: CAMERA: Camera /base/soc/i2c0mux/i2c@1/imx219@10 was not found.
device/device.c: CAMERA: Can't open device: /base/soc/i2c0mux/i2c@1/imx219@10

but camera is available!

$ libcamera-hello --list-cameras
Available cameras
0 : imx219 [3280x2464 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx219@10)

compiling it manually also fails...

device/libcamera/options.cc: In function ‘int libcamera_device_dump_control_option(int ()(device_option_t, void*), void*, const libcamera::ControlId&, const libcamera::ControlInfo*, const libcamera::ControlValue*, bool)’:
device/libcamera/options.cc:183:10: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
183 | switch (control_id.type()) {
| ^
device/libcamera/options.cc: In function ‘int libcamera_device_set_option(device_t*, const char*, const char*)’:
device/libcamera/options.cc:400:12: error: enumeration value ‘ControlTypePoint’ not handled in switch [-Werror=switch]
400 | switch (control_id->type()) {
| ^
...
make[1]: Leaving directory '/home/pi/camera-streamer'
make: *** [Makefile:67: all] Error 2

recent raspi-libcamera updates:

Preparing to unpack .../01-libcamera-ipa_0.3.2+rpt20241119-1_armhf.deb ...
Unpacking libcamera-ipa:armhf (0.3.2+rpt20241119-1) over (0.3.2+rpt20240927-1) ...
Preparing to unpack .../02-libcamera0.3_0.3.2+rpt20241119-1_armhf.deb ...
Unpacking libcamera0.3:armhf (0.3.2+rpt20241119-1) over (0.3.2+rpt20240927-1) ...
Preparing to unpack .../03-rpicam-apps_1.5.3-1_armhf.deb ...
Unpacking rpicam-apps (1.5.3-1) over (1.5.2-2) ...
Preparing to unpack .../04-libcamera-apps_1.5.3-1_all.deb ...
Unpacking libcamera-apps (1.5.3-1) over (1.5.2-2) ...
Preparing to unpack .../05-linux-libc-dev_1%3a6.6.62-1+rpt1_all.deb ...
Unpacking linux-libc-dev (1:6.6.62-1+rpt1) over (1:6.6.51-1+rpt3) ...
Preparing to unpack .../06-python3-libcamera_0.3.2+rpt20241119-1_armhf.deb ...
Unpacking python3-libcamera:armhf (0.3.2+rpt20241119-1) over (0.3.2+rpt20240927-1) ...
Preparing to unpack .../07-python3-picamera2_0.3.23-1_all.deb ...
Unpacking python3-picamera2 (0.3.23-1) over (0.3.22-2) ...

@LordKillZone
Copy link

Same problem on my RPi after updating

@mryel00
Copy link

mryel00 commented Dec 7, 2024

The compilation will be fixed with #160. The prebuilt image was working fine last week for me when I tested it.
I recommend that you try it with the fix of the PR to see if it will work again for you.

@bb5d0
Copy link
Author

bb5d0 commented Dec 13, 2024

this fix works!
thanks

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.

3 participants