Great success!
Well, kind of—since the screen obviously works if I’m fast enough to enter my security code, I thought that if I connect USB before unlocking it might render the USB dialog where I can select Developer mode and I might have a chance to click it before it goes dark—and after a few attempts I actually made it.
Now I’m SSH-ed in and I can read the logs. The crux of the problem is indeed Lipstick but I have no idea why nor how to fix it
This is what keeps repeating (with random other messages interspersed) whenever it tries to start the screen and fails spectacularly:
journalctl_redux.log
Jul 21 08:47:04 maqinica-unicorn mce[1865]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jul 21 08:47:04 maqinica-unicorn mce[1865]: tklock.c: tklock_ui_notify_beg_cb(): skipped: show device lock query
Jul 21 08:47:04 maqinica-unicorn systemd[1]: Started Controller for display.service.
Jul 21 08:47:05 maqinica-unicorn systemd[5404]: lipstick.service: Service hold-off time over, scheduling restart.
Jul 21 08:47:05 maqinica-unicorn systemd[5404]: lipstick.service: Scheduled restart job, restart counter is at 3.
Jul 21 08:47:05 maqinica-unicorn systemd[5404]: Stopped The lipstick UI.
Jul 21 08:47:05 maqinica-unicorn systemd[5404]: Starting The lipstick UI...
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: pending
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_step(): forced brightness sync to: 654
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: handled
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: pending
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_step(): forced brightness sync to: 654
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: handled
Jul 21 08:47:05 maqinica-unicorn mce[1865]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: library "libGLESv2_adreno.so" not found
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: library "eglSubDriverAndroid.so" not found
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: library "android.hardware.camera.provider@2.5.so" not found
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: libminisf is incompatible or missing. Can not possibly start the SurfaceFlinger service. If you're experiencing troubles with media try updating droidmedia (and/or this plugin).== hwcomposer module ==
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Address: 0x7ec5170008
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Module API Version: 3
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * HAL API Version: 0
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Identifier: hwcomposer
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Name: QTI Hardware Composer Module
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Author: CodeAurora Forum
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: == hwcomposer module ==
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: == hwcomposer device ==
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Version: 2000001 (interpreted as 2000001)
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: * Module: 0x7ec5170008
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: == hwcomposer device ==
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [D] unknown:0 - onHotplugReceived(0, 0, connected, primary)
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [W] unknown:0 - EGLFS: Failed to open /dev/fb0
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [D] unknown:0 - EGLFS: Screen Info
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [D] unknown:0 - - Physical size: QSizeF(60.0263, 139.148)
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [D] unknown:0 - - Screen size: QSize(1080, 2520)
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [D] unknown:0 - - Screen depth: 32
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [W] unknown:0 - QEglScreen 0x6c9c7a0
Jul 21 08:47:06 maqinica-unicorn lipstick[11225]: [W] unknown:0 - Notifications restored: 10
Jul 21 08:47:06 maqinica-unicorn kernel: BUG: Bad rss-counter state mm:ffffffc0d6485e80 idx:4 val:64
Jul 21 08:47:07 maqinica-unicorn sensorfwd[2788]: virtual bool HybrisAdaptor::setInterval(unsigned int, int) setInterval not ok
Jul 21 08:47:09 maqinica-unicorn lipstick[11225]: [W] unknown:105 - file:///usr/share/lipstick-jolla-home-qt5/layers/Layer.qml:105:25: Unable to assign [undefined] to double
Jul 21 08:47:09 maqinica-unicorn systemd[1]: selinux: Unknown class service
Jul 21 08:47:09 maqinica-unicorn mce[1865]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF
Jul 21 08:47:09 maqinica-unicorn lipstick[11225]: [D] unknown:0 - Registered VoiceCallAgent /com/jolla/Voicecall
Jul 21 08:47:09 maqinica-unicorn kernel: i2c_geni 4a88000.i2c: i2c error :-107
Jul 21 08:47:10 maqinica-unicorn lipstick[11225]: [D] onStatusChanged:45 - WeatherModel - could not obtain weather data The Place I'm At 102522091
Jul 21 08:47:10 maqinica-unicorn lipstick[11225]: [D] onStatusChanged:100 - WeatherForecastModel - could not obtain forecast weather data The Place I'm At 102522091
Jul 21 08:47:10 maqinica-unicorn mce[1865]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.273 owner=:1.273 pid=11225 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:key
Jul 21 08:47:10 maqinica-unicorn lipstick[11225]: [D] onStatusChanged:45 - WeatherModel - could not obtain weather data The Place I'm At 102522091
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:18 - file:///usr/share/lipstick-jolla-home-qt5/notifications/NotificationPreview.qml:18:1: QML NotificationPreview: Binding loop detected for property "notification"
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:18 - file:///usr/share/lipstick-jolla-home-qt5/notifications/NotificationPreview.qml:18:1: QML NotificationPreview: Binding loop detected for property "notification"
Jul 21 08:47:11 maqinica-unicorn mce[1865]: tklock.c: tklock_dbus_notification_beg_cb(): notification begin from name=:1.273 owner=:1.273 pid=11225 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:key
Jul 21 08:47:11 maqinica-unicorn mce[1865]: tklock.c: tklock_datapipe_uiexception_type_cb(): uiexception_type = none -> notif
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:68 - file:///usr/lib64/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:68 - file:///usr/lib64/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:68 - file:///usr/lib64/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:68 - file:///usr/lib64/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jul 21 08:47:11 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: pending
Jul 21 08:47:11 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_step(): forced brightness sync to: 654
Jul 21 08:47:11 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: handled
Jul 21 08:47:11 maqinica-unicorn systemd[1]: selinux: Unknown class service
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:31 - file:///usr/lib64/qt5/qml/Sailfish/Lipstick/NotificationAppIcon.qml:31:5: QML HighlightImageBase: Failed to get image from provider: image://nemothumbnail//home/defaultuser/.cache/apkd-bridge/icons/0_org.thoughtcrime.securesms_313399_null_10039.png
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:18 - file:///usr/share/lipstick-jolla-home-qt5/notifications/NotificationPreview.qml:18:1: QML NotificationPreview: Binding loop detected for property "notification"
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:18 - file:///usr/share/lipstick-jolla-home-qt5/notifications/NotificationPreview.qml:18:1: QML NotificationPreview: Binding loop detected for property "notification"
Jul 21 08:47:11 maqinica-unicorn mce[1865]: tklock.c: tklock_dbus_notification_beg_cb(): notification begin from name=:1.273 owner=:1.273 pid=11225 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:key
Jul 21 08:47:11 maqinica-unicorn lipstick[11225]: [W] unknown:31 - file:///usr/lib64/qt5/qml/Sailfish/Lipstick/NotificationAppIcon.qml:31:5: QML HighlightImageBase: Failed to get image from provider: image://nemothumbnail//home/defaultuser/.cache/apkd-bridge/icons/0_org.thoughtcrime.securesms_313399_null_10039.png
Jul 21 08:47:12 maqinica-unicorn mce[1865]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: UNDEF -> OPEN
Jul 21 08:47:12 maqinica-unicorn systemd[1]: selinux: Unknown class service
Jul 21 08:47:12 maqinica-unicorn lipstick[11225]: [W] unknown:0 - QEglWindow 0x7f124d0: 0x6f1d890 0x0
Jul 21 08:47:12 maqinica-unicorn ambience-wallpaper-tool[11252]: [W] unknown:0 - No filter named:
Jul 21 08:47:12 maqinica-unicorn ambience-wallpaper-tool[11252]: [D] unknown:0 - Using Wayland-EGL
Jul 21 08:47:12 maqinica-unicorn mce[1865]: modules/display.c: mdy_display_state_enter(): current display state = ON
Jul 21 08:47:12 maqinica-unicorn sensorfwd[2788]: [SocketHandler]: Socket error: QLocalSocket::PeerClosedError
Jul 21 08:47:12 maqinica-unicorn systemd[1]: sys-fs-bpf.mount: Cannot add dependency job, ignoring: Unit sys-fs-bpf.mount is not loaded properly: Invalid argument.
Jul 21 08:47:12 maqinica-unicorn sensorfwd[2788]: [SocketHandler]: Noticed lost session: 31
Jul 21 08:47:12 maqinica-unicorn [5463]: [W] unknown:0 - Wallpaper creation failed. ("--color-scheme", "light-on-dark", "--application-filter", "", "--application-output", "/home/defaultuser/.cache/ambienced/com/jolla/components/bgimages/12746971ap.jpg", "/usr/share/ambience/water/images/ambience_water.jpg")
Jul 21 08:47:12 maqinica-unicorn [5463]: [W] unknown:0 -
Jul 21 08:47:12 maqinica-unicorn kernel: binder_alloc: 11225: binder_alloc_buf, no vma
Jul 21 08:47:12 maqinica-unicorn kernel: binder: 5540:5587 transaction failed 29189/-3, size 76-0 line 3207
Jul 21 08:47:12 maqinica-unicorn systemd[1]: Starting Controller for display.service...
Jul 21 08:47:12 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_set_compositor_availability_changed(): compositor availability change: pending
Jul 21 08:47:12 maqinica-unicorn mce[1865]: modules/display.c: mdy_stm_step(): forced brightness sync to: 654
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered TRANSACTION_COMPLETE
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered transaction 66571, process died.
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered transaction 66570, process died.
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered transaction 66578, process died.
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered transaction 66581, process died.
Jul 21 08:47:12 maqinica-unicorn kernel: binder: undelivered transaction 66567, process died.
Jul 21 08:47:12 maqinica-unicorn kernel: BUG: Bad rss-counter state mm:ffffffc0d65fa300 idx:4 val:20835
Jul 21 08:47:12 maqinica-unicorn systemd[5404]: lipstick.service: Main process exited, code=killed, status=11/SEGV
Jul 21 08:47:12 maqinica-unicorn systemd[5404]: lipstick.service: Failed with result 'signal'.
Jul 21 08:47:12 maqinica-unicorn systemd[5404]: Failed to start The lipstick UI.
Any ideas on how to fix it, o mighty gurus of SailfishOS wisdom?
P.S. Also found this bug report: The screen goes black and that’s it which pretty much explains the same thing that’s happening with my device, except I don’t have any overlaying app installed and everything was working fine until it didn’t for no apparent reason (I didn’t change or install anything for this to happen). I also tried clearing up notifications as the only other overlaying thing I can think of but it didn’t help. I can now manually restart Lipstick but it doesn’t help either…