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

[xenial] Camera app image freeze #611

Open
ernesst opened this Issue May 19, 2018 · 14 comments

Comments

@ernesst

ernesst commented May 19, 2018

  • Device: N5
  • Channel: Xenial
  • Build: 389

Steps to reproduce

Just take a picture

Expected behavior

no freeze

Actual behavior

The image in the camera app freezes, blocking to take another picture.
Video more : as soon as i activate the video mode the image freeze, i cannot even start to record

Logfiles and additional information


phablet@ubuntu-phablet:~$ tail -f .cache/upstart/application-legacy-camera-app-.log
file:///usr/share/camera-app//GalleryView.qml:70:5: QML OrientationHelper: All the parents must have an id.
State saving disabled for PhotogridView-photogridView:QQuickPinchArea-galleryViewPinch:_usr_share_camera-app__PhotogridView.qml:127:9:gridView, class OrientationHelper
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
[PERFORMANCE]: Last frame took 32 ms to render.
file:///usr/share/camera-app//ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
file:///usr/share/camera-app//ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
file:///usr/share/camera-app//ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionButton.qml:24:39: Unable to assign [undefined] to QString
file:///usr/share/camera-app//SlideshowView.qml:405: TypeError: Cannot read property 'actions' of null
	ext1: 1, ext2: 0 
	ext1: 0, ext2: 0 
	ext1: 0, ext2: 0 
qml: Picture saved as /home/phablet/Pictures/com.ubuntu.camera/image20180519_170459162.jpg
	ext1: 1, ext2: 0 
[PERFORMANCE]: Last frame took 36 ms to render.
[PERFORMANCE]: Last frame took 76 ms to render.
	ext1: 1, ext2: 0 
	ext1: 1, ext2: 0 
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
qml: Flipped
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
qml: Flipped
qml: optionsOverlayClose
[PERFORMANCE]: Last frame took 113 ms to render.
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
qml: Flipped
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
file:///usr/share/camera-app//OptionsOverlay.qml:174:5: QML Information: Binding loop detected for property "height"
qml: Flipped
[PERFORMANCE]: Last frame took 36 ms to render.
Camera framerate boundaries are set by the backend
Camera framerate boundaries are set by the backend
QObject::connect: No such slot AalImageCaptureControl::onPreviewReady()
Camera framerate boundaries are set by the backend
Camera framerate boundaries are set by the backend
Already have a texture id and video sink, not creating a new one
	ext1: 0, ext2: 0 
	ext1: 0, ext2: 0 
qml: Picture saved as /home/phablet/Pictures/com.ubuntu.camera/image20180519_170638328.jpg
Camera framerate boundaries are set by the backend
Camera framerate boundaries are set by the backend
@fourloop2002

This comment has been minimized.

Show comment
Hide comment
@fourloop2002

fourloop2002 May 20, 2018

Happens for me too. If do a long swipe left the camera app image goes black (frozen picture disappears). Reselect camera app and can tale another picture and the picture freezes. The cycle repeats itself ;-)

fourloop2002 commented May 20, 2018

Happens for me too. If do a long swipe left the camera app image goes black (frozen picture disappears). Reselect camera app and can tale another picture and the picture freezes. The cycle repeats itself ;-)

@ernesst

This comment has been minimized.

Show comment
Hide comment
@ernesst

ernesst May 30, 2018

In the mean time when i'm creating a screenshot, the phone is slightly freezing.

ernesst commented May 30, 2018

In the mean time when i'm creating a screenshot, the phone is slightly freezing.

@NeoTheThird NeoTheThird added this to Accepted in Ubuntu Touch Jun 2, 2018

@NeoTheThird NeoTheThird changed the title from [Xenial] Camera app image freeze to [xenial] Camera app image freeze Jun 2, 2018

@abkro

This comment has been minimized.

Show comment
Hide comment
@abkro

abkro Jun 7, 2018

I can confirm this running Xenial r416 on hammerhead.

  • The image freezes as described, preventing you from taking another picture
  • Long swipe towards left makes the image disappear (black screen). Sliding back towards the right so that the camera app is once more active (i.e. finger slides towards left first, then right without being lifted off the screen) reactivates the camera. A picture can once more be taken, but the freeze issue reproduces itself.

Other issues with the camera.

  • Video recording not possible (as mentioned above).
  • When tapping the 'rotate' icon, bottom right, everything stalls and you have to wait 3 seconds before anything happens.

abkro commented Jun 7, 2018

I can confirm this running Xenial r416 on hammerhead.

  • The image freezes as described, preventing you from taking another picture
  • Long swipe towards left makes the image disappear (black screen). Sliding back towards the right so that the camera app is once more active (i.e. finger slides towards left first, then right without being lifted off the screen) reactivates the camera. A picture can once more be taken, but the freeze issue reproduces itself.

Other issues with the camera.

  • Video recording not possible (as mentioned above).
  • When tapping the 'rotate' icon, bottom right, everything stalls and you have to wait 3 seconds before anything happens.
@RM250J

This comment has been minimized.

Show comment
Hide comment
@RM250J

RM250J Jun 14, 2018

Same here with r425 on hammerhead, take a picture and the screen freezes on that taken image, until I press the onscreen button to swap to the front camera. After a few seconds it will switch and a live image from the camera is active again, I can then switch back to the back camera and take another picture.

RM250J commented Jun 14, 2018

Same here with r425 on hammerhead, take a picture and the screen freezes on that taken image, until I press the onscreen button to swap to the front camera. After a few seconds it will switch and a live image from the camera is active again, I can then switch back to the back camera and take another picture.

@tomoqv

This comment has been minimized.

Show comment
Hide comment
@tomoqv

tomoqv Jun 14, 2018

Probably not related, but equally critical as the camera app won't launch at all on the Pro 5. #667

tomoqv commented Jun 14, 2018

Probably not related, but equally critical as the camera app won't launch at all on the Pro 5. #667

@mariogrip

This comment has been minimized.

Show comment
Hide comment
@mariogrip

mariogrip Jun 18, 2018

Member

ubports/libhybris#5 did not seem to have effect on this issue sadly :(

Member

mariogrip commented Jun 18, 2018

ubports/libhybris#5 did not seem to have effect on this issue sadly :(

@NeoTheThird NeoTheThird moved this from Accepted to In Development in Ubuntu Touch Jul 13, 2018

@NeoTheThird NeoTheThird moved this from In Development to Accepted in Ubuntu Touch Jul 24, 2018

@cibersheep

This comment has been minimized.

Show comment
Hide comment
@cibersheep

cibersheep Aug 7, 2018

Similar behaviour on Hammerhead 2018-W31

  • You can take first picture with back camera. After that preview image freezes.
  • Reopen app, and choose video: Start recording video. Preview image is frozen. Video file is black but it has audio.
  • Reopen app. Choose front camera. First image is green. Then preview, and preview freezes. Shooting takes a picture

cibersheep commented Aug 7, 2018

Similar behaviour on Hammerhead 2018-W31

  • You can take first picture with back camera. After that preview image freezes.
  • Reopen app, and choose video: Start recording video. Preview image is frozen. Video file is black but it has audio.
  • Reopen app. Choose front camera. First image is green. Then preview, and preview freezes. Shooting takes a picture
@ernesst

This comment has been minimized.

Show comment
Hide comment
@ernesst

ernesst Aug 8, 2018

User experience wise, I'm not sure it's a good idea to move it from ota 4 to 5.
As I'm daily using my camera at work, this ciurent bug is stopping me to use my 16.04 as daily driver ( I'm patient :) ). However std users recieving the ota with a camera regression will be disapointed.

ernesst commented Aug 8, 2018

User experience wise, I'm not sure it's a good idea to move it from ota 4 to 5.
As I'm daily using my camera at work, this ciurent bug is stopping me to use my 16.04 as daily driver ( I'm patient :) ). However std users recieving the ota with a camera regression will be disapointed.

@Flohack74

This comment has been minimized.

Show comment
Hide comment
@Flohack74

Flohack74 Aug 8, 2018

Member

@ernesst We know its not optimal, but we also seem to not find the bug. How long should we delay OTA-4 after me have delayed it for 2 months now? There are a lot of other fixes waiting to be deployed, plus we are running on an unsupported Ubuntu core version, and we are risking to get security issues etc.

Member

Flohack74 commented Aug 8, 2018

@ernesst We know its not optimal, but we also seem to not find the bug. How long should we delay OTA-4 after me have delayed it for 2 months now? There are a lot of other fixes waiting to be deployed, plus we are running on an unsupported Ubuntu core version, and we are risking to get security issues etc.

@ernesst

This comment has been minimized.

Show comment
Hide comment
@ernesst

ernesst Aug 13, 2018

Interesting fact, even if the screen freeze on the N5, I can still take picture one after the one.

ernesst commented Aug 13, 2018

Interesting fact, even if the screen freeze on the N5, I can still take picture one after the one.

@Flohack74

This comment has been minimized.

Show comment
Hide comment
@Flohack74

Flohack74 Aug 13, 2018

Member

This is why we said we want to shift it. Its not critical imho

Member

Flohack74 commented Aug 13, 2018

This is why we said we want to shift it. Its not critical imho

@trickyut

This comment has been minimized.

Show comment
Hide comment
@trickyut

trickyut Sep 5, 2018

Hi,
issue appears on OPO as well
BR,
tricky

trickyut commented Sep 5, 2018

Hi,
issue appears on OPO as well
BR,
tricky

@ZikZakFR

This comment has been minimized.

Show comment
Hide comment
@ZikZakFR

ZikZakFR Sep 24, 2018

I have the same issue and what seems to be a related side-effect in another application: "InstantFX".
When a picture is selected, the next step won't show the actual picture for applying effects

ZikZakFR commented Sep 24, 2018

I have the same issue and what seems to be a related side-effect in another application: "InstantFX".
When a picture is selected, the next step won't show the actual picture for applying effects

@rolandwells

This comment has been minimized.

Show comment
Hide comment
@rolandwells

rolandwells Sep 25, 2018

same behavior here
device: nexus 5
build: aosp_hammerhead-userdebug 5.1.1 LMY48W 689 test-keys
rear-facing camera: you can take pictures, but the preview freezes after taking the first picture
front-facing camera: preview is frozen as soon as you switch to this camera, pictures can still be taken
in all cases taking pictures once the shutter icon is pressed takes way too long

rolandwells commented Sep 25, 2018

same behavior here
device: nexus 5
build: aosp_hammerhead-userdebug 5.1.1 LMY48W 689 test-keys
rear-facing camera: you can take pictures, but the preview freezes after taking the first picture
front-facing camera: preview is frozen as soon as you switch to this camera, pictures can still be taken
in all cases taking pictures once the shutter icon is pressed takes way too long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment