PINE64
Megapixels on kernel > 5.19? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: PinePhone Pro Software (https://forum.pine64.org/forumdisplay.php?fid=179)
+--- Thread: Megapixels on kernel > 5.19? (/showthread.php?tid=17587)



Megapixels on kernel > 5.19? - timonoj - 11-11-2022

Hi guys!

So I saw this entry in the blog:

Quote:[*]Starting with kernel 5.19 PinePhone Pro’s cameras will work with Megapixels
[*]

I am currently on

Quote:Linux danctnix 6.0.2-3-danctnix #1 SMP PREEMPT_DYNAMIC Sat Oct 22 03:23:48 UTC 2022 aarch64 GNU/Linux

But if I try to start Megapixels...I get this:
Quote:pdate_state()
initializing camera
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument
MPDevice: MEDIA_IOC_SETUP_LINK error 22, Invalid argument
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 25, Inappropriate ioctl for device
Failed to get display configuration: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
Initialized OpenGL ES 3.1
MPCamera: VIDIOC_STREAMON error 67, Link has been severed
MPCamera: VIDIOC_DQBUF error 22, Invalid argument
Segmentation fault (core dumped)

So...what am I doing wrong?


RE: Megapixels on kernel > 5.19? - Piotr - 01-30-2023

I advise to use https://github.com/kgmt0/megapixels/tree/master or https://github.com/kgmt0/megapixels/tree/linux-megi-6.1

requires code download and compilation