PINE64
Megapixels tuning - 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 tuning (/showthread.php?tid=17711)

Pages: 1 2


RE: Megapixels tuning - mburns - 02-06-2023

(02-05-2023, 07:24 AM)irnemgk581 Wrote:
(01-30-2023, 11:40 AM)mburns Wrote: The Megapixels camera package requires libtiff5; libtiff6 leaves megapixels behind. I had to find libtiff.so.5.8.0 in a flatpack directory to install it alongside libtiff.so.6 and company. Manjaro Plasma has also regressed on other libraries required for megapixels. Media formats are a problem now.


Can you provide specific guidance on what you did in Mobian? I can't find this using flatpak, Megapixels won't open

I would type the following command line:
$find /usr -name "libtiff.so.5.8.0"

This needs to be copied to the same /usr/lib directory as where libtiff.so.6 is found. Cd to that directory and do the symbolic link from libtiff.so.5 to libtiff.so.5.8.0.
# ln -s libtiff.so.5.8.0 libtiff.so.5

I have a fresh version of the necessary changes to the config file for megapixels on the PinePhone Pro.

$ diff pine64,pinephone-pro.ini pine64,pinephone-pro.ini.sav
3c3
< model=PinePhone Pro
---
> model=PinePhone
18c18
< blacklevel=16
---
> blacklevel=3
21,24c21,24
< cropfactor=7.38
< fnumber=2.4
< iso-min=0
< iso-max=480
---
> cropfactor=10.81
> fnumber=2.2
> iso-min=100
> iso-max=64000
42,44c42
< mirrored=false
< blacklevel=3
< whitelevel=255
---
> mirrored=true
46c44
< cropfactor=9.48
---
> cropfactor=12.7
48,49d45
< iso-min=0
< iso-max=2047


RE: Megapixels tuning - username4 - 02-11-2023

(02-06-2023, 04:01 PM)mburns Wrote:
(02-05-2023, 07:24 AM)irnemgk581 Wrote:
(01-30-2023, 11:40 AM)mburns Wrote: The Megapixels camera package requires libtiff5; libtiff6 leaves megapixels behind. I had to find libtiff.so.5.8.0 in a flatpack directory to install it alongside libtiff.so.6 and company. Manjaro Plasma has also regressed on other libraries required for megapixels. Media formats are a problem now.


Can you provide specific guidance on what you did in Mobian? I can't find this using flatpak, Megapixels won't open

I would type the following command line:
$find /usr -name "libtiff.so.5.8.0"

This needs to be copied to the same /usr/lib directory as where libtiff.so.6 is found. Cd to that directory and do the symbolic link from libtiff.so.5 to libtiff.so.5.8.0.
# ln -s libtiff.so.5.8.0 libtiff.so.5

I have a fresh version of the necessary changes to the config file for megapixels on the PinePhone Pro.

$ diff pine64,pinephone-pro.ini pine64,pinephone-pro.ini.sav
3c3
< model=PinePhone Pro
---
> model=PinePhone
18c18
< blacklevel=16
---
> blacklevel=3
21,24c21,24
< cropfactor=7.38
< fnumber=2.4
< iso-min=0
< iso-max=480
---
> cropfactor=10.81
> fnumber=2.2
> iso-min=100
> iso-max=64000
42,44c42
< mirrored=false
< blacklevel=3
< whitelevel=255
---
> mirrored=true
46c44
< cropfactor=9.48
---
> cropfactor=12.7
48,49d45
< iso-min=0
< iso-max=2047

this did not work at all

I didn't have a pine64,pinephone-pro.ini file and whenI just cut and pasted what you wrote, I got errors. Instead I did sudo nano and tried to create the file that wasn't there, then pasted this in. It also didn't work. It said model wasn't a valid key.

Then it added some lines in after I ran it with # in front of them. I just deleted everything and left the file there and I got a segmentation fault error.

Do I need to compile the megapixels that is on github or can I use the mobian megapixels?

A script for what to do would be great.


RE: Megapixels tuning - mburns - 02-12-2023

At this time, with a screwed up pine64,pinephone-pro.ini file, just delete the local megapixels ini and sh files under your user directory, and then reinstall megapixels.

$ sudo pacman -S megapixels

I have reinstalled Manjaro Plasma and updated it on the stable branch.

So now I have a new slim version of megapixels that does not use the config and postprocess files under the user's directory. The green-gray tint is back.

Instead the files must be modified in the installed directories, under /usr/share/megapixels.

If I do not modify these files, then the alternative is to postprocess the dng files produced by megapixels in rawtherapee on another computer. I did post above links to the profiles for the front and back cameras.


RE: Megapixels tuning - IHaveALinuxPhone - 02-16-2023

Is there any progress for Arch Linux?


RE: Megapixels tuning - pinephonepromobian - 02-16-2023

(02-12-2023, 11:57 AM)mburns Wrote: At this time, with a screwed up pine64,pinephone-pro.ini file, just delete the local megapixels ini and sh files under your user directory, and then reinstall megapixels.

$ sudo pacman -S megapixels

I have reinstalled Manjaro Plasma and updated it on the stable branch.

So now I have a new slim version of megapixels that does not use the config and postprocess files under the user's directory. The green-gray tint is back.

Instead the files must be modified in the installed directories, under /usr/share/megapixels.

If I do not modify these files, then the alternative is to postprocess the dng files produced by megapixels in rawtherapee on another computer. I did post above links to the profiles for the front and back cameras.

This is on mobian that I am having these problems. I thought with the new mobian package, it would be easy. Do I need to build the new version of MegaPixels on git? Do I still delete the directory and reinstall? I have no idea what I am doing.


RE: Megapixels tuning - Fish - 02-18-2023

(02-16-2023, 07:33 PM)pinephonepromobian Wrote:
(02-12-2023, 11:57 AM)mburns Wrote: At this time, with a screwed up pine64,pinephone-pro.ini file, just delete the local megapixels ini and sh files under your user directory, and then reinstall megapixels.

$ sudo pacman -S megapixels

I have reinstalled Manjaro Plasma and updated it on the stable branch.

So now I have a new slim version of megapixels that does not use the config and postprocess files under the user's directory. The green-gray tint is back.

Instead the files must be modified in the installed directories, under /usr/share/megapixels.

If I do not modify these files, then the alternative is to postprocess the dng files produced by megapixels in rawtherapee on another computer. I did post above links to the profiles for the front and back cameras.

This is on mobian that I am having these problems. I thought with the new mobian package, it would be easy. Do I need to build the new version of MegaPixels on git? Do I still delete the directory and reinstall? I have no idea what I am doing.


To get a working camera on the ppp, it is possible to use the app "pinhole". Although the rear camera doesn´t work after suspend.


RE: Megapixels tuning - mburns - 02-19-2023

So now, the Camera app works better than Megapixels on Mobian. Megapixels loses exposure control and flash on Mobian, at least with my installation. The Camera app adds its own auto white balance, much faster processing, and video output.


RE: Megapixels tuning - mburns - 03-01-2023

Now, March 1, the rear camera is not working after a suspend, no matter whether on Mobian, Manjaro, Megapixels, or Camera.


RE: Megapixels tuning - mburns - 03-18-2023

The Megapixels app has lost its auto exposure ability, whether on Mobian or Plasma. On Mobian there is no flash feature.