Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot save a picture in Shutter on a PinePhone Pro #10

Open
DrYak opened this issue Oct 5, 2023 · 3 comments
Open

cannot save a picture in Shutter on a PinePhone Pro #10

DrYak opened this issue Oct 5, 2023 · 3 comments

Comments

@DrYak
Copy link

DrYak commented Oct 5, 2023

I am running Sailfish OS 4.5.0.24 on my Pinephone Pro
When I click on the "take a picture" button in Shutter:
the viewfinder freezes and nothing happens (UI is still responsive, I can switch back and forth between camera to restart the view finder).

I get these messages when pressing the button:

[D] onClicked:33 - button clicked
[D] unknown:0 - void CameraProxy::stillCapture(const QString&)
[D] unknown:0 - void CameraProxy::setState(CameraProxy::CameraState) CameraProxy::CameraState(CapturingStill)
[D] unknown:0 - Submitting request for still image 1920x1423-NV12

Nothing is showing up in journalctl at that moment.

My current configuration is:

[0_image]
format=R8
resolution=@Size(3200 2400)

[1_image]
format=NV12
resolution=@Size(3200 2400)

[global]
captureMode=image
disabledCameras=
gridMode=none
storagePath=/run/media/nemo/Ulysse31
@DrYak
Copy link
Author

DrYak commented Oct 8, 2023

Using the provided test RPM: seems to work.

In my case:

  • on the selfie cam: when using NV12 or NV21 format instead of R8, I don't get banding, even at 3200x2400 resolution.
  • world cam randomly doesn't work on some boots
  • When world cam works, I can manage 3840x2400 in NV12 or NV21 format, though I rarely get bands or weird colors.
  • when in R8 format I get vertically squashed and repeating picture (old guy's metaphor: like an analog TV with lost vertical sync)

@DrYak
Copy link
Author

DrYak commented Oct 8, 2023

Oh, and I have a weird bug, when holding the phone vertically: everything is rotated 90°.

  • i.e.: the saved JPEG is still in landscape orientation.
  • the view finder displays the camera view in landscape orientation, and zoom to fit the borders.

@DrYak
Copy link
Author

DrYak commented Oct 9, 2023

I rarely get bands or weird colors.

It's possible that this kernel error message about servicing rkisp's irq coincides with the color bands:
sailfish-on-dontbeevil/kernel-adaptation-pinephonepro#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant