GPU hang-up occurs due to low GPU clock.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPU hang-up occurs due to low GPU clock.

1,314件の閲覧回数
hsaito
Contributor I

Hello,

Operating environment is as follows

i.MX8QM

Linux: L5.4.47_2.2.0

TensorflowLite: v2.2.0

When using NNAPI with tensorflowLite, the GPU clock is reduced (1/64 clock) due to CPU temperature rise.
At this time, the processing speed is reduced, but the system is working properly.
After a while, the CPU temperature drops and the GPU clock returns to normal.
At this time, if the Invoke() function is still running, the GPU hangs.

Is it normal for the GPU to hang up due to fluctuations in the GPU clock?
Also, do you know why this phenomenon occurs?

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,309件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello hsaito,

 

It's normal that gpu drop as CPU temperature is high, but it does not hangs, please send your code in order to check it.

Regards

0 件の賞賛
返信

1,306件の閲覧回数
hsaito
Contributor I

Hello Bio_TICFSL,

Attached is the source code where the hang-up occurs.
The hangup occurs in the Invoke() process within inference() with NNAPI enabled.

 

0 件の賞賛
返信

1,300件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

GPU should not recover the clock when temperature is back to normal. It shouldn't hang.

It is possible that sometimes gpu clock isn't recovering within the timeout, which makes it think gpu is stuck.

Could you change the gdcGPU_TIMEOUT to be a little longer and rebuilt your kernel to see if this helps?  By default, it is 30 seconds.  We know this helps some customers.

It is in gpu driver code  gpu-viv6/driver/hal/inc/gc_hal_options.h.

 

5.4.47 is too old.  I am afraid we are not supporting it anymore.

Regards

 

0 件の賞賛
返信