首页问答详情

Rk3399 休眠唤醒后无图像

 
一休摸鱼
一休摸鱼  发布于  2022-11-03 15:11:32
采纳率 0%
13个问答

rk3399+ov13850 采集视频预览,初始上电视频采集输出正常,然后系统休眠,再唤醒,图像变卡住不动,唤醒后sensor供电正常,请问这是什么原因?
休眠唤醒debug消息如下:

  1. [ 933.321226] PM: suspend entry 2022-03-04 02:20:45.867334753 UTC
  2. [ 933.321765] PM: Syncing filesystems ... done.
  3. [02:20:45.869] deactivating session
  4. [02:20:45.869] event1 - [02:20:45.869] adc-keys: [02:20:45.869] device removed
  5. [02:20:45.876] event0 - [02:20:45.876] Typec_Headphone: [02:20:45.876] device removed
  6. [02:20:45.882] event2 - [02:20:45.882] gpio-keys: [02:20:45.882] device removed
  7. [ 933.343966] Freezing user space processes ... (elapsed 0.001 seconds) done.
  8. [ 933.346442] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
  9. [ 933.352510] +++++sdio suspend+++++++++++++
  10. [ 933.355493] android_work: sent uevent USB_STATE=DISCONNECTED
  11. [ 933.513232] [WLAN_RFKILL]: Enter rfkill_wlan_suspend
  12. [ 933.514461] PM: suspend of devices complete after 165.310 msecs
  13. [ 933.517238] PM: late suspend of devices complete after 1.540 msecs
  14. [ 933.519194] PM: noirq suspend of devices complete after 1.385 msecs
  15. [ 933.519759] Disabling non-boot CPUs ...
  16. [ 933.521714] CPU1: shutdown
  17. [ 933.521971] psci: CPU1 killed.
  18. [ 933.534247] CPU2: shutdown
  19. [ 933.534508] psci: CPU2 killed.
  20. [ 933.543718] CPU3: shutdown
  21. [ 933.544004] psci: CPU3 killed.
  22. [ 933.555166] CPU4: shutdown
  23. [ 933.555423] psci: CPU4 killed.
  24. [ 933.563737] CPU5: shutdown
  25. [ 933.564019] psci: CPU5 killed.
  26. INFO: sleep mode config[0xde]:
  27. INFO: AP_PWROFF
  28. INFO: SLP_ARMPD
  29. INFO: SLP_PLLPD
  30. INFO: DDR_RET
  31. INFO: SLP_CENTER_PD
  32. INFO: wakeup source config[0x804]:
  33. INFO: GPIO interrupt can wakeup system
  34. INFO: PWM interrupt can wakeup system
  35. INFO: PWM CONFIG[0x4]:
  36. INFO: PWM: PWM2D_REGULATOR_EN
  37. INFO: APIOS info[0x0]:
  38. INFO: not config
  39. INFO: GPIO POWER INFO:
  40. INFO: GPIO1_C1
  41. INFO: GPIO1_B6
  42. INFO: PMU_MODE_CONG: 0x1466bf51
  43. INFO: RK3399 the wake up information:
  44. INFO: wake up status: 0x4
  45. INFO: GPIO interrupt wakeup
  46. INFO: GPIO0: 0x20
  47. INFO: GPIO1: 0x0
  48. INFO: GPIO2: 0x0
  49. INFO: GPIO3: 0x0
  50. INFO: GPIO4: 0x0
  51. [ 933.571352] Enabling non-boot CPUs ...
  52. [ 933.580067] Detected VIPT I-cache on CPU1
  53. [ 933.580484] CPU1: found redistributor 1 region 0:0x00000000fef20000
  54. [ 933.581119] CPU1: update cpu_capacity 401
  55. [ 933.581485] CPU1: Booted secondary processor [410fd034]
  56. [ 933.582503] CPU1 is up
  57. [ 933.592289] Detected VIPT I-cache on CPU2
  58. [ 933.592702] CPU2: found redistributor 2 region 0:0x00000000fef40000
  59. [ 933.593333] CPU2: update cpu_capacity 401
  60. [ 933.593698] CPU2: Booted secondary processor [410fd034]
  61. [ 933.594865] CPU2 is up
  62. [ 933.604530] Detected VIPT I-cache on CPU3
  63. [ 933.604941] CPU3: found redistributor 3 region 0:0x00000000fef60000
  64. [ 933.605569] CPU3: update cpu_capacity 401
  65. [ 933.605935] CPU3: Booted secondary processor [410fd034]
  66. [ 933.607313] CPU3 is up
  67. [ 933.616781] Detected PIPT I-cache on CPU4
  68. [ 933.617179] CPU4: found redistributor 100 region 0:0x00000000fef80000
  69. [ 933.617804] CPU4: update cpu_capacity 1024
  70. [ 933.618171] CPU4: Booted secondary processor [410fd082]
  71. [ 933.620965] cpu cpu4: avs=0
  72. [ 933.621362] cpu cpu4: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0
  73. [ 933.621964] cpu cpu4: failed to read out thermal zone (-11)
  74. [ 933.622960] cpu cpu4: failed to find power_model node
  75. [ 933.623614] CPU4 is up
  76. [ 933.634997] Detected PIPT I-cache on CPU5
  77. [ 933.635397] CPU5: found redistributor 101 region 0:0x00000000fefa0000
  78. [ 933.636024] CPU5: update cpu_capacity 1024
  79. [ 933.636391] CPU5: Booted secondary processor [410fd082]
  80. [ 933.639021] CPU5 is up
  81. [ 933.641249] PM: noirq resume of devices complete after 1.110 msecs
  82. [ 933.643058] PM: early resume of devices complete after 0.838 msecs
  83. [ 933.645678] [WLAN_RFKILL]: Enter rfkill_wlan_resume
  84. [ 933.647596] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 640x480p60, type: 16
  85. [ 933.648550] rockchip-vop ff8f0000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
  86. [ 933.649458] dw-mipi-dsi ff960000.dsi: final DSI-Link bandwidth: 408 x 2 Mbps
  87. [ 934.259331] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  88. [ 934.348377] android_work: did not send uevent (0 0 (null))
  89. [ 934.399680] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
  90. [ 934.400646] +++++sdio resume+++++++++++++
  91. [ 934.401081] PM: resume of devices complete after 757.396 msecs
  92. [ 934.402881] Restarting tasks ...
  93. key_event:
  94. code : POWER
  95. source : /dev/input/event2
  96. exec : "/etc/power-key.sh"
  97. done.
  98. [02:20:47.995] activating session
  99. [ 934.408159] PM: suspend exit 2022-03-04 02:20:47.995579171 UTC
  100. [ 934.411577] android_work: sent uevent USB_STATE=CONNECTED
  101. [02:20:48.021] event1 - [02:20:48.021] adc-keys: [02:20:48.021] is tagged by udev as: Keyboard
  102. [02:20:48.021] event1 - [02:20:48.021] adc-keys: [02:20:48.021] device is a keyboard
  103. [02:20:48.022] event0 - [02:20:48.022] Typec_Headphone: [02:20:48.022] is tagged by udev as: Switch
  104. [02:20:48.023] event2 - [02:20:48.023] gpio-keys: [02:20:48.023] is tagged by udev as: Keyboard
  105. [02:20:48.023] event2 - [02:20:48.024] gpio-keys: [02:20:48.024] device is a keyboard
  106. [ 934.530987] android_work: sent uevent USB_STATE=DISCONNECTED
  107. xkbcommon: ERROR: couldn't find a Compose file for locale "zh_CN.utf8"
  108. could not create XKB compose table for locale 'zh_CN.utf8'. Disabiling compose
  109. xkbcommon: ERROR: couldn't find a Compose file for locale "zh_CN.utf8"
  110. could not create XKB compose table for locale 'zh_CN.utf8'. Disabiling compose
  111. xkbcommon: ERROR: couldn't find a Compose file for locale "C"
  112. [02:20:48.159] unexpectedly large timestamp jump (from 887530 to 934424)
  113. [02:20:48.170] unexpectedly large timestamp jump (from 887562 to 934455)
  114. [ 934.587365] android_work: sent uevent USB_STATE=CONNECTED
  115. [ 934.592222] configfs-gadget gadget: high-speed config #1: b
  116. [ 934.592808] android_work: sent uevent USB_STATE=CONFIGURED
我来回答
301
0
0
回答
1个
易百纳技术社区
一休摸鱼 发布于2022-11-04 10:46:11

用gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,format=NV12,width=1920,height=1080 ! waylandsink 测试也是这种情况。重新再次运行能正常预览。

用 gst-launch-1.0 videotestsrc ! waylandsink 测试,休眠唤醒,能正常预览测试输出。

是不是isp那边唤醒后没有图像正常输出了?

0

Markdown 语法

  • 加粗 **内容**
  • 斜体 *内容*
  • 删除线 ~~内容~~
  • 引用 > 引用内容
  • 代码 `代码`
  • 代码块 ```编程语言↵代码```
  • 链接 [链接标题](url)
  • 无序列表 - 内容
  • 有序列表 1. 内容
  • 缩进 内容
  • 图片 ![alt](url)

Markdown 语法

  • 加粗 **内容**
  • 斜体 *内容*
  • 删除线 ~~内容~~
  • 引用 > 引用内容
  • 代码 `代码`
  • 代码块 ```编程语言↵代码```
  • 链接 [链接标题](url)
  • 无序列表 - 内容
  • 有序列表 1. 内容
  • 缩进 内容
  • 图片 ![alt](url)
+ 添加网盘链接/附件
或将文件直接拖到这里
悬赏:
EBC
网盘
* 网盘链接:
* 提取码:
悬赏:
EBC
Loading...
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区
易百纳技术社区
在专栏模块发布专栏,可获得其他E友的打赏
易百纳技术社区
回答悬赏问答,被题主采纳后即可获得悬赏金
易百纳技术社区
在上传资料时,有价值的资料可设置为付费资源
易百纳技术社区
达到一定金额,收益即可提现~
收益也可用来充值ebc,下载资料、兑换礼品更容易
易百纳技术社区
活动规则
  • 1.周任务为周期性任务,每周周一00:00刷新,上周完成的任务不会累计到本周,本周需要从头开始任务,当前任务完成后才可以完成下一个任务
  • 2.发布的专栏与资料需要与平台的板块有相关性,禁止注水,专栏/资料任务以审核通过的篇数为准
  • 3.任务完成后,现金奖励直接打款到微信账户;EBC/收益将自动发放到个人账户,可前往“我的钱包”查看;其他奖励请联系客服兑换
  • 4.每周最后三个任务将会有以下奖品掉落:社区热卖开发板、小米音响、视频年度会员、京东卡、华为手机等等
易百纳技术社区
升级提醒
易百纳技术社区

恭喜您由入门

社区送出礼品一份

请填写您的收件地址,礼品将在3个工作日寄出

易百纳技术社区