The ro.libagl ovrride has been removed from vendor/replicant
in order to enable each device to overrdide the libagl.

If we don't switch back to libagl for this device, we ends
up in the following boot loop:
  I SurfaceFlinger: SurfaceFlinger is starting
  [...]
  E ti_hwc  : Composer HAL failed to load compatible Graphics HAL
  E SurfaceFlinger: composer device failed to initialize (Invalid argument)
  [...]
  I SurfaceFlinger: Client API: OpenGL_ES
  I SurfaceFlinger: EGLSurface: 5-6-5-0, config=0xb56ed740
  F SurfaceFlinger: EGLContext creation failed
  [...]
  I SurfaceFlinger: SurfaceFlinger is starting

Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 device.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/device.mk b/device.mk
index 2c4b7a8..4107626 100644
--- a/device.mk
+++ b/device.mk
@@ -33,6 +33,12 @@ PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/audio/tiny_hw_espressowifi.xml:system/etc/sound/espressowifi 
\
     
$(LOCAL_PATH)/audio/tiny_hw_espresso10wifi.xml:system/etc/sound/espresso10wifi
 
+# See vendor/replicant/config/common.mk for more details about the ro.libagl
+# configuration parameter.
+# This device doesn't boot with llvmpipe, probably due to some
+# color format issue, so we have to use libagl for now.
+PRODUCT_PROPERTY_OVERRIDES += ro.libagl=1
+
 # IR
 PRODUCT_PACKAGES += \
     consumerir.piranha
-- 
2.26.0

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to