11-04-2024, 09:41 AM
(This post was last modified: 11-04-2024, 09:53 AM by Kevin Kofler.)
The latest version of the forked Megapixels for the PinePhone Pro appears to be: https://github.com/kgmt0/megapixels – apparently last tested with a 6.1 kernel (linux-megi 6.1.12-1 from DanctNIX, see https://github.com/kgmt0/megapixels/comm...5ff34d0248).
The problem is that nobody is updating that code because it is a quick hack with poor image quality and everyone is targeting long-term development instead: most people are working on libcamera, the main developer of Megapixels is working on Megapixels 2.0 with libmegapixels, and there is also a person developing yet another library, libobscura. All those intend to support the PinePhone Pro properly. But only libcamera is already released (and supposed to already support the PinePhone Pro), and even that is hard to get running as you have found out.
What Manjaro ARM ships (for all users) is the Megapixels 1.8.2 release with these 3 patches:
applied with sed.
No guarantee that it will work though.
The problem is that nobody is updating that code because it is a quick hack with poor image quality and everyone is targeting long-term development instead: most people are working on libcamera, the main developer of Megapixels is working on Megapixels 2.0 with libmegapixels, and there is also a person developing yet another library, libobscura. All those intend to support the PinePhone Pro properly. But only libcamera is already released (and supposed to already support the PinePhone Pro), and even that is hard to get running as you have found out.
What Manjaro ARM ships (for all users) is the Megapixels 1.8.2 release with these 3 patches:
- https://github.com/kgmt0/megapixels/commit/06230f3a02cffdf8b683f85cb32fc256d73615d9.patch
- https://github.com/kgmt0/megapixels/commit/27a1e606d680295e0b4caceadf74ff5857ac16b2.patch
- https://github.com/kgmt0/megapixels/commit/d8b35bc223989cb165ba1b0716ab9f0ca9c43e53.patch
Code:
# 6.1 changes selfie cam name
# https://github.com/megous/linux/commit/59ee4accb3997098c7b65fbf529ef3033ab1fd5a
sed -i -e 's/m00_f_ov8858/ov8858/g' 'config/pine64,pinephone-pro.ini'
No guarantee that it will work though.