* LIMA kernel bug - help!
@ 2021-06-04 6:51 Linus Walleij
2021-06-04 17:16 ` [Lima] " Vasily Khoruzhick
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2021-06-04 6:51 UTC (permalink / raw)
To: Qiang Yu, open list:DRM PANEL DRIVERS, lima; +Cc: Stephan Gerhold
Hi Qiang,
I am using Lima on the ST-Ericsson U8500 SoC. It is one
of the very earliest versions of MALI 400 MP. It mostly works
on the mobile phones I have using PostmarkeOS and
the Phosh UI (Wayland with MESA), but now I have an issue with
one single specimen.
I have this bug in my dmesg and after this the graphics
start to act weird:
[ 48.662336] lima a0300000.gpu: mmu page fault at 0x2020400 from bus
id 0 of type read on ppmmu0
[ 48.662464] lima a0300000.gpu: fail to save task state from phoc
pid 1581: error task list is full
[ 48.662481] lima a0300000.gpu: pp task error 0 int_state=0 status=1
[ 48.662494] lima a0300000.gpu: mmu resume
In interrupts:
75: 5 0 GIC-0 147 Level gp
76: 0 0 GIC-0 146 Level gpmmu
77: 3 0 GIC-0 145 Level pp0
78: 1 0 GIC-0 144 Level ppmmu0
My UI definitely want to render some more stuff so it gets
stuck here.
Any hints on how to troubleshoot this?
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Lima] LIMA kernel bug - help!
2021-06-04 6:51 LIMA kernel bug - help! Linus Walleij
@ 2021-06-04 17:16 ` Vasily Khoruzhick
0 siblings, 0 replies; 2+ messages in thread
From: Vasily Khoruzhick @ 2021-06-04 17:16 UTC (permalink / raw)
To: Linus Walleij
Cc: Stephan Gerhold, Qiang Yu, open list:DRM PANEL DRIVERS, lima
On Thu, Jun 3, 2021 at 11:51 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> Hi Qiang,
Hey Linus,
> I am using Lima on the ST-Ericsson U8500 SoC. It is one
> of the very earliest versions of MALI 400 MP. It mostly works
> on the mobile phones I have using PostmarkeOS and
> the Phosh UI (Wayland with MESA), but now I have an issue with
> one single specimen.
>
> I have this bug in my dmesg and after this the graphics
> start to act weird:
>
> [ 48.662336] lima a0300000.gpu: mmu page fault at 0x2020400 from bus
> id 0 of type read on ppmmu0
> [ 48.662464] lima a0300000.gpu: fail to save task state from phoc
> pid 1581: error task list is full
> [ 48.662481] lima a0300000.gpu: pp task error 0 int_state=0 status=1
> [ 48.662494] lima a0300000.gpu: mmu resume
It's not a kernel bug, GPU MMU just catched invalid memory access by
fragment shader. It's likely a mesa bug.
What mesa version do you use?
> In interrupts:
>
> 75: 5 0 GIC-0 147 Level gp
> 76: 0 0 GIC-0 146 Level gpmmu
> 77: 3 0 GIC-0 145 Level pp0
> 78: 1 0 GIC-0 144 Level ppmmu0
>
> My UI definitely want to render some more stuff so it gets
> stuck here.
It's stuck because context is marked as tainted and all the jobs that
are submitted from this context afterwards are essentially no-op.
> Any hints on how to troubleshoot this?
Please make sure that you still can reproduce the bug with mesa from
git main (ex-master), if it's still reproducible please open an issue
at https://gitlab.freedesktop.org/mesa/mesa/issues
Please also try to capture an apitrace of the failing app.
See "Bug Reporting" on [1].
[1] https://docs.mesa3d.org/drivers/lima.html
> Yours,
> Linus Walleij
> _______________________________________________
> lima mailing list
> lima@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/lima
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-04 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 6:51 LIMA kernel bug - help! Linus Walleij
2021-06-04 17:16 ` [Lima] " Vasily Khoruzhick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).