bug: camera stopped working
Hi,
My camera stopped working. Apps using the camera under android are getting pictures fine, and other sailfish using the camera seem not to be able to get pictures either. So I expect this is a system issue. I tried stopping android VM ith killdroid app, reinstalling jolla-camera-settings package, but it changed nothing.
Any ideas ? Is there a pkcon command to ask reinstallation of all system packages ? I would like to avoid loosing my configuration with a Reset Device...
Here is a log I got with journalctl -fa when camera app starts:
août 28 19:46:14 zeratul [21313]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Media' does not contain a module identifier directive - i t cannot be protected from external registrations.
août 28 19:46:14 zeratul [21313]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'com.jolla.camera' does not contain a module identifier directive - it cannot be protected from external registrations.
août 28 19:46:14 zeratul [21313]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'QtDocGallery' does not contain a module identifier directive - it cannot be protected from external registrations.
août 28 19:46:14 zeratul ohmd[518]: *** resource_request: register 40
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'scene-mode' from interface 'Gs tPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'noise-reduction' from interface 'GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'image-preview-supported-caps' from interface 'GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'image-capture-supported-caps' from interface 'GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'flicker-mode' from interface ' GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'exposure' from interface 'GstP hotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'colour-tone-mode' from interface 'GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'capabilities' from interface ' GstPhotography'
août 28 19:46:14 zeratul [21313]: GLIB CRITICAL ** GLib-GObject - Object class GstDroidCamSrc doesn't implement property 'aperture' from interface 'GstP hotography'
août 28 19:46:15 zeratul lipstick[962]: DeclarativeCoverWindow: I have a default alpha buffer
août 28 19:46:16 zeratul lipstick[962]: Unable to open /proc/16378/oom_score _adj for writing
août 28 19:46:16 zeratul ohmd[518]: *** resource_request: update 40
août 28 19:46:16 zeratul ohmd[518]: *** resource_request: register 41
août 28 19:46:16 zeratul ohmd[518]: *** resource_request: acquire 40
août 28 19:46:16 zeratul ohmd[518]: *** resource_request: acquire 41
août 28 19:46:16 zeratul [21313]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Gallery' does not contain a module identifier directive - it cannot be protected from external registrations.
août 28 19:46:16 zeratul [21313]: [W] CameraBinSession::processBusMessage:91 9 - CameraBin error: "Your GStreamer installation is missing a plug-in."
août 28 19:46:16 zeratul [21313]: [W] QQmlImportDatabase::importPlugin:1697 - Module 'Sailfish.Ambience' does not contain a module identifier directive - it cannot be protected from external registrations.
août 28 19:46:16 zeratul booster-silica-qt5[21468]: [D] QWaylandEglIntegration::QWaylandEglIntegration:58 - Using Wayland-EGL
août 28 19:46:17 zeratul booster-silica-qt5[21468]: [W] QQmlImportDatabase:: importPlugin:1697 - Module 'Sailfish.Silica' does not contain a module ident ifier directive - it cannot be protected from external registrations.
août 28 19:46:17 zeratul ohmd[518]: *** resource_request: register 42
août 28 19:46:17 zeratul ohmd[518]: *** resource_request: audio 42
août 28 19:46:17 zeratul ohmd[518]: *** resource_request: update 42
août 28 19:46:17 zeratul [21313]: [W] unknown:16 - file:///usr/share/jolla-camera/pages/gallery/GalleryView.qml:16: Unable to assign [undefined] to bool
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: release 41
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: update 40
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: release 40
août 28 19:46:18 zeratul lipstick[962]: Unable to open /proc/16378/oom_score_adj for writing
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: unregister 40
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: unregister 41
août 28 19:46:18 zeratul ohmd[518]: *** resource_request: unregister 42
I got an interesting log with csd tool, running «Front Camera» test.
Anybody knows what this « QCameraImageCapture error: "Camera not ready" » might be ?
vbregier ( 2014-09-04 17:37:19 +0200 )editHave you installed any gstreamer plugins from open repos?
Could you do: rpm -qa | grep gstreamer
And paste the output here?
MSameer ( 2014-09-08 21:15:49 +0200 )editI had installed openrepos packages that provide extra codec support to gstreamer, yes. I think I have removed all of them when trying to solve this issue.
Thank you for your help (if you’re still watching this thread 1 month later).
vbregier ( 2014-10-04 23:55:51 +0200 )editRemove gstreamer0.10-ffmpeg-extra-0.10.13-1.armv7hl
Then as nemo user execute: rm /home/nemo/.gstreamer-0.10/registry
MSameer ( 2014-10-05 00:16:41 +0200 )editI removed gstreamer0.10-ffmpeg-extra-0.10.13-1.armv7hl, rm /home/nemo/.gstreamer-0.10, rebooted, but I still get the bug :( And csd still reports the same "camera not ready" message…
vbregier ( 2014-10-07 00:56:17 +0200 )edit