We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

bug: Camera stopped working after 1.0.3.8 upgrade

asked 2014-02-01 13:44:53 +0200

sahkoamis gravatar image

updated 2016-03-19 10:41:21 +0200

miqu gravatar image

The camera only shows black, as if the lens could not see anything. Neither back nor front camera work. The shutter button appears gray, even when pressed.

edit retag flag offensive close delete

Comments

retag : add 1.0.3.8

TNZ ( 2014-02-01 13:59:46 +0200 )edit

Happened to me as well.

I have a lot of stuff installed from warehouse, jollastore and android-stuff also..

Will try to get some logs together.

I have a small !-triangle next to the "focus box" (the box in the center) when I swap back/front cameras.

Juuba ( 2014-02-03 08:49:06 +0200 )edit

Sorry, I don't know how to format the following log-snippet from " journalctl -fa "

Feb 03 09:17:38 juubanjolla dbus-daemon[902]: Activating service name='com.jolla.camera'

Feb 03 09:17:39 juubanjolla jolla-camera[10222]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Media' does not contain a module identifier directive - it cannot be protected from external registrations.

Feb 03 09:17:39 juubanjolla jolla-camera[10222]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'com.jolla.camera' does not contain a module identifier directive - it cannot be protected from external registrations.

Feb 03 09:17:39 juubanjolla jolla-camera[10222]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'QtDocGallery' does not contain a module identifier directive - it cannot be protected from external registrations.

Feb 03 09:17:39 juubanjolla ohmd[432]: * resource_request: register 163

Feb 03 09:17:39 juubanjolla dbus-daemon[902]: (jolla-camera:10222): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'scene-mode' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla dbus-daemon[902]: (jolla-camera:10222): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'noise-reduction' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'scene-mode' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'noise-reduction' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'image-preview-supported-caps' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'image-capture-supported-caps' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'flicker-mode' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'exposure' from interface 'GstPhotography'

Feb 03 09:17:39 juubanjolla [10222]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'ev-compensation' from interface 'GstPhotography'

Juuba ( 2014-02-03 09:15:58 +0200 )edit

odd, that the camera works in android Instagram.. but not in the normal Sailfish OS Camera application.

Juuba ( 2014-02-03 09:40:32 +0200 )edit

Can you change the title to clarify that this problem is about the packages not the Sailfish OS version. As your problem was fixed by reinstalling the packages? Didn't help for me though so still looking...

miqu ( 2016-03-19 10:49:19 +0200 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2014-02-01 14:22:30 +0200

updated 2014-02-01 14:29:09 +0200

I had similiar problem when i installed Ultimate Codec Support with warehouse, and then uninstalled it. Camera had same problems as you have. Installing codecs again solved problem. I think package replaced some native libs and uninstalling it removed those.

edit flag offensive delete publish link more

Comments

I had installed and removed it too, installing it again fixed it. Actually, I don't remember using the camera after removing that package, so this is not necessarily a problem with the system upgrade. Thanks!

sahkoamis ( 2014-02-01 14:37:33 +0200 )edit

Reinstalling the codec pack didn't work for me.

The camera worked before the 1.0.3.8 system update.

Juuba ( 2014-02-03 10:12:45 +0200 )edit

You could try uninstalling camera app and reinstaling it, I did before reinstalling UCS. But it might be some other problem.

kaari ( 2014-02-03 14:51:10 +0200 )edit

how to remove and re-install camera application?

Juuba ( 2014-02-03 20:43:03 +0200 )edit

You can check with installed camera related packages with "pkcon search name camera" and remove with pkcon remove package name. So I would try "pkcon remove jolla-camera jolla-camera-settings", then installing them back with "pkcon install ....". edit: Oh, you got it working, good.

kaari ( 2014-02-04 01:54:17 +0200 )edit
0

answered 2014-02-01 13:59:09 +0200

TNZ gravatar image

No problem for me on that apps. Try the reboot.

Did you run an andro app which use the camera ? The cam ressource could be held with a bad "unbind" from an other app.

edit flag offensive delete publish link more

Comments

Reboot did not help. I removed android support (I don't use android apps ~at all anyway) and rebooted again, no help.

sahkoamis ( 2014-02-01 14:08:13 +0200 )edit

Have you tried to reinstall the packages?

pkcon install -v -y gst-plugins-good gst-plugins-bad
(or zypper install --force gst-plugins-good gst-plugins-bad)
rainisto ( 2014-02-01 23:28:19 +0200 )edit

pckon install...

This did not help for me.

Juuba ( 2014-02-03 09:37:42 +0200 )edit

Then next thing is to test is to uninstall those 2 packages and then reinstall them back.

rainisto ( 2014-02-03 10:18:36 +0200 )edit

i presume it's "pkcon remove" or something similar?

.. anyways I already reset my device and got the camera working that way.

Juuba ( 2014-02-03 20:42:34 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-02-01 13:44:53 +0200

Seen: 641 times

Last updated: Feb 01 '14