zoukankan      html  css  js  c++  java
  • android display debug summary

    1. please ensure the kernel initial ok. modetest -c can find device.
      for some issue, hdmi need check IO, please remove the IO in dtb and code.

    2. if kernel can find devices,but android cannot (dumpsys SurfaceFlinger )
      Please run below commands:

    adb root
    adb remount
    adb shell 'echo "ro.hwc.primary.conn=Unknown" >> /system/build.prop'
    adb shell sync
    adb reboot
    
    1. for some reason, hwc composite by DSS ,it's unstable.
     Display[0] configurations (* current):
        * 0: 1280x800, xdpi=150.000000, ydpi=150.000000, refresh=16666666, colorMode=0
      numHwLayers=4, flags=00000000
        type   |  handle  | hint | flag | tr | blnd |   format    |     source crop (l,t,r,b)      |          frame         | name 
    -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------
           HWC | add24160 | 0000 | 0000 | 00 | 0100 | RGBA_8888   |      0,      0,   1148,    638 |   30,   30, 1178,  668 | SurfaceView - android.car.cluster.sample/android.car.cluster.sample.MainClusterActivity#0
           HWC | add243a0 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1208,    800 |    0,    0, 1208,  800 | android.car.cluster.sample/android.car.cluster.sample.MainClusterActivity#0
           HWC | add24820 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,     72,    800 | 1208,    0, 1280,  800 | CarNavigationBar#0
    FB TARGET | add23080 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1280,    800 |    0,    0, 1280,  800 | HWC_FRAMEBUFFER_TARGET
      Display[1] configurations (* current):
        * 0: 1280x720, xdpi=75.000000, ydpi=75.000000, refresh=16666666, colorMode=0
      numHwLayers=4, flags=00000000
        type   |  handle  | hint | flag | tr | blnd |   format    |     source crop (l,t,r,b)      |          frame         | name 
    -----------+----------+------+------+----+------+-------------+--------------------------------+------------------------+------
          GLES | add24160 | 0000 | 0000 | 00 | 0100 | RGBA_8888   |      0,      0,   1148,    638 |   91,   27, 1124,  601 | SurfaceView - android.car.cluster.sample/android.car.cluster.sample.MainClusterActivity#0
          GLES | add243a0 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1208,    800 |   64,    0, 1151,  720 | android.car.cluster.sample/android.car.cluster.sample.MainClusterActivity#0
          GLES | add24820 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,     72,    800 | 1151,    0, 1216,  720 | CarNavigationBar#0
    FB TARGET | add239e0 | 0000 | 0000 | 00 | 0105 | RGBA_8888   |      0,      0,   1280,    720 |    0,    0, 1280,  720 | HWC_FRAMEBUFFER_TARGET
    Allocated buffers:
    

    set GLES use below commands.

    setprop persist.hwc.dss.comp 0

  • 相关阅读:
    解决Visual Code安装中文插件失败问题
    【转】python的复制,深拷贝和浅拷贝的区别
    Python中正则匹配使用findall时的注意事项
    【转载】正则表达式全部符号解释
    旧文章搬运完毕
    【旧文章搬运】VC插件中如何获取当前工程的工作目录
    【旧文章搬运】在64位系统上调试32位程序
    NLP常见任务介绍
    window10下pytorch和torchvision CPU版本安装
    tensorflow2.0安装
  • 原文地址:https://www.cnblogs.com/widic/p/9962067.html
Copyright © 2011-2022 走看看