Sony Experia 10 II Camera black screen but works in android

My Camera with build in Camera Jalla App stop working with back camera (front camera sill works).
I see only a black screen.

[root@Xperia10II-DualSIM defaultuser]# journalctl -f --no-pager
-- Logs begin at Tue 2024-11-26 16:47:58 CET. --
ноя 26 17:07:39 Xperia10II-DualSIM systemd[1]: selinux: Unknown permission start for class system
ноя 26 17:07:39 Xperia10II-DualSIM systemd[1]: selinux: Unknown class service
ноя 26 17:07:39 Xperia10II-DualSIM systemd[1]: Started Session c2 of user defaultuser.
ноя 26 17:07:39 Xperia10II-DualSIM systemd-logind[1182]: New session c2 of user defaultuser.
ноя 26 17:07:40 Xperia10II-DualSIM sshd[2230]: pam_unix(sshd:session): session opened for user defaultuser by (uid=0)
ноя 26 17:07:40 Xperia10II-DualSIM systemd[2958]: selinux: Unknown permission status for class system
ноя 26 17:07:40 Xperia10II-DualSIM systemd[2958]: selinux: Unknown permission status for class system
ноя 26 17:07:40 Xperia10II-DualSIM systemd[2958]: selinux: Unknown permission status for class system
ноя 26 17:07:40 Xperia10II-DualSIM systemd[2958]: selinux: Unknown permission status for class system
ноя 26 17:07:49 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107


ноя 26 17:08:05 Xperia10II-DualSIM booster-silica-media[2452]: [D] unknown:0 - Using Wayland-EGL
ноя 26 17:08:05 Xperia10II-DualSIM autologind[2922]: library "libui_compat_layer.so" not found
ноя 26 17:08:05 Xperia10II-DualSIM autologind[2922]: library "libGLESv2_adreno.so" not found
ноя 26 17:08:05 Xperia10II-DualSIM autologind[2922]: library "eglSubDriverAndroid.so" not found
ноя 26 17:08:06 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:08:06 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:08:06 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:08:06 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:08:06 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:08:06 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:08:06 Xperia10II-DualSIM [31329]: ssusysinfo_load_ssu_config: expected ssu config version 14, found 0
ноя 26 17:08:06 Xperia10II-DualSIM [31329]: ssusysinfo_load_ssu_config: expected ssu config version 14, found 0
ноя 26 17:08:06 Xperia10II-DualSIM [31329]: ssusysinfo_load_ssu_config: expected ssu config version 14, found 0
ноя 26 17:08:07 Xperia10II-DualSIM invoker[3560]: WARNING: An inactive plugin is misbehaving - tried to show a window!
ноя 26 17:08:07 Xperia10II-DualSIM invoker[3560]: WARNING: requestActivate() called for  QQuickView(0x4a45dc0)  which has Qt::WindowDoesNotAcceptFocus set.
ноя 26 17:08:08 Xperia10II-DualSIM lipstick[3406]: [W] unknown:0 - WindowPixmapItem does not have a source texture, cover will be dropped..
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_csid_irq CSID3_IRQ_STATUS_ADDR = 0x800
ноя 26 17:08:08 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:08:08 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:08:08 Xperia10II-DualSIM kernel: msm_camera_request_gpio_table:776 gpio 117:CAM_IO request fails
ноя 26 17:08:09 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:08:09 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:08:09 Xperia10II-DualSIM kernel: msm_csid_irq CSID3_IRQ_STATUS_ADDR = 0x800
ноя 26 17:08:09 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:08:09 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:08:09 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:08:09 Xperia10II-DualSIM kernel: msm_csid_irq CSID3_IRQ_STATUS_ADDR = 0x800
ноя 26 17:08:09 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:08:09 Xperia10II-DualSIM [31329]: [D] onCompleted:108 - ViewPlaceholder requires a SilicaFlickable parent
ноя 26 17:08:12 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:12 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq: 12 callbacks suppressed
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR0 = 0x40404040
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR1 = 0x0
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR2 = 0x0
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR3 = 0x8080808
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR4 = 0x0
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR5 = 0x0
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR6 = 0x1010101
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR7 = 0x0
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR8 = 0x20202020
ноя 26 17:08:14 Xperia10II-DualSIM kernel: msm_csiphy_irq CSIPHY2_IRQ_STATUS_ADDR9 = 0x0
ноя 26 17:08:17 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:17 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:19 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:08:22 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:22 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:27 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:27 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:30 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:08:32 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:32 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:38 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:38 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:40 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:08:43 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:43 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:48 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:48 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:50 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:08:53 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:53 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:08:58 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:08:58 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:09:00 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:09:04 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:09:04 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:09:09 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:09:09 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default
ноя 26 17:09:10 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:09:14 Xperia10II-DualSIM kernel: msm_private_ioctl:Notifying subdevs about potential sof freeze
ноя 26 17:09:14 Xperia10II-DualSIM kernel: MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl:122 default

Android apps like Telegram can access Camera.

I also tried advanced Camera app.
Sometimes it works with low resolutions.

ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onReadingChanged:38 - Orientation: 1 1
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [W] unknown:0 - CameraBin error: "GStreamer encountered a general supporting library error."
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onCameraStatusChanged:224 - Camera status: 1
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onTriggered:679 - camera delayed start 0
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 2
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 0
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 1
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 2
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 0
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 1
ноя 26 17:16:41 Xperia10II-DualSIM kernel: i2c_geni 4a88000.i2c: i2c error :-107
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 2
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 0
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 1
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:16:41 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onCameraStatusChanged:224 - Camera status: 2
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onCameraStatusChanged:224 - Camera status: 4
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advance[6264]: videobin-capsfilter: transform_caps returned caps which are not a real subset of the filter caps
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onCameraStatusChanged:224 - Camera status: 6
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] unknown:0 - Supported  "video"  resolutions: QMap(("1024x768", QSize(1024, 768))("1280x400", QSize(
1280, 400))("1280x480", QSize(1280, 480))("1280x768", QSize(1280, 768))("1280x960", QSize(1280, 960))("1440x1080", QSize(1440, 1080))("176x144", QSize(176, 144))("1920x1
080", QSize(1920, 1080))("240x320", QSize(240, 320))("320x240", QSize(320, 240))("352x288", QSize(352, 288))("480x320", QSize(480, 320))("480x360", QSize(480, 360))("480
x640", QSize(480, 640))("640x360", QSize(640, 360))("640x640", QSize(640, 640))("720x480", QSize(720, 480))("800x600", QSize(800, 600)))
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] unknown:0 - Supported  "video"  resolutions: QMap(("1024x768", QSize(1024, 768))("1280x400", QSize(
1280, 400))("1280x480", QSize(1280, 480))("1280x768", QSize(1280, 768))("1280x960", QSize(1280, 960))("1440x1080", QSize(1440, 1080))("176x144", QSize(176, 144))("1920x1
080", QSize(1920, 1080))("240x320", QSize(240, 320))("320x240", QSize(320, 240))("352x288", QSize(352, 288))("480x320", QSize(480, 320))("480x360", QSize(480, 360))("480
x640", QSize(480, 640))("640x360", QSize(640, 360))("640x640", QSize(640, 640))("720x480", QSize(720, 480))("800x600", QSize(800, 600)))
ноя 26 17:16:41 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] unknown:0 - Supported  "video"  resolutions: QMap(("1024x768", QSize(1024, 768))("1280x400", QSize(
1280, 400))("1280x480", QSize(1280, 480))("1280x768", QSize(1280, 768))("1280x960", QSize(1280, 960))("1440x1080", QSize(1440, 1080))("176x144", QSize(176, 144))("1920x1
080", QSize(1920, 1080))("240x320", QSize(240, 320))("320x240", QSize(320, 240))("352x288", QSize(352, 288))("480x320", QSize(480, 320))("480x360", QSize(480, 360))("480
x640", QSize(480, 640))("640x360", QSize(640, 360))("640x640", QSize(640, 640))("720x480", QSize(720, 480))("800x600", QSize(800, 600)))
ноя 26 17:16:41 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:16:41 Xperia10II-DualSIM kernel: ispif_process_irq: PIX0 frame id: 0
ноя 26 17:16:41 Xperia10II-DualSIM kernel: ispif_process_irq: PIX0 frame id: 1
ноя 26 17:16:42 Xperia10II-DualSIM kernel: ispif_process_irq: PIX0 frame id: 2
ноя 26 17:16:42 Xperia10II-DualSIM kernel: ispif_process_irq: PIX0 frame id: 3
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] onCameraStatusChanged:224 - Camera status: 8
ноя 26 17:16:42 Xperia10II-DualSIM kernel: ispif_process_irq: PIX0 frame id: 4
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] unknown:0 - Supported  "video"  resolutions: QMap(("1024x768", QSize(1024, 768))("1280x400", QSize(
1280, 400))("1280x480", QSize(1280, 480))("1280x768", QSize(1280, 768))("1280x960", QSize(1280, 960))("1440x1080", QSize(1440, 1080))("176x144", QSize(176, 144))("1920x1
080", QSize(1920, 1080))("240x320", QSize(240, 320))("320x240", QSize(320, 240))("352x288", QSize(352, 288))("480x320", QSize(480, 320))("480x360", QSize(480, 360))("480
x640", QSize(480, 640))("640x360", QSize(640, 360))("640x640", QSize(640, 640))("720x480", QSize(720, 480))("800x600", QSize(800, 600)))
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [W] unknown:245 - file:///usr/share/harbour-advanced-camera/qml/pages/CameraUI.qml:245: Error: Cannot a
ssign QJSValue to QSize
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 2
ноя 26 17:16:42 Xperia10II-DualSIM kernel: msm_isp_buf_enqueue: Invalid bufq, handle 0x1000207, stream id 10002 num_plane 2
ноя 26 17:16:42 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:16:42 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1135 CPP HW Version: 0x60010004
ноя 26 17:16:42 Xperia10II-DualSIM kernel: MSM-CPP cpp_init_hardware:1153 stream_cnt:0
ноя 26 17:16:42 Xperia10II-DualSIM kernel: msm_csid_init: CSID_VERSION = 0x30050000
ноя 26 17:16:42 Xperia10II-DualSIM kernel: msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
ноя 26 17:16:42 Xperia10II-DualSIM kernel: msm_cci_init:1446: hw_version = 0x10060000
ноя 26 17:16:42 Xperia10II-DualSIM kernel: MSM-CPP cpp_release_hardware:1216 cpp hw release done
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 0
ноя 26 17:16:42 Xperia10II-DualSIM harbour-advanced-camera[6264]: [D] checkIfCamExists:915 - Check if cam exists: 1

Any ideas how to fix it? Or this is an hardware Issue?
Sailfish is in last version Sauna

When it works with android, I would guess that it is gstreamer issue. Just try:

rm -rf  .cache/gstreamer-1.0

and start camera app again.

When it will not help, just try to increase gstreamer log verbosity by setting GST_DEBUG variable, look to errors, debug messages…

GST_DEBUG=10 jolla-camera  2>&1 | grep ERR
1 Like

Redo for the permission with the application in android setting, this is only the way at the moment. Same problem with whatsapp.