zoukankan      html  css  js  c++  java
  • AF引起的camera偶现卡顿问题

    相关log如下:

    01-01 08:04:26.299 867 3220 E Camera2Client: syncWithDevice: Camera 0: Timed out waiting sync with HAL
    01-01 08:04:26.799 867 867 E Camera2Client: syncWithDevice: Camera 0: Timed out waiting sync with HAL
    01-01 08:04:27.310 867 867 E Camera2Client: syncWithDevice: Camera 0: Timed out waiting sync with HAL
    01-01 08:04:27.820 867 2944 E Camera2Client: syncWithDevice: Camera 0: Timed out waiting sync with HAL

    ve_addr=0xc, ptr=0x0xaad59744, count=2
    3411166 11-22 22:49:58.543 922 29482 E cmr_msg : L 271, cmr_msg_post: MSG Overflow
    3411167 11-22 22:49:58.553 922 29473 I : L 121, dw9714_write_dac_code: 700
    3411168 11-22 22:49:58.553 922 29473 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaac5b37c, count=2
    3411169 11-22 22:49:58.553 922 29482 E cmr_msg : L 271, cmr_msg_post: MSG Overflow
    3411170 11-22 22:49:58.553 922 29472 I : L 121, dw9714_write_dac_code: 680
    3411171 11-22 22:49:58.553 922 29472 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaad59744, count=2
    3411172 11-22 22:49:58.563 922 29473 I : L 121, dw9714_write_dac_code: 700
    3411173 11-22 22:49:58.563 922 29473 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaac5b37c, count=2
    3411174 11-22 22:49:58.563 922 29472 I : L 121, dw9714_write_dac_code: 680
    3411175 11-22 22:49:58.563 922 29472 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaad59744, count=2
    3411176 11-22 22:49:58.573 922 29473 I : L 121, dw9714_write_dac_code: 700
    3411177 11-22 22:49:58.573 922 29473 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaac5b37c, count=2
    3411178 11-22 22:49:58.573 922 29472 I : L 121, dw9714_write_dac_code: 680
    3411179 11-22 22:49:58.573 922 29472 I sensor_drv_u: L 592, Sensor_WriteI2C: slave_addr=0xc, ptr=0x0xaad59744, count=2
    3411180 11-22 22:49:58.583 922 29482 E cmr_msg : L 271, cmr_msg_post: MSG Overflow

    问题原因:af驱动异常,连续点击对焦,会频繁执行dw9714_write_af操作时,导致里面两个while执行死循环,导致消息响应异常,出现cmr_msg : 286, cmr_msg_post: MSG Overflow
    解决方案:加入锁保证,每次下发的dw9714_write_af操作正常完成
    请用今天之后的版本验证此问题。

  • 相关阅读:
    命令用法示例
    Elastic:用Docker部署Elastic栈
    Elastic:使用Heartbeat进行Uptime监控
    Elastic:如何在一个机器上同时模拟多个node
    Elastic 使用索引生命周期管理实现热温冷架构
    Logstash:运用jdbc_streaming来丰富我们的数据
    Logstash:多个配置文件(conf)
    Logstash:处理多个input
    使用 Logstash 和 JDBC 确保 Elasticsearch 与关系型数据库保持同步
    Logstash:把MySQL数据导入到Elasticsearch中
  • 原文地址:https://www.cnblogs.com/reality-soul/p/6225029.html
Copyright © 2011-2022 走看看