Hello!
I'm trying to implement the hibernation mode on IMX6Q and Android, but I have some problems with resuming process. Sometimes the system works fine after resuming from hibernation, but more often there are errors like:
fence timeout on [d46b2b80] after 3000ms
objs:
--------------
viv timeline viv_sync
pt signaled@32.406061
pt active
pt active
pt active
viv timeline viv_sync
pt signaled@284.728167
pt signaled@284.894002
viv timeline viv_sync
fences:
--------------
[d595fe00] StrictModeFlash:0: signaled
viv timeline_pt signaled@32.406061
[d46b2b80] viv sync_fence-5556: active
viv timeline_pt active
[d4cae380] com.android.launcher/com.and:0: active
viv timeline_pt active
[d5fb8280] viv sync_fence-5559: active
viv timeline_pt active
[d5fb8900] viv sync_fence-5560: signaled
viv timeline_pt signaled@284.728167
[d48e9100] viv sync_fence-5561: signaled
viv timeline_pt signaled@284.894002
[galcore]: GPU[0] hang, automatic recovery.
[galcore]: recovery done
[galcore]: AXI BUS ERROR
GPU[0](ChipModel=0x2000 ChipRevision=0x5108):
**************************
*** GPU STATE DUMP ***
**************************
axi = 0x00000151
idle = 0x7FFFFFFE
FE not idle
DMA address is constant, but state is changing:
0x00000800
0x00000000
dmaLow = 0x40000002
dmaHigh = 0x2607B0E0
dmaState = 0x00000000
command state = 0 (PAR_IDLE_ST)
command DMA state = 0 (CMD_IDLE_ST)
command fetch state = 0 (FET_IDLE_ST)
DMA request state = 0 (REQ_IDLE_ST)
....................
What can cause these errors?
Any ideas are welcome, thank you in advance )
Hi John
please try latest linux bsps on below link, it have many "fence" gpu improvements described
in Release Notes
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Igor!
We've migrated to SabreSD board from our custom board and now use the latest official sources. But nothing has changed - the problem is the same:
fence timeout on [d46b2b80] after 3000ms
objs:
--------------
viv timeline viv_sync
pt signaled@32.406061
pt active
pt active
pt active
viv timeline viv_sync
pt signaled@284.728167
pt signaled@284.894002
..........................................
please try Sabre Demo Images from
Best regards
igor
I have no problems with launching the board, I have problems with hibernation process on it......
there are also problems on official linux - console doesn't work after resuming from hibernation.
Hi John
I am afraid "hibernation" is not supported in nxp official bsps,
one can check linux documentation (Linux Manual Chapter Low-level Power Management (PM) Driver)
in Doc packages on below link
Best regards
igor
Do you have any suggestions or advices for Android case?
Yes, there are no problems with GPU on linux and the system works fine for a long time after waking up from hibernation.
I've tried the demo images for Android from Freescale. The only thing I changed is enabling hibernation in kernel configuration. After that I boot the board and try to hibernate and get these errors again and again.
Hi, @john_smith
Did you resolved this problem for Android?