Jolla-Camera shows coloured bars and gray grains. (Seems to be some Gstreamer default)
[nemo@Sailfish ~]$ jolla-camera
[D] unknown:0 - Using Wayland-EGL
gst-plugin-scanner: /usr/share/droidmedia/hybris.c:53: __resolve_sym: Assertion `ptr != NULL' failed.
gst-plugin-scanner: /usr/share/droidmedia/hybris.c:53: __resolve_sym: Assertion `ptr != NULL' failed.
ALSA lib conf.c:3817:(config_file_open) cannot access file /etc/alsa/conf.d/50-arcam-av-ctl.conf
ALSA lib conf.c:3737:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4201:(snd_config_update_r) hooks failed, removing configuration
[W] unknown:0 - no alsa devices available
[W] unknown:20 - file:///usr/lib/qt5/qml/com/jolla/camera/settings/CameraDeviceToggle.qml:20: TypeError: Cannot read property 'length' of undefined
[D] onCompleted:105 - ViewPlaceholder requires a SilicaFlickable parent
[nemo@Sailfish ~]$
How do I fix this?
(It’s not hardware failure because the camera is usable with an Android app.)
Background: After upgrading to 4.3.0.12 the camera app wasn’t starting up/crashing.
Read in a forum post that deleting the contents of /home/nemo/.cache/gstreamer-1.0/ would fix the issue.
Deleting the cache did get the app to start up but it can’t seem to access the camera anymore and instead shows the GStreamer test bars and gray grains.
Also read elsewhere that “/usr/bin/killall minimediaservice” would fix the camera but that doesn’t help either.
I’m unable to uninstall/re-install the camera app
[root@Sailfish nemo]# pkcon remove jolla-camera
Resolving
Querying
Testing changes
Finished
Fatal error: This request will break your system!
[root@Sailfish nemo]#
I’m using the sfos-upgrade program to upgrade (in case the native installer gets it wrong) and validate the update state. You can download and install the rpm without adding the repo. Running the program may fix the error (it did for me, with the same wrong repo enabled before)
(The flashlight too was broken but I hadn’t noticed it but it too works now.)
[root@Sailfish delete]# sfos-upgrade 4.3.0.12
Notice: Less than 1 GiB (942784 KiB) free space on the root filesystem!
Please consider to clean up or enlarge the root filesystem, see e.g.:
https://gitlab.com/Phoen7x/sailfishX/-/blob/master/README.md#33-increasing-the-root-lvm-volume-size
Notice: Mind that sfos-upgrade is best run on a freshly rebooted device.
Notice: Do you want to ensure this SailfishOS 4.3.0.12 installation to be complete and up to date? (Y/N) Y
Notice: For troubleshooting issues with the upgrade proper, please consult https://jolla.zendesk.com/hc/en-us/articles/360005795474
- Stopping osupdate-check.timer
- Stopping aliendalvik.service
- Stopping alien-settings.service
- Setting SSU to SailfishOS release:
Changing release from 4.3.0.12 to 4.3.0.12
Your device is now in release mode!
- Fetching and installing the SailfishOS upgrade from 4.3.0.12 to 4.3.0.12 (this may take a while):
REFRESHING CACHE AND DOWNLOADING PACKAGES
Finished transaction (status=1, runtime=73699ms)
UPGRADING SYSTEM
Finished transaction (status=1, runtime=8122ms)
FINISHING
Download (3 packages)
- gmp-droid;0.4-1.2.1.jolla;armv7hl;adaptation-common
- gstreamer1.0-droid;0.20210820.0-1.2.1.jolla;armv7hl;adaptation-common
- qtscenegraph-adaptation;0.7.6-1.2.1.jolla;armv7hl;adaptation-common
Install (3 packages)
- gmp-droid;0.4-1.2.1.jolla;armv7hl;adaptation-common
- gstreamer1.0-droid;0.20210820.0-1.2.1.jolla;armv7hl;adaptation-common
- qtscenegraph-adaptation;0.7.6-1.2.1.jolla;armv7hl;adaptation-common
REBOOT NOW unless you need to investigate update
issues or know what you are doing (or both).
All bugs encountered until reboot are features.
Notice: After rebooting, do not miss to run post_sfos-upgrade
[root@Sailfish delete]#