Re: i.MX53 error during GPU use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Rob,

Em sex., 23 de abr. de 2021 às 11:35, Rob Clark <robdclark@xxxxxxxxx> escreveu:
> On Fri, Apr 23, 2021 at 4:58 AM Otavio Salvador
> <otavio.salvador@xxxxxxxxxxxxxxxx> wrote:
> > We found this error when using Freedreno driver on an i.MX53 device
> > with Wayland. Any idea how to fix this?
> >
> > [   32.414110] [drm:msm_ioctl_gem_submit] *ERROR* invalid cmdstream size: 0
>
> The invalid cmdstream size is some sort of userspace error
>
> > [   39.177075]
> > [   39.178617] ======================================================
> > [   39.184804] WARNING: possible circular locking dependency detected
> > [   39.190997] 5.10.31+g7ae1de1d2bd3 #1 Not tainted
> > [   39.195619] ------------------------------------------------------
>
> But possibly it is triggering the lockdep anger?  It looks like the
> gem locking re-work landed in v5.11.. any chance you can try a newer
> kernel?

Sure; we tried the 5.12.1 Linux kernel and it "worked". We have used
following versions:

- Linux kernel 5.12.1
- mesa 21.0.3
- libdrm 2.4.105

It improved a lot and it opens. We now have some rendering issues:

https://photos.app.goo.gl/fBKoe5C8tsq4xU556

and an error in serial console:

[  262.319890] schedule_timeout: wrong timeout value bf946f6e
[  262.325845] CPU: 0 PID: 216 Comm: eadedCompositor Not tainted
5.12.1+g1a5fea11bc2f #1
[  262.333727] Hardware name: Freescale i.MX53 (Device Tree Support)
[  262.339854] [<c01114e8>] (unwind_backtrace) from [<c010bb60>]
(show_stack+0x10/0x14)
[  262.347659] [<c010bb60>] (show_stack) from [<c0e446b0>]
(dump_stack+0xdc/0x104)
[  262.355007] [<c0e446b0>] (dump_stack) from [<c0e5928c>]
(schedule_timeout+0xf0/0x128)
[  262.362875] [<c0e5928c>] (schedule_timeout) from [<c0789260>]
(msm_wait_fence+0x1c0/0x320)
[  262.371190] [<c0789260>] (msm_wait_fence) from [<c0788510>]
(msm_ioctl_wait_fence+0xa8/0x154)
[  262.379749] [<c0788510>] (msm_ioctl_wait_fence) from [<c0700064>]
(drm_ioctl+0x1f0/0x3dc)
[  262.387966] [<c0700064>] (drm_ioctl) from [<c02de8ec>]
(sys_ioctl+0x3cc/0xbac)
[  262.395226] [<c02de8ec>] (sys_ioctl) from [<c0100080>]
(ret_fast_syscall+0x0/0x2c)
[  262.402829] Exception stack(0xc315ffa8 to 0xc315fff0)
[  262.407911] ffa0:                   00000000 abc10840 00000010
40206447 abc10840 00000020
[  262.416118] ffc0: 00000000 abc10840 40206447 00000036 afd32cb0
abc108b8 00000000 abc1087c
[  262.424320] ffe0: b075aef0 abc10804 b0740214 b40a11fc

Any idea what might be causing it?




--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux