[Megapixels] Flash strobe, pictures viewer and MPCamera error 22
#1
Hi all,

I'm in bookworm mobian and do all latest available updates/upgrades on repo.

I have megapixels with 1.6.0-1+b1 version.

As suggest, i have installed necessary packages "dcraw" and "imagemagick".

In log, flash strobe is not openned.

Code:
Failed to open /sys/class/leds/white:flash/flash_strobe


And when i clicked on picture small icon to launch the picture viewer, it returned to me this error.

Code:
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.


Moreover, some camera log give error 22 as described follow.


Code:
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
MPCamera: VIDIOC_QBUF error 22, Argument invalide


Thanks a lot for your feedback.


All log megapixels from term are here.


Code:
megapixels
Found config file at /usr/share/megapixels/config/pine64,pinephone-1.2.ini
Adding camera rear from config
Adding camera front from config
Failed to open /sys/class/leds/white:flash/flash_strobe
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
Initialized OpenGL ES 2.0
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/0.dng
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/1.dng
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/2.dng
Making thumbnail
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/3.dng
Post process /tmp/megapixels.SXpdil to /home/home/Images/IMG20230317080048.ext (save-dng 1)
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
MPCamera: VIDIOC_QBUF error 22, Argument invalide
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.
  Reply
#2
(03-17-2023, 07:17 AM)freelectro Wrote: Hi all,

I'm in bookworm mobian and do all latest available updates/upgrades on repo.

I have megapixels with 1.6.0-1+b1 version.

As suggest, i have installed necessary packages "dcraw" and "imagemagick".

In log, flash strobe is not openned.

Code:
Failed to open /sys/class/leds/white:flash/flash_strobe


And when i clicked on picture small icon to launch the rooftop snipers viewer, it returned to me this error.

Code:
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.


Moreover, some camera log give error 22 as described follow.


Code:
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
MPCamera: VIDIOC_QBUF error 22, Argument invalide


Thanks a lot for your feedback.


All log megapixels from term are here.


Code:
megapixels
Found config file at /usr/share/megapixels/config/pine64,pinephone-1.2.ini
Adding camera rear from config
Adding camera front from config
Failed to open /sys/class/leds/white:flash/flash_strobe
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
Initialized OpenGL ES 2.0
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/0.dng
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/1.dng
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/2.dng
Making thumbnail
TIFF version 20221213
Writing frame to /tmp/megapixels.SXpdil/3.dng
Post process /tmp/megapixels.SXpdil to /home/home/Images/IMG20230317080048.ext (save-dng 1)
MPCamera: VIDIOC_SUBDEV_S_FRAME_INTERVAL error 22, Argument invalide
MPCamera: VIDIOC_QBUF error 22, Argument invalide
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.
display-im6.q16: unable to open X server `' @ error/display.c/DisplayImageCommand/412.

Flash Strobe Issue:
The error message indicates that the flash strobe is not being opened. This could be due to a hardware or configuration issue. Make sure that your device's camera supports a flash strobe and that it is functioning correctly. Additionally, check the configuration files for Megapixels to ensure that the settings for the flash strobe are properly configured.

X Server Error:
The error message "unable to open X server" suggests an issue with the X server, which is responsible for managing graphical display on Linux systems. Make sure that the X server is running and accessible. If you are running Megapixels from a terminal, try launching it from a graphical user interface (GUI) environment to see if the error persists.

VIDIOC_SUBDEV_S_FRAME_INTERVAL and VIDIOC_QBUF Errors:
These errors indicate problems with video input/output control (VIDIOC) operations. It could be caused by incompatible or incorrect camera drivers or configurations. Make sure that you have the appropriate camera drivers installed and configured correctly for your device. You may need to check the Megapixels documentation or seek support from the Mobian or Megapixels community for further assistance.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModemManager debug mode? (Needed to flash modem) calinb 1 1,632 02-27-2023, 04:18 PM
Last Post: calinb
Exclamation The document viewer Evince cannot be reinstalled anonymous 0 798 09-08-2022, 05:09 AM
Last Post: anonymous
  Megapixels doesn't work Glenn 4 3,739 08-28-2022, 03:19 PM
Last Post: vortex
  Megapixels and Pinhole Zebulon Walton 0 1,103 06-15-2022, 04:53 PM
Last Post: Zebulon Walton
  Fast image viewer? vusra 0 983 04-25-2022, 04:09 AM
Last Post: vusra
  Error - megapixels not opening user641 17 12,406 03-29-2022, 03:43 PM
Last Post: bcnaz
  Flatpak error during apt update user641 0 1,354 02-14-2022, 08:35 AM
Last Post: user641
  How to flash a µSD-Card with Balena Etcher walter1950 1 1,608 01-22-2022, 02:06 AM
Last Post: bcnaz
  Waydroid error: not using Wayland. But I am! quixote 7 7,835 01-09-2022, 02:47 PM
Last Post: jsch
  Suddenly, nothing but a backlight and a boot logo flash 3x5co 8 5,111 12-05-2021, 08:24 PM
Last Post: Anna

Forum Jump:


Users browsing this thread: 1 Guest(s)