IMX AXI BUS ERROR, GPU hang

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX AXI BUS ERROR, GPU hang

5,029 次查看
john_smith
Contributor II

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 )

标签 (3)
标记 (4)
11 回复数

3,336 次查看
igorpadykov
NXP Employee
NXP Employee

Hi John

please try latest linux bsps on below link, it have many "fence" gpu improvements described

in Release Notes

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

3,336 次查看
john_smith
Contributor II

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

..........................................

0 项奖励
回复

3,336 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

3,336 次查看
john_smith
Contributor II

I have no problems with launching the board, I have problems with hibernation process on it......

0 项奖励
回复

3,336 次查看
igorpadykov
NXP Employee
NXP Employee

what about linux, is it ok ?

0 项奖励
回复

3,336 次查看
john_smith
Contributor II

there are also problems on official linux - console doesn't work after resuming from hibernation.

0 项奖励
回复

3,336 次查看
igorpadykov
NXP Employee
NXP Employee

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

http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.... 

Best regards
igor

0 项奖励
回复

3,336 次查看
john_smith
Contributor II

Do you have any suggestions or advices for Android case?

0 项奖励
回复

3,336 次查看
john_smith
Contributor II

Yes, there are no problems with GPU on linux and the system works fine for a long time after waking up from hibernation.

0 项奖励
回复

3,336 次查看
john_smith
Contributor II

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.

0 项奖励
回复

1,819 次查看
xiangkunkong
Contributor II

Hi, @john_smith 

Did you resolved this problem for Android?

0 项奖励
回复