imx8 gpu issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8 gpu issue

1,502 Views
songhongliang
Contributor II

HI

How to deal with this problem, I can't start now.

[ 40.216580] AXI BUS ERROR
[ 40.219237] GPU[0](ChipModel=0x7000 ChipRevision=0x6214):
[ 40.224675] **************************
[ 40.228451] *** GPU STATE DUMP ***
[ 40.232231] **************************
[ 40.236010] axi = 0x000000A3
[ 40.239548] idle = 0x7FFFFFFE
[ 40.243079] FE not idle
[ 40.245872] DMA address is constant, but state is changing:
[ 40.251667] 0x00000800
[ 40.254376] 0x00000000
[ 40.257121] dmaLow = 0x40000002
[ 40.260648] dmaHigh = 0x98900120
[ 40.264155] dmaState = 0x00000000
[ 40.267668] command state = 0 (PAR_IDLE_ST)
[ 40.272746] command DMA state = 0 (CMD_IDLE_ST)
[ 40.277823] command fetch state = 0 (FET_IDLE_ST)
[ 40.282893] DMA request state = 0 (REQ_IDLE_ST)
[ 40.287970] cal state = 0 (CAL_IDLE_ST)
[ 40.293039] VE request state = 0 (VER_IDLE_ST)
[ 40.298113] Debug registers:
[ 40.301200] RA[0] debug registers:
[ 40.304991] [00] 000E1000 000385E0 000385E0 00000002 031F0000 0600047A 048F8630 685080C0
[ 40.313480] [08] 911D6C80 00000000 00000000 00000000 00000010 000004E6 0607AFC2 00000000
[ 40.321967] [10] 00347A6E 234B9121 45827906 60C00000 12344321 12344321 12344321 12344321
[ 40.330448] [18] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.338946] [20] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.347437] [28] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.355919] [30] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.364392] [38] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.372882] [40] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.381364] [48] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.389841] [50] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.398330] [58] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.406823] [60] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.415310] [68] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.423790] [70] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.432260] [78] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.440757] [80] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.449241] [88] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.457717] [90] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.466205] [98] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.474691] [A0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.483185] [A8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.491666] [B0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.500135] [B8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.508633] [C0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.517116] [C8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.525592] [D0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.534082] [D8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.542566] [E0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.551060] [E8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.559542] [F0] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.568034] [F8] 12344321 12344321 12344321 12344321 12344321 12344321 12344321 12344321
[ 40.576524] TX[0] debug registers:
[ 40.580304] [00] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.588791] [08] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.597266] [10] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.605743] [18] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.614241] [20] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.622723] [28] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.631210] [30] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.639692] [38] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.648169] [40] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.656667] [48] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.665151] [50] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.673630] [58] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.682116] [60] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.690601] [68] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.699085] [70] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.707566] [78] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.716034] FE[0] debug registers:

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

Thanks

0 Kudos
11 Replies

1,494 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you provide more information in your case?

1.The version of your chip

2.The software version of your bsp

3.Does this issue can be reproduced on MEK?

4.The detailed reproduce steps and full error log.

 

0 Kudos

1,491 Views
songhongliang
Contributor II

HI

1. chip is imx8ux

2.bsp is linux5.4.70-2.3.4

3.Can be reproduced on MEK。

        nxp surround view demo, surround-view-3D_1.1_beta, the capturing application。

       #cd surround-view-3D_1.1_beta/Tools/CamCapture

      # ./capturing

4.log please see the attachment

 

0 Kudos

1,482 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @songhongliang 

 

What cameras customer you are using?

Can you provide the chip number? You can find it on Chip.

0 Kudos

1,476 Views
songhongliang
Contributor II

hi 

I am using TP2815, AHD to MIPI.

0 Kudos

1,472 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check the log, the camera can't work.

Pixelformat [ 439.411492] mxc_isi_cap_s_parm : 1053 shl a->type = 9
YUYV
[ 439.422313] v4l_g_parm : 2051 shl ret = 0
errno:25
errno:Inappropriate ioctl for device
VIDIOC_S_PARM failed
[ 439.426725] v4l_g_parm : 2056 shl ret = 0
errno:25
VIDIOC_G_PARM failed
errno:Inappropriate ioctl for device

1.The surround-view software is compatible with the surround-view system we distribute.Do you have same surround-view system?

https://www.nxp.com/design/designs/i-mx-surround-view-system:SURROUND-VIEW-APPLICATION

2.We haven't test surround-view software on i.MX8DX, as the lasted surround-view software is released in 2018, but the i.MX8DX is newest.We need your chip number.i.MX8QXP&i.MX8DX B0 chip has one errata which can't support 4 cameras.

 

0 Kudos

1,133 Views
songhongliang
Contributor II

HI,

我看到关于imx8x系列的环视系统的文档已经更新了,是不是相关的demo也已经在测试了。能不能提供一个demo,我这边也尝试一下。

谢谢!

0 Kudos

1,469 Views
songhongliang
Contributor II

你好

我使用的是MIMX8UX6AVLFZAC,使用命令gst-launch-1.0 v4l2src device=/dev/video1!autovideosink,可以正常获取图像,使用其他命令也可以同时获取四路图像在界面上。我没有与你们相同的环视系统。这个是2018年分发出来了,nxp有打算对这个环视demo进行更新吗?附件是gst-launch-1.0命令执行的log

0 Kudos

1,455 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

As we have not tested it on the i.MX8DX before, the advice given by the experts is that you need to modify the source code by yourself, as there is a camera driver error in your log, so it could be that the camera driver does not support the ioctl operation in the software.

0 Kudos

1,449 Views
songhongliang
Contributor II

HI,

This error does not seem to be related to the camera driver. I checked the corresponding driver and modified the function corresponding to the ioctl. The error still exists. I checked the corresponding frame rate and resolution between the driver and the application, and the two are consistent.

Thanks

0 Kudos

1,436 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Reply from software service team:

Pro-support can handle this for support in new bsp porting and new requiement. 

 

 
 
0 Kudos

1,412 Views
songhongliang
Contributor II

HI

It’s really great to add support for new BSPs. Does the software service team have time to plan? It’s entirely possible to create a repository on GitHub for easy updating

 

Thanks

0 Kudos