You need to extract the files and install using sudo apt install
.
@Quarnero, you have only installed the small .deb file (as I did also). I think the other, bigger one, is a build with debug symbols, as it name let me think.
@guru, I’m not for real focused at using Camera
now, but I’ve got this crash:
But after
reboot
everything worked again, other than Rec
(as noted earlier already):And by using
Camera
icon dbgsym_0.21.0-1
installation crashed again (hope this helps here):Please post logs from crashes, ideally here: https://source.puri.sm/Librem5/millipixels/-/issues/
The screenshots are unreadable, what a wasted opportunity
purism@pureos:~$ millipixels Found config file at /usr/share/millipixels/config/purism,librem5r4.ini Adding camera big from config matched GRBG8 to GRBG8 3 matched GRBG8 to GRBG8 3 Adding camera selfie from config matched GBRG16 to GBRG16 14 matched GBRG16 to GBRG16 14 Found postprocessor script at /usr/share/millipixels/movie.sh Found postprocessor script at /usr/share/millipixels/postprocess.sh mp_device_list_find_remove imx7-csi s5k3l6xx 3-002d 20: there's csi, looking for s5k3l6xx 3-002d 20: there's csi capture, looking for s5k3l6xx 3-002d 20: there's imx8mq-mipi-csi2 30a70000.csi, looking for s5k3l6xx 3-002d 20: there's hi846 2-0020, looking for s5k3l6xx 3-002d 19: there's csi, looking for s5k3l6xx 3-002d 19: there's csi capture, looking for s5k3l6xx 3-002d 19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d 19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d found! devname /dev/video1 19: there's csi, looking for s5k3l6xx 3-002d 19: there's csi capture, looking for s5k3l6xx 3-002d 19: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d 19: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d found! linking flags 0 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument mp_device_list_find_remove imx7-csi hi846 2-0020 20: there's csi, looking for hi846 2-0020 20: there's csi capture, looking for hi846 2-0020 20: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020 20: there's hi846 2-0020, looking for hi846 2-0020 found! devname /dev/video0 20: there's csi, looking for hi846 2-0020 20: there's csi capture, looking for hi846 2-0020 20: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020 20: there's hi846 2-0020, looking for hi846 2-0020 found! linking flags 0 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument linking flags 1 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument Setting mode 1052 780 [1:12:49.674972709] [8873] INFO Camera camera_manager.cpp:293 libcamera v0.0.0 [1:12:49.697985603] [8875] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 's5k3l6xx' [1:12:49.698120849] [8875] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database [1:12:49.698169331] [8875] WARN CameraSensor camera_sensor.cpp:476 's5k3l6xx 3-002d': Unsupported ancillary entity function 131074 [1:12:49.699936415] [8875] ERROR V4L2 v4l2_subdevice.cpp:466 's5k3l6xx 3-002d': Unable to set format on pad 0: Device or resource busy [1:12:49.700218069] [8875] ERROR V4L2 v4l2_subdevice.cpp:466 's5k3l6xx 3-002d': Unable to set format on pad 0: Device or resource busy [1:12:49.700348275] [8875] ERROR V4L2 v4l2_subdevice.cpp:466 's5k3l6xx 3-002d': Unable to set format on pad 0: Device or resource busy [1:12:49.700452560] [8875] ERROR SimplePipeline simple.cpp:490 No valid configuration found [1:12:49.701020187] [8875] ERROR V4L2 v4l2_videodevice.cpp:1211 /dev/video1[42:cap]: Unable to request 0 buffers: Device or resource busy No such camera: /base/soc@0/bus@30800000/i2c@30a50000/camera@2dinvalid
Please give me some time to recreate Rec
related output under dbgsym_0.21.0-1
installation (after reboot
).
I don’t know why this keeps happening, but please update libcamera.
purism@pureos:~$ uname -r 6.1.0-1-librem5 purism@pureos:~$ apt list libcamera0 millipixels Listing... Done libcamera0/byzantium,now 0~git20220628+27cc0a6b-1pureos3 arm64 [installed,automatic] millipixels/now 0.21.0-1+librem5ci80262.90b35e4 arm64 [installed,local] purism@pureos:~$ millipixels Found config file at /usr/share/millipixels/config/purism,librem5r4.ini Adding camera big from config matched GRBG8 to GRBG8 3 matched GRBG8 to GRBG8 3 Adding camera selfie from config matched GBRG16 to GBRG16 14 matched GBRG16 to GBRG16 14 Found postprocessor script at /usr/share/millipixels/movie.sh Found postprocessor script at /usr/share/millipixels/postprocess.sh mp_device_list_find_remove imx7-csi s5k3l6xx 3-002d 18: there's csi, looking for s5k3l6xx 3-002d 18: there's csi capture, looking for s5k3l6xx 3-002d 18: there's imx8mq-mipi-csi2 30a70000.csi, looking for s5k3l6xx 3-002d 18: there's hi846 2-0020, looking for s5k3l6xx 3-002d 17: there's csi, looking for s5k3l6xx 3-002d 17: there's csi capture, looking for s5k3l6xx 3-002d 17: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d 17: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d found! devname /dev/video3 17: there's csi, looking for s5k3l6xx 3-002d 17: there's csi capture, looking for s5k3l6xx 3-002d 17: there's imx8mq-mipi-csi2 30b60000.csi, looking for s5k3l6xx 3-002d 17: there's s5k3l6xx 3-002d, looking for s5k3l6xx 3-002d found! linking flags 0 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument mp_device_list_find_remove imx7-csi hi846 2-0020 18: there's csi, looking for hi846 2-0020 18: there's csi capture, looking for hi846 2-0020 18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020 18: there's hi846 2-0020, looking for hi846 2-0020 found! devname /dev/video2 18: there's csi, looking for hi846 2-0020 18: there's csi capture, looking for hi846 2-0020 18: there's imx8mq-mipi-csi2 30a70000.csi, looking for hi846 2-0020 18: there's hi846 2-0020, looking for hi846 2-0020 found! linking flags 0 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument linking flags 1 source 15:0 sink 10:0 MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument Setting mode 1052 780 [0:01:05.345469671] [1879] INFO Camera camera_manager.cpp:293 libcamera v0.0.0 [0:01:05.366143393] [1881] WARN CameraSensorProperties camera_sensor_properties.cpp:174 No static properties available for 's5k3l6xx' [0:01:05.366257765] [1881] WARN CameraSensorProperties camera_sensor_properties.cpp:176 Please consider updating the camera sensor properties database [0:01:05.367125672] [1881] WARN CameraSensor camera_sensor.cpp:476 's5k3l6xx 3-002d': Unsupported ancillary entity function 131074 [0:01:05.368723996] [1879] INFO Camera camera.cpp:1029 configuring streams: (0) 1052x780-SGRBG8 [0:01:05.369479216] [1881] ERROR DeviceEnumerator device_enumerator.cpp:166 Removing media device /dev/media3 while still in use ok Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted 0 0 1 2 3 4 5 5 6 7 8 9 10 11 11 12 Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted 13 14 15 16 16 17 18 19 20 21 22 22 23 24 25 26 Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted 27 27 28 29 30 31 32 33 33 Change of controls wasn't accepted 34 35 36 37 38 38 39 Change of controls wasn't accepted Change of controls wasn't accepted Change of controls wasn't accepted 40 41 42 43 44 44 45 46 47 48 49 50 50 51 52 53 Change of controls wasn't accepted 54 55 55 56 57 58 59 60 61 61 62 63 64 65 66 66 Change of controls wasn't accepted 67 68 69 70 71 72 72 73 74 75 76 77 77 78 79 80 81 82 83 83 84 85 86 87 88 88 89 90 91 92 93 94 94 95 96 97 98 99 Have 225 frames 7.50 sec frames Searching video 0 9999999999999999 -- 10000000000.00 sec Converting 112 frames 3.73 sec skipped 0 audio and 0 video frames sh: 1: ffmpeg: not found sh: 1: ffmpeg: not found mv: cannot stat 'output.mp4': No such file or directory Converted 112 frames 3.73 sec in 1.3 seconds Original size -> new size 8.5M . du: cannot access '/tmp/gigapixels.VGsohn/smo/video-0000.mp4': No such file or directory mv: cannot stat '/tmp/gigapixels.VGsohn/smo/*.mp4': No such file or directory ^C
Please let me know on where to get related .deb
file.
apt-get upgrade
Wait, what did you do differently?
Please describe each log - they are different but you didn’t indicate that you did anything differently.
Second output is under having millipixels
open (after rebooting of my Librem 5, with otherwise Camera
hardware reliable and working as intended) and able to make photos (auto-focus enabled as well), yet making video (by short touch on Rec
) is not happening. Like: cannot access '/tmp/gigapixels.VGsohn/smo/video-0000.mp4'
…
Also, I already have latest (or only available libcamera0
) installed. I’ll probably purge current installation of millipixels
now and check on how I can upgrade other related dependencies as well.
EDIT:
First output (Camera
not working) happens after trying to open millipixels
for second or third time (without reboot).
Okay, the video stuff is experimental so that’s OK.
The other problem is more worrying.
- What did you do in the first and second run? Does something specific have to happen?
- Did this also happen in the previous version of millipixels before you replaced it with my linked one?
After @guru post here I decided to overwrite prior installation of millipixels_0.21.0-1+librem5ci80262.90b35e4_arm64.deb
with:
sudo dpkg --install millipixels-dbgsym_0.21.0-1+librem5ci80262.90b35e4_arm64.deb
Specific was that after fresh reinstall
of millipixels
in version 0.21.0-1
and trying to open it for second time only by short touch of Camera
icon it will not work any more (only restart
or the PureOS on Librem 5 will help getting working camera again). Yet (positive news/update), now I’m charging my phone battery and millipixels
in version 0.21.0-1
and millipixels
app opens/works with every tip on its icon.
Therefore I just decided now to disconnect power supply at 89% and millipixels
opens/works again, over and over again (after swapping it away/closing) . As I recall now, this crash output from above might easily be related to the fact that my phone battery capacity was below 50% (or even below 40%). Perhaps?
Nope (but I didn’t check this with having battery capacity at 30%, for example), regularly/distro provided millipixels
worked as expected.
EDIT: Just now I executed millipixels
by using Terminal
and it opened Camera
as expected, yet after swapping Camera
away (closing it) and trying to open this app again, millipixels
crashed again (not working as my last screenshot here shows).
EDIT II: @dcz, my last non-development “reproduction” update here: when I close both Terminal app and Camera app and open Camera either way my current installation of millipixels
works either way, no issues at all.
If you execute in terminal and then close it with the terminal (so, by pressing Ctrl+C or closing the termonal), does it still fail to open?
@Gavaudan, thanks! Exactly, Ctrl+C
within Terminal
keeps everything in control. No issues at all with/after such usage/closing of millipixels
.
So:
- You open the terminal
- You run the
millipixels
command - You close the window using phosh
- You run the
millipixels
command - You receive this log: Camera (Dev Preview) app crashing
Is that right?
Yes, this is right.
Do you see aything camera-related in dmesg when that happens?
Does this happen every time you try?
I’ve got today afternoon this output as well:
[0:43:41.565239608] [3527] INFO Camera camera_manager.cpp:293 libcamera v0.0.0 [0:43:41.578035042] [3531] ERROR SimplePipeline simple.cpp:1292 No sensor found No such camera: /base/soc@0/bus@30800000/i2c@30a50000/camera@2dinvalid
But when I tried to collect sudo dmesg | grep s5k3l6xx
or 3-002d
or hi846
or 2-0020
or mipi-csi2
I was unsuccessful while copy/paste …, anyway main message was: Consider updating driver
s5k3l6xx to match on endpoints
or Consider updating driver hi846 to match on endpoints
. I’ve got i2c
messages there as well.
In short if two Terminal windows used it is possible to reproduce here related crash output as well (and hope this helps you somewhat):
P.S. I do not mind testing above with another firmware (when available).
This is causing the same message, but for different reasons. But it suggests that your original error is the device being busy when it shouldn’t.