Autofocus in millipixels

The unreleased millipixels triggers some bugs. It will be a while before we clear it for release.

1 Like

Ok, no problem. It mostly works.

I want to bring this topic up again for a discussion about Adam Dawson most recent post here: https://social.sdf.org/@adamd/109611034092328091

It looks like autofocus and video are coming to the Librem 5 soon. I am very excited.

Any guess from the crowd when this will be ready in the PureOS repos? I don’t really want to wait . . .

1 Like

Your guess is as good as mine.

2 Likes

@dcz could make it obvious what is blocking the release (e.g. by creating a milestone in gitlab and assigning issues that block the release). I assume the issue are in millipixels itself as otherwise the releas could be tagged already, just not uploaded to PureOS until those other components are fixed?

1 Like

I’d love to, but the blocker is not in Millipixels https://source.puri.sm/Librem5/linux/-/issues/446 and gitlab doesn’t let me add it to a Millipixels milestone.

I don’t want to tag prematurely it in case there are other issues - and if I tag it, then some distro will inevitably pick it up and get hangs since they use the same kernel, so I didn’t feel the need to. If you think a tag is a good idea despite that, I can go along with it too, just let me know.

1 Like

I’m having the same issue, same error message. Didn’t install anything manually, it just upgraded itself. Dpkg says it is version 0.20.0-1pureos1.

Don’t need to reboot, just kill the app and retry over and over until it works, and hopefully the object you wanted to capture (or the smile of the person) is still there when it finally works :grin:

What I do in such situations (everything is in place but waiting for another component): prepare the release MR and linking to the blocking bug in the MRs description. That

  • allows people to see what will be in the release and provide feedback
  • makes it obvious in a place where people are hopefully looking at what is blocking
  • should prevent distros from picking it up too early as the reason why the MR isn’t merged is right at the top

The release MR is quickly updated should more changes get merged in the meantime.

4 Likes

The MR is waiting for some other MRs, so I settled on just an issue: https://source.puri.sm/Librem5/millipixels/-/issues/60

4 Likes

@dcz does the MR fix the VIDIOC_DQBUF error 22 issue? Or we don’t know what is causing that? I got it this morning, I could not take a picture at all after many tries…
Thanks!

There is no release MR yet.

This error you’re seeing is the generic error when the kernel is in an odd state. If you want it looked at, please report it here, but first install this Millipixels: https://source.puri.sm/Librem5/millipixels/-/jobs/403892/artifacts/download?file_type=archive

The frontfacing camera has a lot of delay (about a second), I don’t remember it being that slow in previous versions (maybe I misremember though).

Otherwise the latest main with automatic seems to work decently.

But for recording to work I had to manually install dcraw, imagemagick and ffmpeg. After that it worked, but felt a bit unreliable. Before I installed the dependencies, it just silently failed (looked like it succeeded, but there was no file, so I retried when running with the console open and found the errors). After installing the dependencies, once the conversion was done it just crashed right after it finished with a glib assert. But the video is playable in vlc!

Would be nicer if it used mkv instead of mp4 though, mp4 is so hard to work with since the standard is heavily patented so its very expensive to buy the documents for it. Matroska on the other hand has completely open documentation. Its just a shame that mp4 has won the “container” race :frowning:

(sm.puri.Millipixels:204981): GLib-GObject-CRITICAL **: 21:36:29.178: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

That’s been the case since the very beginning and haven’t been fixed yet. It can be reduced by switching the preview resolution to 640x480 in config file, but it has a downside of being cropped differently than fullres mode.

No, there’s good reason the delay has been further increased. There’s extra processing on each frame now.

1 Like

Just wanted to bump this. I installed everything from source and it works fantastic. The pictures are very much improved and I can do video!! I kind of like the way the pictures turn out - kind of an interesting soft-light thing going on.

Thanks so much for your work. I really have no complaints. Might break with an update?

3 Likes

Purism hks

Can anyone please share a video taken from the L5 camera? I remember seeing one somewhere (I think a GitLab issue had one linked) but I cannot find.

I’m not expecting extremely high quality but I’m curious what it looks and sounds like.

(Not necessarily asking you in particular, flanders51 :))

1 Like

Well, this forum won’t allow me to post a mp4 video? I could post my lame video from a recent sporting event. Not the greatest video. It is not an Iphone. I had a Nexus 5X with similar camera specs and the Librem 5 has very similar video output. Not great. Not at all bad.

Edit: I uploaded it to Youtube: https://www.youtube.com/shorts/POys9giVsK0

Given the bad lighting and everything going on in the video, I think it is pretty great. The audio is excellent too!

Enjoy!

8 Likes

I posted an L5 video here a bit ago. Audio is over modulated wind noise. May want to turn down your speakers.

3 Likes

Yep. I was inspired to install from source by Adamd. It wasn’t that hard. Just make sure you install it on your home folder and compile from there.

1 Like