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 <gnu...@cyberdimension.org>
---
 device.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/device.mk b/device.mk
index 41554e5..28b1407 100644
--- a/device.mk
+++ b/device.mk
@@ -34,5 +34,11 @@ PRODUCT_PACKAGES += \
        enable_modem.sh \
        disable_modem.sh
 
+# 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
+
 $(call inherit-product, device/samsung/tuna/device.mk)
 $(call inherit-product-if-exists, vendor/samsung/maguro/maguro-vendor.mk)
-- 
2.26.0

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to