ubports / ubuntu-touch

A simple and beautiful mobile OS for everyone! This repository is for Ubuntu Touch issue tracking. It does not contain any code used to create Ubuntu Touch.
https://ubports.com
1.28k stars 110 forks source link

Better way to detect CAF HWC #1438

Open rubencarneiro opened 4 years ago

rubencarneiro commented 4 years ago

Latest build of ci.ubports ubports-touch.rootfs-xenial-armhf.tar.gz causes halium devices in porting process, to not boot at all. Or it only boot once, can't boot the second time. This issue has been notice on devices like, nexus 5 with halium 7.1. Lg G2, Xiaomi Mi a1 and Sansung J5 2005.

dano6 commented 4 years ago

https://github.com/ubports/unity-system-compositor/pull/13 seems to be regression https://ci.ubports.com/job/xenial-rootfs-armhf/1046/ works fine but https://ci.ubports.com/job/xenial-rootfs-armhf/1049/ is broken I was looking into unity-system-compositor.log

first boot (partially succesfull run, no spinner, but unity started):

[1970-09-28 20:10:50.478749] <information> mirserver: Starting
[1970-09-28 20:10:50.480059] < - debug - > mirserver: Using Linux VT subsystem for session management
[1970-09-28 20:10:50.480733] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 20:10:50.480870] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 20:10:50.480940] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 20:10:50.481001] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 20:10:50.589548] <information> mirplatform: Found graphics driver: mir:android-caf (version 1.1.0) Support priority: 257
[1970-09-28 20:10:50.589970] <information> mirplatform: Found graphics driver: mir:android (version 1.1.0) Support priority: 256
[1970-09-28 20:10:50.590412] <information> mirserver: Selected driver: mir:android-caf (version 1.1.0)
[1970-09-28 20:10:50.752940] <information> android/server: Started fake SurfaceFlinger service
[1970-09-28 20:10:50.754085] <information> android/server: Found 1 matching egl configs
[1970-09-28 20:10:50.754131] <information> android/server: Android visual ID for selected display format : 1
[1970-09-28 20:10:50.754170] <information> android/server: Selected Mir display format : 1
library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
[1970-09-28 20:10:50.806465] <information> mirserver: Using software cursor
[1970-09-28 20:10:50.842547] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 20:10:50.842734] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 20:10:50.842851] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 20:10:50.842953] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 20:10:50.853484] <information> mirserver: Selected input driver: mir:evdev-input (version: 1.2.0)
[1970-09-28 20:10:50.854071] < -warning- > mirserver: Cannot set Wayland protocol filter: wl_display_set_global_filter() is unavailable in libwayland-dev 1.12.0
error: XDG_RUNTIME_DIR not set in the environment
GL_VENDOR = Qualcomm
GL_RENDERER = Adreno (TM) 330
GL_VERSION = OpenGL ES 2.0 (OpenGL ES 3.0 V@127.0 AU@  (GIT@I96aee987eb))
dm_connection_start
[1970-09-28 20:10:50.925480] <information> GLRenderer: EGL vendor: Android
[1970-09-28 20:10:50.925569] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[1970-09-28 20:10:50.925616] <information> GLRenderer: EGL client APIs: OpenGL_ES
[1970-09-28 20:10:50.925665] <information> GLRenderer: GL vendor: Qualcomm
[1970-09-28 20:10:50.925707] <information> GLRenderer: GL renderer: Adreno (TM) 330
[1970-09-28 20:10:50.925750] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.0 V@127.0 AU@  (GIT@I96aee987eb))
[1970-09-28 20:10:50.925792] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.00
[1970-09-28 20:10:50.925839] <information> GLRenderer: GL max texture size = 4096
[1970-09-28 20:10:50.925884] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[1970-09-28 20:10:50.950164] <information> mirserver: Mir version 1.2.0
[1970-09-28 20:10:50.992370] <information> mirserver: Initial display configuration:
[1970-09-28 20:10:50.992454] <information> mirserver: * Output 1: LVDS connected, used
[1970-09-28 20:10:50.992496] <information> mirserver: . |_ Physical size 62x110mm
[1970-09-28 20:10:50.992533] <information> mirserver: . |_ Power is off
[1970-09-28 20:10:50.992570] <information> mirserver: . |_ Current mode 1080x1920
[1970-09-28 20:10:50.992608] <information> mirserver: . |_ Preferred mode 1080x1920
[1970-09-28 20:10:50.992643] <information> mirserver: . |_ Orientation normal
[1970-09-28 20:10:50.992689] <information> mirserver: . |_ Logical size 1080x1920
[1970-09-28 20:10:50.992778] <information> mirserver: . |_ Logical position +0+0
[1970-09-28 20:10:50.992817] <information> mirserver: * Output 2: DisplayPort disconnected
[1970-09-28 20:10:50.992855] <information> mirserver: * Output 3: unknown disconnected
[1970-09-28 20:10:50.992891] <information> mirserver: * Output 4: Virtual disconnected
[1970-09-28 20:10:51.005995] < -warning- > evdev-input: Attempted to remove unmanaged fd 63
[1970-09-28 20:10:51.105806] < -warning- > evdev-input: Attempted to remove unmanaged fd 64
set_active_session 'session-0'
Opening session session-0
[1970-09-28 20:11:03.735294] <information> mirserver: Session session-0 applied display configuration
[1970-09-28 20:11:03.735380] <information> mirserver: * Output 1: LVDS connected, used
[1970-09-28 20:11:03.735427] <information> mirserver: . |_ Physical size 62x110mm
[1970-09-28 20:11:03.735469] <information> mirserver: . |_ Power is on
[1970-09-28 20:11:03.735511] <information> mirserver: . |_ Current mode 1080x1920
[1970-09-28 20:11:03.735551] <information> mirserver: . |_ Preferred mode 1080x1920
[1970-09-28 20:11:03.735592] <information> mirserver: . |_ Orientation normal
[1970-09-28 20:11:03.735633] <information> mirserver: . |_ Logical size 1080x1920
[1970-09-28 20:11:03.735702] <information> mirserver: . |_ Logical position +0+0
[1970-09-28 20:11:03.735747] <information> mirserver: * Output 2: DisplayPort disconnected
[1970-09-28 20:11:03.735789] <information> mirserver: * Output 3: unknown disconnected
[1970-09-28 20:11:03.735831] <information> mirserver: * Output 4: Virtual disconnected
[1970-09-28 20:12:37.648224] <information> evdev-input: Added /dev/input/event2
[1970-09-28 20:12:37.722759] <information> evdev-input: Added /dev/input/event0
[1970-09-28 20:12:37.744742] <information> evdev-input: Added /dev/input/event1
[1970-09-28 20:12:37.745183] <information> evdev-input: Added /dev/input/event3
[1970-09-28 20:12:37.785763] <information> GLRenderer: EGL vendor: Android
[1970-09-28 20:12:37.785849] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[1970-09-28 20:12:37.785896] <information> GLRenderer: EGL client APIs: OpenGL_ES
[1970-09-28 20:12:37.785939] <information> GLRenderer: GL vendor: Qualcomm
[1970-09-28 20:12:37.785980] <information> GLRenderer: GL renderer: Adreno (TM) 330
[1970-09-28 20:12:37.786023] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.0 V@127.0 AU@  (GIT@I96aee987eb))
[1970-09-28 20:12:37.786065] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.00
[1970-09-28 20:12:37.786107] <information> GLRenderer: GL max texture size = 4096
[1970-09-28 20:12:37.786151] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[1970-09-28 20:12:37.786793] <information> android-display: does not invalidate display buffers
[1970-09-28 20:12:37.786896] <information> mirserver: New display configuration:
[1970-09-28 20:12:37.786938] <information> mirserver: * Output 1: LVDS connected, used
[1970-09-28 20:12:37.786975] <information> mirserver: . |_ Physical size 62x110mm
[1970-09-28 20:12:37.787012] <information> mirserver: . |_ Power is on
[1970-09-28 20:12:37.787049] <information> mirserver: . |_ Current mode 1080x1920
[1970-09-28 20:12:37.787085] <information> mirserver: . |_ Preferred mode 1080x1920
[1970-09-28 20:12:37.787120] <information> mirserver: . |_ Orientation normal
[1970-09-28 20:12:37.787157] <information> mirserver: . |_ Logical size 1080x1920
[1970-09-28 20:12:37.787193] <information> mirserver: . |_ Logical position +0+0
[1970-09-28 20:12:37.787230] <information> mirserver: * Output 2: DisplayPort disconnected
[1970-09-28 20:12:37.787268] <information> mirserver: * Output 3: unknown disconnected
[1970-09-28 20:12:37.787304] <information> mirserver: * Output 4: Virtual disconnected

failed run

[1970-09-28 19:43:26.393524] <information> mirserver: Starting
[1970-09-28 19:43:26.394790] < - debug - > mirserver: Using Linux VT subsystem for session management
[1970-09-28 19:43:26.395292] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 19:43:26.395423] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 19:43:26.395492] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 19:43:26.395554] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 19:43:26.509537] <information> mirplatform: Found graphics driver: mir:android-caf (version 1.1.0) Support priority: 257
[1970-09-28 19:43:26.509990] <information> mirplatform: Found graphics driver: mir:android (version 1.1.0) Support priority: 256
[1970-09-28 19:43:26.510472] <information> mirserver: Selected driver: mir:android-caf (version 1.1.0)
[1970-09-28 19:43:26.556321] <information> android/server: Started fake SurfaceFlinger service
[1970-09-28 19:43:26.557530] <information> android/server: Found 1 matching egl configs
[1970-09-28 19:43:26.557583] <information> android/server: Android visual ID for selected display format : 1
[1970-09-28 19:43:26.557627] <information> android/server: Selected Mir display format : 1
library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
[1970-09-28 19:43:26.591060] <information> mirserver: Using software cursor
[1970-09-28 19:43:26.611886] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 19:43:26.612571] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 19:43:26.612713] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 19:43:26.612825] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 19:43:26.624227] <information> mirserver: Selected input driver: mir:evdev-input (version: 1.2.0)
ERROR: *** Error in `unity-system-compositor': corrupted double-linked list: 0x012436c8 ***

failed run

[1970-09-28 20:15:16.962442] <information> mirserver: Starting
[1970-09-28 20:15:16.964192] < - debug - > mirserver: Using Linux VT subsystem for session management
[1970-09-28 20:15:16.964955] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 20:15:16.965206] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 20:15:16.965283] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 20:15:16.965349] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 20:15:17.349637] <information> mirplatform: Found graphics driver: mir:android-caf (version 1.1.0) Support priority: 257
[1970-09-28 20:15:17.350108] <information> mirplatform: Found graphics driver: mir:android (version 1.1.0) Support priority: 256
[1970-09-28 20:15:17.350577] <information> mirserver: Selected driver: mir:android-caf (version 1.1.0)
[1970-09-28 20:15:18.904117] <information> android/server: Started fake SurfaceFlinger service
[1970-09-28 20:15:18.905318] <information> android/server: Found 1 matching egl configs
[1970-09-28 20:15:18.905366] <information> android/server: Android visual ID for selected display format : 1
[1970-09-28 20:15:18.905407] <information> android/server: Selected Mir display format : 1
library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
[1970-09-28 20:15:19.104418] <information> mirserver: Using software cursor
[1970-09-28 20:15:19.203592] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[1970-09-28 20:15:19.204229] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[1970-09-28 20:15:19.204416] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[1970-09-28 20:15:19.204533] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[1970-09-28 20:15:19.339548] <information> mirserver: Selected input driver: mir:evdev-input (version: 1.2.0)
[1970-09-28 20:15:19.340383] < -warning- > mirserver: Cannot set Wayland protocol filter: wl_display_set_global_filter() is unavailable in libwayland-dev 1.12.0
error: XDG_RUNTIME_DIR not set in the environment
GL_VENDOR = Qualcomm
GL_RENDERER = Adreno (TM) 330
GL_VERSION = OpenGL ES 2.0 (OpenGL ES 3.0 V@127.0 AU@  (GIT@I96aee987eb))
dm_connection_start
[1970-09-28 20:15:19.451860] <information> GLRenderer: EGL vendor: Android
[1970-09-28 20:15:19.451936] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[1970-09-28 20:15:19.452121] <information> GLRenderer: EGL client APIs: OpenGL_ES
[1970-09-28 20:15:19.452172] <information> GLRenderer: GL vendor: Qualcomm
[1970-09-28 20:15:19.457754] <information> GLRenderer: GL renderer: Adreno (TM) 330
[1970-09-28 20:15:19.457809] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.0 V@127.0 AU@  (GIT@I96aee987eb))
[1970-09-28 20:15:19.457854] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.00
[1970-09-28 20:15:19.457911] <information> GLRenderer: GL max texture size = 4096
[1970-09-28 20:15:19.457959] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[1970-09-28 20:15:19.507119] <information> mirserver: Mir version 1.2.0
[1970-09-28 20:15:19.549036] <information> mirserver: Initial display configuration:
[1970-09-28 20:15:19.549119] <information> mirserver: * Output 1: LVDS connected, used
[1970-09-28 20:15:19.549199] <information> mirserver: . |_ Physical size 62x110mm
[1970-09-28 20:15:19.549238] <information> mirserver: . |_ Power is off
[1970-09-28 20:15:19.549277] <information> mirserver: . |_ Current mode 1080x1920
[1970-09-28 20:15:19.549314] <information> mirserver: . |_ Preferred mode 1080x1920
[1970-09-28 20:15:19.549351] <information> mirserver: . |_ Orientation normal
[1970-09-28 20:15:19.549398] <information> mirserver: . |_ Logical size 1080x1920
[1970-09-28 20:15:19.549437] <information> mirserver: . |_ Logical position +0+0
[1970-09-28 20:15:19.549475] <information> mirserver: * Output 2: DisplayPort disconnected
[1970-09-28 20:15:19.549567] <information> mirserver: * Output 3: unknown disconnected
[1970-09-28 20:15:19.549609] <information> mirserver: * Output 4: Virtual disconnected
[1970-09-28 20:15:19.567605] < -warning- > evdev-input: Attempted to remove unmanaged fd 62
set_active_session 'session-0'
[1970-09-28 20:15:19.630799] < -warning- > evdev-input: Attempted to remove unmanaged fd 63
[1970-09-28 20:15:22.479948] < -warning- > usc::MirScreen: set_power_mode failed: ERROR: /build/mir-android-platform-0.31.2+0~20200324202509.3~1.gbp53aac2/src/platforms/android/server/real_hwc_wrapper.cpp(158): Throw in function virtual void mir::graphics::android::RealHwcWrapper::vsync_signal_on(mir::graphics::android::DisplayName) const
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: error turning vsync signal on. rc = ffffffa1

Opening session session-0
[1970-09-28 20:15:34.616727] <information> mirserver: Session session-0 applied display configuration
[1970-09-28 20:15:34.616847] <information> mirserver: * Output 1: LVDS connected, used
[1970-09-28 20:15:34.616921] <information> mirserver: . |_ Physical size 62x110mm
[1970-09-28 20:15:34.616992] <information> mirserver: . |_ Power is on
[1970-09-28 20:15:34.617076] <information> mirserver: . |_ Current mode 1080x1920
[1970-09-28 20:15:34.617161] <information> mirserver: . |_ Preferred mode 1080x1920
[1970-09-28 20:15:34.617243] <information> mirserver: . |_ Orientation normal
[1970-09-28 20:15:34.617321] <information> mirserver: . |_ Logical size 1080x1920
[1970-09-28 20:15:34.617396] <information> mirserver: . |_ Logical position +0+0
[1970-09-28 20:15:34.617467] <information> mirserver: * Output 2: DisplayPort disconnected
[1970-09-28 20:15:34.617539] <information> mirserver: * Output 3: unknown disconnected
[1970-09-28 20:15:34.617610] <information> mirserver: * Output 4: Virtual disconnected
[1970-09-28 20:16:39.440179] <information> evdev-input: Added /dev/input/event2
[1970-09-28 20:16:39.497791] <information> evdev-input: Added /dev/input/event0
[1970-09-28 20:16:39.519283] <information> evdev-input: Added /dev/input/event1
[1970-09-28 20:16:39.519720] <information> evdev-input: Added /dev/input/event3

and after pressing powerbutton in this case it throws:

[2020-05-07 06:21:32.354455] < -warning- > usc::MirScreen: set_power_mode failed: ERROR: /build/mir-android-platform-0.31.2+0~20200324202509.3~1.gbp53aac2/src/platforms/android/server/real_hwc_wrapper.cpp(158): Throw in function virtual void mir::graphics::android::RealHwcWrapper::vsync_signal_on(mir::graphics::android::DisplayName) const
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: error turning vsync signal on. rc = ffffffa1
abkro commented 4 years ago

I have been building for Samsung S7 herolte. I downloaded the rootfs on monday April 27th at 00:20 local time (Norway) in the morning, so I guess I am using https://ci.ubports.com/job/xenial-rootfs-armhf/1060/ and it boots and seemingly works quite well for me.

I have multiple issues with sound, camera, gps and more, but I am not knowledgeable enough to pinpoint the source of these problems. I just thought it might be useful to know that my device boots normally and connects to wifi (but not automatically). I can install apps and when running the morph browser, I can watch online TV live with good video, but no sound.

stefanomelchior commented 4 years ago

Tested on tenshi: 1) booted with black screen, but with lightdm working:

phablet@ubuntu-phablet:$ sudo less /var/log/lightdm/lightdm.log
[+68126.69s] DEBUG: DisplayServer: Compositor closed communication channel
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.3, UID=0 PID=1639
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/52-ubuntu-touch.conf
[+0.00s] DEBUG: Loading configuration dirs from /custom/xdg/data/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/90-phablet.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.03s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.03s] DEBUG: Seat seat0: Starting
[+0.03s] DEBUG: Using VT 1
[+0.03s] DEBUG: DisplayServer: Logging to /var/log/lightdm/unity-system-compositor.log
[+0.04s] DEBUG: Launching process 1672: /usr/share/ubuntu-touch-session/usc-wrapper --file '/run/mir_socket' --from-dm-fd 11 --to-dm-fd 14 --vt 1
[+0.04s] DEBUG: DisplayServer: Waiting for system compositor for 60s
[+0.04s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.16s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.16s] DEBUG: User /org/freedesktop/Accounts/User32011 added
[+4.94s] DEBUG: DisplayServer: Compositor closed communication channel
[+4.94s] DEBUG: Process 1672 exited with return value 0
[+4.94s] DEBUG: DisplayServer: Unity system compositor stopped
[+4.94s] DEBUG: Releasing VT 1
[+4.94s] DEBUG: Seat seat0: Compositor stopped
[+4.94s] DEBUG: Seat seat0: Stopping
[+4.94s] DEBUG: Seat seat0: Stopped
phablet@ubuntu-phablet:$

2) when I pressed power button it appeared GUI:

phablet@ubuntu-phablet:$ sudo less /var/log/lightdm/unity-system-compositor.log
[2020-05-09 00:21:05.213396] <information> GLRenderer: EGL vendor: Android
[2020-05-09 00:21:05.213716] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 00:21:05.213784] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 00:21:05.213839] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 00:21:05.213889] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-09 00:21:05.213943] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-09 00:21:05.213994] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-09 00:21:05.214051] <information> GLRenderer: GL max texture size = 16384
[2020-05-09 00:21:05.214113] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-09 00:37:31.098988] <information> GLRenderer: EGL vendor: Android
[2020-05-09 00:37:31.099213] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 00:37:31.099284] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 00:37:31.099340] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 00:37:31.099391] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-09 00:37:31.099447] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-09 00:37:31.099499] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-09 00:37:31.099557] <information> GLRenderer: GL max texture size = 16384
[2020-05-09 00:37:31.099621] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-09 01:47:59.827427] <information> GLRenderer: EGL vendor: Android
[2020-05-09 01:47:59.827691] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 01:47:59.827753] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 01:47:59.827809] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 01:47:59.827858] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-09 01:47:59.827912] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-09 01:47:59.827962] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-09 01:47:59.828027] <information> GLRenderer: GL max texture size = 16384
[2020-05-09 01:47:59.828088] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-09 01:48:26.628557] <information> GLRenderer: EGL vendor: Android
[2020-05-09 01:48:26.628879] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 01:48:26.628942] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 01:48:26.628997] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 01:48:26.629047] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-09 01:48:26.629099] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-09 01:48:26.629150] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-09 01:48:26.629210] <information> GLRenderer: GL max texture size = 16384
[2020-05-09 01:48:26.629273] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-09 02:04:06.443265] <information> GLRenderer: EGL vendor: Android
[2020-05-09 02:04:06.443475] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 02:04:06.443556] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 02:04:06.443607] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 02:04:06.443650] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-09 02:04:06.443697] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-09 02:04:06.443745] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-09 02:04:06.443802] <information> GLRenderer: GL max texture size = 16384
[2020-05-09 02:04:06.443856] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-09 02:08:39.959586] <information> GLRenderer: EGL vendor: Android
[2020-05-09 02:08:39.959934] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-09 02:08:39.960114] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-09 02:08:39.960176] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-09 02:08:39.960227] <information> GLRenderer: GL renderer: Adreno (TM) 505
phablet@ubuntu-phablet:$ sudo less /var/log/lightdm/unity-system-compositor.log.1.gz
[2020-05-08 11:39:36.701236] <information> GLRenderer: EGL vendor: Android
[2020-05-08 11:39:36.701575] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-08 11:39:36.701651] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-08 11:39:36.701706] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-08 11:39:36.701756] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-08 11:39:36.701822] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-08 11:39:36.701873] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-08 11:39:36.701931] <information> GLRenderer: GL max texture size = 16384
[2020-05-08 11:39:36.701995] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-08 11:40:17.736950] <information> GLRenderer: EGL vendor: Android
[2020-05-08 11:40:17.737140] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-08 11:40:17.737194] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-08 11:40:17.737238] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-08 11:40:17.737280] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-08 11:40:17.737325] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-08 11:40:17.737366] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-08 11:40:17.737414] <information> GLRenderer: GL max texture size = 16384
[2020-05-08 11:40:17.737465] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-08 15:23:41.850116] <information> GLRenderer: EGL vendor: Android
[2020-05-08 15:23:41.850311] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-08 15:23:41.850374] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-08 15:23:41.850421] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-08 15:23:41.850463] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-08 15:23:41.850507] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-08 15:23:41.850549] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-08 15:23:41.850600] <information> GLRenderer: GL max texture size = 16384
[2020-05-08 15:23:41.850652] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-08 15:26:57.699018] <information> GLRenderer: EGL vendor: Android
[2020-05-08 15:26:57.699156] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-08 15:26:57.699204] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-08 15:26:57.699248] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-08 15:26:57.699289] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-08 15:26:57.699332] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-08 15:26:57.699373] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-08 15:26:57.699420] <information> GLRenderer: GL max texture size = 16384
[2020-05-08 15:26:57.699470] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
Closing session session-0
Failed to connect to server socket: No such file or directory
[2020-05-08 15:28:57.580401] <information> mirserver: Starting
[2020-05-08 15:28:57.582285] < - debug - > mirserver: Using Linux VT subsystem for session management
[2020-05-08 15:28:57.583015] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
[2020-05-08 15:28:57.583191] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
[2020-05-08 15:28:57.583263] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
[2020-05-08 15:28:57.583315] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
[2020-05-08 15:28:57.588208] <information> mirplatform: Found graphics driver: mir:android (version 1.1.0) Support priority: 0
[2020-05-08 15:28:57.588431] <information> mirplatform: Found graphics driver: mir:android-caf (version 1.1.0) Support priority: 0
phablet@ubuntu-phablet:~$ sudo zless /var/log/lightdm/unity-system-compositor.log.2.gz 
[2020-05-07 15:30:47.927934] <information> GLRenderer: EGL vendor: Android
[2020-05-07 15:30:47.928247] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-07 15:30:47.928327] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-07 15:30:47.928377] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-07 15:30:47.928420] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-07 15:30:47.928467] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-07 15:30:47.928510] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-07 15:30:47.928561] <information> GLRenderer: GL max texture size = 16384
[2020-05-07 15:30:47.928614] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-07 20:51:10.900007] <information> GLRenderer: EGL vendor: Android
[2020-05-07 20:51:10.900227] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-07 20:51:10.900277] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-07 20:51:10.900322] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-07 20:51:10.900363] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-07 20:51:10.900408] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-07 20:51:10.900450] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-07 20:51:10.900499] <information> GLRenderer: GL max texture size = 16384
[2020-05-07 20:51:10.900562] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-07 20:52:53.230543] <information> GLRenderer: EGL vendor: Android
[2020-05-07 20:52:53.232821] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-07 20:52:53.232978] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-07 20:52:53.233040] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-07 20:52:53.233091] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-07 20:52:53.233146] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-07 20:52:53.233196] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-07 20:52:53.233256] <information> GLRenderer: GL max texture size = 16384
[2020-05-07 20:52:53.233319] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-07 22:33:06.759199] <information> GLRenderer: EGL vendor: Android
[2020-05-07 22:33:06.759385] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-07 22:33:06.759445] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-07 22:33:06.759497] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-07 22:33:06.759538] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-07 22:33:06.759584] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-07 22:33:06.759625] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-07 22:33:06.759673] <information> GLRenderer: GL max texture size = 16384
[2020-05-07 22:33:06.759726] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
[2020-05-07 22:33:37.878671] <information> GLRenderer: EGL vendor: Android
[2020-05-07 22:33:37.878891] <information> GLRenderer: EGL version: 1.4 Android META-EGL
[2020-05-07 22:33:37.878954] <information> GLRenderer: EGL client APIs: OpenGL_ES
[2020-05-07 22:33:37.879007] <information> GLRenderer: GL vendor: Qualcomm
[2020-05-07 22:33:37.879057] <information> GLRenderer: GL renderer: Adreno (TM) 505
[2020-05-07 22:33:37.879111] <information> GLRenderer: GL version: OpenGL ES 2.0 (OpenGL ES 3.2 V@145.0 (GIT@I23cc4685e6))
[2020-05-07 22:33:37.879161] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2020-05-07 22:33:37.879217] <information> GLRenderer: GL max texture size = 16384
[2020-05-07 22:33:37.879279] <information> GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0
phablet@ubuntu-phablet:$

but repowerd.log is flooded by: Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.powerd was not provided by any .service files

Flohack74 commented 4 years ago

We have confirmed the commit which breaks the GUI initialization, and we will try to analyze why this only affects certain devices. In case you want to work with a newer rootfs, please do on the device:

for arm64 replace armhf with arm64 of course ;)

Flohack74 commented 4 years ago

Guys we have a workaround for that thingie: Please apply the line with the ro.build.vanilla.abi to your device trees. See like here: https://github.com/ubports/android_device_lge_hammerhead/commit/29392bb99cfc2a23c27c7b1a298d2dcfe7981035#diff-3b27725fa91399ccbb4e4e7a2f8ccff8R135

Flohack74 commented 4 years ago

Its not perfect ATM but so far its something that will enable you to continue porting :)