码迷,mamicode.com
首页 > 移动开发 > 详细

android display debug summary

时间:2018-11-15 11:01:01      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:0.00   display   sum   source   config   amp   kernel   root   test   

  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

android display debug summary

标签:0.00   display   sum   source   config   amp   kernel   root   test   

原文地址:https://www.cnblogs.com/widic/p/9962067.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!