Package Details: libcamera-clang-git r2742.143b2524-1

Git Clone URL: https://aur.archlinux.org/libcamera-clang-git.git (read-only, click to copy)
Package Base: libcamera-clang-git
Description: A complex camera support library for Linux, Android, and ChromeOS (built with clang)
Upstream URL: https://libcamera.org/
Keywords: IPU3 qcam
Licenses: GPL, custom, BSD, LGPL, MIT, Apache
Conflicts: libcamera
Provides: libcamera, libcamera-clang, libcamera-git, qcam
Submitter: SamLukeYes
Maintainer: SamLukeYes
Last Packager: SamLukeYes
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-10 07:12
Last Updated: 2021-07-06 13:36

Required by (10)

Sources (1)

Pinned Comments

SamLukeYes commented on 2021-07-06 13:40

The latest version (r2742) fails to build with libc++. If you have trouble building, remove libc++ and try again.

UPDATE: To build this package with libc++, try adding the option -Dlc-compliance=disabled to meson.

Latest Comments

carlosnewmusic commented on 2021-07-06 14:39

build error https://pastebin.com/HWYxupKx

SamLukeYes commented on 2021-07-06 13:40

The latest version (r2742) fails to build with libc++. If you have trouble building, remove libc++ and try again.

UPDATE: To build this package with libc++, try adding the option -Dlc-compliance=disabled to meson.

SamLukeYes commented on 2021-05-06 09:18

@peni4142

I'm not sure where libcamera developers track their issues, but there've been some discussions here (quite a long thread).

EDIT: libcamera's Bugzilla is here

peni4142 commented on 2021-05-06 08:58

@SamLukesYes

Thank you for the tiü I tested that. I get a purple result. In the first seconds, I could see a shadow of me in the picture.

output in the terminal qcam

[2:33:50.536494611] [42862]  INFO Camera camera_manager.cpp:294 libcamera v0.0.0+2535-332870ea
[2:33:50.543673915] [42864] ERROR V4L2 v4l2_subdevice.cpp:285 'ov5693 2-0036': Unable to get rectangle 2 on pad 0: Invalid argument
[2:33:50.543763880] [42864]  WARN CameraSensor camera_sensor.cpp:333 'ov5693 2-0036': The PixelArraySize property has been defaulted to 2592x1944
[2:33:50.543772017] [42864]  WARN CameraSensor camera_sensor.cpp:358 'ov5693 2-0036': The sensor kernel driver needs to be fixed
[2:33:50.543775818] [42864]  WARN CameraSensor camera_sensor.cpp:360 'ov5693 2-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[2:33:50.549687023] [42864]  INFO IPU3 ipu3.cpp:1128 Registered Camera[0] "\_SB_.PCI0.I2C2.CAMF" connected to CSI-2 receiver 1
[2:33:50.580976327] [42862]  INFO Camera camera.cpp:905 configuring streams: (0) 1280x720-NV12
Using software format conversion from NV12

SamLukeYes commented on 2021-05-06 08:53

@peni4142

As far as I know, it's a confirmed bug that libcamera doesn't work with cheese. Before it is fixed, you can use the qcam command to test your camera.

peni4142 commented on 2021-05-06 08:44

Hi I test my webcam with Cheese. If I call cheese from terminal I get an error.

Maybe I have to activate a gstreamer plugin? But I don't know how. I don't understand the error. Maybe you can help me easily.

Best Regards Peer

The error:

[2:14:19.047255401] [42476]  INFO Camera camera_manager.cpp:294 libcamera v0.0.0+2535-332870ea
[2:14:19.051950335] [42486] ERROR V4L2 v4l2_subdevice.cpp:285 'ov5693 2-0036': Unable to get rectangle 2 on pad 0: Invalid argument
[2:14:19.051965082] [42486]  WARN CameraSensor camera_sensor.cpp:333 'ov5693 2-0036': The PixelArraySize property has been defaulted to 2592x1944
[2:14:19.051970959] [42486]  WARN CameraSensor camera_sensor.cpp:358 'ov5693 2-0036': The sensor kernel driver needs to be fixed
[2:14:19.051974369] [42486]  WARN CameraSensor camera_sensor.cpp:360 'ov5693 2-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[2:14:19.059458386] [42486]  INFO IPU3 ipu3.cpp:1128 Registered Camera[0] "\_SB_.PCI0.I2C2.CAMF" connected to CSI-2 receiver 1
[2:14:19.084470218] [42476] FATAL IPAManager ipa_manager.cpp:107 Multiple IPAManager objects are not allowed
Backtrace:
/usr/lib/libcamera.so(_ZN9libcamera10IPAManagerC1Ev+0x96) [0x7fc959e79ce6]
/usr/lib/libcamera.so(_ZN9libcamera13CameraManager7PrivateC2EPS0_+0x121) [0x7fc959e4e821]
/usr/lib/libcamera.so(_ZN9libcamera13CameraManagerC1Ev+0xc7) [0x7fc959e50677]
/usr/lib/gstreamer-1.0/libgstlibcamera.so(+0xd9a1) [0x7fc959f3c9a1]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7fc97c2490b5]
/usr/lib/libgstreamer-1.0.so.0(+0x6b7f8) [0x7fc97c2497f8]
/usr/lib/libgstreamer-1.0.so.0(+0x43d95) [0x7fc97c221d95]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7fc97c2490b5]
/usr/lib/libgstreamer-1.0.so.0(+0x6b7f8) [0x7fc97c2497f8]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0x7150) [0x7fc959f1f150]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0xe1c4) [0x7fc959f261c4]
/usr/lib/libgstbasecamerabinsrc-1.0.so.0(+0x370d) [0x7fc959f1270d]
/usr/lib/gstreamer-1.0/libgstcamerabin.so(+0x5118) [0x7fc959f1d118]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7fc97c2490b5]
/usr/lib/libgstreamer-1.0.so.0(+0x6b7f8) [0x7fc97c2497f8]
/usr/lib/libgstreamer-1.0.so.0(+0x43d95) [0x7fc97c221d95]
/usr/lib/libgstreamer-1.0.so.0(+0x9647c) [0x7fc97c27447c]
/usr/lib/libgstreamer-1.0.so.0(gst_element_change_state+0x35) [0x7fc97c2490b5]
/usr/lib/libgstreamer-1.0.so.0(+0x6b7f8) [0x7fc97c2497f8]
/usr/lib/libcheese.so.8(cheese_camera_play+0x21d) [0x7fc97d12740d]
cheese(+0x148a5) [0x55dca936d8a5]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x1276) [0x7fc97c60f096]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7fc97c60f210]
cheese(+0xa5fe) [0x55dca93635fe]
/usr/lib/libgio-2.0.so.0(+0x6d732) [0x7fc97c6a6732]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x1276) [0x7fc97c60f096]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7fc97c60f210]
/usr/lib/libgio-2.0.so.0(+0xcbd27) [0x7fc97c704d27]
/usr/lib/libgio-2.0.so.0(+0xcd00a) [0x7fc97c70600a]
/usr/lib/libgio-2.0.so.0(g_application_run+0x13a) [0x7fc97c70619a]
Aborted (core dumped)

SamLukeYes commented on 2021-03-21 05:35

@A.J The latest PKGBUILD should fix your issue.

A.J commented on 2021-03-17 21:47

it's failing to install with this error :


FAILED: src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o 
clang++ -Isrc/gstreamer/libgstlibcamera.so.p -Isrc/gstreamer -I../src/gstreamer -Iinclude -I../include -Iinclude/libcamera -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orc-0.4 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -g -stdlib=libc++ -Wextra-semi -Wshadow -include config.h -Wno-c99-designator -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DVERSION="0.0.0+2409-79b48225"' '-DPACKAGE="libcamera"' -MD -MQ src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -MF src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o.d -o src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -c ../src/gstreamer/gstlibcamerasrc.cpp
In file included from ../src/gstreamer/gstlibcamerasrc.cpp:39:
In file included from /usr/include/gstreamer-1.0/gst/base/base.h:35:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:21: error: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Werror,-Wdeprecated-declarations]
  return (guint8 *) g_memdup (data, size);
                    ^
/usr/include/glib-2.0/glib/gstrfuncs.h:256:1: note: 'g_memdup' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2)
^
/usr/include/glib-2.0/glib/gversionmacros.h:1047:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR'
# define GLIB_DEPRECATED_IN_2_68_FOR(f)         GLIB_DEPRECATED_FOR(f)
                                                ^
/usr/include/glib-2.0/glib/gmacros.h:1072:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
                               ^
/usr/include/glib-2.0/glib/gmacros.h:1040:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
                                           ^
1 error generated.
[163/302] Compiling C++ object src/qcam/qcam.p/main_window.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: target not found: libcamera-clang-git