Problem with cameras/Megapixels?
#1
Bug 
Since re-flashing Beta 11 to my eMMC, I've been unable to use my Pinephone cameras with the program Megapixels. This wasn't the case when I first received my Pinephone with the factory default OS and settings. The cameras worked fine out of the box. I didn't want those parts of the device working, so I switched them off for many months and thought nothing of it.

At the time of flashing to Beta 11, I still had the camera dip switches set to "off". Recently, I flicked the switch to "on" only to find that the Megapixels app doesn't work. When I try and open it, the desktop background screen shows, and that's it. No error messages or any other helpful prompts. 

I've tried reinstalling Megapixels without success.

Are there other packages that I should try reinstalling? I'm assuming this is a software/OS problem at this stage.  Undecided
For byte-sized tech and software tips check out my Danimations Digital Media tips channel on Youtube Big Grin
  Reply
#2
You should see any error messages if you open as terminal session and run megapixels there. And/or check for messages in the journal (journalctl -b or similar)

No exceptional pre-requisites but the error messages will clear up if that is a problem.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#3
Thanks @dukla2000 ... what command do I enter to run megapixels via terminal?
For byte-sized tech and software tips check out my Danimations Digital Media tips channel on Youtube Big Grin
  Reply
#4
(07-18-2021, 02:42 AM)danimations Wrote: Thanks @dukla2000 ... what command do I enter to run megapixels via terminal?
It's just
Code:
megapixels

Also another thing which may sound dumb, but sometimes it's the little things: Have you rebooted your phone after flipping the switch? Maybe the driver is only loaded at boot, so flipping switches with the phone turned on could lead to problems.
  Reply
#5
I've tested this further and have discovered that the problem listed at the top of this thread only occurs when one camera dipswitch is up and the other camera dipswitch is down. When both cameras are enabled, Megapixels loads fine.

Is this a universal fault? Perhaps in the start up routine in Megapixels and the way it searches for the two cameras?
For byte-sized tech and software tips check out my Danimations Digital Media tips channel on Youtube Big Grin
  Reply
#6
(08-10-2021, 05:59 AM)danimations Wrote: I've tested this further and have discovered that the problem listed at the top of this thread only occurs when one camera dipswitch is up and the other camera dipswitch is down. When both cameras are enabled, Megapixels loads fine.

Is this a universal fault? Perhaps in the start up routine in Megapixels and the way it searches for the two cameras?

This bug is still present.  It's fine with having one of the cameras turned off until I reboot.  The I get "Could not open /dev/video2: No such device or address
Segmentation fault"

Seems like a serious bug.
  Reply
#7
(08-10-2021, 05:59 AM)danimations Wrote: I've tested this further and have discovered that the problem listed at the top of this thread only occurs when one camera dipswitch is up and the other camera dipswitch is down. When both cameras are enabled, Megapixels loads fine.

Is this a universal fault? Perhaps in the start up routine in Megapixels and the way it searches for the two cameras?

This has been reported upstream:

https://gitlab.com/postmarketOS/megapixels/-/issues/13
  Reply
#8
I've tried several OSs (UBPorts, Sailfish, etc) but the most reliable so far seems to be Manjaro Phosh. I'm trying to use this as a daily 'phone.

However, Megapixels doesn't work. When I click on it, the camera screen appears but when I touch the 'photo button, Megapixels disappears instantly. It did take photos with other OSs. 

(manjaro-arm gnome 43 (phosh 0.23.0) Wayland  1.9gb/15.5gb 
PINEPHONE – Beta Edition bought Oct 2022)
PinePhone Beta 2GB/16GB Postmarket OS v23.06.1 Phosh 0.30.0 (not in use)

PineTab2 Arch Danctnix 6.4.2
  Reply
#9
(02-21-2023, 12:17 PM)gregb49 Wrote: I've tried several OSs (UBPorts, Sailfish, etc) but the most reliable so far seems to be Manjaro Phosh. I'm trying to use this as a daily 'phone.

However, Megapixels doesn't work. When I click on it, the camera screen appears but when I touch the 'photo button, Megapixels disappears instantly. It did take photos with other OSs. 

(manjaro-arm gnome 43 (phosh 0.23.0) Wayland  1.9gb/15.5gb 
PINEPHONE – Beta Edition bought Oct 2022)

Upgrade - this is fixed as we speak Smile.
Latest Manjaro upgrade did fix a lot and once again my Pinephone is rock solid.
Postprocessd from the default repo is not working so you have to use built-in postprocessor or install postprocessd from aur.
  Reply
#10
(02-21-2023, 02:47 PM)alaraajavamma Wrote: Upgrade - this is fixed as we speak Smile.
Latest Manjaro upgrade did fix a lot and once again my Pinephone is rock solid.
Postprocessd from the default repo is not working so you have to use built-in postprocessor or install postprocessd from aur.
Thanks. I've just carried out a 'pacman -Syu' upgrade, to phosh 0.24.0, and it seems that Megapixels is working now. 

I'm glad as I didn't understand your 'Postprocessed...' comment at all but I'm more a user than a tech expert.
PinePhone Beta 2GB/16GB Postmarket OS v23.06.1 Phosh 0.30.0 (not in use)

PineTab2 Arch Danctnix 6.4.2
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SMS Problem hugh_barnard 2 1,799 05-10-2023, 04:24 AM
Last Post: acrux
  Screen blocker is damaged ("loginctl unlock-session c1" problem) Gon 2 2,422 09-29-2022, 12:42 PM
Last Post: Firewave
Question Problem with booting from SD card. Several errors LittleStone 0 1,059 09-04-2022, 02:34 PM
Last Post: LittleStone
  Problem installing 8jef 0 1,718 12-19-2020, 08:01 PM
Last Post: 8jef

Forum Jump:


Users browsing this thread: 1 Guest(s)